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