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