diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-07-17 19:46:32 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-07-17 19:46:32 +0000 |
commit | 27580b5afbc43d0fdaf3241bccd64e25a86a22af (patch) | |
tree | 11dd896036343dd95fef398c6bc6f16f47a013ff /sys-power/acpid | |
parent | stable x86, security bug 171884 (diff) | |
download | gentoo-2-27580b5afbc43d0fdaf3241bccd64e25a86a22af.tar.gz gentoo-2-27580b5afbc43d0fdaf3241bccd64e25a86a22af.tar.bz2 gentoo-2-27580b5afbc43d0fdaf3241bccd64e25a86a22af.zip |
old
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'sys-power/acpid')
-rw-r--r-- | sys-power/acpid/acpid-1.0.4-r3.ebuild | 76 | ||||
-rw-r--r-- | sys-power/acpid/acpid-1.0.4-r4.ebuild | 76 | ||||
-rw-r--r-- | sys-power/acpid/files/digest-acpid-1.0.4-r3 | 3 | ||||
-rw-r--r-- | sys-power/acpid/files/digest-acpid-1.0.4-r4 | 3 |
4 files changed, 0 insertions, 158 deletions
diff --git a/sys-power/acpid/acpid-1.0.4-r3.ebuild b/sys-power/acpid/acpid-1.0.4-r3.ebuild deleted file mode 100644 index c6f7e7a6ca70..000000000000 --- a/sys-power/acpid/acpid-1.0.4-r3.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2006 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-r3.ebuild,v 1.4 2006/03/10 01:29:16 agriffis 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/acpid-1.0.4-r4.ebuild b/sys-power/acpid/acpid-1.0.4-r4.ebuild deleted file mode 100644 index 978d2a277d30..000000000000 --- a/sys-power/acpid/acpid-1.0.4-r4.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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/digest-acpid-1.0.4-r3 b/sys-power/acpid/files/digest-acpid-1.0.4-r3 deleted file mode 100644 index 0d13820cfcea..000000000000 --- a/sys-power/acpid/files/digest-acpid-1.0.4-r3 +++ /dev/null @@ -1,3 +0,0 @@ -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 diff --git a/sys-power/acpid/files/digest-acpid-1.0.4-r4 b/sys-power/acpid/files/digest-acpid-1.0.4-r4 deleted file mode 100644 index 0d13820cfcea..000000000000 --- a/sys-power/acpid/files/digest-acpid-1.0.4-r4 +++ /dev/null @@ -1,3 +0,0 @@ -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 |