diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-05-19 18:44:38 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-05-19 18:44:38 +0000 |
commit | a9fabe2a8048c5c234d7eda7b12998c05077b62c (patch) | |
tree | 5a4bbd8770c210ebb4cc28f161690801a360e1bd /sys-power/hibernate-script | |
parent | Stable on amd64 wrt bug 177753 (diff) | |
download | historical-a9fabe2a8048c5c234d7eda7b12998c05077b62c.tar.gz historical-a9fabe2a8048c5c234d7eda7b12998c05077b62c.tar.bz2 historical-a9fabe2a8048c5c234d7eda7b12998c05077b62c.zip |
Handle vim syntax correctly, bug#179123, thanks to Pietro Franchi
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sys-power/hibernate-script')
-rw-r--r-- | sys-power/hibernate-script/Manifest | 7 | ||||
-rw-r--r-- | sys-power/hibernate-script/files/digest-hibernate-script-1.95-r1 | 6 | ||||
-rw-r--r-- | sys-power/hibernate-script/hibernate-script-1.95-r1.ebuild | 76 |
3 files changed, 89 insertions, 0 deletions
diff --git a/sys-power/hibernate-script/Manifest b/sys-power/hibernate-script/Manifest index 043411e98ce4..143e09b8a57d 100644 --- a/sys-power/hibernate-script/Manifest +++ b/sys-power/hibernate-script/Manifest @@ -6,6 +6,10 @@ EBUILD hibernate-script-1.94-r5.ebuild 2020 RMD160 4fdc84dd228c386e291023d5bb1df 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-r1.ebuild 2081 RMD160 3ff3b9b98b735949103bee7d11db4d80b8ab7393 SHA1 6729933acfce317f8afaaca8d56698fdd653d38f SHA256 749e50b29e9abddb2d477113c7b1458bf090ef31d9b90e1f7ac563990ef2fc27 +MD5 b36191d4cc3fa701cac1ea5f5f11e447 hibernate-script-1.95-r1.ebuild 2081 +RMD160 3ff3b9b98b735949103bee7d11db4d80b8ab7393 hibernate-script-1.95-r1.ebuild 2081 +SHA256 749e50b29e9abddb2d477113c7b1458bf090ef31d9b90e1f7ac563990ef2fc27 hibernate-script-1.95-r1.ebuild 2081 EBUILD hibernate-script-1.95.ebuild 2057 RMD160 1429fdaf5fc9470091a89b9aea53505f85ea2c00 SHA1 f92bee37edce15f908502090b4e0764a25b4ae19 SHA256 19f93ebf7183dbc640b00ee7b143a571526735493146e6fc57dee0313d10e62b MD5 d26c3e64f4ab2e711fec8b7335287fe1 hibernate-script-1.95.ebuild 2057 RMD160 1429fdaf5fc9470091a89b9aea53505f85ea2c00 hibernate-script-1.95.ebuild 2057 @@ -24,3 +28,6 @@ SHA256 f1d8eff3fc5ec2e58550e58ff0fdd515c81c191eefb1c1beccca6904f8b72201 files/di MD5 a981eb50fc6ea477759c8f22998ab91f files/digest-hibernate-script-1.95 554 RMD160 f3ee59ea742354ca2686c7fa37dcab5b665390cd files/digest-hibernate-script-1.95 554 SHA256 2f12fab85f0702f3af4052515a6d1c0e254f0f154390ac76b52d27d740136ad4 files/digest-hibernate-script-1.95 554 +MD5 a981eb50fc6ea477759c8f22998ab91f files/digest-hibernate-script-1.95-r1 554 +RMD160 f3ee59ea742354ca2686c7fa37dcab5b665390cd files/digest-hibernate-script-1.95-r1 554 +SHA256 2f12fab85f0702f3af4052515a6d1c0e254f0f154390ac76b52d27d740136ad4 files/digest-hibernate-script-1.95-r1 554 diff --git a/sys-power/hibernate-script/files/digest-hibernate-script-1.95-r1 b/sys-power/hibernate-script/files/digest-hibernate-script-1.95-r1 new file mode 100644 index 000000000000..d538ac93172e --- /dev/null +++ b/sys-power/hibernate-script/files/digest-hibernate-script-1.95-r1 @@ -0,0 +1,6 @@ +MD5 55898e9265e077467eaad99599a47e5a hibernate-script-1.95-patches-1.tar.bz2 1374 +RMD160 23d3035090df8331175165eae69e7fae1e742ae9 hibernate-script-1.95-patches-1.tar.bz2 1374 +SHA256 5f5996c2b8bab58e1b26eb4c56e1d392fbf2509c6e2b9b523e644d68664188fb hibernate-script-1.95-patches-1.tar.bz2 1374 +MD5 026a7a8992da4fe56fb19530df998806 hibernate-script-1.95.tar.gz 74954 +RMD160 032cb97c355248640107e779f99ad5a86fb74846 hibernate-script-1.95.tar.gz 74954 +SHA256 e0c73cd1c3af2c0f409dba07e6fbd86c23150cfe77c4f9286ce239aedbe0a123 hibernate-script-1.95.tar.gz 74954 diff --git a/sys-power/hibernate-script/hibernate-script-1.95-r1.ebuild b/sys-power/hibernate-script/hibernate-script-1.95-r1.ebuild new file mode 100644 index 000000000000..9f6f2afd390f --- /dev/null +++ b/sys-power/hibernate-script/hibernate-script-1.95-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-r1.ebuild,v 1.1 2007/05/19 18:44:38 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-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 "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 +} |