Al Stone afae4e
Name:           acpica-tools
Al Stone 49c3e9
Version:        20180209
Al Stone 49c3e9
Release:        1%{?dist}
Al Stone afae4e
Summary:        ACPICA tools for the development and debug of ACPI tables
Al Stone afae4e
Al Stone afae4e
Group:          Development/Languages
Al Stone afae4e
License:        GPLv2
Al Stone afae4e
URL:            https://www.acpica.org/
Al Stone afae4e
Al Stone afae4e
Source0:        https://acpica.org/sites/acpica/files/acpica-unix2-%{version}.tar.gz
Al Stone afae4e
Source1:        https://acpica.org/sites/acpica/files/acpitests-unix-%{version}.tar.gz
Al Stone afae4e
Source2:        README.Fedora
Al Stone afae4e
Source3:        iasl.1
Al Stone afae4e
Source4:        acpibin.1
Al Stone afae4e
Source5:        acpidump.1
Al Stone afae4e
Source6:        acpiexec.1
Al Stone afae4e
Source7:        acpihelp.1
Al Stone afae4e
Source8:        acpinames.1
Al Stone afae4e
Source9:        acpisrc.1
Al Stone afae4e
Source10:       acpixtract.1
Al Stone afae4e
Source11:       badcode.asl.result
Al Stone afae4e
Source12:       grammar.asl.result
Al Stone afae4e
Source13:       run-misc-tests.sh
Al Stone afae4e
Source14:       COPYING
Al Stone afae4e
Al Stone 840f97
Patch0:         big-endian.patch
Al Stone 840f97
Patch1:         unaligned.patch
Al Stone 91c6f6
Patch2:         OPT_LDFLAGS.patch
Al Stone 91c6f6
Patch3:         int-format.patch
Al Stone 91c6f6
Patch4:         f23-harden.patch
Al Stone 91c6f6
Patch5:         template.patch
Al Stone 91c6f6
Patch6:         free.patch
Al Stone 91c6f6
Patch7:         ppc64le.patch
Al Stone 91c6f6
Patch8:         arm7hl.patch
Al Stone 91c6f6
Patch9:         big-endian-v2.patch
Al Stone 91c6f6
Patch10:        simple-64bit.patch
Al Stone 91c6f6
Patch11:        be-tpm2.patch
Al Stone ba2e05
Patch12:        mips-be-fix.patch
Al Stone 1b212f
Patch13:        cve-2017-13693.patch
Al Stone f38dd1
Patch14:        cve-2017-13694.patch
Al Stone 28da4e
Patch15:        cve-2017-13695.patch
Al Stone c11325
Patch16:        str-trunc-warn.patch
Al Stone afae4e
Al Stone 7e8419
BuildRequires:  bison patchutils flex gcc
Al Stone afae4e
Al Stone afae4e
# The previous iasl package contained only a very small subset of these tools
Al Stone afae4e
# and it produced only the iasl package listed below; further, the pmtools
Al Stone afae4e
# package -- which provides acpidump -- also provides a /usr/sbin/acpixtract
Al Stone afae4e
# that we don't really want to collide with
Al Stone afae4e
Provides:       acpixtract >= 20120913-7
Al Stone afae4e
Provides:       iasl = %{version}-%{release}
Michael Schwendt 390593
Obsoletes:      iasl < 20120913-8
Al Stone afae4e
Al Stone afae4e
# The pmtools package provides an obsolete and deprecated version of the
Al Stone afae4e
# acpidump command from lesswatts.org which has now been taken off-line.
Al Stone afae4e
# ACPICA, however, is providing a new version and we again do not want to
Al Stone afae4e
# conflict with the command name.
Al Stone afae4e
Provides:       acpidump >= 20100513-5
Al Stone afae4e
Provides:       pmtools = %{version}-%{release}
Michael Schwendt 10cdd1
Obsoletes:      pmtools < 20100513-6
Al Stone afae4e
Al Stone afae4e
%description
Al Stone afae4e
The ACPI Component Architecture (ACPICA) project provides an OS-independent
Al Stone afae4e
reference implementation of the Advanced Configuration and Power Interface
Al Stone afae4e
Specification (ACPI).  ACPICA code contains those portions of ACPI meant to
Al Stone afae4e
be directly integrated into the host OS as a kernel-resident subsystem, and
Al Stone afae4e
a small set of tools to assist in developing and debugging ACPI tables.
Al Stone afae4e
Al Stone afae4e
This package contains only the user-space tools needed for ACPI table
Al Stone afae4e
development, not the kernel implementation of ACPI.  The following commands
Al Stone afae4e
are installed:
Al Stone afae4e
   -- iasl: compiles ASL (ACPI Source Language) into AML (ACPI Machine
Al Stone afae4e
      Language), suitable for inclusion as a DSDT in system firmware.
Al Stone afae4e
      It also can disassemble AML, for debugging purposes.
Al Stone afae4e
   -- acpibin: performs basic operations on binary AML files (e.g.,
Al Stone afae4e
      comparison, data extraction)
Al Stone afae4e
   -- acpidump: write out the current contents of ACPI tables
Al Stone afae4e
   -- acpiexec: simulate AML execution in order to debug method definitions
Al Stone afae4e
   -- acpihelp: display help messages describing ASL keywords and op-codes
Al Stone afae4e
   -- acpinames: display complete ACPI name space from input AML
Al Stone afae4e
   -- acpisrc: manipulate the ACPICA source tree and format source files
Al Stone afae4e
      for specific environments
Al Stone afae4e
   -- acpixtract: extract binary ACPI tables from acpidump output (see
Al Stone afae4e
      also the pmtools package)
