diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-16 19:17:08 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-16 19:17:08 +0000 |
commit | dfc39af94f3dfe09fb88c1b4af29a55b1e3c6552 (patch) | |
tree | 1d8aa5d0c2974afa39fd0b7877f9755d28ffac05 /app-laptop/laptop-mode-tools | |
parent | Stop using -pm-utils-1.4.0.patch and install file containing HOOK_BLACKLIST="... (diff) | |
download | historical-dfc39af94f3dfe09fb88c1b4af29a55b1e3c6552.tar.gz historical-dfc39af94f3dfe09fb88c1b4af29a55b1e3c6552.tar.bz2 historical-dfc39af94f3dfe09fb88c1b4af29a55b1e3c6552.zip |
old
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'app-laptop/laptop-mode-tools')
8 files changed, 17 insertions, 296 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog index 0b1bbacc0741..bfd2e6904678 100644 --- a/app-laptop/laptop-mode-tools/ChangeLog +++ b/app-laptop/laptop-mode-tools/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-laptop/laptop-mode-tools # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.58 2012/01/16 19:14:16 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.59 2012/01/16 19:17:08 ssuominen Exp $ + + 16 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> + -laptop-mode-tools-1.55-r4.ebuild, -laptop-mode-tools-1.55-r5.ebuild, + -files/laptop-mode-tools-1.55-linux3-support.patch, + -laptop-mode-tools-1.60.ebuild, + -files/laptop-mode-tools-1.60-pm-utils-1.4.0.patch, + -files/laptop_mode_tools.pmutils: + old *laptop-mode-tools-1.60-r1 (16 Jan 2012) diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest index 03ae810066d4..7ed5ba4c3d48 100644 --- a/app-laptop/laptop-mode-tools/Manifest +++ b/app-laptop/laptop-mode-tools/Manifest @@ -1,28 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX laptop-mode-tools-1.55-linux3-support.patch 2026 RMD160 d99e1f38b8793ef4bebf64f5bb5372a237fe7f78 SHA1 dee19f1b0bab06e80112f8038794267834fb0f9b SHA256 65c8ade2ea8691d6384ff03f39bf06d96499ef3dde9960d70747882242249720 AUX laptop-mode-tools-1.55-pm-utils-1.4.0.patch 698 RMD160 f63a8b4fe7a485b5c9f2581a960029f95c43f2ea SHA1 739243fdbe9fc49d9402b6522bce0b21f82ab443 SHA256 369cc448d84565704b48c046f0c0d96a305b1f920a6714f41cfbb4f90b045d16 -AUX laptop-mode-tools-1.60-pm-utils-1.4.0.patch 818 RMD160 c94fbf9f5af2a31689982573aaa1672500d1f4a4 SHA1 5923c3e1cd00830d557a09e93e2f168bc0e314a9 SHA256 104007381f4e595c1511151bad440028df67803d963a208306cf9d72be5262fd AUX laptop_mode.init-1.4 1190 RMD160 a0a383b1d150f7eab05911a4c9128b0d8e96f67f SHA1 0b8c2d766b1ed80b8840370c42243d50dac4eb2c SHA256 90a18e5c7e4d0b264bb51deb7b92ff25b508a3ddd75dd6c849fdc48c07ce4fda -AUX laptop_mode_tools.pmutils 38 RMD160 fc746f824625d0ae2eb3c63d9474423bcadf8eb3 SHA1 ab72851ce8351f002bd8db9d23d7dbd4bcff6fb9 SHA256 1d5ae9a7045d0c0ec0d56ec8ff153ea80b27cf52cab82db8fcc49b1f835f5cfe DIST laptop-mode-tools_1.55.tar.gz 97675 RMD160 af1476c4ff4c08c2a077eb592ca2c3369c57b8e9 SHA1 e2dcec04f4c1152bce07dd621ad8a63f70b013ef SHA256 4fc8420253bc053a643c736238a6dcde6f8e32b48674cad6d42cc90a5ff727b5 DIST laptop-mode-tools_1.60.tar.gz 104415 RMD160 09b58d3ea889b43c5383a319d077e4b935f850fe SHA1 abdf010712b3dd9ec795518a5cb11dfe50893872 SHA256 39246db1bba2ea12c7ee6f1979f914a803a9f70836cde687ff9c3a39bc9c9519 EBUILD laptop-mode-tools-1.55-r3.ebuild 1872 RMD160 2d947b6e84f3e8e9efb9131b658d114ab38d8066 SHA1 190c12f6ef94ac8471c81b42d02540dbd1e72c45 SHA256 44504dc9043475955695d0f8ed1a9be8b9a354ef11d1edf5f5de08c885f4f5e4 -EBUILD laptop-mode-tools-1.55-r4.ebuild 1949 RMD160 05157846ddb393103aacbb2662d8f8acfd63128b SHA1 30e869792cea605fdf845416f69fffa29a6f716e SHA256 26038d736685e570513698cfc506751f04e6098d3e077621eee55af8953fc0f7 -EBUILD laptop-mode-tools-1.55-r5.ebuild 1915 RMD160 195b0347b015d282855a4428b18c7001b4b94be9 SHA1 8b0be8bc317aaad98b70498297d659edc102f3bd SHA256 6a0d298b1ffa809181341d7b423bdee322799519c0d5999fdf92d7ff1933bdb3 EBUILD laptop-mode-tools-1.60-r1.ebuild 2312 RMD160 c6c48c4c0de59312f2640c1f824a604b9c1ee874 SHA1 23e94eeaa1b222d35362ecbb43c1e688e3eb35a6 SHA256 1f78c26bf5f4cb2db6d9ffc52ad95b39069e0072f37969a62c24e37b17f23a79 -EBUILD laptop-mode-tools-1.60.ebuild 2264 RMD160 6ef626cdb73a9839fd74c57f9aacdcd09653c98e SHA1 da5e7a96f23a526f0e9fe0f4ce09ab9e2a6a1208 SHA256 66e5db0699565c25749ee25f923fd65aa5819d4090f7c5fb5f83391dfaea951a -MISC ChangeLog 11042 RMD160 20c9c52cab16af505a71e5a5807dcb6f05d709b6 SHA1 d607cc56f8288a9ef884dd7aaa847c37f57d7481 SHA256 8e95c4f92e6bad29e0f75b88b19961df54a6ff76e5119960448e32bcad0901ef +MISC ChangeLog 11353 RMD160 5cec491724fc0f5925cd3c31f5cb1a0c720f1b37 SHA1 36f081d0f6444ef313526733b030bdcbfc02ed07 SHA256 b6485f2d436d5e7dce705ebac0430e1960c4f2730f2a929e63c9fbecc85b9723 MISC metadata.xml 258 RMD160 d5cfed30adbe41387b0e7f435ce781dc90044c9e SHA1 4b1b83d58d1410fdb64efbc4792abd7053fdbdfe SHA256 a0dfbea03e2ef7978a9fd258493d8d50af7520a99400eba9a44be12d7bbce192 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBAgAGBQJPFHafAAoJEEdUh39IaPFN+OkIAIu6g7bbqCyv73bKkg/luYEG -kD666Vy/pEf0ayNKDZ1L8yIA3bmBDHmIbAqdxSC0R4HajGyiJWYIPPb/vgNxxLWz -F91qavbiM50QxNde0vzT6TlSW0AjzOWOCFdEFuSWmlkFPyd7EtN1eTS07Yur4nM3 -eOfL7abutdM1sdFLUKCwftBCxDp3X+cyTArZ0GUJqYQrAJ4hAhflKpy3+nU+r+mM -9whItb6B2GbkVUBfd/C49eynWqy6xXaR89wHMhRpEXeCfCwqUftus6Bn6SB+jBUd -X+dImXRIGVdfUxinnMGM9pTLqEGYeqQNwiRuQmOHQqZBspgeDgXIMK2JGOIjfiw= -=mVfX +iQEcBAEBAgAGBQJPFHdMAAoJEEdUh39IaPFNTiMH/idXTWSFuoD6HSQjCl/Yt05N +NffANyfYtPXkISAKJYidQxqpL3gScPpv3GGUZyrIfynsQ/wZKwQylPaAndK7h+fp +mXOgFyZgZNoV+aeiM8l1iDGM9n/vQIT//0QjzA1h3tZ8ceakbL4+OoEZDj3DBv5O +TejkW/Bo0h0uXUWemI+vY1Y0mQfcC2h4f5ojFz9s7Ko2omdkZO8QlrxhcCuMCGc3 +MRvyw4VXeN9nxiRPSIL34BRolrmyrJuRlWVYtGyJlroKMc2e0jMex6KMK7GGQxyE +o2XNMNrB49pHPRbuu/prAye4K8kr1hK4RzJXxMKDNT1XqWBTQU5q7roa88ifdMc= +=KAYz -----END PGP SIGNATURE----- diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.55-linux3-support.patch b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.55-linux3-support.patch deleted file mode 100644 index aab707aedc6f..000000000000 --- a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.55-linux3-support.patch +++ /dev/null @@ -1,40 +0,0 @@ -Add support for Linux 3.0 kernels - -Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> - -diff -Nuar --exclude '*~' laptop-mode-tools_1.55.orig//usr/sbin/laptop_mode laptop-mode-tools_1.55/usr/sbin/laptop_mode ---- laptop-mode-tools_1.55.orig//usr/sbin/laptop_mode 2010-05-26 08:54:44.000000000 -0700 -+++ laptop-mode-tools_1.55/usr/sbin/laptop_mode 2011-07-12 13:29:38.000000000 -0700 -@@ -496,6 +496,7 @@ - case "$KLEVEL" in - "2.4" ) ;; - "2.6" ) ;; -+ "3.0" ) ;; - *) - log "ERR" "Unhandled kernel version: $KLEVEL ('uname -r' = '$(uname -r)')" >&2 - exit 1 -diff -Nuar --exclude '*~' laptop-mode-tools_1.55.orig//usr/share/laptop-mode-tools/modules/laptop-mode laptop-mode-tools_1.55/usr/share/laptop-mode-tools/modules/laptop-mode ---- laptop-mode-tools_1.55.orig//usr/share/laptop-mode-tools/modules/laptop-mode 2010-05-26 08:54:44.000000000 -0700 -+++ laptop-mode-tools_1.55/usr/share/laptop-mode-tools/modules/laptop-mode 2011-07-12 13:29:20.000000000 -0700 -@@ -193,8 +193,8 @@ - set_sysctl /proc/sys/vm/laptop_mode 1 - set_sysctl /proc/sys/vm/bdflush "30 500 0 0 $AGE $AGE 60 20 0" - ;; -- "2.6") -- log "VERBOSE" "Adjusting 2.6 kernel parameters to enable laptop mode." -+ "2.6"|"3.0") -+ log "VERBOSE" "Adjusting $KLEVEL kernel parameters to enable laptop mode." - set_sysctl /proc/sys/vm/laptop_mode "$LM_SECONDS_BEFORE_SYNC" - set_sysctl /proc/sys/vm/dirty_writeback_centisecs "$AGE" - set_sysctl /proc/sys/vm/dirty_expire_centisecs "$AGE" -@@ -321,8 +321,8 @@ - log "VERBOSE" "Adjusting 2.4 kernel parameters to disable laptop mode." - set_sysctl /proc/sys/vm/bdflush "30 500 0 0 $U_AGE $B_AGE 60 20 0" - ;; -- "2.6") -- log "VERBOSE" "Adjusting 2.6 kernel parameters to disable laptop mode." -+ "2.6"|"3.0") -+ log "VERBOSE" "Adjusting $KLEVEL kernel parameters to disable laptop mode." - set_sysctl /proc/sys/vm/dirty_writeback_centisecs "$U_AGE" - set_sysctl /proc/sys/vm/dirty_expire_centisecs "$B_AGE" - set_sysctl /proc/sys/vm/dirty_ratio "$NOLM_DIRTY_RATIO" diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.60-pm-utils-1.4.0.patch b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.60-pm-utils-1.4.0.patch deleted file mode 100644 index d9f7e3e359cc..000000000000 --- a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.60-pm-utils-1.4.0.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: laptop-mode-tools_1.60/install.sh -=================================================================== ---- laptop-mode-tools_1.60.orig/install.sh -+++ laptop-mode-tools_1.60/install.sh -@@ -180,15 +180,6 @@ if ( ! $INSTALL -m 744 man/* "$DESTDIR/$ - fi - - --# Install pm-utils hook only if pm-utils config dir is present, or force the --# install if we have a DESTDIR. --if [ -n "$DESTDIR" -o -d "$DESTDIR/usr/lib/pm-utils/sleep.d" ] ; then -- if ( ! $INSTALL -D -m 755 usr/lib/pm-utils/sleep.d/01laptop-mode "$DESTDIR/usr/lib/pm-utils/sleep.d/01laptop-mode" ) ; then -- echo "$0: Failed to install 01-laptop-mode into /usr/lib/pm-utils/sleep.d. Installation failed." -- exit 36 -- fi --fi -- - if [ -f "$DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode" ]; then - rm -f $DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode; - fi diff --git a/app-laptop/laptop-mode-tools/files/laptop_mode_tools.pmutils b/app-laptop/laptop-mode-tools/files/laptop_mode_tools.pmutils deleted file mode 100755 index 5444a4b3432f..000000000000 --- a/app-laptop/laptop-mode-tools/files/laptop_mode_tools.pmutils +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/usr/sbin/laptop_mode auto diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r4.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r4.ebuild deleted file mode 100644 index 29e2084bdb5d..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r4.ebuild,v 1.1 2011/12/31 21:25:29 idl0r Exp $ - -EAPI=2 -inherit eutils - -MY_P=${PN}_${PV} - -DESCRIPTION="Linux kernel laptop_mode user-space utilities" -HOMEPAGE="http://www.samwel.tk/laptop_mode/" -SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="acpi apm bluetooth scsi" - -RDEPEND="sys-apps/ethtool - acpi? ( sys-power/acpid ) - apm? ( sys-apps/apmd ) - bluetooth? ( net-wireless/bluez ) - scsi? ( sys-apps/sdparm ) - sys-apps/hdparm" -DEPEND="" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - # Patching to avoid !sys-power/pm-utils depend wrt #327443 - epatch "${FILESDIR}"/${P}-pm-utils-1.4.0.patch - # Add support for Linux3 - epatch "${FILESDIR}"/${P}-linux3-support.patch -} - -src_compile() { :; } - -src_install() { - DESTDIR="${D}" \ - INIT_D="none" \ - MAN_D="/usr/share/man" \ - ACPI="$(use acpi && echo force || echo disabled)" \ - PMU="$(false && echo force || echo disabled)" \ - APM="$(use apm && echo force || echo disabled)" \ - ./install.sh || die - - dodoc Documentation/*.txt README || die - newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode - - # Commented out to avoid !sys-power/pm-utils depend wrt #327443 - # exeinto /etc/pm/power.d - # newexe "${FILESDIR}"/laptop_mode_tools.pmutils laptop_mode_tools - - keepdir /var/run/laptop-mode-tools -} - -pkg_postinst() { - if ! use acpi && ! use apm; then - ewarn - ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not" - ewarn "automatically disable laptop_mode on low battery." - ewarn - ewarn "This means you can lose up to 10 minutes of work if running" - ewarn "out of battery while laptop_mode is enabled." - ewarn - ewarn "Please see /usr/share/doc/${PF}/laptop-mode.txt.gz for further" - ewarn "information." - ewarn - fi -} diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r5.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r5.ebuild deleted file mode 100644 index db2b0abb5f60..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r5.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r5.ebuild,v 1.1 2012/01/01 14:44:49 hwoarang Exp $ - -EAPI=2 -inherit eutils - -MY_P=${PN}_${PV} - -DESCRIPTION="Linux kernel laptop_mode user-space utilities" -HOMEPAGE="http://www.samwel.tk/laptop_mode/" -SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="acpi apm bluetooth scsi" - -RDEPEND="sys-apps/ethtool - acpi? ( sys-power/acpid ) - apm? ( sys-apps/apmd ) - bluetooth? ( net-wireless/bluez ) - scsi? ( sys-apps/sdparm ) - sys-apps/hdparm" -DEPEND="" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - # Patching to avoid !sys-power/pm-utils depend wrt #327443 - epatch "${FILESDIR}"/${P}-pm-utils-1.4.0.patch - # Add support for Linux3 - epatch "${FILESDIR}"/${P}-linux3-support.patch -} - -src_compile() { :; } - -src_install() { - DESTDIR="${D}" \ - INIT_D="none" \ - MAN_D="/usr/share/man" \ - ACPI="$(use acpi && echo force || echo disabled)" \ - PMU="$(false && echo force || echo disabled)" \ - APM="$(use apm && echo force || echo disabled)" \ - ./install.sh || die - - dodoc Documentation/*.txt README || die - newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode - - # Commented out to avoid !sys-power/pm-utils depend wrt #327443 - # exeinto /etc/pm/power.d - # newexe "${FILESDIR}"/laptop_mode_tools.pmutils laptop_mode_tools -} - -pkg_postinst() { - if ! use acpi && ! use apm; then - ewarn - ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not" - ewarn "automatically disable laptop_mode on low battery." - ewarn - ewarn "This means you can lose up to 10 minutes of work if running" - ewarn "out of battery while laptop_mode is enabled." - ewarn - ewarn "Please see /usr/share/doc/${PF}/laptop-mode.txt.gz for further" - ewarn "information." - ewarn - fi -} diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.60.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.60.ebuild deleted file mode 100644 index 3a12dcd900a8..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.60.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.60.ebuild,v 1.1 2012/01/01 16:04:34 hwoarang Exp $ - -EAPI=2 -inherit eutils - -MY_P=${PN}_${PV} - -DESCRIPTION="Linux kernel laptop_mode user-space utilities" -HOMEPAGE="http://www.samwel.tk/laptop_mode/" -SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="acpi apm bluetooth scsi" - -RDEPEND="sys-apps/ethtool - acpi? ( sys-power/acpid ) - apm? ( sys-apps/apmd ) - bluetooth? ( net-wireless/bluez ) - scsi? ( sys-apps/sdparm ) - sys-apps/hdparm" -DEPEND="" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - # Patching to avoid !sys-power/pm-utils depend wrt #327443 - epatch "${FILESDIR}"/${P}-pm-utils-1.4.0.patch -} - -src_compile() { :; } - -src_install() { - DESTDIR="${D}" \ - INIT_D="none" \ - MAN_D="/usr/share/man" \ - ACPI="$(use acpi && echo force || echo disabled)" \ - PMU="$(false && echo force || echo disabled)" \ - APM="$(use apm && echo force || echo disabled)" \ - ./install.sh || die - - dodoc Documentation/*.txt README || die - newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode - - # Commented out to avoid !sys-power/pm-utils depend wrt #327443 - # exeinto /etc/pm/power.d - # newexe "${FILESDIR}"/laptop_mode_tools.pmutils laptop_mode_tools -} - -pkg_postinst() { - if use acpi || use apm; then - if use acpi; then - daemon_name="acpid" - elif use apm; then - deamon_name="apmd" - fi - ewarn - ewarn "To enable automatic power state event handling," - ewarn "e.g. enabling laptop_mode after unplugging the battery," - ewarn "both laptop_mode and the ${daemon_name} daemon" - ewarn "must be added to a runlevel," - ewarn " rc-update add laptop_mode default" - ewarn " rc-update add ${daemon_name} default" - ewarn - else - ewarn - ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not" - ewarn "automatically disable laptop_mode on low battery." - ewarn - ewarn "This means you can lose up to 10 minutes of work if running" - ewarn "out of battery while laptop_mode is enabled." - ewarn - ewarn "Please see /usr/share/doc/${PF}/laptop-mode.txt.gz for further" - ewarn "information." - ewarn - fi -} |