From 14bec8db272751799224c4c46bbba0dd16c48ae8 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 23 Feb 2007 10:55:56 +0000 Subject: [PATCH] Bump for a non bash init script. Package-Manager: portage-2.1.2-r10 --- sys-power/acpid/ChangeLog | 10 ++- sys-power/acpid/Manifest | 33 ++++----- sys-power/acpid/acpid-1.0.4-r4.ebuild | 76 +++++++++++++++++++++ sys-power/acpid/files/acpid-1.0.4-init.d | 4 +- sys-power/acpid/files/digest-acpid-1.0.4-r4 | 3 + 5 files changed, 104 insertions(+), 22 deletions(-) create mode 100644 sys-power/acpid/acpid-1.0.4-r4.ebuild create mode 100644 sys-power/acpid/files/digest-acpid-1.0.4-r4 diff --git a/sys-power/acpid/ChangeLog b/sys-power/acpid/ChangeLog index 3c762e3a95f4..5865d81e226d 100644 --- a/sys-power/acpid/ChangeLog +++ b/sys-power/acpid/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-power/acpid -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.24 2006/12/07 00:08:44 uberlord Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.25 2007/02/23 10:55:56 uberlord Exp $ + +*acpid-1.0.4-r4 (23 Feb 2007) + + 23 Feb 2007; Roy Marples files/acpid-1.0.4-init.d, + +acpid-1.0.4-r4.ebuild: + Bump for a non bash init script. 07 Dec 2006; Roy Marples files/acpid-1.0.4-init.d: Make acpid more robust for start-stop-daemon. diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest index f7ae1e30c6fe..688faefaa849 100644 --- a/sys-power/acpid/Manifest +++ b/sys-power/acpid/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX acpid-1.0.4-default 663 RMD160 5e40661ec9112c3cc675a0d283e96311d2d159f1 SHA1 e74b2f7388c303fc3d3e33c0500d4b8185474dce SHA256 2b18111978043d68848983a54dfc946dd9b9b15592d0f4dc33491599dbe24b23 MD5 414d143f4c5e83c422f706f671820e6d files/acpid-1.0.4-default 663 RMD160 5e40661ec9112c3cc675a0d283e96311d2d159f1 files/acpid-1.0.4-default 663 @@ -13,10 +10,10 @@ AUX acpid-1.0.4-gcc4.patch 670 RMD160 a220b9a7b3ce3170e51d9858f971c6ded9181def S MD5 faf93dd3ae4cc7973d7375beea0738a3 files/acpid-1.0.4-gcc4.patch 670 RMD160 a220b9a7b3ce3170e51d9858f971c6ded9181def files/acpid-1.0.4-gcc4.patch 670 SHA256 42a72a1a3f29b42c8dd3bcc659bca5aec59de5c0abb162f13f73b7e6818c34de files/acpid-1.0.4-gcc4.patch 670 -AUX acpid-1.0.4-init.d 789 RMD160 da34c9da19cf8381890cac49c7e2a77947b832f8 SHA1 410ecad2fedd10e97470888787354964c203c547 SHA256 c7ea78f0133fca5ac9609b8613a000c9445d9a1d4b250977327e0ac51a3ea533 -MD5 33d39ba15c92125712d087e636592c7a files/acpid-1.0.4-init.d 789 -RMD160 da34c9da19cf8381890cac49c7e2a77947b832f8 files/acpid-1.0.4-init.d 789 -SHA256 c7ea78f0133fca5ac9609b8613a000c9445d9a1d4b250977327e0ac51a3ea533 files/acpid-1.0.4-init.d 789 +AUX acpid-1.0.4-init.d 787 RMD160 6a6473a2e87f5f13d09a30acd09f9188f9d54997 SHA1 1c629da7f53a7aa549a52f698dedb72fe1f58328 SHA256 2aaeb6548b4bc2bc5f863c85face9f2bc8b1107ddc23dd3c8fb274f948ef2da2 +MD5 78c4de0bc9f19f2e281eaa092ed5f058 files/acpid-1.0.4-init.d 787 +RMD160 6a6473a2e87f5f13d09a30acd09f9188f9d54997 files/acpid-1.0.4-init.d 787 +SHA256 2aaeb6548b4bc2bc5f863c85face9f2bc8b1107ddc23dd3c8fb274f948ef2da2 files/acpid-1.0.4-init.d 787 AUX acpid-1.0.4-logrotate 145 RMD160 a9a4d7572a53148d9063c91b381a22ff5822195c SHA1 0cd1ac6b5e878a43cf44109f34177d6187c2397e SHA256 37a785e09fa4b140840a3bcd3991f050309a7b19c1cb4f9dbb1f5d7ed12556f1 MD5 79d7ccb97f4ab85e7071481fa10e3629 files/acpid-1.0.4-logrotate 145 RMD160 a9a4d7572a53148d9063c91b381a22ff5822195c files/acpid-1.0.4-logrotate 145 @@ -34,10 +31,14 @@ EBUILD acpid-1.0.4-r3.ebuild 1853 RMD160 b5be9ca3f5677e794789e78a8cc1d8c4ed27188 MD5 ad548af94574f1903233326e4c7ad436 acpid-1.0.4-r3.ebuild 1853 RMD160 b5be9ca3f5677e794789e78a8cc1d8c4ed271882 acpid-1.0.4-r3.ebuild 1853 SHA256 73f3562c82eb6e63790257aedbe7125b403e7ab688c08990634a56ed4a06b42b acpid-1.0.4-r3.ebuild 1853 -MISC ChangeLog 5700 RMD160 ee265a349feaf59f3118ebdc85e7f25dcd64c398 SHA1 73e8ccea18d4764ee47201729fb0691a137722df SHA256 5bd2ee07464a9642dc611100f9c7007fe90cd6633ddb155a61e0e48195e53f9d -MD5 961c91f041223cabd0ff4c56556c30ed ChangeLog 5700 -RMD160 ee265a349feaf59f3118ebdc85e7f25dcd64c398 ChangeLog 5700 -SHA256 5bd2ee07464a9642dc611100f9c7007fe90cd6633ddb155a61e0e48195e53f9d ChangeLog 5700 +EBUILD acpid-1.0.4-r4.ebuild 1853 RMD160 7c08db9cd1291d2d2c6d16dff67229b6a5615223 SHA1 754ded735cb87c42228ea0545a64c90b9f9db77f SHA256 07ad85ada5d41dbb617f5cf3d08fdf23b4d9098aacd2cbd1973708c7fe881dd1 +MD5 aef1213fe4ff3ae00cc8191b8a0d4899 acpid-1.0.4-r4.ebuild 1853 +RMD160 7c08db9cd1291d2d2c6d16dff67229b6a5615223 acpid-1.0.4-r4.ebuild 1853 +SHA256 07ad85ada5d41dbb617f5cf3d08fdf23b4d9098aacd2cbd1973708c7fe881dd1 acpid-1.0.4-r4.ebuild 1853 +MISC ChangeLog 5868 RMD160 fe55f775ce5497944fca58bf226105c40344ee1c SHA1 c0336269398a58a1c8456a52c0ea5b098edcd763 SHA256 85666ab0d5065db147746e1028ca836c758e1c5e511b6615e400a4dc21e5c6db +MD5 b4cec7dc1c8dfc2d04a8ea503ee0d9cf ChangeLog 5868 +RMD160 fe55f775ce5497944fca58bf226105c40344ee1c ChangeLog 5868 +SHA256 85666ab0d5065db147746e1028ca836c758e1c5e511b6615e400a4dc21e5c6db ChangeLog 5868 MISC metadata.xml 253 RMD160 e3bc24e63aaa256a4dc8e70fbcbc5c0b0e86ba08 SHA1 d9c5af7907f5402acde630a1dc29a72c25f11998 SHA256 235e0815d900e939a6090405c7ac09371fd8292a6c09be516067adc6ebe58950 MD5 325189cc7d254bb60c1cdc44ec4d6485 metadata.xml 253 RMD160 e3bc24e63aaa256a4dc8e70fbcbc5c0b0e86ba08 metadata.xml 253 @@ -48,10 +49,6 @@ SHA256 61dade4778db94978731c78df8c379a1ccb344b5d8727267e5f05fa71ef85538 files/di MD5 46612b0044e029d74a3cd52522aacd5a files/digest-acpid-1.0.4-r3 232 RMD160 326422a4846448ae50d821c0c3e025be9f8cb3ef files/digest-acpid-1.0.4-r3 232 SHA256 61dade4778db94978731c78df8c379a1ccb344b5d8727267e5f05fa71ef85538 files/digest-acpid-1.0.4-r3 232 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFeHZBI1lqEGTUzyQRAjzgAKC3dXiHWH8Op7nPT71FdoKE0NMMCwCg2Chn -JRGkadTLfbre6x4fIVnPsh8= -=TyxP ------END PGP SIGNATURE----- +MD5 46612b0044e029d74a3cd52522aacd5a files/digest-acpid-1.0.4-r4 232 +RMD160 326422a4846448ae50d821c0c3e025be9f8cb3ef files/digest-acpid-1.0.4-r4 232 +SHA256 61dade4778db94978731c78df8c379a1ccb344b5d8727267e5f05fa71ef85538 files/digest-acpid-1.0.4-r4 232 diff --git a/sys-power/acpid/acpid-1.0.4-r4.ebuild b/sys-power/acpid/acpid-1.0.4-r4.ebuild new file mode 100644 index 000000000000..978d2a277d30 --- /dev/null +++ b/sys-power/acpid/acpid-1.0.4-r4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-1.0.4-r4.ebuild,v 1.1 2007/02/23 10:55:56 uberlord Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Daemon for Advanced Configuration and Power Interface" +HOMEPAGE="http://acpid.sourceforge.net" +SRC_URI="mirror://sourceforge/acpid/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ia64 -ppc x86" +IUSE="doc logrotate" + +DEPEND="sys-apps/sed" +RDEPEND="" + +src_unpack() { + unpack ${A} + + cd ${S} + # Fix building with gcc4 + epatch ${FILESDIR}/${P}-gcc4.patch + + # do not treat warnings as errors, bug #90873 + sed -i -e "s:-Werror::" ${S}/Makefile +} + +src_compile() { + # DO NOT COMPILE WITH OPTIMISATIONS (bug #22365) + # That is a note to the devs. IF you are a user, go ahead and optimise + # if you want, but we won't support bugs associated with that. + make CC="$(tc-getCC)" INSTPREFIX="${D}" || die +} + +src_install() { + # needed since the Makefile doesn't do 'mkdir -p $(BINDIR)' + dodir /usr/bin + + make INSTPREFIX="${D}" install || die + + exeinto /etc/acpi + newexe ${FILESDIR}/${P}-default.sh default.sh || die + + insinto /etc/acpi/events + newins ${FILESDIR}/${P}-default default || die + + dodoc README Changelog TODO + + newinitd ${FILESDIR}/${P}-init.d acpid || die + + if use doc; then + docinto examples + dodoc samples/{acpi_handler.sh,sample.conf} + + docinto examples/battery + dodoc samples/battery/* + + docinto examples/panasonic + dodoc samples/panasonic/* + fi + + if use logrotate; then + insinto /etc/logrotate.d + newins ${FILESDIR}/${P}-logrotate acpid || die + fi +} + +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 +} diff --git a/sys-power/acpid/files/acpid-1.0.4-init.d b/sys-power/acpid/files/acpid-1.0.4-init.d index e46803582270..f620a052ca29 100644 --- a/sys-power/acpid/files/acpid-1.0.4-init.d +++ b/sys-power/acpid/files/acpid-1.0.4-init.d @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-1.0.4-init.d,v 1.5 2006/12/07 00:08:44 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-1.0.4-init.d,v 1.6 2007/02/23 10:55:56 uberlord Exp $ opts="reload" @@ -10,7 +10,7 @@ depend() { } checkconfig() { - if [[ ! -e /proc/acpi ]] ; then + if [ ! -e /proc/acpi ] ; then eerror "ACPI support has not been compiled into the kernel" return 1 fi diff --git a/sys-power/acpid/files/digest-acpid-1.0.4-r4 b/sys-power/acpid/files/digest-acpid-1.0.4-r4 new file mode 100644 index 000000000000..0d13820cfcea --- /dev/null +++ b/sys-power/acpid/files/digest-acpid-1.0.4-r4 @@ -0,0 +1,3 @@ +MD5 3aff94e92186e99ed5fd6dcee2db7c74 acpid-1.0.4.tar.gz 23416 +RMD160 ddf3cb4e2df7126c71130f89086473b1aa8656b1 acpid-1.0.4.tar.gz 23416 +SHA256 032a95967f8dd8a227ee1771de4a2646becc4d0f1123568faeca931006ec8f5f acpid-1.0.4.tar.gz 23416 -- 2.26.2