From 4759d0ddeed927ac6b95e4d65a51cbd78e4f6c60 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Fri, 2 Feb 2007 16:42:59 +0000 Subject: [PATCH] Revert vbetool modification of this version Package-Manager: portage-2.1.2-r5 --- sys-power/hibernate-script/ChangeLog | 8 +- sys-power/hibernate-script/Manifest | 26 +++---- .../files/digest-hibernate-script-1.94-r4 | 6 ++ .../hibernate-script-1.94-r4.ebuild | 73 +++++++++++++++++++ 4 files changed, 98 insertions(+), 15 deletions(-) create mode 100644 sys-power/hibernate-script/files/digest-hibernate-script-1.94-r4 create mode 100644 sys-power/hibernate-script/hibernate-script-1.94-r4.ebuild diff --git a/sys-power/hibernate-script/ChangeLog b/sys-power/hibernate-script/ChangeLog index 12c816e8cd4f..00a9c18c9e8d 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.45 2007/01/30 15:33:52 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.46 2007/02/02 16:42:59 alonbl Exp $ + +*hibernate-script-1.94-r4 (02 Feb 2007) + + 02 Feb 2007; Alon Bar-Lev + +hibernate-script-1.94-r4.ebuild: + Revert vbetool modification of this version 30 Jan 2007; Andrej Kacian hibernate-script-1.94-r3.ebuild: diff --git a/sys-power/hibernate-script/Manifest b/sys-power/hibernate-script/Manifest index ba4a6c0fcfee..c4af9275d15c 100644 --- a/sys-power/hibernate-script/Manifest +++ b/sys-power/hibernate-script/Manifest @@ -1,9 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST hibernate-script-1.93-patches-0.7.tar.bz2 3069 RMD160 59c2cb44a88be47deaeaed4e6170c0f63b7d2464 SHA1 fd244eb9dada38c46fdf03326f43b2342591337e SHA256 e772a051785ac2b82ff736914169c35569e97e14845d581f446638327760fae6 DIST hibernate-script-1.93.tar.gz 68644 RMD160 bbb59d7ac5c7a26667cb00c5dd32224ad3eb8f01 SHA1 cea3ece2fdbe277c3e1878fd2acb9a728138c5f6 SHA256 8020d653cc09d1724f700e2b28cf5ce83eef3ffd287304141357eef2c22db366 DIST hibernate-script-1.94-patches-4.tar.bz2 2736 RMD160 087e7a241cecc600b76ddd8e142e5a3336d6da35 SHA1 e68879eaea190da19d93917e9fcc6742f418ad33 SHA256 80dd025a8427dea04f894dbaecf8ee113662591d3050b5c7107eee79cd097958 +DIST hibernate-script-1.94-patches-5.tar.bz2 3296 RMD160 a0fd307e462d59dfee0a21144c3f13bcae6bdee7 SHA1 0ef9b887e5eb8fd2d1911a902d5b2869340107af SHA256 0a8c6eff5bcf544dda6c1e3f0d83ad0737e6937366e7482da34b7af3beb0d63c DIST hibernate-script-1.94.tar.gz 72928 RMD160 31d105c08bf183e3bc770543e0ae01678798859b SHA1 ebd6647c5859be9bffe0466f85eeaaeac81101be SHA256 57ad0de0cce263c76303a5c7116550f19aaec540c6743e0b5bcd5d0cb68d2fe2 EBUILD hibernate-script-1.93-r6.ebuild 2046 RMD160 7ce144614e5e5acd01c88fe13f2c1baf0ac9ad24 SHA1 621608f7d6828cec8d3b893cafd95e57bf4cbd1e SHA256 c5efa3cf5f5e199f2228bc9b4260865d3d4d8072d814a32d0c489c64fa863e36 MD5 a38d65b6c6c0efb008796f46588efc49 hibernate-script-1.93-r6.ebuild 2046 @@ -13,10 +11,14 @@ EBUILD hibernate-script-1.94-r3.ebuild 2046 RMD160 bb6f96d31bd3a053cac40d64fd0a7 MD5 6a51aec3dd065765e653d2a1459c1ae3 hibernate-script-1.94-r3.ebuild 2046 RMD160 bb6f96d31bd3a053cac40d64fd0a79f13a1119df hibernate-script-1.94-r3.ebuild 2046 SHA256 fa6bbe8cba950cee9203d69141691c21b3a57bc1ab014385b63c7fc1c5bffe28 hibernate-script-1.94-r3.ebuild 2046 -MISC ChangeLog 11254 RMD160 f9db6676639f814c2320c3761737fa4a1a69321f SHA1 b7f3a2c641ffd52a2df767121e7795d93ee19b13 SHA256 eb526230dce53e6040afc1ac9d2efe95e21a09602f3f4fad3a391bd815628be9 -MD5 81fcda1162f6b22e22c89008a7a01756 ChangeLog 11254 -RMD160 f9db6676639f814c2320c3761737fa4a1a69321f ChangeLog 11254 -SHA256 eb526230dce53e6040afc1ac9d2efe95e21a09602f3f4fad3a391bd815628be9 ChangeLog 11254 +EBUILD hibernate-script-1.94-r4.ebuild 2048 RMD160 8faee43829d151a63c58eacdaf4dee6f586a9227 SHA1 c522c39830c81b00c7385096052241939dd9ddf6 SHA256 8171509a1b2318da27cbdd47e380e28278994030d1eac855fdba570b859cb998 +MD5 514f72c7a45e5729a42f9d30601bc7d4 hibernate-script-1.94-r4.ebuild 2048 +RMD160 8faee43829d151a63c58eacdaf4dee6f586a9227 hibernate-script-1.94-r4.ebuild 2048 +SHA256 8171509a1b2318da27cbdd47e380e28278994030d1eac855fdba570b859cb998 hibernate-script-1.94-r4.ebuild 2048 +MISC ChangeLog 11427 RMD160 a0d2af7d34df39b0fb200b8b794edecf8609868e SHA1 8888e75ecfe9411a465c5758638c2cec1930f9e3 SHA256 28e7dfc927b21f9f75022eec12744f07131b12f00d076184c2a3518f8d2c2196 +MD5 e60f9339fd3d26fc066fea5749d24474 ChangeLog 11427 +RMD160 a0d2af7d34df39b0fb200b8b794edecf8609868e ChangeLog 11427 +SHA256 28e7dfc927b21f9f75022eec12744f07131b12f00d076184c2a3518f8d2c2196 ChangeLog 11427 MISC metadata.xml 252 RMD160 3e6e3c4388b4a067f77b826dbebeefd432fddcbc SHA1 470749f04141ca780f2be602666b266f755e338e SHA256 9a7aee2a060e353cb5db8caa34babf5dca6ee95233a0b52443f4d02e90c35b31 MD5 bc8aba6f9d14b92e55fcc05e22ce4956 metadata.xml 252 RMD160 3e6e3c4388b4a067f77b826dbebeefd432fddcbc metadata.xml 252 @@ -27,10 +29,6 @@ SHA256 88b531327e6071d8c2234f3ed49023068494d0ddbc3817eda6d23160b1bfdb6b files/di MD5 01968d45c79793528d3cef2a1c48bb50 files/digest-hibernate-script-1.94-r3 554 RMD160 c96659fea3452fbf625feadf2b048ee319428700 files/digest-hibernate-script-1.94-r3 554 SHA256 61d8385289ded3c2bea28d93da54c52f90a31a4153f311bd0c4968f02c945a67 files/digest-hibernate-script-1.94-r3 554 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) - -iD8DBQFFv2VrQlM6RnzZP+IRAs9bAJwPXfKg3a920wGC3Oo+7koT6tNiLgCgg7X6 -52flgXWFgyHUtjoc3++hzJ0= -=NUK/ ------END PGP SIGNATURE----- +MD5 c6554ab2e08ab9cf601c819173d53701 files/digest-hibernate-script-1.94-r4 554 +RMD160 ed5710fb4ccb5bda98126db62ea234fe247c68dd files/digest-hibernate-script-1.94-r4 554 +SHA256 98d6c1f9e6a31cc21ec1eaf87e83c6edf47566b66384d209ba0f5fbb06d85874 files/digest-hibernate-script-1.94-r4 554 diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.94-r4 b/sys-power/hibernate-script/files/digest-hibernate-script-1.94-r4 new file mode 100644 index 000000000000..55d7b18d3d9a --- /dev/null +++ b/sys-power/hibernate-script/files/digest-hibernate-script-1.94-r4 @@ -0,0 +1,6 @@ +MD5 e3a14b1203a73bf142527b233b5c07a9 hibernate-script-1.94-patches-5.tar.bz2 3296 +RMD160 a0fd307e462d59dfee0a21144c3f13bcae6bdee7 hibernate-script-1.94-patches-5.tar.bz2 3296 +SHA256 0a8c6eff5bcf544dda6c1e3f0d83ad0737e6937366e7482da34b7af3beb0d63c hibernate-script-1.94-patches-5.tar.bz2 3296 +MD5 f8826d4c96e320902382f29c91694c04 hibernate-script-1.94.tar.gz 72928 +RMD160 31d105c08bf183e3bc770543e0ae01678798859b hibernate-script-1.94.tar.gz 72928 +SHA256 57ad0de0cce263c76303a5c7116550f19aaec540c6743e0b5bcd5d0cb68d2fe2 hibernate-script-1.94.tar.gz 72928 diff --git a/sys-power/hibernate-script/hibernate-script-1.94-r4.ebuild b/sys-power/hibernate-script/hibernate-script-1.94-r4.ebuild new file mode 100644 index 000000000000..d5ce97a542a4 --- /dev/null +++ b/sys-power/hibernate-script/hibernate-script-1.94-r4.ebuild @@ -0,0 +1,73 @@ +# 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.94-r4.ebuild,v 1.1 2007/02/02 16:42:59 alonbl Exp $ + +inherit eutils + +PATCH_VERSION="5" + +DESCRIPTION="Hibernate script supporting multiple suspend methods" +HOMEPAGE="http://www.suspend2.net/" +SRC_URI="http://www.suspend2.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" + +DEPEND="sys-apps/sed" +RDEPEND="logrotate? ( app-admin/logrotate )" + +src_unpack() { + unpack ${A} + cd "${S}" + + rm -f "${S}"/scriptlets.d/swsusp2_15 + epatch "${WORKDIR}"/patches/*.patch +} + +src_install() { + BASE_DIR="${D}" 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; 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 "${S}"/logrotate.d-hibernate-script hibernate-script + fi +} + +pkg_postinst() { + elog + elog "You should run the following command to invalidate" + elog "suspend images on a clean boot." + elog + elog " # rc-update add hibernate-cleanup boot" + elog + elog "See /usr/share/doc/${PF}/README.gz 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." + elog + elog "Starting with hibernate-script-1.90 the configuration files have" + elog "been reordered and split into method specific files. Make sure you" + elog "update your /etc/hibernate/ configuration files accordingly." + elog +} -- 2.26.2