summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-07-17 03:58:38 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-07-17 03:58:38 +0000
commit7d5466d8ea772120fcab0de34606fec8537174f1 (patch)
tree42a88bdcfe1d3af22b803e751bbac85e87228e37 /sys-power/hibernate-script
parentRemove package.mask of removed package. (diff)
downloadgentoo-2-7d5466d8ea772120fcab0de34606fec8537174f1.tar.gz
gentoo-2-7d5466d8ea772120fcab0de34606fec8537174f1.tar.bz2
gentoo-2-7d5466d8ea772120fcab0de34606fec8537174f1.zip
Version bump
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'sys-power/hibernate-script')
-rw-r--r--sys-power/hibernate-script/ChangeLog8
-rw-r--r--sys-power/hibernate-script/files/digest-hibernate-script-1.966
-rw-r--r--sys-power/hibernate-script/hibernate-script-1.96.ebuild71
3 files changed, 84 insertions, 1 deletions
diff --git a/sys-power/hibernate-script/ChangeLog b/sys-power/hibernate-script/ChangeLog
index e4741a2b5d31..a7d3e73eda72 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.61 2007/06/22 05:38:39 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.62 2007/07/17 03:58:38 alonbl Exp $
+
+*hibernate-script-1.96 (17 Jul 2007)
+
+ 17 Jul 2007; Alon Bar-Lev <alonbl@gentoo.org>
+ +hibernate-script-1.96.ebuild:
+ Version bump
22 Jun 2007; Alon Bar-Lev <alonbl@gentoo.org>
-hibernate-script-1.94-r5.ebuild:
diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.96 b/sys-power/hibernate-script/files/digest-hibernate-script-1.96
new file mode 100644
index 000000000000..fe9d240ba275
--- /dev/null
+++ b/sys-power/hibernate-script/files/digest-hibernate-script-1.96
@@ -0,0 +1,6 @@
+MD5 6b52e730861e432f656651410eb79a5b hibernate-script-1.96-patches-1.tar.bz2 1225
+RMD160 976b2509c35b1de7978919075d59fd924d0584ae hibernate-script-1.96-patches-1.tar.bz2 1225
+SHA256 e2931874186396ea4b12c251952d2300cf3c96681fa486f178f2f23ba20620df hibernate-script-1.96-patches-1.tar.bz2 1225
+MD5 1ca5fc5505131c0fa08cfcc1caf39b0f hibernate-script-1.96.tar.gz 77958
+RMD160 d0542e0f5e96a27d8b40ab64a72abe74a89f0419 hibernate-script-1.96.tar.gz 77958
+SHA256 b5b155808864d0f8351d002c01805c1ec02f5573698efc49e91ad703fbe96f4b hibernate-script-1.96.tar.gz 77958
diff --git a/sys-power/hibernate-script/hibernate-script-1.96.ebuild b/sys-power/hibernate-script/hibernate-script-1.96.ebuild
new file mode 100644
index 000000000000..374e8f709c0f
--- /dev/null
+++ b/sys-power/hibernate-script/hibernate-script-1.96.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2007 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.96.ebuild,v 1.1 2007/07/17 03:58:38 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="logrotate vim-syntax"
+
+DEPEND="sys-apps/sed"
+RDEPEND="logrotate? ( app-admin/logrotate )"
+
+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
+
+ if use logrotate; then
+ insinto /etc/logrotate.d
+ newins "${S}"/logrotate.d-hibernate-script hibernate-script
+ fi
+}
+
+pkg_postinst() {
+ elog
+ elog "If you run suspend2, you should run the following command to"
+ elog "invalidate suspend 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."
+}