Blame SPECS/acpica-tools.spec

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