diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2008-01-26 22:11:49 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2008-01-26 22:11:49 +0000 |
commit | 0e3645c94e9c86084f94db45e64936b2eb8face4 (patch) | |
tree | e558c32307a94fd0d91d57dd3e9f756ba59d0299 /sys-power/hibernate-script | |
parent | Version bump. (diff) | |
download | historical-0e3645c94e9c86084f94db45e64936b2eb8face4.tar.gz historical-0e3645c94e9c86084f94db45e64936b2eb8face4.tar.bz2 historical-0e3645c94e9c86084f94db45e64936b2eb8face4.zip |
Support openrc layout
Package-Manager: portage-2.1.4
Diffstat (limited to 'sys-power/hibernate-script')
-rw-r--r-- | sys-power/hibernate-script/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/hibernate-script/Manifest | 16 | ||||
-rw-r--r-- | sys-power/hibernate-script/files/digest-hibernate-script-1.97-r5 | 6 | ||||
-rw-r--r-- | sys-power/hibernate-script/hibernate-script-1.97-r5.ebuild | 69 |
4 files changed, 94 insertions, 5 deletions
diff --git a/sys-power/hibernate-script/ChangeLog b/sys-power/hibernate-script/ChangeLog index c1933b0ff79d..401bb7d8df9a 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.75 2008/01/07 09:04:40 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.76 2008/01/26 22:11:48 alonbl Exp $ + +*hibernate-script-1.97-r5 (26 Jan 2008) + + 26 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> + +hibernate-script-1.97-r5.ebuild: + Support openrc layout 07 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> -hibernate-script-1.95-r2.ebuild: diff --git a/sys-power/hibernate-script/Manifest b/sys-power/hibernate-script/Manifest index 57e05bd017b0..9d3eb8ce1f17 100644 --- a/sys-power/hibernate-script/Manifest +++ b/sys-power/hibernate-script/Manifest @@ -1,13 +1,18 @@ 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 EBUILD hibernate-script-1.97-r4.ebuild 1792 RMD160 6d8090c3056e4c5615103437354b5d0da28b2474 SHA1 9d8c09c2bb43859c583262553754bec0aaf6f700 SHA256 98ae2e4ddeebfb02d3cfc3205e49a9ac0bc4926b342dc046ffff06aeaa9a71f0 MD5 e1922330da4caf279f9e8102db243c3e hibernate-script-1.97-r4.ebuild 1792 RMD160 6d8090c3056e4c5615103437354b5d0da28b2474 hibernate-script-1.97-r4.ebuild 1792 SHA256 98ae2e4ddeebfb02d3cfc3205e49a9ac0bc4926b342dc046ffff06aeaa9a71f0 hibernate-script-1.97-r4.ebuild 1792 -MISC ChangeLog 16187 RMD160 b2f647c35298e956ff65055c60c25a50d3347f55 SHA1 97694dce330d627573eed3d485920cc73f91908f SHA256 5967dbbd9a24c84bc87e3d1b7c64c84eb7665759a28d52a966245bc6f24950a9 -MD5 2696fa28fbe7505fd0b8a182a7abb040 ChangeLog 16187 -RMD160 b2f647c35298e956ff65055c60c25a50d3347f55 ChangeLog 16187 -SHA256 5967dbbd9a24c84bc87e3d1b7c64c84eb7665759a28d52a966245bc6f24950a9 ChangeLog 16187 +EBUILD hibernate-script-1.97-r5.ebuild 1795 RMD160 712f56bd0f569e5ed9081f0df74306dbb43f21cf SHA1 e82fc0ae27f03a02d7ffbef7ce3d20e564335080 SHA256 92000dac8bcf25acb01dd7551e993a0e1bb9889c31a0df36adeda12262cf92b9 +MD5 78fa382777b07bf61766469a51d3ae74 hibernate-script-1.97-r5.ebuild 1795 +RMD160 712f56bd0f569e5ed9081f0df74306dbb43f21cf hibernate-script-1.97-r5.ebuild 1795 +SHA256 92000dac8bcf25acb01dd7551e993a0e1bb9889c31a0df36adeda12262cf92b9 hibernate-script-1.97-r5.ebuild 1795 +MISC ChangeLog 16337 RMD160 aea4ab6444514975fecfbe4ee914c6b43327d462 SHA1 80095aa3a0686d900e42b1be00bdf5ee30a5af72 SHA256 d7f18cbf0d63eb6a95b1593c0f6e5c16e417d62aa7f0bd5a58a4b10d695a960f +MD5 8547c6daacc4ffce6ac8a1afde9fd9e1 ChangeLog 16337 +RMD160 aea4ab6444514975fecfbe4ee914c6b43327d462 ChangeLog 16337 +SHA256 d7f18cbf0d63eb6a95b1593c0f6e5c16e417d62aa7f0bd5a58a4b10d695a960f ChangeLog 16337 MISC metadata.xml 252 RMD160 3e6e3c4388b4a067f77b826dbebeefd432fddcbc SHA1 470749f04141ca780f2be602666b266f755e338e SHA256 9a7aee2a060e353cb5db8caa34babf5dca6ee95233a0b52443f4d02e90c35b31 MD5 bc8aba6f9d14b92e55fcc05e22ce4956 metadata.xml 252 RMD160 3e6e3c4388b4a067f77b826dbebeefd432fddcbc metadata.xml 252 @@ -15,3 +20,6 @@ SHA256 9a7aee2a060e353cb5db8caa34babf5dca6ee95233a0b52443f4d02e90c35b31 metadata MD5 cc1b6b31c0dcbc6e3999ae3a8f2f1be9 files/digest-hibernate-script-1.97-r4 554 RMD160 b77be5afb1123b9d0f6d2691b85f2bdea072069c files/digest-hibernate-script-1.97-r4 554 SHA256 f9d96339dec741f342204f391a3384d5feede8b85429b003853c9a74fc13e64e files/digest-hibernate-script-1.97-r4 554 +MD5 4f5f9a18fef2752661a1845dc4147fb9 files/digest-hibernate-script-1.97-r5 554 +RMD160 24d52081213303bfb9a41df2bcda0a99f6556a2a files/digest-hibernate-script-1.97-r5 554 +SHA256 f455516868d7d5194485002b018eb9d4e6c454fde9f75e91c0f1b64964242fe3 files/digest-hibernate-script-1.97-r5 554 diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.97-r5 b/sys-power/hibernate-script/files/digest-hibernate-script-1.97-r5 new file mode 100644 index 000000000000..662b6df4c21e --- /dev/null +++ b/sys-power/hibernate-script/files/digest-hibernate-script-1.97-r5 @@ -0,0 +1,6 @@ +MD5 ea972084e9674ec06b4414c205885ebc hibernate-script-1.97-patches-6.tar.bz2 3917 +RMD160 046398338047e8764fb9a90ecd6f1b966b8e564e hibernate-script-1.97-patches-6.tar.bz2 3917 +SHA256 b639c72f9a3d3d25c9ed08bf76e8fed9f7cc69ee1c1e3f743b728cd4baffe784 hibernate-script-1.97-patches-6.tar.bz2 3917 +MD5 c3551238a2fe8bbe7b0e20322d8e02a5 hibernate-script-1.97.tar.gz 81504 +RMD160 6346a098f0892e6cffd547b0b7d042a51f298bb2 hibernate-script-1.97.tar.gz 81504 +SHA256 8374bedc80206a6708c10d9814b92bebed3d9e4966c01c2d086e9e5b5646827c hibernate-script-1.97.tar.gz 81504 diff --git a/sys-power/hibernate-script/hibernate-script-1.97-r5.ebuild b/sys-power/hibernate-script/hibernate-script-1.97-r5.ebuild new file mode 100644 index 000000000000..1b10e15e3ef3 --- /dev/null +++ b/sys-power/hibernate-script/hibernate-script-1.97-r5.ebuild @@ -0,0 +1,69 @@ +# 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." +} |