summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2004-11-19 18:31:53 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2004-11-19 18:31:53 +0000
commit14c94f67291720bc3a9201cd7d768d6d384ba34e (patch)
tree44bd0e1ff5b701903db00f4209dc48e541a27170 /sys-apps
parentstable on x86 (diff)
downloadhistorical-14c94f67291720bc3a9201cd7d768d6d384ba34e.tar.gz
historical-14c94f67291720bc3a9201cd7d768d6d384ba34e.tar.bz2
historical-14c94f67291720bc3a9201cd7d768d6d384ba34e.zip
Version bump.
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/hibernate-script/ChangeLog8
-rw-r--r--sys-apps/hibernate-script/Manifest4
-rw-r--r--sys-apps/hibernate-script/files/digest-hibernate-script-1.011
-rw-r--r--sys-apps/hibernate-script/hibernate-script-1.01.ebuild41
4 files changed, 52 insertions, 2 deletions
diff --git a/sys-apps/hibernate-script/ChangeLog b/sys-apps/hibernate-script/ChangeLog
index 89bd9e6e4fbd..90af94a45d04 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-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/ChangeLog,v 1.1 2004/11/12 18:58:43 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/ChangeLog,v 1.2 2004/11/19 18:31:53 brix Exp $
+
+*hibernate-script-1.01 (19 Nov 2004)
+
+ 19 Nov 2004; Henrik Brix Andersen <brix@gentoo.org>
+ +hibernate-script-1.01.ebuild:
+ Version bump.
*hibernate-script-1.00 (12 Nov 2004)
diff --git a/sys-apps/hibernate-script/Manifest b/sys-apps/hibernate-script/Manifest
index e8e579afd36f..739610ee3eac 100644
--- a/sys-apps/hibernate-script/Manifest
+++ b/sys-apps/hibernate-script/Manifest
@@ -1,4 +1,6 @@
+MD5 3b7220dba4f87260b327484142e4249e hibernate-script-1.01.ebuild 1230
MD5 86554ec0d9835538f5dc142d50c63af1 hibernate-script-1.00.ebuild 1230
-MD5 a1a094b680e1c7b6da0b8f6452258f59 ChangeLog 428
+MD5 a1be54a91f00ab7a9125b036729edf16 ChangeLog 570
MD5 93f5bba7043e57c7092196362f2b494f metadata.xml 255
MD5 ebc451ea5a78f44953d9595e446ae1f0 files/digest-hibernate-script-1.00 72
+MD5 c6a307ed804ad8d67438d0de38d8d430 files/digest-hibernate-script-1.01 72
diff --git a/sys-apps/hibernate-script/files/digest-hibernate-script-1.01 b/sys-apps/hibernate-script/files/digest-hibernate-script-1.01
new file mode 100644
index 000000000000..c20f6c35d272
--- /dev/null
+++ b/sys-apps/hibernate-script/files/digest-hibernate-script-1.01
@@ -0,0 +1 @@
+MD5 db5a41fe5abda39b38ba59633eb150f5 hibernate-script-1.01.tar.gz 45553
diff --git a/sys-apps/hibernate-script/hibernate-script-1.01.ebuild b/sys-apps/hibernate-script/hibernate-script-1.01.ebuild
new file mode 100644
index 000000000000..298226ab2234
--- /dev/null
+++ b/sys-apps/hibernate-script/hibernate-script-1.01.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 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.01.ebuild,v 1.1 2004/11/19 18:31:53 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:^# \(UseSysfsPowerState\):\1:" ${S}/hibernate.conf
+}
+
+src_install() {
+ BASE_DIR=${D} PREFIX=/usr MAN_DIR=${D}/usr/share/man ${S}/install.sh
+
+ # other ebuilds can install scriplets to this dir
+ keepdir /etc/hibernate/scriptlets.d/
+
+ dodoc CHANGELOG README SCRIPTLET-API TODO
+}