Al Stone afae4e
Al Stone afae4e
This version of the tools is being released under GPLv2 license.
Al Stone afae4e
Al Stone afae4e
%prep
Al Stone afae4e
%setup -q -n acpica-unix2-%{version}
Al Stone afae4e
gzip -dc %{SOURCE1} | tar -x --strip-components=1 -f -
Al Stone afae4e
Al Stone 840f97
%patch0 -p1 -b .big-endian
Al Stone 840f97
%patch1 -p1 -b .unaligned
Al Stone 840f97
%patch2 -p1 -b .OPT_LDFLAGS
Al Stone 840f97
%patch3 -p1 -b .int-format
Al Stone 840f97
%patch4 -p1 -b .f23-harden
Al Stone 840f97
%patch5 -p1 -b .template
Al Stone 840f97
%patch6 -p1 -b .free
Al Stone 840f97
%patch7 -p1 -b .ppc64le
Al Stone 840f97
%patch8 -p1 -b .arm7hl
Al Stone 0560f8
%patch9 -p1 -b .big-endian-v2
Al Stone 9b3daa
%patch10 -p1 -b .simple-64bit
Al Stone fd1a3d
%patch11 -p1 -b .be-tpm2
Al Stone ba2e05
%patch12 -p1 -b .mips-be-fix
Al Stone 1b212f
%patch13 -p1 -b .cve-2017-13693
Al Stone f38dd1
%patch14 -p1 -b .cve-2017-13694
Al Stone 28da4e
%patch15 -p1 -b .cve-2017-13695
Al Stone c11325
%patch16 -p1 -b .str-trunc-warn
Al Stone afae4e
Al Stone afae4e
cp -p %{SOURCE2} README.Fedora
Al Stone afae4e
cp -p %{SOURCE3} iasl.1
Al Stone afae4e
cp -p %{SOURCE4} acpibin.1
Al Stone afae4e
cp -p %{SOURCE5} acpidump.1
Al Stone afae4e
cp -p %{SOURCE6} acpiexec.1
Al Stone afae4e
cp -p %{SOURCE7} acpihelp.1
Al Stone afae4e
cp -p %{SOURCE8} acpinames.1
Al Stone afae4e
cp -p %{SOURCE9} acpisrc.1
Al Stone afae4e
cp -p %{SOURCE10} acpixtract.1
Al Stone afae4e
cp -p %{SOURCE11} badcode.asl.result
Al Stone afae4e
cp -p %{SOURCE12} grammar.asl.result
Al Stone afae4e
cp -p %{SOURCE13} tests/run-misc-tests.sh
Al Stone afae4e
chmod a+x tests/run-misc-tests.sh
Al Stone afae4e
cp -p %{SOURCE14} COPYING
Al Stone afae4e
Al Stone afae4e
# spurious executable permissions on text files in upstream
Al Stone afae4e
chmod a-x changes.txt
Al Stone afae4e
chmod a-x source/compiler/new_table.txt
Al Stone afae4e
Al Stone afae4e
Al Stone afae4e
%build
Al Stone 0ce397
CWARNINGFLAGS="\
Al Stone 0ce397
    -std=c99\
Al Stone 0ce397
    -Wall\
Al Stone 0ce397
    -Wbad-function-cast\
Al Stone 0ce397
    -Wdeclaration-after-statement\
Al Stone 0ce397
    -Werror\
Al Stone 0ce397
    -Wformat=2\
Al Stone 0ce397
    -Wmissing-declarations\
Al Stone 0ce397
    -Wmissing-prototypes\
Al Stone 0ce397
    -Wstrict-aliasing=0\
Al Stone 0ce397
    -Wstrict-prototypes\
Al Stone 0ce397
    -Wswitch-default\
Al Stone 0ce397
    -Wpointer-arith\
Al Stone 0ce397
    -Wundef\
Al Stone 0ce397
    -Waddress\
Al Stone 0ce397
    -Waggregate-return\
Al Stone 0ce397
    -Winit-self\
Al Stone 0ce397
    -Winline\
Al Stone 0ce397
    -Wmissing-declarations\
Al Stone 0ce397
    -Wmissing-field-initializers\
Al Stone 0ce397
    -Wnested-externs\
Al Stone 0ce397
    -Wold-style-definition\
Al Stone 0ce397
    -Wno-format-nonliteral\
Al Stone 0ce397
    -Wredundant-decls\
Al Stone 0ce397
    -Wempty-body\
Al Stone 0ce397
    -Woverride-init\
Al Stone 0ce397
    -Wlogical-op\
Al Stone 0ce397
    -Wmissing-parameter-type\
Al Stone 0ce397
    -Wold-style-declaration\
Al Stone 0ce397
    -Wtype-limits"
