diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-08 11:01:05 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-08 11:01:05 +0000 |
commit | 5d4eca145b51b88c316de332cdf4dd73e98cfd2e (patch) | |
tree | 7ce6705668a7104ec3748e9c4b53ad702426b463 /sys-apps/apmd | |
parent | Missing die. (diff) | |
download | gentoo-2-5d4eca145b51b88c316de332cdf4dd73e98cfd2e.tar.gz gentoo-2-5d4eca145b51b88c316de332cdf4dd73e98cfd2e.tar.bz2 gentoo-2-5d4eca145b51b88c316de332cdf4dd73e98cfd2e.zip |
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/apmd')
-rw-r--r-- | sys-apps/apmd/Manifest | 11 | ||||
-rw-r--r-- | sys-apps/apmd/apmd-3.0.2-r3.ebuild | 76 | ||||
-rw-r--r-- | sys-apps/apmd/apmd-3.2.0.ebuild | 76 | ||||
-rw-r--r-- | sys-apps/apmd/apmd-3.2.1_p4.ebuild | 73 | ||||
-rw-r--r-- | sys-apps/apmd/files/apmd-3.2.0.kernel26x.patch | 21 | ||||
-rw-r--r-- | sys-apps/apmd/files/apmd.kernel26x.patch | 22 | ||||
-rw-r--r-- | sys-apps/apmd/files/apmsleep.c.diff | 13 | ||||
-rw-r--r-- | sys-apps/apmd/files/apmsleep.c.diff.3.2.0 | 11 |
8 files changed, 0 insertions, 303 deletions
diff --git a/sys-apps/apmd/Manifest b/sys-apps/apmd/Manifest index 4d29d1282731..d94382c009e9 100644 --- a/sys-apps/apmd/Manifest +++ b/sys-apps/apmd/Manifest @@ -1,19 +1,8 @@ -AUX apmd-3.2.0.kernel26x.patch 627 RMD160 6d3c919f9032c418b95ea4544d137c383048838d SHA1 8a309596322fb6098e94e5f0002818eda8b9f718 SHA256 5cb5c097dcf18a8e00f16c36e96bf1acb460a4aaa59e36cc14634f22ce68aebf AUX apmd-no-on_ac_power_script.patch 4057 RMD160 fbfafa74939d219daf11d7d964bb820f95072cce SHA1 1ff59af7fc54df593a585f091b25c794f332f175 SHA256 32d85e1328426482693a29305bc8c892e232ddb628b36b6818cfa3cb9099820c AUX apmd.confd 161 RMD160 b9017e4fdcb4554c6c7b67d560efe2135f88f310 SHA1 4e1f966e936a0fe94ff5991b3773b60f4789b1a0 SHA256 3e984cccf976443ada013ea80a759b47a3c618cdc036b5979bc348bb26210957 -AUX apmd.kernel26x.patch 644 RMD160 43dd4216fcf97ea79a4fbfa94a794f4cd2e4f70b SHA1 944649193e1c351e42476f677a90b4f308eea912 SHA256 eb1a65c3c165197200f24dfe8495182e36b88ab0c5df9912be8b74d7322b2e86 AUX apmd.rc6 672 RMD160 86ce76611e496f65bbc174995f7575b06bde333b SHA1 5e3626bdd4aeea147cb01b7322a7b9e3fe1287d7 SHA256 121ad43e5da300f36d5536aa3ddc6f0c41c612063b22c3d033832fe9f0dde34d -AUX apmsleep.c.diff 367 RMD160 f2a178039d1375e66e1eea065ea1a67a845d1ccc SHA1 059b08ade7302b2a3bddf43514ee797e4de90ed0 SHA256 d5249757b83d832e3d0042ba5dee8856c6b21f7420a2fa62fc35c63e461a9548 -AUX apmsleep.c.diff.3.2.0 301 RMD160 2fe32822ce93d429d36dd5b7ec81bf0ae842b147 SHA1 ffc1055be9a7566119723cdd1580e9d89f399936 SHA256 d168aeddbf9926b9f104f586d2332f7770113d29bfd12399a1c03b739f39dcc1 -DIST apmd-3.0.2.tar.gz 80489 RMD160 58db9133e2f42501d755f46934e962196f4782aa SHA1 d1e9809a3c2d550baabd8d38368ad7116af99124 SHA256 f99bf57cd490a7d539e8fe4dac3ebc1f2e70976bab679833851c4a8e617df826 -DIST apmd_3.2.0.orig.tar.gz 71686 RMD160 d87e3e5f2926a7a4fa4e341a6e323cdcd78b7b7d SHA1 32d88681b28eeddeb2143d537fa4ce25e572eeca SHA256 3acca07f2054606c96d756ba992af5ad7155af295d1f286f59642af33706b714 -DIST apmd_3.2.1-4.diff.gz 22350 RMD160 aaafdc846e7163e94d1cbef4d1795eb791898e87 SHA1 38935a54211e194101cae213860952599b81cce5 SHA256 438e3e7024c37873c6ba7fdeb2581b11644e0b2604889dd5fb90aa6de482e59a -DIST apmd_3.2.1.orig.tar.gz 72610 RMD160 3dffd794f819346be4891c64d38299835c001664 SHA1 080502459af16cd5c6847949bd8ee26d5a187f11 SHA256 3224da73d3f803114d5d729c1f750ccdc49bca5b197222fd2f5c43840988fc88 DIST apmd_3.2.2-5.diff.gz 28232 RMD160 b82ad14bdcdcab149df0ae1b08c4dba7a6631c53 SHA1 2c13a569590f3b00f8223cd796ce882aeec1a8aa SHA256 b67021ab7dfb2d3b21bd12ba42fcc5f46481680ac640dafe9fd90d076d19a73d DIST apmd_3.2.2.orig.tar.gz 72757 RMD160 d6433f4b8cd537e574fde2df56f45982b8da13aa SHA1 2697ba78724a22b76e871b27363b6bdefa9baa38 SHA256 7f7d9f60b7766b852881d40b8ff91d8e39fccb0d1d913102a5c75a2dbb52332d -EBUILD apmd-3.0.2-r3.ebuild 1856 RMD160 1262c72ccc23bfbd4510a83c9fcb2a1e0180f66e SHA1 ce1f454e17c92f6a456868a0ace4564ed3cccfc1 SHA256 a2a79904dee35f539fe425c8c3f84272a8a8c896f7239faf33d4dc8c5b07e308 -EBUILD apmd-3.2.0.ebuild 1927 RMD160 7429c54453db72acd739f2cfbfb3aeb3dd49f690 SHA1 c88ea829ce99573fd700cb5450a2c17da9d05159 SHA256 0f439d428d4a845481231ae73167ff00f67b2fbd51ca2fa93f4d49fb6dc8d3db -EBUILD apmd-3.2.1_p4.ebuild 1835 RMD160 4709d194441917ac74608594012530ad8e4adec2 SHA1 6cf144db6451ff3b7e7f1ea7604427f350b62c35 SHA256 20d2b89b39967b63fc5f9fbc803592efff3b1bc4f69e35e3ca61a372167ca1da EBUILD apmd-3.2.2_p5.ebuild 2131 RMD160 78e654d10b651b1c5a8785c125150972cd2533d2 SHA1 cfe4e3b409ee526da6ba3ba4be74a561e13e23a2 SHA256 f841fd930d92e6b8460323bcb1450129b433f80a73716c8857198037f7ff8c48 MISC ChangeLog 5927 RMD160 d12f6cbe82486b18476c9fbf1424111b8f10c243 SHA1 46f4cb6367ca05d52ef931791e887206906b81a0 SHA256 b5dc2ae7f64f5978730d6d62ce6b8e79ec0c6c4eb3df539e4eef975298a613ee MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f diff --git a/sys-apps/apmd/apmd-3.0.2-r3.ebuild b/sys-apps/apmd/apmd-3.0.2-r3.ebuild deleted file mode 100644 index 3c4dfd3928b7..000000000000 --- a/sys-apps/apmd/apmd-3.0.2-r3.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-apps/apmd/apmd-3.0.2-r3.ebuild,v 1.23 2007/07/22 06:22:14 dberkholz Exp $ - -inherit eutils - -IUSE="X nls" - -S=${WORKDIR}/${PN} -DESCRIPTION="Advanced Power Management Daemon" -HOMEPAGE="http://www.worldvisions.ca/~apenwarr/apmd/" -SRC_URI="http://www.worldvisions.ca/~apenwarr/apmd/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 amd64 ppc" - -DEPEND=">=sys-apps/debianutils-1.16 - X? ( x11-libs/libX11 - x11-libs/libXaw - x11-libs/libXmu - x11-libs/libSM - x11-libs/libICE - x11-libs/libXt - x11-libs/libXext )" - -src_unpack() { - unpack ${A} ; cd ${S} - - cp Makefile Makefile.orig - sed -e "s:\(PREFIX=\)\(/usr\):\1\$\{DESTDIR\}\2:" \ - -e "s:\(APMD_PROXY_DIR\=\)\(/etc\):\1\$\{DESTDIR\}\2/apm:" \ - -e "97d" \ - -e "s:\(MANDIR\=\${PREFIX}\)\(/man\):\1/share\2:" \ - Makefile.orig > Makefile - - if use X ; then - echo -e "xinstall:\n\tinstall\txapm\t\${PREFIX}/bin" >> Makefile - else - cp Makefile Makefile.orig - sed -e "/^EXES=/s/xapm//" \ - -e "/install.*xapm/d" \ - Makefile.orig > Makefile - fi - - # This closes bug #1472: fixes compilation with recent 2.4 kernels - epatch ${FILESDIR}/apmsleep.c.diff - - # This closes bug #29636: needs 2.6 patching [plasmaroo@gentoo.org] - epatch ${FILESDIR}/apmd.kernel26x.patch - -} - -src_compile() { - make CFLAGS="${CFLAGS}" || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die "install failed" - - dodir /etc/apm/{event.d,suspend.d,resume.d} - exeinto /etc/apm ; doexe debian/apmd_proxy - dodoc ANNOUNCE BUGS.apmsleep COPYING* README* ChangeLog LSM - - newconfd ${FILESDIR}/apmd.confd apmd - newinitd ${FILESDIR}/apmd.rc6 apmd - - if use X ; then - make DESTDIR=${D} xinstall || die "xinstall failed" - fi - - if ! use nls - then - rm -rf ${D}/usr/share/man/fr - fi -} diff --git a/sys-apps/apmd/apmd-3.2.0.ebuild b/sys-apps/apmd/apmd-3.2.0.ebuild deleted file mode 100644 index 03ba12dea4b4..000000000000 --- a/sys-apps/apmd/apmd-3.2.0.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-apps/apmd/apmd-3.2.0.ebuild,v 1.16 2007/07/22 06:22:14 dberkholz Exp $ - -inherit eutils - -IUSE="X nls" - -S="${WORKDIR}/${P}.orig" -DESCRIPTION="Advanced Power Management Daemon" -HOMEPAGE="http://www.worldvisions.ca/~apenwarr/apmd/" -SRC_URI="mirror://debian/pool/main/a/apmd/${PN}_${PV}.orig.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64 ~ppc" - -DEPEND=">=sys-apps/debianutils-1.16 - X? ( x11-libs/libX11 - x11-libs/libXaw - x11-libs/libXmu - x11-libs/libSM - x11-libs/libICE - x11-libs/libXt - x11-libs/libXext )" - -src_unpack() { - unpack ${A} ; cd ${S} - - cp Makefile Makefile.orig - sed -e "s:\(PREFIX=\)\(/usr\):\1\$\{DESTDIR\}\2:" \ - -e "s:\(APMD_PROXY_DIR\=\)\(/etc\):\1\$\{DESTDIR\}\2/apm:" \ - -e "97d" \ - -e "s:\(MANDIR\=\${PREFIX}\)\(/man\):\1/share\2:" \ - Makefile.orig > Makefile - - if use X ; then - echo -e "xinstall:\n\tinstall\txapm\t\${PREFIX}/bin" >> Makefile - else - cp Makefile Makefile.orig - sed -e "/^EXES=/s/xapm//" \ - -e "/install.*xapm/d" \ - Makefile.orig > Makefile - fi - - # This closes bug #1472: fixes compilation with recent 2.4 kernels - epatch ${FILESDIR}/apmsleep.c.diff.3.2.0 - - # This closes bug #29636: needs 2.6 patching [plasmaroo@gentoo.org] - # If this does not compile with newer versions, rediff the patch - # and DO NOT just ignore it. - epatch ${FILESDIR}/apmd-3.2.0.kernel26x.patch -} - -src_install() { - dodir /usr/sbin - - make DESTDIR=${D} PREFIX=/usr install || die "install failed" - - dodir /etc/apm/{event.d,suspend.d,resume.d} - exeinto /etc/apm ; doexe apmd_proxy - dodoc ANNOUNCE BUGS.apmsleep COPYING* README* ChangeLog LSM - - newconfd ${FILESDIR}/apmd.confd apmd - newinitd ${FILESDIR}/apmd.rc6 apmd - - if use X ; then - make DESTDIR=${D} xinstall || die "xinstall failed" - fi - - if ! use nls - then - rm -rf ${D}/usr/share/man/fr - fi - -} diff --git a/sys-apps/apmd/apmd-3.2.1_p4.ebuild b/sys-apps/apmd/apmd-3.2.1_p4.ebuild deleted file mode 100644 index 0b2e55f11bfb..000000000000 --- a/sys-apps/apmd/apmd-3.2.1_p4.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.2.1_p4.ebuild,v 1.20 2007/07/22 06:22:14 dberkholz Exp $ - -inherit eutils multilib toolchain-funcs - -MY_PV="${PV%_p*}" -MY_P="${PN}_${MY_PV}" -PATCHV="${PV#*_p}" - -DESCRIPTION="Advanced Power Management Daemon" -HOMEPAGE="http://www.worldvisions.ca/~apenwarr/apmd/" -SRC_URI="mirror://debian/pool/main/a/apmd/${MY_P}.orig.tar.gz - mirror://debian/pool/main/a/apmd/${MY_P}-${PATCHV}.diff.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -IUSE="X nls" - -RDEPEND=">=sys-apps/debianutils-1.16 - X? ( x11-libs/libX11 - x11-libs/libXaw - x11-libs/libXmu - x11-libs/libSM - x11-libs/libICE - x11-libs/libXt - x11-libs/libXext )" -DEPEND="${RDEPEND} - virtual/os-headers" - -S=${WORKDIR}/${PN}-${MY_PV}.orig - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${WORKDIR}"/${MY_P}-${PATCHV}.diff - - if ! use X ; then - sed -i \ - -e 's:\(EXES=.*\)xapm:\1:' \ - -e 's:\(.*\)\$(LT_INSTALL).*xapm.*$:\1echo:' \ - "${S}"/Makefile \ - || die "sed failed" - fi -} - -src_compile() { - emake CC=$(tc-getCC) || die "emake failed" -} - -src_install() { - dodir /usr/sbin - - make DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/$(get_libdir) install \ - || die "install failed" - - keepdir /etc/apm/{event.d,suspend.d,resume.d,other.d,scripts.d} - exeinto /etc/apm - doexe debian/apmd_proxy || die "doexe failed" - dodoc AUTHORS apmsleep.README README debian/README.Debian \ - debian/changelog* debian/copyright* - - doman *.1 *.8 - - # note: apmd_proxy.conf is currently disabled and not used, thus - # not installed - liquidx (01 Mar 2004) - - newconfd "${FILESDIR}"/apmd.confd apmd || die "newconfd failed" - newinitd "${FILESDIR}"/apmd.rc6 apmd || die "newinitd failed" - - use nls || rm -rf "${D}"/usr/share/man/fr -} diff --git a/sys-apps/apmd/files/apmd-3.2.0.kernel26x.patch b/sys-apps/apmd/files/apmd-3.2.0.kernel26x.patch deleted file mode 100644 index 83a796b239a6..000000000000 --- a/sys-apps/apmd/files/apmd-3.2.0.kernel26x.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- apmsleep.c 2003-12-31 13:29:52.000000000 +0000 -+++ apmsleep.c.plasmaroo@gentoo.org 2003-12-31 13:35:06.000000000 +0000 -@@ -45,11 +45,15 @@ - #include <stdio.h> - #include <linux/version.h> - --#if LINUX_VERSION_CODE > KERNEL_VERSION(2,2,0) --#include <linux/spinlock.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -+ #include <linux/rtc.h> -+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0) -+ #include <linux/spinlock.h> - #endif - --#include <linux/mc146818rtc.h> -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) -+ #include <linux/mc146818rtc.h> -+#endif - #include <sys/ioctl.h> - #include <sys/time.h> - #include <sys/types.h> diff --git a/sys-apps/apmd/files/apmd.kernel26x.patch b/sys-apps/apmd/files/apmd.kernel26x.patch deleted file mode 100644 index bf55cbe77afd..000000000000 --- a/sys-apps/apmd/files/apmd.kernel26x.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- apmsleep.c 2003-10-13 17:40:40.000000000 +0100 -+++ apmsleep.c.plasmaroo@gentoo.org 2003-10-13 17:40:27.000000000 +0100 -@@ -45,13 +45,18 @@ - #include <stdio.h> - #include <linux/version.h> - --#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -+#include <linux/rtc.h> -+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) - #include <linux/spinlock.h> - #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0) - #include <asm/spinlock.h> - #endif - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) - #include <linux/mc146818rtc.h> -+#endif -+ - #include <sys/ioctl.h> - #include <sys/time.h> - #include <sys/types.h> diff --git a/sys-apps/apmd/files/apmsleep.c.diff b/sys-apps/apmd/files/apmsleep.c.diff deleted file mode 100644 index a5eff9adc76e..000000000000 --- a/sys-apps/apmd/files/apmsleep.c.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- apmsleep.c.orig Fri May 3 13:50:37 2002 -+++ apmsleep.c Fri May 3 13:53:56 2002 -@@ -45,7 +45,9 @@ - #include <stdio.h> - #include <linux/version.h> - --#if LINUX_VERSION_CODE > KERNEL_VERSION(2,2,0) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) -+#include <linux/spinlock.h> -+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0) - #include <asm/spinlock.h> - #endif - diff --git a/sys-apps/apmd/files/apmsleep.c.diff.3.2.0 b/sys-apps/apmd/files/apmsleep.c.diff.3.2.0 deleted file mode 100644 index 2cd057b7748e..000000000000 --- a/sys-apps/apmd/files/apmsleep.c.diff.3.2.0 +++ /dev/null @@ -1,11 +0,0 @@ ---- apmsleep.c.orig 2003-12-30 15:45:36.362221880 -0700 -+++ apmsleep.c 2003-12-30 15:42:48.399756056 -0700 -@@ -46,7 +46,7 @@ - #include <linux/version.h> - - #if LINUX_VERSION_CODE > KERNEL_VERSION(2,2,0) --#include <asm/spinlock.h> -+#include <linux/spinlock.h> - #endif - - #include <linux/mc146818rtc.h> |