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