Al Stone 0ce397
Al Stone 0ce397
OPT_CFLAGS="%{optflags} $CWARNINGFLAGS"
Al Stone 0ce397
OPT_LDLAGS="%{__global_ldflags}"
Al Stone 0ce397
export OPT_CFLAGS
Al Stone 0ce397
export OPT_LDFLAGS
Al Stone 0ce397
Al Stone 0ce397
make
Al Stone afae4e
Al Stone afae4e
Al Stone afae4e
%install
Al Stone afae4e
# Install the binaries
Al Stone afae4e
mkdir -p %{buildroot}%{_bindir}
Al Stone afae4e
install -pD generate/unix/bin*/* %{buildroot}%{_bindir}/
Al Stone afae4e
mv %{buildroot}%{_bindir}/acpidump %{buildroot}%{_bindir}/acpidump-acpica
Al Stone afae4e
mv %{buildroot}%{_bindir}/acpixtract %{buildroot}%{_bindir}/acpixtract-acpica
Al Stone afae4e
Al Stone afae4e
# Install the man pages
Al Stone afae4e
mkdir -p %{buildroot}%{_mandir}/man1
Al Stone afae4e
install -pDm 0644 -p -D *.1 %{buildroot}%{_mandir}/man1/
Al Stone afae4e
mv %{buildroot}%{_mandir}/man1/acpixtract.1 \
Al Stone afae4e
   %{buildroot}%{_mandir}/man1/acpixtract-acpica.1
Al Stone afae4e
mv %{buildroot}%{_mandir}/man1/acpidump.1 \
Al Stone afae4e
   %{buildroot}%{_mandir}/man1/acpidump-acpica.1
Al Stone afae4e
Al Stone afae4e
%check
Al Stone afae4e
cd tests
Al Stone afae4e
Al Stone afae4e
# ASL tests
Al Stone afae4e
./aslts.sh                         # relies on non-zero exit
Al Stone afae4e
[ $? -eq 0 ] || exit 1
Al Stone afae4e
Al Stone afae4e
# misc tests
Al Stone afae4e
./run-misc-tests.sh %{buildroot}%{_bindir} %{version}
Al Stone afae4e
Al Stone afae4e
# Template tests
Al Stone afae4e
cd templates
Al Stone afae4e
make
Al Stone afae4e
if [ -f diff.log ]
Al Stone afae4e
then
Al Stone afae4e
    if [ -s diff.log ]
Al Stone afae4e
    then
Al Stone afae4e
        exit 1                  # implies errors occurred
Al Stone afae4e
    fi
Al Stone afae4e
fi
Al Stone afae4e
cd ..
Al Stone afae4e
Al Stone afae4e
Al Stone afae4e
%post
Al Stone afae4e
alternatives --install %{_bindir}/acpixtract acpixtract \
Al Stone afae4e
                       %{_bindir}/acpixtract-acpica 120 \
Al Stone afae4e
               --slave %{_mandir}/man1/acpixtract.1.gz acpixtract.1.gz \
Al Stone 4542dd
                       %{_mandir}/man1/acpixtract-acpica.1.gz
Al Stone afae4e
Al Stone afae4e
alternatives --install %{_bindir}/acpidump acpidump \
Al Stone afae4e
                       %{_bindir}/acpidump-acpica 120 \
Al Stone afae4e
               --slave %{_mandir}/man1/acpidump.1.gz acpidump.1.gz \
Al Stone 4542dd
                       %{_mandir}/man1/acpidump-acpica.1.gz
Al Stone afae4e
Al Stone afae4e
Al Stone afae4e
%postun
Al Stone afae4e
if [ ! -e %{_bindir}/acpixtract-acpica ]
Al Stone afae4e
then
Al Stone afae4e
    alternatives --remove acpixtract %{_bindir}/acpixtract-acpica
Al Stone afae4e
fi
Al Stone afae4e
if [ ! -e %{_bindir}/acpidump-acpica ]
Al Stone afae4e
then
Al Stone afae4e
    alternatives --remove acpidump %{_bindir}/acpidump-acpica
Al Stone afae4e
fi
Al Stone afae4e
Al Stone afae4e
Al Stone afae4e
%files
Al Stone afae4e
%doc changes.txt source/compiler/new_table.txt
Al Stone afae4e
%doc README.Fedora COPYING
Al Stone afae4e
%{_bindir}/*
Al Stone afae4e
%{_mandir}/*/*
Al Stone afae4e
Al Stone afae4e
Al Stone afae4e
%changelog
Al Stone 49c3e9
* Tue Mar 6 2018 Al Stone <ahs3@redhat.com> - 20180209-1
Al Stone 49c3e9
- Update to 20180209 source tree, including patch refeshes. Closes BZ#1544048
Al Stone 1b212f
- CVE-2017-13693: operand cache leak in dsutils.c -- applied github patch to
Al Stone 1b212f
  fix the leak.  Resolves BZ#1485346.
Al Stone f38dd1
- CVE-2017-13694: acpi parse and parseext cache leaks in psobjects.c -- applied
Al Stone f38dd1
  github patch to fix the leaks.  Resolves BZ#1485348.
Al Stone 28da4e
- CVE-2017-13695: operand cache leak in nseval.c -- applied github patch to fix
Al Stone 28da4e
  the leak.  Resolves BZ#1485349.
Al Stone b61377
- Security fixes for the CVEs above applied.  Closes BZ#1485355.  NOTE: these
Al Stone b61377
  patches fix acpica-tools ONLY; the kernel needs to be patch separately.
Al Stone 7e8419
- Added gcc to BuildRequires
Al Stone 0ce397
- It turns out the %%build section was incorrectly passing in OPT_CFLAGS; it
Al Stone 0ce397
  made the wrong assumptions about what generate/unix/Makefile.config did with
Al Stone 0ce397
  that value.  Added to the spec file what should happen so that a full and
Al Stone 0ce397
  complete set of C flags get passed in, not just the small subset that was.
