Version bump.
authorHenrik Brix Andersen <brix@gentoo.org>
Tue, 4 Jan 2005 19:40:24 +0000 (19:40 +0000)
committerHenrik Brix Andersen <brix@gentoo.org>
Tue, 4 Jan 2005 19:40:24 +0000 (19:40 +0000)
sys-apps/hibernate-script/ChangeLog
sys-apps/hibernate-script/Manifest
sys-apps/hibernate-script/files/digest-hibernate-script-1.03 [new file with mode: 0644]
sys-apps/hibernate-script/hibernate-script-1.00.ebuild
sys-apps/hibernate-script/hibernate-script-1.01.ebuild
sys-apps/hibernate-script/hibernate-script-1.02-r1.ebuild
sys-apps/hibernate-script/hibernate-script-1.02.ebuild
sys-apps/hibernate-script/hibernate-script-1.03.ebuild [new file with mode: 0644]

index 8a0da80d1a0a907a28350047dcb4197455b5907f..861c28e1e6061aa84729817a3f8087944bdec18d 100644 (file)
@@ -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.5 2004/12/30 16:51:59 brix Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/ChangeLog,v 1.6 2005/01/04 19:40:24 brix Exp $
+
+*hibernate-script-1.03 (04 Jan 2005)
+
+  04 Jan 2005; Henrik Brix Andersen <brix@gentoo.org>
+  +hibernate-script-1.03.ebuild:
+  Version bump.
 
   30 Dec 2004; Henrik Brix Andersen <brix@gentoo.org>
   hibernate-script-1.02-r1.ebuild:
index cbf72d6b244dfe377bc95408404c75d9f0fee7bb..19e6ff494586af4fc2744d253a63573e8050a021 100644 (file)
@@ -1,10 +1,12 @@
-MD5 3b7220dba4f87260b327484142e4249e hibernate-script-1.01.ebuild 1230
-MD5 d31271c9ba723cbcbf35b24788b4d9c8 hibernate-script-1.02-r1.ebuild 1795
-MD5 86554ec0d9835538f5dc142d50c63af1 hibernate-script-1.00.ebuild 1230
-MD5 21cd1f366cf9901df58fb9849d98ce49 hibernate-script-1.02.ebuild 1299
-MD5 610e461e0529a1fff25a311bfe4e286a ChangeLog 1040
+MD5 56d6d026ca954708a780db6eb7f92dde hibernate-script-1.01.ebuild 1230
+MD5 e385d2ad9898fd6f4964feccfb717a2f hibernate-script-1.02-r1.ebuild 1795
+MD5 86361f872aca04a6efa28936aa1a5625 hibernate-script-1.03.ebuild 1792
+MD5 0a4e754285f5d4962a294c706a87d967 hibernate-script-1.00.ebuild 1230
+MD5 5e51954566e7a7789396ae5bc950c3de hibernate-script-1.02.ebuild 1299
+MD5 6d804f2b074e12d1504aad22233237c9 ChangeLog 1182
 MD5 93f5bba7043e57c7092196362f2b494f metadata.xml 255
 MD5 8d975c41e4fcad78bf4ceb1fabdb27f9 files/digest-hibernate-script-1.02-r1 72
 MD5 ebc451ea5a78f44953d9595e446ae1f0 files/digest-hibernate-script-1.00 72
 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
diff --git a/sys-apps/hibernate-script/files/digest-hibernate-script-1.03 b/sys-apps/hibernate-script/files/digest-hibernate-script-1.03
new file mode 100644 (file)
index 0000000..4d09677
--- /dev/null
@@ -0,0 +1 @@
+MD5 4fa839c1edbbb442e3e7f6b804557e53 hibernate-script-1.03.tar.gz 47755
index 28f6d87054f752b7707a85cbefda8c5f15ad5d33..60b2a08fad062464f52ebcef4bdb0f62ad9ab4ca 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.00.ebuild,v 1.1 2004/11/12 18:58:43 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/hibernate-script-1.00.ebuild,v 1.2 2005/01/04 19:40:24 brix Exp $
 
 # The following works with both pre-releases and releases
 MY_P=${PN}-${PV/_/-}
index 298226ab2234974af1f413b186ee70f30e89c96b..134a6bf44c89b642360e0658f2ccc0f6406e7acf 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.01.ebuild,v 1.1 2004/11/19 18:31:53 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/hibernate-script-1.01.ebuild,v 1.2 2005/01/04 19:40:24 brix Exp $
 
 # The following works with both pre-releases and releases
 MY_P=${PN}-${PV/_/-}
index 06dd01c0ec9ba7c240650a516a6a5ad0601669b2..cf22c2b9ddffbea023b143fa375f4d9727920cdd 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.02-r1.ebuild,v 1.2 2004/12/30 16:51:59 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/hibernate-script-1.02-r1.ebuild,v 1.3 2005/01/04 19:40:24 brix Exp $
 
 # The following works with both pre-releases and releases
 MY_P=${PN}-${PV/_/-}
index 2bd8810faa6698d54eef501f644c33e89a2c15fd..dad8b3fdfc591a78db2311166dc3c8dd99d28ec0 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.02.ebuild,v 1.1 2004/11/24 19:32:05 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hibernate-script/hibernate-script-1.02.ebuild,v 1.2 2005/01/04 19:40:24 brix Exp $
 
 # The following works with both pre-releases and releases
 MY_P=${PN}-${PV/_/-}
diff --git a/sys-apps/hibernate-script/hibernate-script-1.03.ebuild b/sys-apps/hibernate-script/hibernate-script-1.03.ebuild
new file mode 100644 (file)
index 0000000..0a8adb6
--- /dev/null
@@ -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.03.ebuild,v 1.1 2005/01/04 19:40:24 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
+}