diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-05-10 22:00:40 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-05-10 22:00:40 +0000 |
commit | 97e488a4bfd9d68f988d20b9a135d8a32f806e4b (patch) | |
tree | bf7d40f258eea36e50fde2a1b5735483556f2bbb /sys-power | |
parent | gcrypt initialisation fault. bug #177682 (diff) | |
download | historical-97e488a4bfd9d68f988d20b9a135d8a32f806e4b.tar.gz historical-97e488a4bfd9d68f988d20b9a135d8a32f806e4b.tar.bz2 historical-97e488a4bfd9d68f988d20b9a135d8a32f806e4b.zip |
Fix functions.sh location, bug#177690, thanks to comio and SpanKY
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sys-power')
4 files changed, 101 insertions, 5 deletions
diff --git a/sys-power/hibernate-script/ChangeLog b/sys-power/hibernate-script/ChangeLog index e429cb6628ad..d71f3b260645 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.53 2007/05/04 04:37:01 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.54 2007/05/10 22:00:40 alonbl Exp $ + +*hibernate-script-1.95_beta20070504-r1 (10 May 2007) + + 10 May 2007; Alon Bar-Lev <alonbl@gentoo.org> + +hibernate-script-1.95_beta20070504-r1.ebuild: + Fix functions.sh location, bug#177690, thanks to comio and SpanKY *hibernate-script-1.95_beta20070504 (04 May 2007) diff --git a/sys-power/hibernate-script/Manifest b/sys-power/hibernate-script/Manifest index 3dd9449326be..480331c3cfcc 100644 --- a/sys-power/hibernate-script/Manifest +++ b/sys-power/hibernate-script/Manifest @@ -1,19 +1,24 @@ 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-patches-2.tar.bz2 1539 RMD160 38b0e5d43a88c54cf7fc81910fba7000755acf1d SHA1 697f79771a3726d23d9b973c7b5a19dc883352b4 SHA256 287e8c23f0ff67b40d49c5927a1e71cedd3947899eac0525a6151d1444273fe0 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 +EBUILD hibernate-script-1.95_beta20070504-r1.ebuild 2073 RMD160 0eda44a36044521be6bf18c4bdcd860e8a26d57a SHA1 69035970850c60f2a7efd9dc46835a8ed6e7e1ff SHA256 c8b1ca2ceb219946e73fd16a5ce4590a226fc4be35d3738042aac863aa0d4227 +MD5 7048e6dbeb57c7a39b9ee9bea5f612b6 hibernate-script-1.95_beta20070504-r1.ebuild 2073 +RMD160 0eda44a36044521be6bf18c4bdcd860e8a26d57a hibernate-script-1.95_beta20070504-r1.ebuild 2073 +SHA256 c8b1ca2ceb219946e73fd16a5ce4590a226fc4be35d3738042aac863aa0d4227 hibernate-script-1.95_beta20070504-r1.ebuild 2073 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 ChangeLog 12731 RMD160 dfa295decf4a4001ecf7427153f0978ff2761eed SHA1 ca06d4960e25a5ca565f624d35cbb570af5c4275 SHA256 b83fe38094b2104b176cd3b8ea6b58d4f9ddc202aa8b559fc2e722326646e005 +MD5 a050cbbe4f087b1365ec2c93f03b9266 ChangeLog 12731 +RMD160 dfa295decf4a4001ecf7427153f0978ff2761eed ChangeLog 12731 +SHA256 b83fe38094b2104b176cd3b8ea6b58d4f9ddc202aa8b559fc2e722326646e005 ChangeLog 12731 MISC metadata.xml 252 RMD160 3e6e3c4388b4a067f77b826dbebeefd432fddcbc SHA1 470749f04141ca780f2be602666b266f755e338e SHA256 9a7aee2a060e353cb5db8caa34babf5dca6ee95233a0b52443f4d02e90c35b31 MD5 bc8aba6f9d14b92e55fcc05e22ce4956 metadata.xml 252 RMD160 3e6e3c4388b4a067f77b826dbebeefd432fddcbc metadata.xml 252 @@ -24,3 +29,6 @@ SHA256 f1d8eff3fc5ec2e58550e58ff0fdd515c81c191eefb1c1beccca6904f8b72201 files/di 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 +MD5 4a23c28742f75377e8913cff8bd30098 files/digest-hibernate-script-1.95_beta20070504-r1 632 +RMD160 77135361a5a96fca95b05558f40062b3aed3a5f8 files/digest-hibernate-script-1.95_beta20070504-r1 632 +SHA256 a28c496a14e25f4d2969196cbf30ccc8bcfdf5857c5aa7885a9426f280ddb21a files/digest-hibernate-script-1.95_beta20070504-r1 632 diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.95_beta20070504-r1 b/sys-power/hibernate-script/files/digest-hibernate-script-1.95_beta20070504-r1 new file mode 100644 index 000000000000..3411e1cef935 --- /dev/null +++ b/sys-power/hibernate-script/files/digest-hibernate-script-1.95_beta20070504-r1 @@ -0,0 +1,6 @@ +MD5 7349c434af66cccf04bcf48c980e112e hibernate-script-1.95_beta20070504-patches-2.tar.bz2 1539 +RMD160 38b0e5d43a88c54cf7fc81910fba7000755acf1d hibernate-script-1.95_beta20070504-patches-2.tar.bz2 1539 +SHA256 287e8c23f0ff67b40d49c5927a1e71cedd3947899eac0525a6151d1444273fe0 hibernate-script-1.95_beta20070504-patches-2.tar.bz2 1539 +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-r1.ebuild b/sys-power/hibernate-script/hibernate-script-1.95_beta20070504-r1.ebuild new file mode 100644 index 000000000000..0c94a96e6e70 --- /dev/null +++ b/sys-power/hibernate-script/hibernate-script-1.95_beta20070504-r1.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-r1.ebuild,v 1.1 2007/05/10 22:00:40 alonbl Exp $ + +inherit eutils + +PATCH_VERSION="2" + +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 +} |