Al Stone c11325
- Clean up compiler warnings for truncated strings
Al Stone 49c3e9
Igor Gnatenko 6dbede
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 20180105-3
Igor Gnatenko 6dbede
- Escape macros in %%changelog
Igor Gnatenko 6dbede
Fedora Release Engineering 416113
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180105-2
Fedora Release Engineering 416113
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 416113
Al Stone d3b2b9
* Mon Jan 8 2018 Al Stone <ahs3@redhat.com> - 20180105-1
Al Stone 91c6f6
- Update to 20180105 source tree, including patch refeshes. Closes BZ#1526651
Al Stone 91c6f6
- Cleaned up changelog. Closes BZ#1525938
Al Stone ba2e05
- Pulled in a mips32/BE patch from Debian, for completeness sake
Al Stone d3b2b9
Al Stone 226b59
* Mon Jan 8 2018 Al Stone <ahs3@redhat.com> - 20171215-1
Al Stone 226b59
- Update to 20171215 source tree, including patch refeshes
Al Stone 226b59
Al Stone 9b3daa
* Mon Nov 20 2017 Al Stone <ahs3@redhat.com> - 20171110-1
Al Stone 9b3daa
- Update to 20171110 source tree, including patch refeshes
Al Stone 9b3daa
- Add patch for mips64el build, should it ever be needed; it also cleans
Al Stone 9b3daa
  up all 64-bit arches, so nice to have regardless
Al Stone fd1a3d
- Add new patch for a TPM2 big-endian issue.
Al Stone 9b3daa
Al Stone 51ac8f
* Fri Oct 6 2017 Al Stone <ahs3@redhat.com> - 20170929-1
Al Stone 51ac8f
- Update to 20170929 source tree, including patch refeshes
Al Stone 51ac8f
- Removed aslts-acpibin.patch to fix PATH problem in ASLTS; in upstream now
Al Stone 51ac8f
Al Stone 228382
* Wed Sep 27 2017 Al Stone <ahs3@redhat.com> - 20170831-1
Al Stone d0bd8e
- Update to 20170831 source tree, including patch refeshes
Al Stone 228382
- Add aslts-acpibin.patch to fix PATH problem in ASLTS that prevents
Al Stone 228382
  some tests from being run
Al Stone d0bd8e
Al Stone c045b7
* Fri Aug 18 2017 Al Stone <ahs3@redhat.com> - 20170728-3
Al Stone c045b7
- Completed the big-endian fixes (I think)
Al Stone c045b7
- Fix ppc64le.patch that inadvertently broke s390x
Al Stone c045b7
- Minor patch refresh
Al Stone 91c6f6
- Re-enable full %%check for s390x
Al Stone c045b7
Al Stone 840f97
* Mon Aug 14 2017 Al Stone <ahs3@redhat.com> - 20170728-2
Al Stone 840f97
- Start some long delayed clean-up
Al Stone 840f97
- Temporarily disable one test section until all the big-endian issues
Al Stone 840f97
  can be resolved; it provides what may be a false negative result
Al Stone 840f97
- Consolidate the big-endian patches
Al Stone 840f97
Al Stone 51a89e
* Fri Aug 11 2017 Al Stone <ahs3@redhat.com> - 20170728-1
Al Stone 51a89e
- Update to 20170728 source tree, including patch refeshes
Al Stone 51a89e
Al Stone b60b74
* Fri Aug 11 2017 Al Stone <ahs3@redhat.com> - 20170629-1
Al Stone b60b74
- Update to 20170629 source tree, including patch refeshes
Al Stone b60b74
Al Stone b0fde5
* Fri Aug 11 2017 Al Stone <ahs3@redhat.com> - 20170531-1
Al Stone b0fde5
- Update to 20170531 source tree, including patch refeshes
Al Stone b0fde5
Fedora Release Engineering f97595
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170303-5
Fedora Release Engineering f97595
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
Fedora Release Engineering f97595
Fedora Release Engineering 204a1d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170303-4
Fedora Release Engineering 204a1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Fedora Release Engineering 204a1d
Al Stone 83686d
* Fri May 5 2017 Al Stone <ahs3@redhat.com> - 20170303-3
Al Stone 83686d
- Correct ppc64le.patch; it was not setting little-endian properly.
Al Stone 83686d
Al Stone b0bee4
* Tue May 2 2017 Al Stone <ahs3@redhat.com> - 20170303-2
Al Stone b0bee4
- Correct update-big-endian.patch; it introduced a bug due to logic being
Al Stone b0bee4
  replaced in the wrong order.
Al Stone b0bee4
Al Stone b52332
* Fri Mar 31 2017 Al Stone <ahs3@redhat.com> - 20170303-1
Al Stone b52332
- Update to latest upstream.  Closes BZ#1381017.
Al Stone b52332
- Refresh patches.
Al Stone b52332
Al Stone 0a2fbe
* Fri Mar 31 2017 Al Stone <ahs3@redhat.com> - 20170224-1
Al Stone 0a2fbe
- Update to latest upstream.  Closes BZ#1381017.
Al Stone 0a2fbe
- Refresh patches.
Al Stone 0a2fbe
Fedora Release Engineering 2c1648
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170119-2
Fedora Release Engineering 2c1648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Fedora Release Engineering 2c1648
Al Stone 98fbc9
* Mon Jan 30 2017 Al Stone <ahs3@redhat.com> - 20170119-1
Al Stone 461b6b
- Update to latest upstream.  Closes BZ#1381017.
Al Stone 461b6b
- Refresh patches.
Al Stone 9ee91c
- Add patch to fix ASLTS.
Al Stone 98fbc9
- Add patch to fix ppc64le build.
Al Stone e93fcd
- Add patch to fix arm7hl build.
Al Stone 461b6b
Al Stone ffc657
* Mon Jan 9 2017 Al Stone <ahs3@redhat.com> - 20161222-1
Al Stone 5c5a61
- Update to latest upstream.  Closes BZ#1381017.
Al Stone 5c5a61
- Refresh patches.
Al Stone 5c5a61
Al Stone ec8dd1
* Mon Jan 9 2017 Al Stone <ahs3@redhat.com> - 20160930-3
Al Stone ec8dd1
- Restructure the repairs for big-endian support to simplify patching -- it is
Al Stone ec8dd1
  all combined into update-big-endian.patch now.  (NB: this version may still
Al Stone ec8dd1
  have issues on big-endian)
