diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-05-04 04:37:01 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-05-04 04:37:01 +0000 |
commit | 176f72b683a46e1e0b9cb13bba9cfac5a5f4fce9 (patch) | |
tree | 9afb59bd92f0c2e1609e87ecec03dcda10452f3b /sys-power | |
parent | Cleanup (diff) | |
download | historical-176f72b683a46e1e0b9cb13bba9cfac5a5f4fce9.tar.gz historical-176f72b683a46e1e0b9cb13bba9cfac5a5f4fce9.tar.bz2 historical-176f72b683a46e1e0b9cb13bba9cfac5a5f4fce9.zip |
Snapshot, all our patches applied and there is a better support for suspend2 as modules
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'sys-power')
4 files changed, 103 insertions, 5 deletions
diff --git a/sys-power/hibernate-script/ChangeLog b/sys-power/hibernate-script/ChangeLog index c0bd0f6de9a1..e429cb6628ad 100644 --- a/sys-power/hibernate-script/ChangeLog +++ b/sys-power/hibernate-script/ChangeLog @@ -1,6 +1,13 @@ # 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.52 2007/04/09 05:09:32 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.53 2007/05/04 04:37:01 alonbl Exp $ + +*hibernate-script-1.95_beta20070504 (04 May 2007) + + 04 May 2007; Alon Bar-Lev <alonbl@gentoo.org> + +hibernate-script-1.95_beta20070504.ebuild: + Snapshot, all our patches applied and there is a better support for suspend2 + as modules 09 Apr 2007; Peter Weller <welp@gentoo.org> hibernate-script-1.94-r5.ebuild: diff --git a/sys-power/hibernate-script/Manifest b/sys-power/hibernate-script/Manifest index 1bfee8628966..3dd9449326be 100644 --- a/sys-power/hibernate-script/Manifest +++ b/sys-power/hibernate-script/Manifest @@ -1,13 +1,19 @@ DIST hibernate-script-1.94-patches-6.tar.bz2 3100 RMD160 d723c9eea1fe677f0ed20e38f6900f0ba1d23e26 SHA1 1ace35c29d3a13d10890762e012786cbea972235 SHA256 9756f80f962c444728c849e50aba96848f0ad6fea62a57f7b55de4b6f196b25a DIST hibernate-script-1.94.tar.gz 72928 RMD160 31d105c08bf183e3bc770543e0ae01678798859b SHA1 ebd6647c5859be9bffe0466f85eeaaeac81101be SHA256 57ad0de0cce263c76303a5c7116550f19aaec540c6743e0b5bcd5d0cb68d2fe2 +DIST hibernate-script-1.95_beta20070504-patches-1.tar.bz2 1220 RMD160 18c273d4e692d06a3c8e5f1107ad35d3dee26eac SHA1 dbe977465f3727e670aa0d91111733fd5757d27b SHA256 dd3afe794a9945f8b46596dbf435210224fb9bdb78a500e94dd816aba3b9cbfc +DIST hibernate-script-1.95_beta20070504.tar.gz 74733 RMD160 b552ad412a7846bc52599ee5f2797cb2203ded31 SHA1 3075848387e7243ced49bf2d551dae5c3a76dcf7 SHA256 cb4d4e42b7c2d349c13e559fe1e785547eab0089dfcabf03a6926ff6bbc4595c EBUILD hibernate-script-1.94-r5.ebuild 2020 RMD160 4fdc84dd228c386e291023d5bb1dff3a854490c3 SHA1 034c0400539b0484be6e28c6851cfc68241372b0 SHA256 053c8c75eded6be2033be0ba5a3cf19a0636fcf84aedc9fb4158b125ea92aaf9 MD5 65b42a45f8ea2f6d7fa4da06720c2560 hibernate-script-1.94-r5.ebuild 2020 RMD160 4fdc84dd228c386e291023d5bb1dff3a854490c3 hibernate-script-1.94-r5.ebuild 2020 SHA256 053c8c75eded6be2033be0ba5a3cf19a0636fcf84aedc9fb4158b125ea92aaf9 hibernate-script-1.94-r5.ebuild 2020 -MISC ChangeLog 12271 RMD160 88938f5247a880ffea1efcccd87acd11fd1c08e4 SHA1 b57d48c75b1bef439851ccf3188784f4a0448840 SHA256 b5a4faf7c03f9cd5a06b1febe8f218646ba79dcad8ee4dd57e8e781262b76b97 -MD5 d08fffcecc3bc7e9b8fceee1e5e2a06d ChangeLog 12271 -RMD160 88938f5247a880ffea1efcccd87acd11fd1c08e4 ChangeLog 12271 -SHA256 b5a4faf7c03f9cd5a06b1febe8f218646ba79dcad8ee4dd57e8e781262b76b97 ChangeLog 12271 +EBUILD hibernate-script-1.95_beta20070504.ebuild 2070 RMD160 5593880ca4e354d2cda1bb265423605ce453934c SHA1 f4578ba9653299da609cdf9204a32246996a688a SHA256 f97f385f19a6f341da61bfef866e338ac6f5fbe511c65ee7b5d3ac2ae6cb72de +MD5 d118d280fdd171be5574d107e6bf0142 hibernate-script-1.95_beta20070504.ebuild 2070 +RMD160 5593880ca4e354d2cda1bb265423605ce453934c hibernate-script-1.95_beta20070504.ebuild 2070 +SHA256 f97f385f19a6f341da61bfef866e338ac6f5fbe511c65ee7b5d3ac2ae6cb72de hibernate-script-1.95_beta20070504.ebuild 2070 +MISC ChangeLog 12511 RMD160 3c7714f65818eab491a3efa3852e2cc8d08ecc91 SHA1 7317deff53839b68b1439d262ab5334d3f71b639 SHA256 4baf149dd8868d84ff9b892c34e139bfff96dfcd9c55e4e77ffc602237a280cd +MD5 bf5f1e1204579cd13065fd2e31be6b42 ChangeLog 12511 +RMD160 3c7714f65818eab491a3efa3852e2cc8d08ecc91 ChangeLog 12511 +SHA256 4baf149dd8868d84ff9b892c34e139bfff96dfcd9c55e4e77ffc602237a280cd ChangeLog 12511 MISC metadata.xml 252 RMD160 3e6e3c4388b4a067f77b826dbebeefd432fddcbc SHA1 470749f04141ca780f2be602666b266f755e338e SHA256 9a7aee2a060e353cb5db8caa34babf5dca6ee95233a0b52443f4d02e90c35b31 MD5 bc8aba6f9d14b92e55fcc05e22ce4956 metadata.xml 252 RMD160 3e6e3c4388b4a067f77b826dbebeefd432fddcbc metadata.xml 252 @@ -15,3 +21,6 @@ SHA256 9a7aee2a060e353cb5db8caa34babf5dca6ee95233a0b52443f4d02e90c35b31 metadata MD5 caab54b04a1de176b6afc04d6004e8c5 files/digest-hibernate-script-1.94-r5 554 RMD160 037899e5f70c77ef10175c11c73926de583766b6 files/digest-hibernate-script-1.94-r5 554 SHA256 f1d8eff3fc5ec2e58550e58ff0fdd515c81c191eefb1c1beccca6904f8b72201 files/digest-hibernate-script-1.94-r5 554 +MD5 a58060ec9adbedb5158547f17babec3e files/digest-hibernate-script-1.95_beta20070504 632 +RMD160 548e35d7115cc30b092ecda99a591127ed861815 files/digest-hibernate-script-1.95_beta20070504 632 +SHA256 052946ebcdb911cf1c777602eb7d5ba63e3dde11960f15bce37ff65961427be8 files/digest-hibernate-script-1.95_beta20070504 632 diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.95_beta20070504 b/sys-power/hibernate-script/files/digest-hibernate-script-1.95_beta20070504 new file mode 100644 index 000000000000..3fabba3ec966 --- /dev/null +++ b/sys-power/hibernate-script/files/digest-hibernate-script-1.95_beta20070504 @@ -0,0 +1,6 @@ +MD5 d276f316cb18f35c8275de8abedcbb3b hibernate-script-1.95_beta20070504-patches-1.tar.bz2 1220 +RMD160 18c273d4e692d06a3c8e5f1107ad35d3dee26eac hibernate-script-1.95_beta20070504-patches-1.tar.bz2 1220 +SHA256 dd3afe794a9945f8b46596dbf435210224fb9bdb78a500e94dd816aba3b9cbfc hibernate-script-1.95_beta20070504-patches-1.tar.bz2 1220 +MD5 025a661a95aba9f0ca678907dcb5dde2 hibernate-script-1.95_beta20070504.tar.gz 74733 +RMD160 b552ad412a7846bc52599ee5f2797cb2203ded31 hibernate-script-1.95_beta20070504.tar.gz 74733 +SHA256 cb4d4e42b7c2d349c13e559fe1e785547eab0089dfcabf03a6926ff6bbc4595c hibernate-script-1.95_beta20070504.tar.gz 74733 diff --git a/sys-power/hibernate-script/hibernate-script-1.95_beta20070504.ebuild b/sys-power/hibernate-script/hibernate-script-1.95_beta20070504.ebuild new file mode 100644 index 000000000000..400499e074a1 --- /dev/null +++ b/sys-power/hibernate-script/hibernate-script-1.95_beta20070504.ebuild @@ -0,0 +1,76 @@ +# 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.95_beta20070504.ebuild,v 1.1 2007/05/04 04:37:01 alonbl Exp $ + +inherit eutils + +PATCH_VERSION="1" + +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}" + + # 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; 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.* 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 +} |