summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/hibernate-script/ChangeLog7
-rw-r--r--sys-power/hibernate-script/files/digest-hibernate-script-1.10-r11
-rw-r--r--sys-power/hibernate-script/files/hibernate-script-1.10-gentoo.patch29
-rw-r--r--sys-power/hibernate-script/hibernate-script-1.10-r1.ebuild69
4 files changed, 6 insertions, 100 deletions
diff --git a/sys-power/hibernate-script/ChangeLog b/sys-power/hibernate-script/ChangeLog
index ce9ba673e5f9..9537d81fac09 100644
--- a/sys-power/hibernate-script/ChangeLog
+++ b/sys-power/hibernate-script/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/hibernate-script
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.19 2005/10/22 11:04:53 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.20 2005/12/14 18:45:32 brix Exp $
+
+ 14 Dec 2005; Henrik Brix Andersen <brix@gentoo.org>
+ -files/hibernate-script-1.10-gentoo.patch,
+ -hibernate-script-1.10-r1.ebuild:
+ Pruned old ebuilds.
22 Oct 2005; Henrik Brix Andersen <brix@gentoo.org>
-files/hibernate-script-1.08-gentoo.patch,
diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.10-r1 b/sys-power/hibernate-script/files/digest-hibernate-script-1.10-r1
deleted file mode 100644
index 1d5fbfdf2692..000000000000
--- a/sys-power/hibernate-script/files/digest-hibernate-script-1.10-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 cbd8320a2a458d1cfad5420c6fa6a823 hibernate-script-1.10.tar.gz 63598
diff --git a/sys-power/hibernate-script/files/hibernate-script-1.10-gentoo.patch b/sys-power/hibernate-script/files/hibernate-script-1.10-gentoo.patch
deleted file mode 100644
index e59454403f9c..000000000000
--- a/sys-power/hibernate-script/files/hibernate-script-1.10-gentoo.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -urp hibernate-script-1.10/init.d/hibernate-cleanup.sh hibernate-script-1.10-gentoo/init.d/hibernate-cleanup.sh
---- hibernate-script-1.10/init.d/hibernate-cleanup.sh 2005-07-13 16:08:28.000000000 +0200
-+++ hibernate-script-1.10-gentoo/init.d/hibernate-cleanup.sh 2005-07-13 18:54:11.000000000 +0200
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/sbin/runscript
-
- # This script invalidates any stale swsusp and Software Suspend 2 images. It
- # searches all swap partitions on your machine, as well as Suspend2's
-@@ -66,9 +66,14 @@ check_filewriter_sig() {
- esac
- }
-
--echo -n "Clearing Software Suspend 2 signatures... "
--check_swap_sig
--check_filewriter_sig
--echo "done."
-+depend() {
-+ after localmount
-+ before bootmisc
-+}
-
--exit 0
-+start() {
-+ ebegin "Clearing Software Suspend 2 signatures"
-+ check_swap_sig
-+ check_filewriter_sig
-+ eend
-+}
diff --git a/sys-power/hibernate-script/hibernate-script-1.10-r1.ebuild b/sys-power/hibernate-script/hibernate-script-1.10-r1.ebuild
deleted file mode 100644
index 9f80498a3435..000000000000
--- a/sys-power/hibernate-script/hibernate-script-1.10-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.10-r1.ebuild,v 1.2 2005/08/26 10:34:04 brix Exp $
-
-inherit eutils
-
-# The following works with both pre-releases and releases
-MY_P=${PN}-${PV/_/-}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Hibernate script supporting multiple suspend methods"
-
-HOMEPAGE="http://www.suspend2.net"
-SRC_URI="http://www.suspend2.net/downloads/all/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-
-IUSE="logrotate"
-
-DEPEND="sys-apps/sed"
-RDEPEND="logrotate? ( app-admin/logrotate )"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.patch
-
- # remove obsolete swsusp2_15 scriptlet
- rm -f ${S}/scriptlets.d/swsusp2_15
-
- sed -i -e "s:^# \(Distribution\).*:\1 gentoo:" ${S}/hibernate.conf
- sed -i -e "s:^# \(Distribution\).*:\1 gentoo:" ${S}/ram.conf
-}
-
-src_install() {
- BASE_DIR=${D} PREFIX=/usr MAN_DIR=${D}/usr/share/man \
- ${S}/install.sh
-
- # hibernate-ram will default to using ram.conf
- dosym /usr/sbin/hibernate /usr/sbin/hibernate-ram
-
- newinitd ${S}/init.d/hibernate-cleanup.sh hibernate-cleanup
-
- # other ebuilds can install scriplets to this dir
- keepdir /etc/hibernate/scriptlets.d/
-
- dodoc CHANGELOG README SCRIPTLET-API TODO
-
- if use logrotate; then
- insinto /etc/logrotate.d
- newins logrotate.d-hibernate-script hibernate-script
- fi
-}
-
-pkg_postinst() {
- einfo
- einfo "If you use Software Suspend 2 you should run"
- einfo " # rc-update add hibernate-cleanup boot"
- einfo "to invalidate suspend images on a clean boot."
- einfo
- einfo "See /usr/share/doc/${PF}/README.gz for further details."
- einfo
- einfo "Please note that /etc/hibernate/hibernate.conf now defaults"
- einfo "to using Software Suspend 2."
- einfo
-}