Al Stone ec8dd1
Al Stone 06e412
* Fri Dec 9 2016 Al Stone <ahs3@redhat.com> - 20160930-2
Al Stone 6061af
- Major repairs to compiler and disassembler code to make it endian-neutral
Al Stone 6061af
  again (added patches big-endian-part1 and big-endian-part2).
Al Stone dedc6b
Al Stone 06e412
* Fri Oct 28 2016 Al Stone <ahs3@redhat.com> - 20160930-2
Al Stone 06e412
- Update to latest upstream.  Closes BZ#1381017.
Al Stone 06e412
- Refresh patches.
Al Stone 06e412
- Major repairs to disassembler code to make it endian-neutral again.
Al Stone 06e412
Al Stone 3a82d2
* Thu Sep 1 2016 Al Stone <ahs3@redhat.com> - 20160831-1
Al Stone 3a82d2
- Update to latest upstream.  Closes BZ#1372107.
Al Stone 3a82d2
- Refresh patches.
Al Stone 659d88
- Closes BZ#1365193 -- s390x FTBFS due to int/ptr size mismatch: made sure
Al Stone 659d88
  the tools built with 64-bit integers for s390x
Al Stone 3a82d2
Al Stone d037c9
* Tue Aug 2 2016 Al Stone <ahs3@redhat.com> - 20160729-1
Al Stone d037c9
- Update to latest upstream.  Closes BZ#1361737.
Al Stone d037c9
- Refresh patches.
Al Stone d037c9
Al Stone 2d101c
* Thu Jun 9 2016 Al Stone <ahs3@redhat.com> - 20160527-1
Al Stone 2d101c
- Update to latest upstream.  Closes BZ#1340573.
Al Stone 2d101c
- Refresh patches.
Al Stone 2d101c
Al Stone 2440d4
* Tue Apr 26 2016 Al Stone <ahs3@redhat.com> - 20160422-1
Al Stone 2440d4
- Update to latest upstream.  Closes BZ#1329774.
Al Stone 2440d4
- Refresh patches.
Al Stone 2440d4
Al Stone 7d2a7f
* Sat Mar 19 2016 Al Stone <ahs3@redhat.com> - 20160318-1
Al Stone 7d2a7f
- Update to latest upstream.  Closes BZ#1319359.
Al Stone 7d2a7f
- Refresh patches.
Al Stone 7d2a7f
Al Stone dab6ca
* Mon Feb 22 2016 Al Stone <ahs3@redhat.com> - 20160212-1
Al Stone dab6ca
- Update to latest upstream.  Closes BZ#1307192.
Al Stone dab6ca
- Refresh patches.
Al Stone dab6ca
Dennis Gilmore fcb84e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20160108-2
Dennis Gilmore fcb84e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Dennis Gilmore fcb84e
Al Stone 3a3728
* Mon Jan 11 2016 Al Stone <ahs3@redhat.com> - 20160108-1
Al Stone 3a3728
- Update to latest upstream.  Closes BZ#1297078.
Al Stone 3a3728
- Refresh patches.
Al Stone 3a3728
Al Stone e3126b
* Wed Jan 6 2016 Al Stone <ahs3@redhat.com> - 20151218-1
Al Stone e3126b
- Update to latest upstream.  Closes BZ#1292987.
Al Stone f0defa
- Refresh patches, and remove one no longer needed (acpinames).
Al Stone e3126b
Al Stone b401a4
* Tue Dec 15 2015 Al Stone <ahs3@redhat.com> - 20151124-1
Al Stone b401a4
- Update to latest upstream.  Closes BZ#1267772.
Al Stone 5f1097
- Refresh patches.
Al Stone ddc694
- Add back in a patch to rename source/tools/acpinames/AcpiNames.h to remove
Al Stone ddc694
  the camel case; this is a leftover in the conversion to Un*x files, and
Al Stone ddc694
  crept back in with this version.
Al Stone b401a4
Al Stone 8b92b3
* Wed Oct 14 2015 Al Stone <ahs3@redhat.com> - 20150930-1
Al Stone 8b92b3
- Update to latest upstream.  Closes BZ#1267772.
Al Stone d2e646
- Refresh patches, and remove one no longer needed.
Al Stone 8b92b3
Al Stone 0403c8
* Thu Sep 10 2015 Al Stone <ahs3@redhat.com> - 20150818-2
Al Stone 0403c8
- Remove extraneous patch files for AAPITS.
Al Stone 3a2f95
- Correct an assumption that all names are stored in little-endian format.
Al Stone 3a2f95
  Fix is in asllookup-ppc64.patch.  Closes BZ#1251972.
Al Stone 0403c8
Al Stone 0a7eb7
* Wed Sep 9 2015 Al Stone <ahs3@redhat.com> - 20150818-1
Al Stone 0a7eb7
- Update to latest upstream.  Closes BZ#1256134.
Al Stone 0a7eb7
- Refresh patches
Al Stone 0a7eb7
- This version deprecates aapits (ACPICA API Test Suite) for now; this is
Al Stone 0a7eb7
  in accordance with upstream wishes, but in this maintainer's view, may
Al Stone 0a7eb7
  not be the correct long term solution as there is no other API specific
Al Stone 0a7eb7
  test suite.
