diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-05-03 09:26:20 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-05-03 09:26:20 +0000 |
commit | c3709b99775ff52394fefb2e485cb9b845e23281 (patch) | |
tree | 041599c9040e96bbdd677a8854d4bd7c21911b59 /sys-power | |
parent | Version bump. (diff) | |
download | historical-c3709b99775ff52394fefb2e485cb9b845e23281.tar.gz historical-c3709b99775ff52394fefb2e485cb9b845e23281.tar.bz2 historical-c3709b99775ff52394fefb2e485cb9b845e23281.zip |
Bump, bug 246802. Thanks to Davide Pesavento <davidepesa@gmail.com>. Use Ted Felix version of acpid that correctly handles using the netlink interface instead of the deprecated /proc/acpi/event interface. Also fixes bug 268079, CVE-2009-0798.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/acpid/ChangeLog | 10 | ||||
-rw-r--r-- | sys-power/acpid/Manifest | 14 | ||||
-rw-r--r-- | sys-power/acpid/acpid-1.0.10.ebuild | 60 |
3 files changed, 72 insertions, 12 deletions
diff --git a/sys-power/acpid/ChangeLog b/sys-power/acpid/ChangeLog index 96243142b242..b293c800cfe0 100644 --- a/sys-power/acpid/ChangeLog +++ b/sys-power/acpid/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-power/acpid # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.37 2009/01/19 04:48:49 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.38 2009/05/03 09:26:20 loki_val Exp $ + +*acpid-1.0.10 (03 May 2009) + + 03 May 2009; Peter Alfredsen <loki_val@gentoo.org> +acpid-1.0.10.ebuild: + Bump, bug 246802. Thanks to Davide Pesavento <davidepesa@gmail.com>. Use + Ted Felix version of acpid that correctly handles using the netlink + interface instead of the deprecated /proc/acpi/event interface. Also fixes + bug 268079, CVE-2009-0798. 19 Jan 2009; Mike Frysinger <vapier@gentoo.org> files/acpid-1.0.6-init.d: Use --quiet when starting since acpid is noisy. diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest index 1844208ffa0d..2ed497bda10a 100644 --- a/sys-power/acpid/Manifest +++ b/sys-power/acpid/Manifest @@ -1,22 +1,14 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX acpid-1.0.4-default 663 RMD160 5e40661ec9112c3cc675a0d283e96311d2d159f1 SHA1 e74b2f7388c303fc3d3e33c0500d4b8185474dce SHA256 2b18111978043d68848983a54dfc946dd9b9b15592d0f4dc33491599dbe24b23 AUX acpid-1.0.4-init.d 787 RMD160 6a6473a2e87f5f13d09a30acd09f9188f9d54997 SHA1 1c629da7f53a7aa549a52f698dedb72fe1f58328 SHA256 2aaeb6548b4bc2bc5f863c85face9f2bc8b1107ddc23dd3c8fb274f948ef2da2 AUX acpid-1.0.6-conf.d 156 RMD160 a7c8822a88b51f185c8740b075c968d0c045791d SHA1 497f35e98f1f499d2223c52f4491218b3def489a SHA256 5dfc6dbf687a47e853b0a9f9ed491cb1778b0d99195df5e7a5de849d269ca28c AUX acpid-1.0.6-default.sh 1214 RMD160 1d656cee490664931062cb6a8f6ee968b48f28d1 SHA1 52b7a36da5915dfb72636cf554d5b0aa99779ecc SHA256 9d95f204b39129758de47bd0b003ff47501759db98a8641034e1203130ea1f52 AUX acpid-1.0.6-init.d 818 RMD160 f840ae1b287d303076fcb1b553a53dd7c0664fc0 SHA1 aa1d2a8012c49add5c74c60a9a7cb4b9c7b81593 SHA256 d7daabbf924c2223dab085adae3b38d43c9969cdd49921b4e66cfd497a15fa66 +DIST acpid-1.0.10-netlink2.tar.bz2 84200 RMD160 1ad7d03e5b87d2dd10b00047e1499f96074298c6 SHA1 efe3d552b5bf796d3bd3263addc8e706cc2da480 SHA256 f0d9e029043d7c78910f8ce3912646c4b22a2f2870b384db59238fa7b5b01c35 DIST acpid-1.0.4.tar.gz 23416 RMD160 ddf3cb4e2df7126c71130f89086473b1aa8656b1 SHA1 229376815a861d798755c789727151dc0b2bc8a0 SHA256 032a95967f8dd8a227ee1771de4a2646becc4d0f1123568faeca931006ec8f5f DIST acpid-1.0.6.tar.gz 24226 RMD160 6abb7bae419d30b1f9f772d42fab9991771d5b13 SHA1 67a582cddcd82256e376f4b0749121d8e4ffcaf5 SHA256 aa3c42224ec702b6cdb69ca6501284cb6dacb87473a076d7337ee9635c96f160 DIST acpid_1.0.4-7.1.diff.gz 10356 RMD160 92ec19825915a354b167a33a093c2d7231d5b848 SHA1 4f5b2abb8304a3edcbf32506bf8b31c91ccefe8d SHA256 a268a9c3adbe79cee3d0a1ed4eb2fa849039d1d7e9d0aba0e81f55078d42e7f4 +EBUILD acpid-1.0.10.ebuild 1533 RMD160 f9e5d59df2b36ae50a4fdbf58033b7db3eeaef2e SHA1 db59fb82a3621c927a2029abeb95312d487eb386 SHA256 ce738fb313d94415d929f674c742263aa26c6d40260ff4df8256ca46a812866b EBUILD acpid-1.0.4-r5.ebuild 1758 RMD160 c52a8c3f72f5e013e8dc97f650b119edfa974946 SHA1 f9a3d39e5ae113e6d30ce1f534eea74e66966b4e SHA256 9b80728d6cfc31a86a80dd5523d0c0f3a17ed841f9435e763bca373bbf1b8be9 EBUILD acpid-1.0.6-r1.ebuild 1905 RMD160 15ba00cd5e18ac5c89bc07618d123d728aeb9501 SHA1 a4cd8bf569633044693d34c0dcdc86db27b5d596 SHA256 ea8dd186bdd28bc78efaaf2056c7e2936e816a1b89d3f218e45c951e0d020f41 -MISC ChangeLog 8785 RMD160 4d99e9de586cf03cb580eed7d1af1ac3f6c3b410 SHA1 f519f1af79cb0bcd51414af91b99e8ae2d5a9efa SHA256 a22937e9de5b982223e0ef1394c8e7839bcbe4d09da63fe91f7a2d2526d95451 +MISC ChangeLog 9143 RMD160 d0179d8479096f91f09d26d70f9de7111d059343 SHA1 df353c9e5818f6de9bdc4025348489207208e139 SHA256 47833f6d954842a85699d39c1eece92211770188fb97bea228ab2657231b7200 MISC metadata.xml 258 RMD160 0372b01b1bbc0270c29f1527ea948da2125b0dbc SHA1 03fbb6dddc04dc110fc346d07a5e1079f2cfa568 SHA256 b9247f5f5e9dca9fcd3d365bbf17a6027388ce0721f30987a6e4f6423b503a8d ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkl0BjYACgkQn/5bYzqsSmGy9ACfRG0vF3XYIW9LVUY4rqTngWie -MNQAn3Ba3mSE8vi6w1qT0cX0wNbdbgQm -=h/6H ------END PGP SIGNATURE----- diff --git a/sys-power/acpid/acpid-1.0.10.ebuild b/sys-power/acpid/acpid-1.0.10.ebuild new file mode 100644 index 000000000000..420733bcc603 --- /dev/null +++ b/sys-power/acpid/acpid-1.0.10.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-1.0.10.ebuild,v 1.1 2009/05/03 09:26:20 loki_val Exp $ + +inherit toolchain-funcs + +MY_P="${P}-netlink2" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Daemon for Advanced Configuration and Power Interface" +HOMEPAGE="http://acpid.sourceforge.net" +SRC_URI="http://tedfelix.com/linux/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-ppc ~ia64 ~alpha ~amd64 ~x86" +IUSE="" + +DEPEND="sys-apps/sed" +RDEPEND="" + +src_unpack() { + unpack ${A} + sed -i -e '/^CFLAGS /{s:=:+=:;s:-Werror::;s:-O2 -g::}' "${S}"/Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" INSTPREFIX="${D}" || die "emake failed" +} + +src_install() { + emake INSTPREFIX="${D}" install || die "emake install failed" + + exeinto /etc/acpi + newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh || die + insinto /etc/acpi/events + newins "${FILESDIR}"/${PN}-1.0.4-default default || die + + dodoc README Changelog TODO || die + + newinitd "${FILESDIR}"/${PN}-1.0.6-init.d acpid || die + newconfd "${FILESDIR}"/${PN}-1.0.6-conf.d acpid || die + + docinto examples + dodoc samples/{acpi_handler.sh,sample.conf} + + docinto examples/battery + dodoc samples/battery/* + + docinto examples/panasonic + dodoc samples/panasonic/* +} + +pkg_postinst() { + echo + einfo "You may wish to read the Gentoo Linux Power Management Guide," + einfo "which can be found online at:" + einfo " http://www.gentoo.org/doc/en/power-management-guide.xml" + echo +} |