diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-04 00:09:30 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-04 00:09:30 +0000 |
commit | 7dcf5eb9843067eda59aa818921484b2b44b2b59 (patch) | |
tree | 3c3f77d305d5a88d67c8b8a591ff40fa6fce7aaf /app-laptop | |
parent | initial commit - ebuild and patch submitted by Sergey Zasenko via bug #256768... (diff) | |
download | gentoo-2-7dcf5eb9843067eda59aa818921484b2b44b2b59.tar.gz gentoo-2-7dcf5eb9843067eda59aa818921484b2b44b2b59.tar.bz2 gentoo-2-7dcf5eb9843067eda59aa818921484b2b44b2b59.zip |
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/laptop-mode-tools/Manifest | 4 | ||||
-rw-r--r-- | app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild | 94 | ||||
-rw-r--r-- | app-laptop/laptop-mode-tools/laptop-mode-tools-1.34.ebuild | 94 |
3 files changed, 0 insertions, 192 deletions
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest index 3c614c9eaa12..5b79ea191560 100644 --- a/app-laptop/laptop-mode-tools/Manifest +++ b/app-laptop/laptop-mode-tools/Manifest @@ -2,12 +2,8 @@ AUX laptop-mode-tools-1.47-install.patch 734 RMD160 645af96007c662ea58bc9ef571ae AUX laptop_mode.init 970 RMD160 36e4f0ac62ca43f25689fe7c1eec6e0f8594dcd9 SHA1 d26a227b7eb9be3c78af91c78c5cc743ff846897 SHA256 aa8ee3b3f89c95c154243bae2c5b99a0db3915f0d50807637c271acddbbdcfad AUX laptop_mode.init-1.4 1062 RMD160 953efd488b4aadb530fe10e4038612c2a523c229 SHA1 41e7e279663904c70471d1a4f6713c25f103e64f SHA256 d48711562527aa670e57e1bec83a06089db50771da742d0155a7b12086770ce0 AUX laptop_mode_tools.pmutils 38 RMD160 fc746f824625d0ae2eb3c63d9474423bcadf8eb3 SHA1 ab72851ce8351f002bd8db9d23d7dbd4bcff6fb9 SHA256 1d5ae9a7045d0c0ec0d56ec8ff153ea80b27cf52cab82db8fcc49b1f835f5cfe -DIST laptop-mode-tools_1.31.tar.gz 86554 RMD160 042b15337a365c6efd1d60ea74c4412fed7949df SHA1 4a2630818a3e30095d2339ab09aa2fb5a4213adf SHA256 cc2475a237c6d1b95667d464ebece1fbf5a518262fc9a74363ef820ba168d29e -DIST laptop-mode-tools_1.34.tar.gz 66911 RMD160 32f67c629b5ad7133b7ee3026c9f359167b9f11a SHA1 e7848392a2b94448da625ff91b43845bcb6710ad SHA256 fffc05ecb97317d8807d729f3c62233c7de97f38a7e2a165ab975929b9b96a5a DIST laptop-mode-tools_1.47.tar.gz 85195 RMD160 58d15ee73e9177a94bc8d773d1bf02dbbd145157 SHA1 e38745b17b7259289190b0630c15c5e9e77ff891 SHA256 47844f7cf824b28343494bf9b4f69ca8b9b6fd446e80a7576a8c5186342e2e29 DIST laptop-mode-tools_1.52.tar.gz 92566 RMD160 807898b6853b7b1a5afe7e4b519e5ccdea6e6fbd SHA1 80fcb3600315ec6f60cad52c6c7166cccc4ca4fc SHA256 d258e610da5105869fefb9364f0a4fbd65896fe30ee50256f4716be62953a6fa -EBUILD laptop-mode-tools-1.31.ebuild 2300 RMD160 85460163af0594f0caa66dbddd3586307ee5155a SHA1 3111224410c7da20b21f1f4d76b7a36d4b087be9 SHA256 569d3b6091380455dec2d2f9bcc747cdc58fb2529299aab938b453bbb2247aff -EBUILD laptop-mode-tools-1.34.ebuild 2302 RMD160 4b7ba9cc85df4e9ea4d4b015bb8e860a1d4ada68 SHA1 c88bc330991b69b0009596d75dd80e6dd7f73c31 SHA256 325cdaa1149d37a3c7493fb8734fff7fa6f8090931bb7d0388e84d2897ca07c5 EBUILD laptop-mode-tools-1.47-r1.ebuild 1825 RMD160 2d899eed93e0ef7ab60fab901ec3dbbfaae7ea73 SHA1 5c4f2394041d7b1e9f351ba36b174920d554caaf SHA256 89729479258a98e908c851262d7b2ffe66ce8a1f77ea0053e2986ce8c88c3bca EBUILD laptop-mode-tools-1.52.ebuild 1775 RMD160 f9f16286c4125ece54321079c88c40f437824889 SHA1 467818ec24a2986ecba60188bbf2fb29fd9a127d SHA256 2ab82a1b47917c1ddf48d11466ab4ced916d1f00305686b5e63848985753fb18 MISC ChangeLog 8306 RMD160 7529d4eb3a0556e9e9e85789a7c76e16dbe83533 SHA1 0f4d536977efc8500da70c1c33a2aebe87c710ea SHA256 e7d618fe9994c54380c159d118f218b07112128f352cca264e2f5c29c5f5b466 diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild deleted file mode 100644 index 6617952b1c15..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2008 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.31.ebuild,v 1.6 2008/06/03 22:45:17 darkside Exp $ - -inherit fixheadtails linux-info - -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" - -DEPEND="acpi? ( sys-power/acpid ) - apm? ( sys-apps/apmd )" - -pkg_setup() { - linux-info_pkg_setup - - if kernel_is 2 6 && kernel_is lt 2 6 6; then - eerror - eerror "${P} requires kernel version 2.6.6 or newer." - eerror - die "${P} requires kernel version 2.6.6 or newer" - elif kernel_is 2 4 && kernel_is lt 2 4 23; then - eerror - eerror "${P} requires kernel version 2.4.23 or newer." - eerror/eti - die "${P} requires kernel version 2.4.23 or newer" - fi -} - -src_unpack() { - unpack ${A} - - ht_fix_file "${S}"/usr/sbin/lm-profiler -} - -src_install() { - dosbin usr/sbin/laptop_mode - dosbin usr/sbin/lm-profiler - dosbin usr/sbin/lm-syslog-setup - - insinto /etc/laptop-mode - doins etc/laptop-mode/laptop-mode.conf - doins etc/laptop-mode/lm-profiler.conf - - newinitd "${FILESDIR}"/laptop_mode.init laptop_mode - - keepdir /etc/laptop-mode/batt-start - keepdir /etc/laptop-mode/batt-stop - keepdir /etc/laptop-mode/lm-ac-start - keepdir /etc/laptop-mode/lm-ac-stop - keepdir /etc/laptop-mode/nolm-ac-start - keepdir /etc/laptop-mode/nolm-ac-stop - keepdir /etc/laptop-mode/scripts - - doman man/* - - dodoc Documentation/*.txt README - - if use acpi; then - insinto /etc/acpi/events/ - doins etc/acpi/events/* - - exeinto /etc/acpi/actions/ - doexe etc/acpi/actions/* - fi - - if use apm; then - exeinto /etc/apm/event.d/ - doexe etc/apm/event.d/* - fi -} - -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.34.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.34.ebuild deleted file mode 100644 index 4b96574c5a01..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.34.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2008 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.34.ebuild,v 1.2 2008/06/03 22:45:17 darkside Exp $ - -inherit fixheadtails linux-info - -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" - -DEPEND="acpi? ( sys-power/acpid ) - apm? ( sys-apps/apmd )" - -pkg_setup() { - linux-info_pkg_setup - - if kernel_is 2 6 && kernel_is lt 2 6 6; then - eerror - eerror "${P} requires kernel version 2.6.6 or newer." - eerror - die "${P} requires kernel version 2.6.6 or newer" - elif kernel_is 2 4 && kernel_is lt 2 4 23; then - eerror - eerror "${P} requires kernel version 2.4.23 or newer." - eerror/eti - die "${P} requires kernel version 2.4.23 or newer" - fi -} - -src_unpack() { - unpack ${A} - - ht_fix_file "${S}"/usr/sbin/lm-profiler -} - -src_install() { - dosbin usr/sbin/laptop_mode - dosbin usr/sbin/lm-profiler - dosbin usr/sbin/lm-syslog-setup - - insinto /etc/laptop-mode - doins etc/laptop-mode/laptop-mode.conf - doins etc/laptop-mode/lm-profiler.conf - - newinitd "${FILESDIR}"/laptop_mode.init laptop_mode - - keepdir /etc/laptop-mode/batt-start - keepdir /etc/laptop-mode/batt-stop - keepdir /etc/laptop-mode/lm-ac-start - keepdir /etc/laptop-mode/lm-ac-stop - keepdir /etc/laptop-mode/nolm-ac-start - keepdir /etc/laptop-mode/nolm-ac-stop - keepdir /etc/laptop-mode/scripts - - doman man/* - - dodoc Documentation/*.txt README - - if use acpi; then - insinto /etc/acpi/events/ - doins etc/acpi/events/* - - exeinto /etc/acpi/actions/ - doexe etc/acpi/actions/* - fi - - if use apm; then - exeinto /etc/apm/event.d/ - doexe etc/apm/event.d/* - fi -} - -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 -} |