Al Stone 0a7eb7
- Add a patch to rename source/tools/acpinames/AcpiNames.h to remove the
Al Stone 0a7eb7
  camel case; this is a leftover in the conversion to Un*x files.
Al Stone 0a7eb7
Al Stone f3e700
* Tue Aug 4 2015 Al Stone <ahs3@redhat.com> - 20150717-1
Al Stone bb5846
- Update to latest upstream.  Closes BZ#1244449.
Al Stone bb5846
- Refresh patches
Al Stone 72bba9
- Bodge back together the aapits makefile after source file relocations in
Al Stone 72bba9
  the primary ACPICA component files
Al Stone f3e700
- Update the misc test results to incorporate iasl improvements
Al Stone bb5846
Al Stone 1ae22d
* Tue Jun 30 2015 Al Stone <ahs3@redhat.com> - 20150619-2
Al Stone 839454
- Silly error: forgot to remove patches that are no longer needed
Al Stone 839454
Al Stone 702e10
* Mon Jun 29 2015 Al Stone <ahs3@redhat.com> - 20150619-1
Al Stone 702e10
- Update to latest upstream.  Closes BZ#1232512.
Al Stone 702e10
- Refresh patches
Al Stone 702e10
Dennis Gilmore 493348
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150515-3
Dennis Gilmore 493348
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Dennis Gilmore 493348
Al Stone 067c49
* Wed Jun 3 2015 Al Stone <ahs3@redhat.com> - 20150515-2
Al Stone 067c49
- Replace dev-mem patch with nodevmem; this is a much more robust version of
Al Stone 067c49
  the functionality needed, and set up properly for arm64 -- the patch makes
Al Stone 067c49
  it so that acpidump does not use /dev/mem at all on arm64 since it might
Al Stone 067c49
  not contain the right data.
Al Stone 067c49
Al Stone 6ee8a7
* Mon Jun 1 2015 Al Stone <ahs3@redhat.com> - 20150515-1
Al Stone ba7935
- Update to latest upstream.  Closes BZ#122166
Al Stone ba7935
- Refresh patches
Al Stone 99adb1
- Add patch from upstream for incorrect UUIDs for NFIT
Al Stone 99adb1
- Add patch from Linaro to remove use of /dev/mem (use /sys instead)
Al Stone 99adb1
- Add patch from upstream to correct ARM GIC entries in MADT
Al Stone 6ee8a7
- Add patch to fix segfaults reported.  Closes BZ#1219341.
Al Stone ba7935
Al Stone 497a84
* Mon Apr 13 2015 Al Stone <ahs3@redhat.com> - 20150410-1
Al Stone 497a84
- Update to latest upstream.  Closes BZ#1190383
Al Stone 497a84
- Refresh patches
Al Stone 497a84
Al Stone 938de5
* Fri Apr 10 2015 Al Stone <ahs3@redhat.com> - 20150408-1
Al Stone 938de5
- Update to latest upstream.  Closes BZ#1190383
Al Stone 938de5
- Refresh patches
Al Stone 938de5
Al Stone 8ac1ac
* Mon Mar 2 2015 Al Stone <ahs3@redhat.com> - 20150204-1
Al Stone 8ac1ac
- Update to latest upstream.  Closes BZ#1190383
Al Stone 8ac1ac
- Refresh patches
Al Stone 8ac1ac
Al Stone d1429a
* Mon Nov 17 2014 Al Stone <ahs3@redhat.com> - 20141107-1
Al Stone d1429a
- Update to latest upstream.  Closes BZ#1147131.
Al Stone d1429a
- Refresh patches
Al Stone d1429a
- Patch to ensure ASLTS always reports when an error occurs, instead
Al Stone d1429a
  of glossing over it has been incorporated upstream, so remove patch.
Al Stone d1429a
Al Stone c32859
* Wed Oct 1 2014 Al Stone <ahs3@redhat.com> - 20140926-1
Al Stone dd8820
- Update to latest upstream.  Closes BZ#1147131.
Al Stone c32859
- Refresh patches
Al Stone 1c109d
- Add patch to ensure ASLTS always reports when an error occurs, instead
Al Stone 1c109d
  of glossing over it.
Al Stone 91c6f6
- Add use of %%__global_ldflags.  Closes BZ#1126134.
Al Stone dd8820
Al Stone 5ebb5b
* Fri Aug 29 2014 Al Stone <ahs3@redhat.com> - 20140828-1
Al Stone 5ebb5b
- Update to latest upstream.  Closes BZ#1135352.
Al Stone 5ebb5b
- Refresh patches.
Al Stone 5ebb5b
Peter Robinson 04e00d
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140724-2
Peter Robinson 04e00d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Peter Robinson 04e00d
Al Stone 4978c4
* Mon Jul 28 2014 Al Stone <ahs3@redhat.com> - 20140724-1
Al Stone 4978c4
- Update to latest upstream.  Closes BZ#1114275.
Al Stone 4978c4
- This update adds support for the 5.1 version of the ACPI specification
Al Stone f1b2c5
- Refresh patches so everything applies properly.
Al Stone 4978c4
Dan Horák 54d979
* Fri Jun 6 2014 Dan Horรกk <dan[at]danny.cz> - 20140424-3
Dan Horák 54d979
- refresh the big endian patch so it applies correctly, fixes build on big endians
Dan Horák 54d979
Al Stone 09074c
* Thu May 22 2014 Al Stone <ahs3@redhat.com> - 20140424-2
Al Stone 09074c
- Add ppc64le as a 64-bit arch in run-misc-tests.sh.  Closes BZ#1098614.
Al Stone 09074c
- Re-enable big-endian support in iasl.
Al Stone 09074c
Al Stone acd057
* Wed May 7 2014 Al Stone <ahs3@redhat.com> - 20140424-1
Al Stone acd057
- Update to latest upstream.  Closes BZ#1091189.
Al Stone acd057
Al Stone 4542dd
* Fri Apr 4 2014 Al Stone <ahs3@redhat.com> - 20140325-1
Al Stone 4542dd
- Update to latest upstream.  Closes BZ#1080791.
Al Stone 4542dd
- Incorporated patch to fix broken symlinks.  Closes BZ#1074256.
Al Stone 4542dd
- Add patch to fix missing .o files in aapits tests.
Al Stone 4542dd
Al Stone ff2804
* Wed Feb 26 2014 Al Stone <ahs3@redhat.com> - 20140214-1
Al Stone ff2804
- Update to latest upstream.  Closes BZ#1053396.
Al Stone ff2804
- Remove temporary patch so that AAPITS will build and run.
Al Stone ff2804
- Add patch to print asllookup.c warning properly on big endian;
Al Stone ff2804
  Closes BZ#1069178.
