diff options
author | 2005-02-08 17:39:43 +0000 | |
---|---|---|
committer | 2005-02-08 17:39:43 +0000 | |
commit | cc6b8b99ec040cfd1b1d4c8c4c33caeda3914770 (patch) | |
tree | 01c3c077c8fb4459aff6bd2695b7695c052363d4 /sys-apps | |
parent | Cosmetic. (diff) | |
download | historical-cc6b8b99ec040cfd1b1d4c8c4c33caeda3914770.tar.gz historical-cc6b8b99ec040cfd1b1d4c8c4c33caeda3914770.tar.bz2 historical-cc6b8b99ec040cfd1b1d4c8c4c33caeda3914770.zip |
Version bump.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/hibernate-script/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/hibernate-script/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/hibernate-script/files/digest-hibernate-script-1.05 | 1 | ||||
-rw-r--r-- | sys-apps/hibernate-script/hibernate-script-1.05.ebuild | 57 |
4 files changed, 68 insertions, 2 deletions
diff --git a/sys-apps/hibernate-script/ChangeLog b/sys-apps/hibernate-script/ChangeLog index 8dcc9d02816b..035d199b17d1 100644 --- a/sys-apps/hibernate-script/ChangeLog +++ b/sys-apps/hibernate-script/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/hibernate-script # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/ChangeLog,v 1.9 2005/02/08 16:25:35 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/ChangeLog,v 1.10 2005/02/08 17:39:43 brix Exp $ + +*hibernate-script-1.05 (08 Feb 2005) + + 08 Feb 2005; Henrik Brix Andersen <brix@gentoo.org> + +hibernate-script-1.05.ebuild: + Version bump. *hibernate-script-1.04 (08 Feb 2005) diff --git a/sys-apps/hibernate-script/Manifest b/sys-apps/hibernate-script/Manifest index abc8fa53bcac..9b1d4333e044 100644 --- a/sys-apps/hibernate-script/Manifest +++ b/sys-apps/hibernate-script/Manifest @@ -1,9 +1,10 @@ MD5 56d6d026ca954708a780db6eb7f92dde hibernate-script-1.01.ebuild 1230 MD5 e385d2ad9898fd6f4964feccfb717a2f hibernate-script-1.02-r1.ebuild 1795 MD5 2c23c2646539e6a131a3ba8678fd0f06 hibernate-script-1.03.ebuild 1792 +MD5 a373b4f553e33022bb4dbc0ef926ec20 hibernate-script-1.05.ebuild 1793 MD5 0a4e754285f5d4962a294c706a87d967 hibernate-script-1.00.ebuild 1230 MD5 5e51954566e7a7789396ae5bc950c3de hibernate-script-1.02.ebuild 1299 -MD5 6bf9475469f17bda04aad7626c288bbc ChangeLog 1557 +MD5 a4c93b84c77fe79b39d8a9b694ec90bb ChangeLog 1700 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 MD5 1144f8e4a917acd80d359ae9a7895d31 hibernate-script-1.04.ebuild 1793 MD5 8d975c41e4fcad78bf4ceb1fabdb27f9 files/digest-hibernate-script-1.02-r1 72 @@ -12,3 +13,4 @@ MD5 c6a307ed804ad8d67438d0de38d8d430 files/digest-hibernate-script-1.01 72 MD5 8d975c41e4fcad78bf4ceb1fabdb27f9 files/digest-hibernate-script-1.02 72 MD5 8d120706e9a040125072dd1a569c9851 files/digest-hibernate-script-1.03 72 MD5 f7f2cb031a9604ee8a05f262c78a5e7f files/digest-hibernate-script-1.04 72 +MD5 51d8389f2aa4b5374d7d13b249924f09 files/digest-hibernate-script-1.05 72 diff --git a/sys-apps/hibernate-script/files/digest-hibernate-script-1.05 b/sys-apps/hibernate-script/files/digest-hibernate-script-1.05 new file mode 100644 index 000000000000..02bc646fa8ee --- /dev/null +++ b/sys-apps/hibernate-script/files/digest-hibernate-script-1.05 @@ -0,0 +1 @@ +MD5 9497b9843f414b231a48e5ae2addb0f9 hibernate-script-1.05.tar.gz 52167 diff --git a/sys-apps/hibernate-script/hibernate-script-1.05.ebuild b/sys-apps/hibernate-script/hibernate-script-1.05.ebuild new file mode 100644 index 000000000000..872c6a3e2bc3 --- /dev/null +++ b/sys-apps/hibernate-script/hibernate-script-1.05.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/hibernate-script-1.05.ebuild,v 1.1 2005/02/08 17:39:43 brix Exp $ + +# The following works with both pre-releases and releases +MY_P=${PN}-${PV/_/-} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Hibernate script supporting both suspend-to-ram and suspend-to-disk" + +HOMEPAGE="http://softwaresuspend.berlios.de" +SRC_URI="http://download.berlios.de/softwaresuspend/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +DEPEND="sys-apps/sed" +RDEPEND="" + +src_unpack() { + unpack ${A} + + # use /sys/power/state instead of swsusp2 + sed -i "s:^\(UseSwsusp2\):# \1:" ${S}/hibernate.conf + sed -i "s:^\(Reboot\):# \1:" ${S}/hibernate.conf + sed -i "s:^\(EnableEscape\):# \1:" ${S}/hibernate.conf + sed -i "s:^\(DefaultConsoleLevel\):# \1:" ${S}/hibernate.conf + sed -i "s:^# \(PowerdownMethod shutdown\):\1:" ${S}/hibernate.conf + + # this 'hack' is needed in most cases + sed -i "s:^\(SwitchToTextMode\):# \1:" ${S}/hibernate.conf + + # sleep.conf for suspend to ram... + cp ${S}/hibernate.conf ${S}/sleep.conf + sed -i "s:^# \(UseSysfsPowerState\):\1:" ${S}/sleep.conf + + # ... hibernate.conf for suspend to disk + sed -i "s:^# \(UseSysfsPowerState\) mem:\1 disk:" ${S}/hibernate.conf +} + +src_install() { + BASE_DIR=${D} PREFIX=/usr MAN_DIR=${D}/usr/share/man ${S}/install.sh + + insinto /etc/hibernate + doins ${S}/sleep.conf + + # hibernate-sleep will default to using sleep.conf + dosym /usr/sbin/hibernate /usr/sbin/hibernate-sleep + + # other ebuilds can install scriplets to this dir + keepdir /etc/hibernate/scriptlets.d/ + + dodoc CHANGELOG README SCRIPTLET-API TODO +} |