diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-05-11 11:19:30 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-05-11 11:19:30 +0000 |
commit | 926d20c9b2741dbf61ebad80cd13567fc4709e3b (patch) | |
tree | c5eb888e347827bf13c0829776236d6dedf8f39e /app-laptop | |
parent | Fix depends to actually depend on glibc/binutils that sorda makes things work... (diff) | |
download | historical-926d20c9b2741dbf61ebad80cd13567fc4709e3b.tar.gz historical-926d20c9b2741dbf61ebad80cd13567fc4709e3b.tar.bz2 historical-926d20c9b2741dbf61ebad80cd13567fc4709e3b.zip |
Removed old ebuild
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'app-laptop')
5 files changed, 6 insertions, 105 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog index b196b5abf56c..a74e8155c04f 100644 --- a/app-laptop/laptop-mode-tools/ChangeLog +++ b/app-laptop/laptop-mode-tools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-laptop/laptop-mode-tools # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.6 2005/05/08 12:23:27 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.7 2005/05/11 11:19:30 brix Exp $ + + 11 May 2005; <brix@gentoo.org> -files/laptop-mode-tools-1.04.init, + -laptop-mode-tools-1.04-r1.ebuild: + Removed old ebuild 08 May 2005; <brix@gentoo.org> laptop-mode-tools-1.05.ebuild: Stable on x86. diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest index 703dc3a55fa5..f2e155746302 100644 --- a/app-laptop/laptop-mode-tools/Manifest +++ b/app-laptop/laptop-mode-tools/Manifest @@ -1,8 +1,5 @@ MD5 a1f769a59fa9600a4ce253fce5adffa3 laptop-mode-tools-1.05.ebuild 1886 -MD5 05bd2f0666b973da65f7a6640f4bef4f laptop-mode-tools-1.04-r1.ebuild 1882 -MD5 afe5c6f9bc92449c51b31fda2c30a7e8 ChangeLog 1232 +MD5 d1b9ed01c39a42b0a912ee11d9e7a009 ChangeLog 1360 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 -MD5 142ca4fd50b03cccc557a89a2bafc022 files/digest-laptop-mode-tools-1.04-r1 73 -MD5 b23d6e2747012f603728b810eb223c63 files/laptop-mode-tools-1.04.init 699 MD5 bbf9b10381551598942a6a4a4ed0bf77 files/laptop-mode-tools-1.05.init 699 MD5 4099ded830cee79005e7cc73ccc44907 files/digest-laptop-mode-tools-1.05 73 diff --git a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.04-r1 b/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.04-r1 deleted file mode 100644 index 1dbed76c46c5..000000000000 --- a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.04-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b26fcc4df2b38da17e4f09872a1cfeda laptop-mode-tools_1.04.tar.gz 30908 diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.04.init b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.04.init deleted file mode 100644 index ba3a7b70488b..000000000000 --- a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.04.init +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.04.init,v 1.2 2005/03/25 19:05:33 brix Exp $ - -checkconfig() { - if [ ! -f /proc/sys/vm/laptop_mode ]; then - eerror "Kernel does not support laptop_mode" - return 1 - fi -} - -start() { - checkconfig || return 1 - - ebegin "Starting laptop_mode" - touch /var/run/laptop-mode-enabled && /usr/sbin/laptop_mode auto &> /dev/null - eend $? -} - -stop() { - ebegin "Stopping laptop_mode" - /usr/sbin/laptop_mode stop &> /dev/null && rm -f /var/run/laptop-mode-enabled - eend $? -} diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04-r1.ebuild deleted file mode 100644 index 787177df1693..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2005 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.04-r1.ebuild,v 1.2 2005/04/24 16:11:18 brix Exp $ - -inherit linux-info - -MY_P=${PN}_${PV} - -DESCRIPTION="Linux kernel laptop_mode user-space utilities" - -HOMEPAGE="http://www.xs4all.nl/~bsamwel/laptop_mode/tools/" -SRC_URI="http://www.xs4all.nl/~bsamwel/laptop_mode/tools/downloads/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -IUSE="acpi apm" - -DEPEND="acpi? ( sys-power/acpid ) - apm? ( sys-apps/apmd )" - -pkg_setup() { - linux-info_pkg_setup - - if [ ${KV_MAJOR} -eq 2 -a ${KV_MINOR} -eq 6 -a ${KV_PATCH} -lt 6 ]; then - eerror "${P} requires kernel version 2.6.6 or newer." - die "${P} requires kernel version 2.6.6 or newer" - elif [ ${KV_MAJOR} -eq 2 -a ${KV_MINOR} -eq 4 -a ${KV_PATCH} -lt 23 ]; then - eerror "${P} requires kernel version 2.4.23 or newer." - die "${P} requires kernel version 2.4.23 or newer" - fi -} - -src_install() { - dosbin usr/sbin/laptop_mode - - insinto /etc/laptop-mode - doins etc/laptop-mode/laptop-mode.conf - - newinitd ${FILESDIR}/${P}.init laptop_mode - - doman man/* - - dodoc Documentation/laptop-mode.txt README - - if useq acpi; then - insinto /etc/acpi/events/ - doins etc/acpi/events/* - - exeinto /etc/acpi/actions/ - doexe etc/acpi/actions/* - fi - - if useq apm; then - exeinto /etc/apm/event.d/ - doexe etc/apm/event.d/* - fi -} - -pkg_postinst() { - if ! useq acpi && ! useq 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 -} |