summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-07-15 20:06:29 +0000
committerChristian Heim <phreak@gentoo.org>2006-07-15 20:06:29 +0000
commit3b2da01a98d483a56761a1cf69c1568c39c90876 (patch)
treef4c33f9f789394bd57e3c1b0cf794e4d63f969ec /sys-power
parentCleaning up old ebuilds (diff)
downloadhistorical-3b2da01a98d483a56761a1cf69c1568c39c90876.tar.gz
historical-3b2da01a98d483a56761a1cf69c1568c39c90876.tar.bz2
historical-3b2da01a98d483a56761a1cf69c1568c39c90876.zip
Cleaning up old ebuilds
Package-Manager: portage-2.1.1_pre2-r8
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/hibernate-script/Manifest40
-rw-r--r--sys-power/hibernate-script/files/digest-hibernate-script-1.913
-rw-r--r--sys-power/hibernate-script/files/digest-hibernate-script-1.933
-rw-r--r--sys-power/hibernate-script/files/digest-hibernate-script-1.93-r13
-rw-r--r--sys-power/hibernate-script/files/hibernate-script-1.91-gentoo.patch29
-rw-r--r--sys-power/hibernate-script/hibernate-script-1.91.ebuild80
-rw-r--r--sys-power/hibernate-script/hibernate-script-1.93-r1.ebuild85
-rw-r--r--sys-power/hibernate-script/hibernate-script-1.93.ebuild84
8 files changed, 7 insertions, 320 deletions
diff --git a/sys-power/hibernate-script/Manifest b/sys-power/hibernate-script/Manifest
index 9e320462e752..833721d93b68 100644
--- a/sys-power/hibernate-script/Manifest
+++ b/sys-power/hibernate-script/Manifest
@@ -9,10 +9,6 @@ AUX hibernate-script-1.12-misc.patch 522 RMD160 adcbb3512be0c9a77474ac8569a8d917
MD5 296333753a66d9b42c6a1f25b2c432f3 files/hibernate-script-1.12-misc.patch 522
RMD160 adcbb3512be0c9a77474ac8569a8d917ee0336f0 files/hibernate-script-1.12-misc.patch 522
SHA256 37dc4bd19419c213ed69b541634cf9d4d3a74ba4ac073819a3a2771e2ca8913a files/hibernate-script-1.12-misc.patch 522
-AUX hibernate-script-1.91-gentoo.patch 834 RMD160 3eef1a8651344191491b2687d472a860d4af5bbd SHA1 128ddf545adb0c93d3169406a0cebf8d0f67f55f SHA256 e54d9ea0a6664dbe51cb44c1802f63472e3d3b493e0b5c2730366922a02d5aee
-MD5 4771f1307f9d9d0d08fdfa6b4de5af48 files/hibernate-script-1.91-gentoo.patch 834
-RMD160 3eef1a8651344191491b2687d472a860d4af5bbd files/hibernate-script-1.91-gentoo.patch 834
-SHA256 e54d9ea0a6664dbe51cb44c1802f63472e3d3b493e0b5c2730366922a02d5aee files/hibernate-script-1.91-gentoo.patch 834
AUX hibernate-script-1.93-gentoo.patch 966 RMD160 f2563650afa668722d62a74fe884126bdfd54283 SHA1 a5b263b8033692910967bd55ff9adba596e941ed SHA256 99501aa00c0cd055e0cd59e3316907ce51dc28b8ad3756469585cba6094221ad
MD5 d524f2e3952cd0c96ffb7e727fa7e87d files/hibernate-script-1.93-gentoo.patch 966
RMD160 f2563650afa668722d62a74fe884126bdfd54283 files/hibernate-script-1.93-gentoo.patch 966
@@ -26,32 +22,19 @@ MD5 a448f61b3214198e602e2f420097af75 files/hibernate-script-1.93-last_result.pat
RMD160 f4e234cb46a13f517548abc4ca3ebf1ac59c2049 files/hibernate-script-1.93-last_result.patch 617
SHA256 1c34d09131f10b14b9c53e44c455a37df018b0ca5c1414db3aab3c13419c9657 files/hibernate-script-1.93-last_result.patch 617
DIST hibernate-script-1.12.tar.gz 64752 RMD160 3c2811d633727afd63f12062730515c9f6b16c4c SHA1 ba572234e0189dd9a64e26f5bacd14610551aa45 SHA256 dd1c1bb297fc4bfdce73614322cb60d92d99db719e473b9cbb4c62e0ea444147
-DIST hibernate-script-1.91.tar.gz 67112 RMD160 f8ae4e45307610e536f464e3180919533080b50e SHA1 b81808f499068937a9696e977ef1cfd499d21eee SHA256 c942830773829037449ef88c697203e96f1e7511551ed3029570512700bf4d13
DIST hibernate-script-1.93.tar.gz 68644 RMD160 bbb59d7ac5c7a26667cb00c5dd32224ad3eb8f01 SHA1 cea3ece2fdbe277c3e1878fd2acb9a728138c5f6 SHA256 8020d653cc09d1724f700e2b28cf5ce83eef3ffd287304141357eef2c22db366
EBUILD hibernate-script-1.12-r1.ebuild 1974 RMD160 ccc26a0d4ab187628a79b8c4312038615e74573d SHA1 e277b36a60dc3f66802bccc8a47151f0c1ab8e3b SHA256 9d3fa9cd0ca38f4ab75056d4dc470176c9f9bd2cf00045be58f77083655b789d
MD5 53831bcba1472acf2c180f2e6e754a63 hibernate-script-1.12-r1.ebuild 1974
RMD160 ccc26a0d4ab187628a79b8c4312038615e74573d hibernate-script-1.12-r1.ebuild 1974
SHA256 9d3fa9cd0ca38f4ab75056d4dc470176c9f9bd2cf00045be58f77083655b789d hibernate-script-1.12-r1.ebuild 1974
-EBUILD hibernate-script-1.91.ebuild 2114 RMD160 9128b1561b2685394b2df695400b008b18638d4c SHA1 f0fb4299b5c74d8c39632007f9b6e077f48c0e34 SHA256 e70673b014e72d9dc3616e4ff234e575f927fda4529913539167e049463ce73c
-MD5 9f8043f7a55fe38ebe5f1ad94c8dadd5 hibernate-script-1.91.ebuild 2114
-RMD160 9128b1561b2685394b2df695400b008b18638d4c hibernate-script-1.91.ebuild 2114
-SHA256 e70673b014e72d9dc3616e4ff234e575f927fda4529913539167e049463ce73c hibernate-script-1.91.ebuild 2114
-EBUILD hibernate-script-1.93-r1.ebuild 2282 RMD160 5aba8b75f84e6d1dc2ca4830712fae2069a27559 SHA1 ee51a560b6609c2ace5d972e9c7ac4bb3b122649 SHA256 212d04b598aad6a0b8d00d893fa73137f224365f5f35c31823fdad687eae62f6
-MD5 49bc60b3acf8f376531ce627983d7ccf hibernate-script-1.93-r1.ebuild 2282
-RMD160 5aba8b75f84e6d1dc2ca4830712fae2069a27559 hibernate-script-1.93-r1.ebuild 2282
-SHA256 212d04b598aad6a0b8d00d893fa73137f224365f5f35c31823fdad687eae62f6 hibernate-script-1.93-r1.ebuild 2282
EBUILD hibernate-script-1.93-r2.ebuild 2343 RMD160 db048a6189cd4f888f99dbebce9736129b812992 SHA1 946711a3ef9644d1d2b0b803ae78872db9ec3401 SHA256 6e0fd95442b1de1da32016b39f1db6c02ba652e9db148d928d5ceca0b01e707c
MD5 a7951206e9990fd081047e6f0ccd405c hibernate-script-1.93-r2.ebuild 2343
RMD160 db048a6189cd4f888f99dbebce9736129b812992 hibernate-script-1.93-r2.ebuild 2343
SHA256 6e0fd95442b1de1da32016b39f1db6c02ba652e9db148d928d5ceca0b01e707c hibernate-script-1.93-r2.ebuild 2343
-EBUILD hibernate-script-1.93.ebuild 2234 RMD160 0279d9acc374c27d110b49fc8b0fe6b8f2b610a5 SHA1 bc3c15b6ea1dac0173343effc92b7ae5e1eea310 SHA256 8a215821de19a5d1f043ff194a83eccd1d6dd7ca6e637764299ee3e066c226aa
-MD5 aa8b4c69c0a0f1544f4b2bd8b149c95f hibernate-script-1.93.ebuild 2234
-RMD160 0279d9acc374c27d110b49fc8b0fe6b8f2b610a5 hibernate-script-1.93.ebuild 2234
-SHA256 8a215821de19a5d1f043ff194a83eccd1d6dd7ca6e637764299ee3e066c226aa hibernate-script-1.93.ebuild 2234
-MISC ChangeLog 6631 RMD160 5933912a4446cf92f9245b8cde4bb1f79b8cc15e SHA1 5395be0d2735b453e30389f0cf03ecb210fb8150 SHA256 eb99144688f30ae0d76cc08edece663c02f1eb2867fbb801ea4a32327b51d166
-MD5 b746014c6e80352404f023f1ada3ef51 ChangeLog 6631
-RMD160 5933912a4446cf92f9245b8cde4bb1f79b8cc15e ChangeLog 6631
-SHA256 eb99144688f30ae0d76cc08edece663c02f1eb2867fbb801ea4a32327b51d166 ChangeLog 6631
+MISC ChangeLog 6851 RMD160 af23c1f26e4a40c3adf87887f012ccc44b0f2639 SHA1 e85e490ab4fb9a1fc6ef977b781abe0f1819edbb SHA256 7c7f3edb86dd27bfb4d2be41c34b4f36932a1270ec65bef0f25480d7480c5a7c
+MD5 e46d0195810bfed3b67af4db848b1282 ChangeLog 6851
+RMD160 af23c1f26e4a40c3adf87887f012ccc44b0f2639 ChangeLog 6851
+SHA256 7c7f3edb86dd27bfb4d2be41c34b4f36932a1270ec65bef0f25480d7480c5a7c ChangeLog 6851
MISC metadata.xml 254 RMD160 2e69b345a5604844f1c5a8256ea172c7a3cc485f SHA1 653c702fdb89577e9d15e9cbca3891e4acdba061 SHA256 9bffc4ff1cf574848699e33b09ff0f6137d6b64b69d82c7b95cafb32ee75becb
MD5 f3e68295a919220f58e91a1d3468c851 metadata.xml 254
RMD160 2e69b345a5604844f1c5a8256ea172c7a3cc485f metadata.xml 254
@@ -59,22 +42,13 @@ SHA256 9bffc4ff1cf574848699e33b09ff0f6137d6b64b69d82c7b95cafb32ee75becb metadata
MD5 0c2af54d8ff3276d4ad0f267a4e034ca files/digest-hibernate-script-1.12-r1 262
RMD160 021b4883dc2d937fd49b8baf01418704172ae599 files/digest-hibernate-script-1.12-r1 262
SHA256 245468f631843dc85438ff9e62e91fbee4a39ce575f577bf8b536de5078a39b9 files/digest-hibernate-script-1.12-r1 262
-MD5 42dd754f9773d3ddcc11790676bcf1b1 files/digest-hibernate-script-1.91 262
-RMD160 c4f34d98b2712106570cf2f413d5d8cd7cbe523a files/digest-hibernate-script-1.91 262
-SHA256 8fad1f0c3eb94816b472129104f3a1d5b6bd0bb40251647d6838a047943dd09a files/digest-hibernate-script-1.91 262
-MD5 6df4f13730ccce8b2c2c007a366e32d3 files/digest-hibernate-script-1.93 262
-RMD160 ea48cd11767637391c710a50b80e13cfd49ad29a files/digest-hibernate-script-1.93 262
-SHA256 9978a523acc1585caafd33a5cfe59cbbc184479cb65abef81141e8ae2e10ba37 files/digest-hibernate-script-1.93 262
-MD5 6df4f13730ccce8b2c2c007a366e32d3 files/digest-hibernate-script-1.93-r1 262
-RMD160 ea48cd11767637391c710a50b80e13cfd49ad29a files/digest-hibernate-script-1.93-r1 262
-SHA256 9978a523acc1585caafd33a5cfe59cbbc184479cb65abef81141e8ae2e10ba37 files/digest-hibernate-script-1.93-r1 262
MD5 6df4f13730ccce8b2c2c007a366e32d3 files/digest-hibernate-script-1.93-r2 262
RMD160 ea48cd11767637391c710a50b80e13cfd49ad29a files/digest-hibernate-script-1.93-r2 262
SHA256 9978a523acc1585caafd33a5cfe59cbbc184479cb65abef81141e8ae2e10ba37 files/digest-hibernate-script-1.93-r2 262
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFEuUo6flZ8QqxhrsMRAuVtAKDAA0yMX8lUw4ar/FPS1CQ//TlIlACgtqj0
-TWhkpFNnDVM9DyN3VkL9uwE=
-=xkvh
+iD8DBQFEuUrMflZ8QqxhrsMRAh7YAJkBXYPF/w2QwusoYFSGqt9zjzbDCgCgtFFG
+w2A8GgnwwCVkQamDH5Fy4zI=
+=wrLM
-----END PGP SIGNATURE-----
diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.91 b/sys-power/hibernate-script/files/digest-hibernate-script-1.91
deleted file mode 100644
index b2c9f6509013..000000000000
--- a/sys-power/hibernate-script/files/digest-hibernate-script-1.91
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 f3c5275dd6053dc6423eb27032c81d4c hibernate-script-1.91.tar.gz 67112
-RMD160 f8ae4e45307610e536f464e3180919533080b50e hibernate-script-1.91.tar.gz 67112
-SHA256 c942830773829037449ef88c697203e96f1e7511551ed3029570512700bf4d13 hibernate-script-1.91.tar.gz 67112
diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.93 b/sys-power/hibernate-script/files/digest-hibernate-script-1.93
deleted file mode 100644
index 422838b8f2d0..000000000000
--- a/sys-power/hibernate-script/files/digest-hibernate-script-1.93
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 903e30d67bcdf728f245a71b9ec412e2 hibernate-script-1.93.tar.gz 68644
-RMD160 bbb59d7ac5c7a26667cb00c5dd32224ad3eb8f01 hibernate-script-1.93.tar.gz 68644
-SHA256 8020d653cc09d1724f700e2b28cf5ce83eef3ffd287304141357eef2c22db366 hibernate-script-1.93.tar.gz 68644
diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.93-r1 b/sys-power/hibernate-script/files/digest-hibernate-script-1.93-r1
deleted file mode 100644
index 422838b8f2d0..000000000000
--- a/sys-power/hibernate-script/files/digest-hibernate-script-1.93-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 903e30d67bcdf728f245a71b9ec412e2 hibernate-script-1.93.tar.gz 68644
-RMD160 bbb59d7ac5c7a26667cb00c5dd32224ad3eb8f01 hibernate-script-1.93.tar.gz 68644
-SHA256 8020d653cc09d1724f700e2b28cf5ce83eef3ffd287304141357eef2c22db366 hibernate-script-1.93.tar.gz 68644
diff --git a/sys-power/hibernate-script/files/hibernate-script-1.91-gentoo.patch b/sys-power/hibernate-script/files/hibernate-script-1.91-gentoo.patch
deleted file mode 100644
index 2816289dac1b..000000000000
--- a/sys-power/hibernate-script/files/hibernate-script-1.91-gentoo.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -urp hibernate-script-1.12/init.d/hibernate-cleanup.sh hibernate-script-1.12-gentoo/init.d/hibernate-cleanup.sh
---- hibernate-script-1.12/init.d/hibernate-cleanup.sh 2005-10-02 07:54:23.000000000 +0200
-+++ hibernate-script-1.12-gentoo/init.d/hibernate-cleanup.sh 2005-10-20 15:31:33.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 signatures"
-+ check_swap_sig
-+ check_filewriter_sig
-+ eend
-+}
diff --git a/sys-power/hibernate-script/hibernate-script-1.91.ebuild b/sys-power/hibernate-script/hibernate-script-1.91.ebuild
deleted file mode 100644
index 09adae2453f3..000000000000
--- a/sys-power/hibernate-script/hibernate-script-1.91.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2006 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.91.ebuild,v 1.1 2006/06/05 11:44:08 brix Exp $
-
-inherit eutils
-
-DESCRIPTION="Hibernate script supporting multiple suspend methods"
-HOMEPAGE="http://www.suspend2.net/"
-SRC_URI="http://www.suspend2.net/downloads/all/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="logrotate vim"
-
-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}/common.conf
-
- sed -i \
- -e "s:/usr/local::" \
- ${S}/suspend2.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/
-
- if use vim; then
- insinto /usr/share/vim/vimfiles
- doins hibernate.vim
- fi
-
- dodoc CHANGELOG README SCRIPTLET-API hibernate.vim
-
- if use logrotate; then
- insinto /etc/logrotate.d
- newins logrotate.d-hibernate-script hibernate-script
- fi
-}
-
-pkg_postinst() {
- einfo
- einfo "You should run the following command to invalidate"
- einfo "suspend images on a clean boot."
- einfo
- einfo " # rc-update add hibernate-cleanup boot"
- einfo
- einfo "See /usr/share/doc/${PF}/README.gz for further details."
- einfo
- einfo "Please note that you will need to manually emerge any utilities"
- einfo "(radeontool, vbetool, ...) enabled in the configuration files,"
- einfo "should you wish to use them."
- einfo
- einfo "Starting with hibernate-script-1.90 the configuration files have"
- einfo "been reordered and split into method specific files. Make sure you"
- einfo "update your /etc/hibernate/ configuration files accordingly."
- einfo
-}
diff --git a/sys-power/hibernate-script/hibernate-script-1.93-r1.ebuild b/sys-power/hibernate-script/hibernate-script-1.93-r1.ebuild
deleted file mode 100644
index 05b6582f944e..000000000000
--- a/sys-power/hibernate-script/hibernate-script-1.93-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2006 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.93-r1.ebuild,v 1.1 2006/07/14 06:22:38 phreak Exp $
-
-inherit eutils
-
-DESCRIPTION="Hibernate script supporting multiple suspend methods"
-HOMEPAGE="http://www.suspend2.net/"
-SRC_URI="http://www.suspend2.net/downloads/all/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="logrotate vim"
-
-DEPEND="sys-apps/sed"
-RDEPEND="logrotate? ( app-admin/logrotate )"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-
- # remove obsolete swsusp2_15 scriptlet
- rm -f ${S}/scriptlets.d/swsusp2_15
-
- epatch "${FILESDIR}"/${P}-last_result.patch
- epatch "${FILESDIR}"/${P}-gentoo.patch
- ebegin "Applying ${P}-common.conf.patch"
- sed -i \
- -e "s:^# \(Distribution\).*:\1 gentoo:" \
- "${S}"/common.conf
- eend $?
-
- ebegin "Applying ${P}-suspend2.conf.patch"
- sed -i \
- -e "s:/usr/local::" \
- "${S}"/suspend2.conf
- eend $?
-}
-
-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/
-
- if use vim; then
- insinto /usr/share/vim/vimfiles
- doins hibernate.vim
- fi
-
- dodoc CHANGELOG README SCRIPTLET-API hibernate.vim
-
- if use logrotate; then
- insinto /etc/logrotate.d
- newins logrotate.d-hibernate-script hibernate-script
- fi
-}
-
-pkg_postinst() {
- einfo
- einfo "You should run the following command to invalidate"
- einfo "suspend images on a clean boot."
- einfo
- einfo " # rc-update add hibernate-cleanup boot"
- einfo
- einfo "See /usr/share/doc/${PF}/README.gz for further details."
- einfo
- einfo "Please note that you will need to manually emerge any utilities"
- einfo "(radeontool, vbetool, ...) enabled in the configuration files,"
- einfo "should you wish to use them."
- einfo
- einfo "Starting with hibernate-script-1.90 the configuration files have"
- einfo "been reordered and split into method specific files. Make sure you"
- einfo "update your /etc/hibernate/ configuration files accordingly."
- einfo
-}
diff --git a/sys-power/hibernate-script/hibernate-script-1.93.ebuild b/sys-power/hibernate-script/hibernate-script-1.93.ebuild
deleted file mode 100644
index f45dc687ffa0..000000000000
--- a/sys-power/hibernate-script/hibernate-script-1.93.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2006 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.93.ebuild,v 1.1 2006/07/13 17:00:51 phreak Exp $
-
-inherit eutils
-
-DESCRIPTION="Hibernate script supporting multiple suspend methods"
-HOMEPAGE="http://www.suspend2.net/"
-SRC_URI="http://www.suspend2.net/downloads/all/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="logrotate vim"
-
-DEPEND="sys-apps/sed"
-RDEPEND="logrotate? ( app-admin/logrotate )"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-
- # remove obsolete swsusp2_15 scriptlet
- rm -f ${S}/scriptlets.d/swsusp2_15
-
- epatch "${FILESDIR}"/${P}-gentoo.patch
- ebegin "Applying ${P}-common.conf.patch"
- sed -i \
- -e "s:^# \(Distribution\).*:\1 gentoo:" \
- "${S}"/common.conf
- eend $?
-
- ebegin "Applying ${P}-suspend2.conf.patch"
- sed -i \
- -e "s:/usr/local::" \
- "${S}"/suspend2.conf
- eend $?
-}
-
-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/
-
- if use vim; then
- insinto /usr/share/vim/vimfiles
- doins hibernate.vim
- fi
-
- dodoc CHANGELOG README SCRIPTLET-API hibernate.vim
-
- if use logrotate; then
- insinto /etc/logrotate.d
- newins logrotate.d-hibernate-script hibernate-script
- fi
-}
-
-pkg_postinst() {
- einfo
- einfo "You should run the following command to invalidate"
- einfo "suspend images on a clean boot."
- einfo
- einfo " # rc-update add hibernate-cleanup boot"
- einfo
- einfo "See /usr/share/doc/${PF}/README.gz for further details."
- einfo
- einfo "Please note that you will need to manually emerge any utilities"
- einfo "(radeontool, vbetool, ...) enabled in the configuration files,"
- einfo "should you wish to use them."
- einfo
- einfo "Starting with hibernate-script-1.90 the configuration files have"
- einfo "been reordered and split into method specific files. Make sure you"
- einfo "update your /etc/hibernate/ configuration files accordingly."
- einfo
-}