Al Stone ff2804
Al Stone db6b4f
* Tue Jan 21 2014 Al Stone <ahs3@redhat.com> - 20140114-1
Al Stone db6b4f
- Update to latest upstream.  Closes BZ#1053396.
Al Stone db6b4f
- Remove temporary patch to add Makefile missing from upstream tarball.
Al Stone db6b4f
- Add temporary patch so that AAPITS will build and run.
Al Stone db6b4f
Al Stone d3f3d3
* Tue Jan 7 2014 Al Stone <ahs3@redhat.com> - 20131218-1
Al Stone d3f3d3
- Update to latest upstream.  Closes BZ#1044951.
Al Stone d3f3d3
- Add temporary patch to add Makefile missing from upstream tarball.
Al Stone d3f3d3
Al Stone 685b56
* Mon Nov 25 2013 Al Stone <ahs3@redhat.com> - 20131115-1
Al Stone 685b56
- Update to latest upstream.  Closes BZ#1031255.
Al Stone a03e60
- Add a little code to workaround build problems that can occur (the tests
Al Stone a03e60
  will fail) when a build starts before midnight, but ends after midnight
Al Stone a03e60
- Remove patch to include Makefile.config that was missing from tarball.
Al Stone 685b56
Al Stone 45a0b4
* Wed Oct 09 2013 Al Stone <ahs3@redhat.com> - 20130927-1
Al Stone 45a0b4
- Update to latest upstream.  Closes BZ#1013090.
Al Stone 45a0b4
- Add temporary patch to include Makefile.config being missing from tarball.
Al Stone 45a0b4
Michael Schwendt 390593
* Fri Sep 13 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 20130823-5
Michael Schwendt 390593
- correct iasl obs_ver
Michael Schwendt 390593
Al Stone 8b68bc
* Tue Sep 10 2013 Dean Nelson <dnelson@redhat.com> - 20130823-4
Al Stone 4c70b5
- Fix run-misc-tests.sh script to properly set the number of BITS to 64
Al Stone 4c70b5
  when run on a s390x system.
Al Stone 4c70b5
Michael Schwendt 10cdd1
* Tue Sep 10 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 20130823-3
Michael Schwendt 10cdd1
- correct pmtools obs_ver
Michael Schwendt 10cdd1
Al Stone afae4e
* Tue Aug 27 2013 Al Stone <ahs3@redhat.com> - 20130823-2
Al Stone afae4e
- Add in a copy of the GPLv2 text in order to comply with the requirement
Al Stone afae4e
  to always redistribute the terms of the license.
Al Stone afae4e
Al Stone afae4e
* Mon Aug 26 2013 Al Stone <ahs3@redhat.com> - 20130823-1
Al Stone afae4e
- Update to latest upstream source.
Al Stone afae4e
Al Stone afae4e
* Tue Aug 20 2013 Al Stone <ahs3@redhat.com> - 20130725-2
Al Stone afae4e
- Fix several rpmlint items (listed below)
Al Stone afae4e
- Add versions to explicit provides for acpixtract, acpidump
Al Stone afae4e
- Not all setup steps used -q
Al Stone afae4e
- Setup executable test script (run-misc-tests.sh) differently
Al Stone afae4e
- Removed unneeded commented out line with macros in it
Al Stone afae4e
- Removed mixed use of spaces and tabs (all spaces now)
Al Stone afae4e
- Corrected source URLs (upstream moved)
Al Stone afae4e
Al Stone afae4e
* Sun Aug 18 2013 Al Stone <ahs3@redhat.com> - 20130725-1
Al Stone afae4e
- Update to latest upstream source.
Al Stone afae4e
Al Stone afae4e
* Wed Jul 24 2013 Al Stone <ahs3@redhat.com> - 20130626-1
Al Stone afae4e
- Update to latest upstream source.
Al Stone afae4e
- Move acpidump to acpidump-acpica so it be an alternative properly
Al Stone afae4e
- Add basic man page for acpidump
Al Stone afae4e
- Enable use of AAPITS tests during the check step
Al Stone afae4e
Al Stone afae4e
* Sun Jun 02 2013 Al Stone <ahs3@redhat.com> - 20130517-2
Al Stone afae4e
- Correct an oversight: we provide an acpidump in conflict with the
Al Stone afae4e
  version in pmtools (which appears to be dead upstream) but had not
Al Stone afae4e
  made it an alternative before
