summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2009-06-04 19:10:19 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2009-06-04 19:10:19 +0000
commit79b6be58aae88015ef3803279a08d8aa2ad9f93b (patch)
tree3e22a1d52716dbf6d0438a55320f09354e783e94 /sys-power
parentold (diff)
downloadhistorical-79b6be58aae88015ef3803279a08d8aa2ad9f93b.tar.gz
historical-79b6be58aae88015ef3803279a08d8aa2ad9f93b.tar.bz2
historical-79b6be58aae88015ef3803279a08d8aa2ad9f93b.zip
Remove old/unneeded versions.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/acpi/Manifest14
-rw-r--r--sys-power/hibernate-script/ChangeLog8
-rw-r--r--sys-power/hibernate-script/Manifest20
-rw-r--r--sys-power/hibernate-script/files/hibernate-script-1.99-init.d.patch58
-rw-r--r--sys-power/hibernate-script/hibernate-script-1.97-r5.ebuild69
-rw-r--r--sys-power/hibernate-script/hibernate-script-1.98.1.ebuild69
-rw-r--r--sys-power/hibernate-script/hibernate-script-1.99-r1.ebuild71
-rw-r--r--sys-power/hibernate-script/hibernate-script-1.99.ebuild69
8 files changed, 30 insertions, 348 deletions
diff --git a/sys-power/acpi/Manifest b/sys-power/acpi/Manifest
index 9c38420cb3b1..2db65e446572 100644
--- a/sys-power/acpi/Manifest
+++ b/sys-power/acpi/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST acpi-0.09.tar.gz 83515 RMD160 c20dba1674bf8fadd917c2f5619a909817f4bf06 SHA1 2dcf9415680d19b780ad607ce4326d7bfbe3f6a9 SHA256 c1eee19abd174f6bf3d519e6423a2c23d8c05c929211dab7a4c9b237eafa3c86
DIST acpi-1.4.tar.gz 86370 RMD160 c07ba6f16c4e9f2e9c8c404d5ab69474df641a1d SHA1 d59adccbcc4acf3996fe8bb269dfbc8ee8a06869 SHA256 04a02324910e347b077344f5ffa81c0905572b7dcb85d809ed514d8a46239f75
DIST acpi_0.06-5.diff.gz 2627 RMD160 b60e6b933d7a706a3557d83eaddcbd2f582560c9 SHA1 54924181fabfed2666cb03161c96e0f8e62171bb SHA256 c93f6947350965d3a74aa5f7b9f7a5174db15bfdc51cd89f040461a4122ee169
@@ -5,6 +8,13 @@ DIST acpi_0.06.orig.tar.gz 42907 RMD160 04aa175c560d03d354ef6bc337755a0d67ba8c71
DIST acpi_0.09-1.diff.gz 3622 RMD160 8727005aff15ffd45829a27b7b512a8836d4af4e SHA1 f8e447b07b78d104a681240b83155a6b9c6cba94 SHA256 914d5f8cd5981d713bddd7554d0bd73bf8e8b732b89e49009fac9f9016a090b7
EBUILD acpi-0.06-r5.ebuild 1088 RMD160 b0c1dc52f4ecff24dd15d9d36df729ea10d81170 SHA1 e1deb113087c2c8dc2ddf1efa4740475ad59ac48 SHA256 5f61ef4bf9affeb72bb13626f6731eb69d3bbc312b037188bc13b6f11f7142ca
EBUILD acpi-0.09.ebuild 808 RMD160 0795720f2654878fbf74fa551775ca9a393fb1fd SHA1 755937cbee1d714cc97d932c0b1bd039b7d8f286 SHA256 66e1a52abe7c325e240128e59f316496515db598f8f6c465ac6247a778253946
-EBUILD acpi-1.4.ebuild 637 RMD160 7ffcf4c56e59a4b23aa53c69ec51475bb389c034 SHA1 9d14bc5bac7de251268c4a166d0358956bbfd6e6 SHA256 539c2b211ce6a41f528bcc1b9fc67a3e77bcc9df2060d0fb784ad95a285473a8
-MISC ChangeLog 1758 RMD160 72b94d36ee717af5d7aab3e5e894f98c69e50299 SHA1 108599f9c6b17b7b12c137690cab4c5ed9fd154d SHA256 8760b427f3a0a859f03731cddfce2b9b866ae636477d15e6eaf485d778324b73
+EBUILD acpi-1.4.ebuild 638 RMD160 c1587adc5749596ee5756a5b427d39192bf8c9bb SHA1 afe6cc3787e51cb21085ccbeade7541718556751 SHA256 c5c2052643648aaf4bf6495fee9d615ca02e5de652199c2f830dec810c590b1e
+MISC ChangeLog 1858 RMD160 d532a5fb9de89536103814110ec1f62bacfa5ecf SHA1 3d86086d5e337e66bce12bc5857524c440eae6f2 SHA256 dcf8dd1d7a187604ae606c2304cca35eb573f57cc086afb148538353b962dcef
MISC metadata.xml 160 RMD160 8521c3bd3ae0fb2bfddce5edb33fd31e223747e1 SHA1 194b7194f38673fe427e5893a42cd4c1506ce846 SHA256 b13062a43e40469b137e1206494a44b45755ea69511b64e5373cb1ce30bbb160
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkooHL4ACgkQNQqtfCuFnePUIwCgm13+nArWlMOYjfdLEWvYP5wx
+mIUAn2OuXuWvPLZPdY43Hl4jlDaGKXlw
+=omPt
+-----END PGP SIGNATURE-----
diff --git a/sys-power/hibernate-script/ChangeLog b/sys-power/hibernate-script/ChangeLog
index 248499de429f..b06741373619 100644
--- a/sys-power/hibernate-script/ChangeLog
+++ b/sys-power/hibernate-script/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-power/hibernate-script
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.85 2009/06/03 22:02:01 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.86 2009/06/04 19:10:18 nelchael Exp $
+
+ 04 Jun 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+ -hibernate-script-1.97-r5.ebuild, -hibernate-script-1.98.1.ebuild,
+ -hibernate-script-1.99.ebuild, -hibernate-script-1.99-r1.ebuild,
+ -files/hibernate-script-1.99-init.d.patch:
+ Remove old/unneeded versions.
03 Jun 2009; Dawid Węgliński <cla@gentoo.org>
hibernate-script-2.0-r1.ebuild:
diff --git a/sys-power/hibernate-script/Manifest b/sys-power/hibernate-script/Manifest
index eff7b589d320..d69c5080eb21 100644
--- a/sys-power/hibernate-script/Manifest
+++ b/sys-power/hibernate-script/Manifest
@@ -1,17 +1,19 @@
-AUX hibernate-script-1.99-init.d.patch 938 RMD160 59f80a033cb374bc417734e7f3e2a2a6cda9e3f8 SHA1 ad5cd3d0ef30b82f33ac04a8eab838788998c958 SHA256 ea4675ab047c132a162d7fb50b18ce984a6f41891948c3f565c897ca3161f576
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX hibernate-script-2.0-init.d.patch 1059 RMD160 15e23a81fa4a0958385887dbf0138f988c7cb5af SHA1 1c24c4409b40a4785fcde47fc379db8ea5699b21 SHA256 759b1083cef2c4d844b23284c25e9ca08af0ddc13926315cc6f427a3550cd5bf
DIST hibernate-script-1.97-patches-5.tar.bz2 3278 RMD160 5a2c7065a1fb40b37f1a122e1044cdbfa9e4afa3 SHA1 ca2668ec386b2a3da96746681c0a36b4b7e57127 SHA256 fc63a4d6ed82acd17e0c730b1a0a7ddba27b21576414bebdadd629889bbe7651
-DIST hibernate-script-1.97-patches-6.tar.bz2 3917 RMD160 046398338047e8764fb9a90ecd6f1b966b8e564e SHA1 68494e8300bebf1cdcc1b0c9630e3b7cb3e24fcb SHA256 b639c72f9a3d3d25c9ed08bf76e8fed9f7cc69ee1c1e3f743b728cd4baffe784
DIST hibernate-script-1.97.tar.gz 81504 RMD160 6346a098f0892e6cffd547b0b7d042a51f298bb2 SHA1 c695ded89845ce6fa14eb85bd0401ab1196baa93 SHA256 8374bedc80206a6708c10d9814b92bebed3d9e4966c01c2d086e9e5b5646827c
DIST hibernate-script-1.98.1-patches-1.tar.bz2 708 RMD160 17bdd4a7bbfeabeee0c00cc615ef2279c4144f5a SHA1 a6567d2d78350894a1683792b0ea73e2b22b21f4 SHA256 920cfa1b77d9439ef7a3c64e686faed4b6b9d8800a0b381ba62e07b2e78b34c6
-DIST hibernate-script-1.98.1.tar.gz 79356 RMD160 b2ade527b77a05ca05fe4d7ead8f7a92919edade SHA1 c8de60d17f68f20650d592fe4df344b1717676a4 SHA256 3fc46f85eb9078ce44baf6215160c6591302963376d2bea11dec33694214ecf6
-DIST hibernate-script-1.99.tar.gz 113644 RMD160 baf2554925c38683a583c5ad65f346f0bc4e9302 SHA1 f45672032322ea9f987f3bcb5380df7638e605e7 SHA256 65d4b5eae6a29fbc15374a963ec7c68af2312717084c0fac18ba9421a8ce3f55
DIST hibernate-script-2.0.tar.gz 84453 RMD160 b2fe73429ace04225519b08f5ff7e029adca9d80 SHA1 d3fbf631adaed5d751275e3b67ec11d5dc0700b5 SHA256 d04597473a50c6ac072e3a4c22f173a7234a97bc2a39e460e56c5d3d985a6545
EBUILD hibernate-script-1.97-r4.ebuild 1792 RMD160 6d8090c3056e4c5615103437354b5d0da28b2474 SHA1 9d8c09c2bb43859c583262553754bec0aaf6f700 SHA256 98ae2e4ddeebfb02d3cfc3205e49a9ac0bc4926b342dc046ffff06aeaa9a71f0
-EBUILD hibernate-script-1.97-r5.ebuild 1795 RMD160 712f56bd0f569e5ed9081f0df74306dbb43f21cf SHA1 e82fc0ae27f03a02d7ffbef7ce3d20e564335080 SHA256 92000dac8bcf25acb01dd7551e993a0e1bb9889c31a0df36adeda12262cf92b9
-EBUILD hibernate-script-1.98.1.ebuild 1794 RMD160 f18ed08e82ff89220f480c7b53a8477f598fb8ad SHA1 b50904c410b2ed3dfcf22a68a05d2e263639b86e SHA256 8af818b545a8a8b4f180f90f048284e32613a02bdfabd1680efb86d29ffa57a6
-EBUILD hibernate-script-1.99-r1.ebuild 1917 RMD160 ecff949987d8e24209675be0131a52dc09c748db SHA1 8a09e96e5ab14b3af60f0c13eb7dc9898955ba33 SHA256 c29cd088c5dadff0ca32f63a0da7e225927bf554ab3b1b33087cdccc27b8a38f
-EBUILD hibernate-script-1.99.ebuild 1802 RMD160 7faabf5bd0e12a3a050cf6d6981fd5ad2456e721 SHA1 15dbebed3dd41070dbc4db65fc3aeb9fa492329a SHA256 144c917df1a3799ed1a80571f43c294b1ca4b25eeea298cc22b8894449b78871
EBUILD hibernate-script-2.0-r1.ebuild 1785 RMD160 7a3776d0bf269b0a7ff476f7145c1b38a938335e SHA1 8b9958b85c4f10a381bb775b426b737ae4a06fa1 SHA256 19b2f9045867b2814e3c8641273261e8002a2550cd2beba0ee1df4685450b765
-MISC ChangeLog 17772 RMD160 57f34862f420ef77ddff428f862748d08af80b36 SHA1 db2dee486a2ec73ca5764dc81495824bf4220c0e SHA256 ab6e04a609f2b8b553edc3c8a6f0221568bb696c76a37c06cb400fb4c3233bc9
+MISC ChangeLog 18044 RMD160 81ab85f6a52ef3fda93ce16f891a1889612ee702 SHA1 ee748f2183347d0de5ceda96e47631d0bdd4435c SHA256 5f76cb1e681b4833fdbbd96af19ad49c8f249ab3a42d2bad82d7cc5d7c0d27ca
MISC metadata.xml 257 RMD160 e5389141a508dda0b9a79eb4d99418ce4c318c76 SHA1 aaf26e5367b94012f204cb0a3f25fe1b433a4a46 SHA256 15da7c7a3a70ae3d280eed2b72019df5a14a20ecbc7697d3c4a17b0e732fd72e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkooHCAACgkQgo/w9rxVVVFx0wCgvZ+e8mfgvwESIFRXeXVxctyy
+bdQAoL/BhGHYmi4Dz20ouddb2LuX58iQ
+=Ra2g
+-----END PGP SIGNATURE-----
diff --git a/sys-power/hibernate-script/files/hibernate-script-1.99-init.d.patch b/sys-power/hibernate-script/files/hibernate-script-1.99-init.d.patch
deleted file mode 100644
index 5c887185e1ec..000000000000
--- a/sys-power/hibernate-script/files/hibernate-script-1.99-init.d.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-
-Gentoo layout.
-
---- init.d/hibernate-cleanup.sh.org 2007-05-04 07:17:40.000000000 +0300
-+++ init.d/hibernate-cleanup.sh 2007-05-04 07:22:25.000000000 +0300
-@@ -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
-@@ -78,27 +78,30 @@ do_reload() {
-
-
- msg_status() {
-- echo -n "$1"
-+ einfon "$1"
- }
-
- msg() {
-- echo "$1"
-+ einfo "$1"
- }
-
--case "$1" in
--start)
-- msg_status "Invalidating stale software suspend images... "
-+opts="reload"
-+
-+depend() {
-+ after modules
-+ before localmount
-+}
-+
-+start() {
-+ ebegin "Invalidating stale software suspend images"
- do_start
-- msg "done."
-- ;;
--stop)
-+ eend $?
-+}
-+
-+stop() {
- do_stop
-- ;;
--restart|force-reload)
-- do_reload
-- ;;
--*)
-- msg "Usage: /etc/init.d/hibernate {start|stop|restart|force-reload}"
--esac
-+}
-
--exit 0
-+reload() {
-+ do_reload
-+}
diff --git a/sys-power/hibernate-script/hibernate-script-1.97-r5.ebuild b/sys-power/hibernate-script/hibernate-script-1.97-r5.ebuild
deleted file mode 100644
index 1b10e15e3ef3..000000000000
--- a/sys-power/hibernate-script/hibernate-script-1.97-r5.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2008 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.97-r5.ebuild,v 1.1 2008/01/26 22:11:48 alonbl Exp $
-
-inherit eutils
-
-PATCH_VERSION="6"
-
-DESCRIPTION="Hibernate script supporting multiple suspend methods"
-HOMEPAGE="http://www.tuxonice.net/"
-SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz
- mirror://gentoo/${P}-patches-${PATCH_VERSION}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="vim-syntax"
-
-DEPEND=""
-RDEPEND="!<media-gfx/splashutils-1.5.2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Our patches
- epatch "${WORKDIR}"/patches/*.patch
-}
-
-src_install() {
- BASE_DIR="${D}" \
- DISTRIBUTION="gentoo" \
- PREFIX="/usr" \
- MAN_DIR="${D}/usr/share/man" \
- "${S}/install.sh" || die "Install failed"
-
- # 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-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins hibernate.vim
- fi
-
- dodoc CHANGELOG README SCRIPTLET-API hibernate.vim
-
- insinto /etc/logrotate.d
- newins "${S}"/logrotate.d-hibernate-script hibernate-script
-}
-
-pkg_postinst() {
- elog
- elog "You should run the following command to invalidate suspend"
- elog "images on a clean boot."
- elog
- elog " # rc-update add hibernate-cleanup boot"
- elog
- elog "See /usr/share/doc/${PF}/README.* for further details."
- elog
- elog "Please note that you will need to manually emerge any utilities"
- elog "(radeontool, vbetool, ...) enabled in the configuration files,"
- elog "should you wish to use them."
-}
diff --git a/sys-power/hibernate-script/hibernate-script-1.98.1.ebuild b/sys-power/hibernate-script/hibernate-script-1.98.1.ebuild
deleted file mode 100644
index c38094b3040c..000000000000
--- a/sys-power/hibernate-script/hibernate-script-1.98.1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2008 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.98.1.ebuild,v 1.1 2008/04/05 15:58:10 alonbl Exp $
-
-inherit eutils
-
-PATCH_VERSION="1"
-
-DESCRIPTION="Hibernate script supporting multiple suspend methods"
-HOMEPAGE="http://www.tuxonice.net/"
-SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz
- mirror://gentoo/${P}-patches-${PATCH_VERSION}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="vim-syntax"
-
-DEPEND=""
-RDEPEND="!<media-gfx/splashutils-1.5.2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Our patches
- epatch "${WORKDIR}"/patches/*.patch
-}
-
-src_install() {
- BASE_DIR="${D}" \
- DISTRIBUTION="gentoo" \
- PREFIX="/usr" \
- MAN_DIR="${D}/usr/share/man" \
- "${S}/install.sh" || die "Install failed"
-
- # 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-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins hibernate.vim
- fi
-
- dodoc CHANGELOG README SCRIPTLET-API hibernate.vim
-
- insinto /etc/logrotate.d
- newins "${S}"/logrotate.d-hibernate-script hibernate-script
-}
-
-pkg_postinst() {
- elog
- elog "You should run the following command to invalidate suspend"
- elog "images on a clean boot."
- elog
- elog " # rc-update add hibernate-cleanup boot"
- elog
- elog "See /usr/share/doc/${PF}/README.* for further details."
- elog
- elog "Please note that you will need to manually emerge any utilities"
- elog "(radeontool, vbetool, ...) enabled in the configuration files,"
- elog "should you wish to use them."
-}
diff --git a/sys-power/hibernate-script/hibernate-script-1.99-r1.ebuild b/sys-power/hibernate-script/hibernate-script-1.99-r1.ebuild
deleted file mode 100644
index 0ccaae585513..000000000000
--- a/sys-power/hibernate-script/hibernate-script-1.99-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2009 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.99-r1.ebuild,v 1.1 2009/01/14 19:34:21 nelchael Exp $
-
-inherit eutils
-
-PATCH_VERSION="1"
-
-DESCRIPTION="Hibernate script supporting multiple suspend methods"
-HOMEPAGE="http://www.tuxonice.net/"
-SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="vim-syntax"
-
-DEPEND=""
-RDEPEND="!<media-gfx/splashutils-1.5.2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-init.d.patch"
-}
-
-src_install() {
- BASE_DIR="${D}" \
- DISTRIBUTION="gentoo" \
- PREFIX="/usr" \
- MAN_DIR="${D}/usr/share/man" \
- "${S}/install.sh" || die "Install failed"
-
- # 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-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins hibernate.vim
- fi
-
- dodoc CHANGELOG README SCRIPTLET-API hibernate.vim
-
- insinto /etc/logrotate.d
- newins "${S}"/logrotate.d-hibernate-script hibernate-script
-
- echo "# Bug #254674" >> "${D}/etc/hibernate/blacklisted-modules"
- echo "sdhci_pci" >> "${D}/etc/hibernate/blacklisted-modules"
- echo "sdhci" >> "${D}/etc/hibernate/blacklisted-modules"
-}
-
-pkg_postinst() {
- elog
- elog "You should run the following command to invalidate suspend"
- elog "images on a clean boot."
- elog
- elog " # rc-update add hibernate-cleanup boot"
- elog
- elog "See /usr/share/doc/${PF}/README.* for further details."
- elog
- elog "Please note that you will need to manually emerge any utilities"
- elog "(radeontool, vbetool, ...) enabled in the configuration files,"
- elog "should you wish to use them."
-}
diff --git a/sys-power/hibernate-script/hibernate-script-1.99.ebuild b/sys-power/hibernate-script/hibernate-script-1.99.ebuild
deleted file mode 100644
index a603a80479fe..000000000000
--- a/sys-power/hibernate-script/hibernate-script-1.99.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2009 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.99.ebuild,v 1.1 2009/01/08 23:03:10 nelchael Exp $
-
-inherit eutils
-
-PATCH_VERSION="1"
-
-DESCRIPTION="Hibernate script supporting multiple suspend methods"
-HOMEPAGE="http://www.tuxonice.net/"
-SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz
- mirror://gentoo/${PN}-1.98.1-patches-${PATCH_VERSION}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="vim-syntax"
-
-DEPEND=""
-RDEPEND="!<media-gfx/splashutils-1.5.2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Our patches
- epatch "${WORKDIR}"/patches/*.patch
-}
-
-src_install() {
- BASE_DIR="${D}" \
- DISTRIBUTION="gentoo" \
- PREFIX="/usr" \
- MAN_DIR="${D}/usr/share/man" \
- "${S}/install.sh" || die "Install failed"
-
- # 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-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins hibernate.vim
- fi
-
- dodoc CHANGELOG README SCRIPTLET-API hibernate.vim
-
- insinto /etc/logrotate.d
- newins "${S}"/logrotate.d-hibernate-script hibernate-script
-}
-
-pkg_postinst() {
- elog
- elog "You should run the following command to invalidate suspend"
- elog "images on a clean boot."
- elog
- elog " # rc-update add hibernate-cleanup boot"
- elog
- elog "See /usr/share/doc/${PF}/README.* for further details."
- elog
- elog "Please note that you will need to manually emerge any utilities"
- elog "(radeontool, vbetool, ...) enabled in the configuration files,"
- elog "should you wish to use them."
-}