From f9e9c6154d94616f56abe71120587c8f9fd85edb Mon Sep 17 00:00:00 2001 From: Al Stone Date: Oct 15 2020 21:21:20 +0000 Subject: The acpinames command has been deprecated upstream Remove the command and the man page. Functionality replacing acpinames is now found in acpiexec. Signed-off-by: Al Stone --- diff --git a/.gitignore b/.gitignore index 7997d0c..9b16719 100644 --- a/.gitignore +++ b/.gitignore @@ -135,3 +135,5 @@ series /acpitests-unix-20200528.tar.gz /acpica-unix2-20200717.tar.gz /acpitests-unix-20200717.tar.gz +/acpica-unix2-20200925.tar.gz +/acpitests-unix-20200925.tar.gz diff --git a/acpica-tools.spec b/acpica-tools.spec index 6ae42c3..ad94d67 100644 --- a/acpica-tools.spec +++ b/acpica-tools.spec @@ -1,5 +1,5 @@ Name: acpica-tools -Version: 20200717 +Version: 20200925 Release: 1%{?dist} Summary: ACPICA tools for the development and debug of ACPI tables @@ -14,7 +14,6 @@ Source4: acpibin.1 Source5: acpidump.1 Source6: acpiexec.1 Source7: acpihelp.1 -Source8: acpinames.1 Source9: acpisrc.1 Source10: acpixtract.1 Source11: acpiexamples.1 @@ -24,31 +23,67 @@ Source14: converterSample.asl.result Source15: run-misc-tests.sh Source16: COPYING -Patch0: big-endian.patch -Patch1: big-endian-dmtbdump.patch -Patch2: big-endian-dmtbdump1.patch -Patch3: big-endian-dmtbdump2.patch -Patch4: big-endian-dmtbdump3.patch -Patch5: unaligned.patch -Patch6: OPT_LDFLAGS.patch -Patch7: int-format.patch -Patch8: f23-harden.patch -Patch9: template.patch -Patch10: ppc64le.patch -Patch11: arm7hl.patch -Patch12: big-endian-v2.patch -Patch13: simple-64bit.patch -Patch14: mips-be-fix.patch -Patch15: cve-2017-13693.patch -Patch16: cve-2017-13694.patch -Patch17: cve-2017-13695.patch -Patch18: str-trunc-warn.patch -Patch19: ptr-cast.patch -Patch20: aslcodegen.patch -Patch21: facp.patch -Patch24: armv7-str-fixes.patch -Patch25: dbtest.patch -#Patch27: big-endian-v3.patch +# the big-endian patch set +Patch0: 0001-Add-in-basic-infrastructure-for-big-endian-support.patch +Patch1: 0002-Modify-utility-functions-to-be-endian-agnostic.patch +Patch2: 0003-Always-display-table-header-content-in-human-readabl.patch +Patch3: 0004-Re-enable-support-for-big-endian-machines.patch +Patch4: 0005-Support-MADT-aka-APIC-in-a-big-endian-world.patch +Patch5: 0006-Support-ASF-tables-in-a-big-endian-world.patch +Patch6: 0007-Support-CPEP-tables-in-a-big-endian-world.patch +Patch7: 0008-Support-DBG2-table-in-a-big-endian-world.patch +Patch8: 0009-Support-DMAR-in-a-big-endian-world.patch +Patch9: 0010-Support-DRTM-in-a-big-endian-world.patch +Patch10: 0011-Support-EINJ-in-a-big-endian-world.patch +Patch11: 0012-Support-ERST-in-a-big-endian-world.patch +Patch12: 0013-Support-FADT-aka-FACP-in-a-big-endian-world.patch +Patch13: 0014-Support-most-FPDTs-in-a-big-endian-world.patch +Patch14: 0015-Support-GTDT-in-a-big-endian-world.patch +Patch15: 0016-Support-HEST-in-a-big-endian-world.patch +Patch16: 0017-Support-RSDT-RSD-PTR-in-a-big-endian-world.patch +Patch17: 0018-Support-XSDT-in-a-big-endian-world.patch +Patch18: 0019-Support-SRAT-in-a-big-endian-world.patch +Patch19: 0020-Support-SLIT-in-a-big-endian-world.patch +Patch20: 0021-Support-MSCT-in-a-big-endian-world.patch +Patch21: 0022-Support-MPST-in-a-big-endian-world.patch +Patch22: 0023-Support-NFIT-in-a-big-endian-world.patch +Patch23: 0024-Support-SDEV-in-a-big-endian-world.patch +Patch24: 0025-Support-HMAT-in-a-big-endian-world.patch +Patch25: 0026-Support-PDTT-in-a-big-endian-world.patch +Patch25: 0027-Support-PPTT-in-a-big-endian-world.patch +Patch27: 0028-Support-PCCT-in-a-big-endian-world.patch +Patch28: 0029-Support-WDAT-in-a-big-endian-world.patch +Patch29: 0030-Support-TCPA-in-a-big-endian-world.patch +Patch30: 0031-Support-STAO-in-a-big-endian-world.patch +Patch31: 0032-Support-SLIC-and-MSDM-in-a-big-endian-world.patch +Patch32: 0033-Support-MCFG-in-a-big-endian-world.patch +Patch33: 0034-Support-LPIT-in-a-big-endian-world.patch +Patch34: 0035-Support-PMTT-in-a-big-endian-world.patch +Patch35: 0036-Support-IORT-in-a-big-endian-world.patch +Patch36: 0037-Support-IVRS-in-a-big-endian-world.patch +Patch37: 0038-Support-TPM2-in-a-big-endian-world.patch +Patch38: 0039-Add-partial-big-endian-support-for-WPBT-tables.patch +Patch39: 0040-Support-DSDT-SSDT-in-a-big-endian-world.patch + +# other miscellaneous patch +Patch40: unaligned.patch +Patch41: OPT_LDFLAGS.patch +Patch42: int-format.patch +Patch43: f23-harden.patch +Patch44: template.patch +Patch45: ppc64le.patch +Patch46: arm7hl.patch +Patch47: simple-64bit.patch +Patch48: mips-be-fix.patch +Patch49: cve-2017-13693.patch +Patch50: cve-2017-13694.patch +Patch51: cve-2017-13695.patch +Patch52: str-trunc-warn.patch +Patch53: ptr-cast.patch +Patch54: aslcodegen.patch +Patch55: facp.patch +Patch56: armv7-str-fixes.patch +Patch57: dbtest.patch BuildRequires: bison patchutils flex gcc @@ -86,7 +121,6 @@ are installed: -- acpidump: write out the current contents of ACPI tables -- acpiexec: simulate AML execution in order to debug method definitions -- acpihelp: display help messages describing ASL keywords and op-codes - -- acpinames: display complete ACPI name space from input AML -- acpisrc: manipulate the ACPICA source tree and format source files for specific environments -- acpixtract: extract binary ACPI tables from acpidump output (see @@ -98,33 +132,65 @@ This version of the tools is being released under GPLv2 license. %setup -q -n acpica-unix2-%{version} gzip -dc %{SOURCE1} | tar -x --strip-components=1 -f - -%patch0 -p1 -b .big-endian -%patch1 -p1 -b .big-endian-dmtbdump -%patch2 -p1 -b .big-endian-dmtbdump1 -%patch3 -p1 -b .big-endian-dmtbdump2 -%patch4 -p1 -b .big-endian-dmtbdump3 -%patch5 -p1 -b .unaligned -%patch6 -p1 -b .OPT_LDFLAGS -%patch7 -p1 -b .int-format -%patch8 -p1 -b .f23-harden -# do not preserve a backup for this patch; it alters the results -# of the template test case and forces it to fail -%patch9 -p1 -%patch10 -p1 -b .ppc64le -%patch11 -p1 -b .arm7hl -%patch12 -p1 -b .big-endian-v2 -%patch13 -p1 -b .simple-64bit -%patch14 -p1 -b .mips-be-fix -%patch15 -p1 -b .cve-2017-13693 -%patch16 -p1 -b .cve-2017-13694 -%patch17 -p1 -b .cve-2017-13695 -%patch18 -p1 -b .str-trunc-warn -%patch19 -p1 -b .ptr-cast -%patch20 -p1 -b .aslcodegen -%patch21 -p1 -b .facp -%patch24 -p1 -b .armv7-str-fixes -%patch25 -p1 -b .dbtest -#%patch27 -p1 -b .big-endian-v3 +# apply all the patches +%patch0 +%patch1 +%patch2 +%patch3 +%patch4 +%patch5 +%patch6 +%patch7 +%patch8 +%patch9 +%patch10 +%patch11 +%patch12 +%patch13 +%patch14 +%patch15 +%patch16 +%patch17 +%patch18 +%patch19 +%patch20 +%patch21 +%patch22 +%patch23 +%patch24 +%patch25 +%patch26 +%patch27 +%patch28 +%patch29 +%patch30 +%patch31 +%patch32 +%patch33 +%patch34 +%patch35 +%patch36 +%patch37 +%patch38 +%patch39 +%patch40 +%patch41 +%patch42 +%patch43 +%patch44 +%patch45 +%patch46 +%patch47 +%patch48 +%patch49 +%patch50 +%patch51 +%patch52 +%patch53 +%patch54 +%patch55 +%patch56 +%patch57 cp -p %{SOURCE2} README.Fedora cp -p %{SOURCE3} iasl.1 @@ -132,7 +198,6 @@ cp -p %{SOURCE4} acpibin.1 cp -p %{SOURCE5} acpidump.1 cp -p %{SOURCE6} acpiexec.1 cp -p %{SOURCE7} acpihelp.1 -cp -p %{SOURCE8} acpinames.1 cp -p %{SOURCE9} acpisrc.1 cp -p %{SOURCE10} acpixtract.1 cp -p %{SOURCE11} acpiexamples.1 @@ -241,6 +306,12 @@ fi %changelog +* Thu Oct 15 2020 Al Stone - 20200925-1 +- Update to 20200925 source tree +- Completely revamp the old big-endian patches (maintainability was the goal) +- The acpinames command has been deprecated upstrean; acpiexec provides + replacement functionality + * Fri Jul 31 2020 Fedora Release Engineering - 20200430-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/acpinames.1 b/acpinames.1 deleted file mode 100644 index 315d235..0000000 --- a/acpinames.1 +++ /dev/null @@ -1,49 +0,0 @@ -.\" First parameter, NAME, should be all caps -.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection -.\" other parameters are allowed: see man(7), man(1) -.TH ACPINAMES 1 "January 23, 2013" -.\" Please adjust this date whenever revising the manpage. -.\" -.\" Some roff macros, for reference: -.\" .nh disable hyphenation -.\" .hy enable hyphenation -.\" .ad l left justify -.\" .ad b justify to both left and right margins -.\" .nf disable filling -.\" .fi enable filling -.\" .br insert line break -.\" .sp insert n+1 empty lines -.\" for manpage-specific macros, see man(7) -.SH NAME -acpinames \- ACPI name space dump utility -.SH SYNOPSIS -.B acpinames -.RI