From 34b905e556dc10ff76beba43e5fcb4906912980e Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sun, 1 Apr 2007 22:13:13 +0000 Subject: [PATCH] Bug #164438 - version bump. Package-Manager: portage-2.1.2.2 --- sys-power/pmtools/ChangeLog | 9 ++- sys-power/pmtools/Manifest | 34 ++++++---- .../pmtools/files/digest-pmtools-20061130 | 3 + .../pmtools-20061130-acpixtract-pmtools.patch | 68 +++++++++++++++++++ .../pmtools/files/pmtools-20061130-madt.patch | 22 ++++++ sys-power/pmtools/pmtools-20061130.ebuild | 49 +++++++++++++ 6 files changed, 170 insertions(+), 15 deletions(-) create mode 100644 sys-power/pmtools/files/digest-pmtools-20061130 create mode 100644 sys-power/pmtools/files/pmtools-20061130-acpixtract-pmtools.patch create mode 100644 sys-power/pmtools/files/pmtools-20061130-madt.patch create mode 100644 sys-power/pmtools/pmtools-20061130.ebuild diff --git a/sys-power/pmtools/ChangeLog b/sys-power/pmtools/ChangeLog index eb5440590581..27bd9c900bd8 100644 --- a/sys-power/pmtools/ChangeLog +++ b/sys-power/pmtools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-power/pmtools # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.3 2007/02/22 00:37:39 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.4 2007/04/01 22:13:13 robbat2 Exp $ + +*pmtools-20061130 (01 Apr 2007) + + 01 Apr 2007; Robin H. Johnson + +files/pmtools-20061130-acpixtract-pmtools.patch, + +files/pmtools-20061130-madt.patch, +pmtools-20061130.ebuild: + Bug #164438 - version bump. 22 Feb 2007; Markus Ullmann ChangeLog: Redigest for Manifest2 diff --git a/sys-power/pmtools/Manifest b/sys-power/pmtools/Manifest index 7b5990da60de..f1d2b5b7a69b 100644 --- a/sys-power/pmtools/Manifest +++ b/sys-power/pmtools/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX pmtools-20051111-acpixtract-pmtools.patch 2876 RMD160 d5f86bfb22fde70f9bc309b17a8c86ab3f7c9a0b SHA1 cc18b0ed96592417b9bb25424ad1150bfeb121b4 SHA256 b8f75ec620cb523dd18915cece872161d96698a0d80bd7d323a40209b23ec671 MD5 5bb49023f339fa1cabed1c0c1a6a1922 files/pmtools-20051111-acpixtract-pmtools.patch 2876 RMD160 d5f86bfb22fde70f9bc309b17a8c86ab3f7c9a0b files/pmtools-20051111-acpixtract-pmtools.patch 2876 @@ -9,7 +6,16 @@ AUX pmtools-20051111-madt.patch 769 RMD160 94c13d627c3777ad463ce8d8c6386f1c89f94 MD5 07dc4171cca85d9c1525bfe50f36bb4d files/pmtools-20051111-madt.patch 769 RMD160 94c13d627c3777ad463ce8d8c6386f1c89f94df8 files/pmtools-20051111-madt.patch 769 SHA256 f2434c65de462a26f8d97b75fa1eff815cade46d0ef91b8dc939da111ee1af18 files/pmtools-20051111-madt.patch 769 +AUX pmtools-20061130-acpixtract-pmtools.patch 1968 RMD160 0689c2beedfb33d9fde1cccc5f51d7e10296f0ae SHA1 ac185b3af068be6adf6b845c47e705e93889738f SHA256 bede9f4165ae92932d07f0449d10b5fe92ed2c3ce3d872d721f92bb6bc6b48b0 +MD5 3e9136dc320beaa14c8cdb53afcd0d15 files/pmtools-20061130-acpixtract-pmtools.patch 1968 +RMD160 0689c2beedfb33d9fde1cccc5f51d7e10296f0ae files/pmtools-20061130-acpixtract-pmtools.patch 1968 +SHA256 bede9f4165ae92932d07f0449d10b5fe92ed2c3ce3d872d721f92bb6bc6b48b0 files/pmtools-20061130-acpixtract-pmtools.patch 1968 +AUX pmtools-20061130-madt.patch 363 RMD160 470aa0c91bbf317ce10ef5936cc54c92692a7d9f SHA1 8b2a96f71147ffe0dc242c5c1b7c379ce6752a8c SHA256 d1a9e6e1d58e43783d0159e8bc53bd42facc78e7e88bd937a5989c40ae83da7c +MD5 775509172719c78bf01eec54d0e0460d files/pmtools-20061130-madt.patch 363 +RMD160 470aa0c91bbf317ce10ef5936cc54c92692a7d9f files/pmtools-20061130-madt.patch 363 +SHA256 d1a9e6e1d58e43783d0159e8bc53bd42facc78e7e88bd937a5989c40ae83da7c files/pmtools-20061130-madt.patch 363 DIST pmtools-20051111.tar.gz 48602 RMD160 16158a4e56dc2934c91cb07c6086beb141b486f7 SHA1 16c63d694e61a01ebb991a3eafa08f7f784ce1af SHA256 622c505c0cbb08a03a078e2b1e44c06491611c7345dcb59a28d18270bcd90bed +DIST pmtools-20061130.tar.gz 53155 RMD160 25771b23bd32afe722586d852e8e17c40a59d88e SHA1 40537a667aff62798d68c18701607f5ee2030db4 SHA256 3b776339f9d25466e168358d93725704babe6b8a129d473e7f7d432756ab56de EBUILD pmtools-20051111-r1.ebuild 1361 RMD160 8583ef5e47fd42b52a254068d41ea8654e720461 SHA1 d675443b397647f928f5db467ea8c5d98a28e647 SHA256 8be1792b3ee2cad6d69bb659825271a934dd00f564fc47d87deceed5cb661f08 MD5 35f1b7c30d59516de2db3129706f0397 pmtools-20051111-r1.ebuild 1361 RMD160 8583ef5e47fd42b52a254068d41ea8654e720461 pmtools-20051111-r1.ebuild 1361 @@ -18,10 +24,14 @@ EBUILD pmtools-20051111.ebuild 664 RMD160 5da51e6dd5e491fd079b28580727c51056867a MD5 0918120da8d20b9b693894fff37679f7 pmtools-20051111.ebuild 664 RMD160 5da51e6dd5e491fd079b28580727c51056867a1a pmtools-20051111.ebuild 664 SHA256 6c5686c1bb1e17d1fc79fedba8fad0b09fc5ec3ed72fac09173449c4c1ff4a66 pmtools-20051111.ebuild 664 -MISC ChangeLog 1148 RMD160 e84a921f40116e96530cbbb07ddb9b72f18dc6ce SHA1 1b3602ed30ffec0022ea91a8cdae8d16c93f3bdf SHA256 562098ea5483e0a481dfeadcab567441c6b474197dd1f83cf35b85e93c8ecd40 -MD5 601212fd8a5bd5e2a0aed89bf3008889 ChangeLog 1148 -RMD160 e84a921f40116e96530cbbb07ddb9b72f18dc6ce ChangeLog 1148 -SHA256 562098ea5483e0a481dfeadcab567441c6b474197dd1f83cf35b85e93c8ecd40 ChangeLog 1148 +EBUILD pmtools-20061130.ebuild 1369 RMD160 c6739dd7240a370dfa7a1ea55f6fbd49cb98aa05 SHA1 d1a1f8c85e40cea096f793e998c45c258e73061a SHA256 ea90554525a8d33aa226ea4232aeb767e93032ee4d7902374781f4e280d72702 +MD5 0cf35c6597817a435ec7470a33294149 pmtools-20061130.ebuild 1369 +RMD160 c6739dd7240a370dfa7a1ea55f6fbd49cb98aa05 pmtools-20061130.ebuild 1369 +SHA256 ea90554525a8d33aa226ea4232aeb767e93032ee4d7902374781f4e280d72702 pmtools-20061130.ebuild 1369 +MISC ChangeLog 1383 RMD160 556cbfd66868d9be20df950e1b196c268dfb7819 SHA1 eb72b3bbd77620599eeca527f76b90ea8b2215df SHA256 1b6e3699dcbda71338f55a2804c213d2777909401e1481b2df4213c9dd157730 +MD5 98fcec8922e57f96c2e6558873aaafcd ChangeLog 1383 +RMD160 556cbfd66868d9be20df950e1b196c268dfb7819 ChangeLog 1383 +SHA256 1b6e3699dcbda71338f55a2804c213d2777909401e1481b2df4213c9dd157730 ChangeLog 1383 MISC metadata.xml 533 RMD160 06d6822d1d37fe42df032895be61852d748b4e60 SHA1 a0891a3a28f82a70ca3067431b2aebd8dd35b496 SHA256 095b685564533cd746483e96e141521b72a5cf63add86c58c7c4989aa0ec97b2 MD5 6395ff82b9b5fc02a375970595a43528 metadata.xml 533 RMD160 06d6822d1d37fe42df032895be61852d748b4e60 metadata.xml 533 @@ -32,10 +42,6 @@ SHA256 ecf0f8eed1a87b698615dfb8e18e4622d7c778e5862bbd5482027f66ba659f68 files/di MD5 72560434a2006d05dabea6470a981c58 files/digest-pmtools-20051111-r1 247 RMD160 5c3570c0a13a405aa6efae0f0914c2a9e0ea1faf files/digest-pmtools-20051111-r1 247 SHA256 ecf0f8eed1a87b698615dfb8e18e4622d7c778e5862bbd5482027f66ba659f68 files/digest-pmtools-20051111-r1 247 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) - -iD8DBQFF3OVrz974XjDVpbkRAgfXAKCgpgQxBfgjVKMM05mnCriLHsKt+gCgkeWD -y4dVkG4P6sl0GPCveNUHZQU= -=o7NY ------END PGP SIGNATURE----- +MD5 ee9c18a87f7b9c50958522cd7036e0b9 files/digest-pmtools-20061130 247 +RMD160 dd86a01d2f64c5dcffdef0c4033f68672a97c35e files/digest-pmtools-20061130 247 +SHA256 7b105ac7d69b252c2f2921d273eb9e3bfd72780122c27c48e2282f25b5d3085b files/digest-pmtools-20061130 247 diff --git a/sys-power/pmtools/files/digest-pmtools-20061130 b/sys-power/pmtools/files/digest-pmtools-20061130 new file mode 100644 index 000000000000..b5a27074bb4d --- /dev/null +++ b/sys-power/pmtools/files/digest-pmtools-20061130 @@ -0,0 +1,3 @@ +MD5 c68002cd81947e1532afac03eaf7d798 pmtools-20061130.tar.gz 53155 +RMD160 25771b23bd32afe722586d852e8e17c40a59d88e pmtools-20061130.tar.gz 53155 +SHA256 3b776339f9d25466e168358d93725704babe6b8a129d473e7f7d432756ab56de pmtools-20061130.tar.gz 53155 diff --git a/sys-power/pmtools/files/pmtools-20061130-acpixtract-pmtools.patch b/sys-power/pmtools/files/pmtools-20061130-acpixtract-pmtools.patch new file mode 100644 index 000000000000..0bf33c390933 --- /dev/null +++ b/sys-power/pmtools/files/pmtools-20061130-acpixtract-pmtools.patch @@ -0,0 +1,68 @@ +--- a/README ++++ b/README +@@ -17,27 +17,27 @@ + + # ./acpidump -t DSDT -o DSDT + +-./acpidump/acpixtract ++./acpidump/acpixtract-pmtools + -------------------- + Convert ASCII acpidump output to raw binary table: + + # ./acpidump -t DSDT -b -o DSDT +- $ cat email | ./acpixtract DSDT > DSDT ++ $ cat email | ./acpixtract-pmtools DSDT > DSDT + + ./acpidump/acpitbl + ----------------- + Dump the table header or contents of a raw ACPI table: + + # ./acpidump -t FACP -b | ./acpitbl +- $ cat email | ./acpixtract FACP | ./acpitbl ++ $ cat email | ./acpixtract-pmtools FACP | ./acpitbl + + or +- $ ./acpixtract FACP acpidump.out > FACP.bin ++ $ ./acpixtract-pmtools FACP acpidump.out > FACP.bin + and then + $ ./acpitbl FACP.bin + + or +- $ ./acpixtract -n 3 SSDT acpidump.out > SSDT3.bin ++ $ ./acpixtract-pmtools -n 3 SSDT acpidump.out > SSDT3.bin + to extract the n-th instance of a specified table type. + + Disassembler +--- a/acpidump/acpitbl ++++ b/acpidump/acpitbl +@@ -2,7 +2,7 @@ + # + # acpitbl - ACPI table dumper + # +-# Example: ./acpidump -t FACP | ./acpixtract | ./acpitbl ++# Example: ./acpidump -t FACP | ./acpixtract-pmtools | ./acpitbl + # + + ($ME = $0) =~ s|.*/||; +--- a/acpixtract/acpixtract.c ++++ b/acpixtract/acpixtract.c +@@ -199,7 +199,7 @@ DisplayUsage ( + void) + { + +- printf ("Usage: acpixtract [option] \n"); ++ printf ("Usage: acpixtract-pmtools [option] \n"); + printf ("\nExtract binary ACPI tables from text acpidump output\n"); + printf ("Default invocation extracts all DSDTs and SSDTs\n"); + printf ("Version %8.8X\n\n", VERSION); +--- a/madt/README ++++ b/madt/README +@@ -1,7 +1,7 @@ + User utility to parse the ACPI MADT + Hacked out of Linux kernel code to do the same. + +-# ./acpidmp | ./acpixtract APIC | ./madt ++# ./acpidmp | ./acpixtract-pmtools APIC | ./madt + + ACPI: APIC (v001 INTEL D845EBT2 0x20021021 MSFT 0x00000097) @ 0x(nil) + ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) diff --git a/sys-power/pmtools/files/pmtools-20061130-madt.patch b/sys-power/pmtools/files/pmtools-20061130-madt.patch new file mode 100644 index 000000000000..b5163a378a27 --- /dev/null +++ b/sys-power/pmtools/files/pmtools-20061130-madt.patch @@ -0,0 +1,22 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,4 +1,4 @@ +-DIRS = acpidump acpixtract ++DIRS = acpidump acpixtract madt + + all: + for i in $(DIRS); do $(MAKE) -C $$i $@; done +--- a/madt/Makefile ++++ b/madt/Makefile +@@ -1,6 +1,10 @@ ++all: madt ++ + test: madt + ./madt < APIC ++ + madt: madt.c acpi.h tables.c +- cc -o madt madt.c ++ $(CC) $(CFLAGS) -o $@ madt.c ++ + clean: + rm madt diff --git a/sys-power/pmtools/pmtools-20061130.ebuild b/sys-power/pmtools/pmtools-20061130.ebuild new file mode 100644 index 000000000000..7c656237f1b9 --- /dev/null +++ b/sys-power/pmtools/pmtools-20061130.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20061130.ebuild,v 1.1 2007/04/01 22:13:13 robbat2 Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="ACPI disassembler tools, including acpidump" +HOMEPAGE="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/" +SRC_URI="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~amd64 ~x86" +IUSE="" +DEPEND="virtual/libc" +RDEPEND="${DEPEND} + dev-lang/perl + >=sys-power/iasl-20060512" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-madt.patch + epatch ${FILESDIR}/${P}-acpixtract-pmtools.patch + sed -i.orig \ + -e '/^CFLAGS/s, -s , ,' \ + ${S}/acpidump/Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + # acpidump access the ACPI data via /dev/mem or EFI firmware in /sys + dosbin acpidump/acpidump + # the other tools only process data + newbin acpixtract/acpixtract acpixtract-pmtools + dobin acpidump/acpitbl + dobin madt/madt + + dodoc README + docinto madt + dodoc madt/README madt/APIC* +} + +pkg_postinst() { + ewarn "Please note that acpixtract is now named acpixtract-pmtools to avoid" + ewarn "conflicts with the new tool of the same name from the iasl package." +} -- 2.26.2