Al Stone afae4e
Al Stone afae4e
* Tue May 28 2013 Al Stone <ahs3@redhat.com> - 20130517-1
Al Stone afae4e
- Update to latest upstream source.
Al Stone afae4e
- Remove acpica-tools-config.patch -- now in upstream
Al Stone afae4e
- Remove iasl-signed-char.patch -- now in upstream
Al Stone afae4e
- Updated debian-big_endian.patch
Al Stone afae4e
- Updated debian-unaligned.patch
Al Stone afae4e
Al Stone afae4e
* Mon May 13 2013 Al Stone <ahs3@redhat.com> - 20130328-1
Al Stone afae4e
- Update to latest upstream source.
Al Stone afae4e
Al Stone afae4e
* Wed Mar 20 2013 Al Stone <ahs3@redhat.com> - 20130214-2
Al Stone afae4e
- Incorporate use of optflags macro in the build.
Al Stone afae4e
- Remove extraneous rm -rf of buildroot.
Al Stone afae4e
- Remove extraneous use of defattr in the files section.
Al Stone afae4e
- Incorporate use of parallel make.
Al Stone afae4e
- Remove extraneous use of the clean section.
Al Stone afae4e
- Use simpler globbing in the files section.
Al Stone afae4e
- Use simpler globbing in the install section.
Al Stone afae4e
- Remove obsolete git notes from README.Fedora.
Al Stone afae4e
- Remove ExcludeArch restrictions.
Al Stone afae4e
Al Stone afae4e
* Mon Feb 18 2013 Al Stone <ahs3@redhat.com> - 20130214-1
Al Stone afae4e
- New upstream.
Al Stone afae4e
- Remove most of the config file patch; still need to remove -m{32,64}.
Al Stone afae4e
- Clarify the licensing; this source is dual-licensed and is being released
Al Stone afae4e
  under the GPLv2 as allowed by the original Intel license.
Al Stone afae4e
- Redo the misc tests so they compare results properly.
Al Stone afae4e
Al Stone afae4e
* Wed Feb 06 2013 Al Stone <ahs3@redhat.com> - 20130117-6
Al Stone afae4e
- Added a zero-fill to a date used in comparing testing results so that the
Al Stone afae4e
  comparison would be correct on days numbered < 10.
Al Stone afae4e
Al Stone afae4e
* Thu Jan 31 2013 Al Stone <ahs3@redhat.com> - 20130117-5
Al Stone afae4e
- Simplify versioning scheme and revert to the original scheme in use by
Al Stone afae4e
  iasl, which is use the latest official tarball date (2013017) as the
Igor Gnatenko 6dbede
  version and 1%%{?dist} as the release, to be incremented for packaging
Al Stone afae4e
  and bug fixes as needed.
Al Stone afae4e
Al Stone afae4e
* Wed Jan 30 2013 Al Stone <ahs3@redhat.com> - 20130117-4
Al Stone afae4e
- Do a little reset: go back to using just the original upstream tarball
Al Stone afae4e
  instead of the latest git; the snapshot approach was more complicated
Al Stone afae4e
  than needed.
Al Stone afae4e
- Upstream tarballs split commands from test suites, so had to add the
Al Stone afae4e
  test suite back in as another Source: file.
Al Stone afae4e
- Change versioning scheme to include the APCI specification level (5.0),
Al Stone afae4e
  the latest official tarball date (2013017) and a revision level  (the
Al Stone afae4e
  .1 at the end) for packaging and bug fixes as needed.
Al Stone afae4e
- Changed the License field to reflect the source tarball change; the release
Al Stone afae4e
  tarball is dual-licensed, Intel ACPI or GPLv2.
Al Stone afae4e
- Updated patches to apply cleanly as needed.
Al Stone afae4e
- Corrected Obsoletes and Provides version numbers.
Al Stone afae4e
Al Stone afae4e
* Mon Jan 28 2013 Al Stone <ahs3@redhat.com> - 20130117-3
Al Stone afae4e
- Reconcile Fedora and Debian patches to be as alike as possible
Al Stone afae4e
Al Stone afae4e
* Mon Jan 28 2013 Al Stone <ahs3@redhat.com> - 20130117-2
Al Stone afae4e
- Verify ExcludeArch restrictions -- the architectures excluded can have
Al Stone afae4e
  no use for these tools.  Hardware support for ACPI is simply not
Al Stone afae4e
  implemented for them.
Al Stone afae4e
- Corrected versioning to note this source came from a git pull.
Al Stone afae4e
- Add License file as upstream has not yet provided one (and has not for
Al Stone afae4e
  many years).
Al Stone afae4e
- Insert properly versioned Provides and Obsoletes for iasl.
Al Stone afae4e
- Corrected files to use man.1* (vs man.1.gz) to allow flexibility in the
Al Stone afae4e
  compression being used.
Al Stone afae4e
Al Stone afae4e
* Wed Jan 23 2013 Al Stone <ahs3@redhat.com> - 20130117-1
Al Stone afae4e
- Clone from the current iasl package, with the intent of replacing it
Al Stone afae4e
- Update source to latest upstream
Al Stone afae4e
- NB: ACPICA documentation would normally be included in a source tarball.
Al Stone afae4e
  But, since it is not clearly redistributable, it is not included in the
Al Stone afae4e
  source RPM for this package.
Al Stone afae4e
- Build all ACPICA tools, not just iasl (and hence the package replacement)
Al Stone afae4e
- Add in brief man pages
Al Stone afae4e
- Set up acpixtract from this package as an alternative to the same command
Al Stone afae4e
  in the pmtools package
Al Stone afae4e
- Run the check step once built
Al Stone afae4e