diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2011-02-06 18:23:45 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2011-02-06 18:23:45 +0000 |
commit | 9769b49e744028dcf4fdd5a0ef3a57f8b2c27c40 (patch) | |
tree | 027f21782d2a72dd8331091f9f32933cfeafffd6 /sys-power/hibernate-script | |
parent | Version bump. (diff) | |
download | historical-9769b49e744028dcf4fdd5a0ef3a57f8b2c27c40.tar.gz historical-9769b49e744028dcf4fdd5a0ef3a57f8b2c27c40.tar.bz2 historical-9769b49e744028dcf4fdd5a0ef3a57f8b2c27c40.zip |
Fix permissions on installed files, see bug #353022.
Package-Manager: portage-2.1.9.36/cvs/Linux x86_64
Diffstat (limited to 'sys-power/hibernate-script')
-rw-r--r-- | sys-power/hibernate-script/ChangeLog | 10 | ||||
-rw-r--r-- | sys-power/hibernate-script/Manifest | 19 | ||||
-rw-r--r-- | sys-power/hibernate-script/hibernate-script-2.0-r3.ebuild | 73 |
3 files changed, 91 insertions, 11 deletions
diff --git a/sys-power/hibernate-script/ChangeLog b/sys-power/hibernate-script/ChangeLog index cd710a6baa61..ea1d57f10301 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.88 2010/04/18 12:39:27 nelchael Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.89 2011/02/06 18:23:45 nelchael Exp $ + +*hibernate-script-2.0-r3 (06 Feb 2011) + + 06 Feb 2011; Krzysztof Pawlik <nelchael@gentoo.org> + +hibernate-script-2.0-r3.ebuild: + Fix permissions on installed files, see bug #353022. *hibernate-script-2.0-r2 (18 Apr 2010) diff --git a/sys-power/hibernate-script/Manifest b/sys-power/hibernate-script/Manifest index d04280763287..bbf310d35461 100644 --- a/sys-power/hibernate-script/Manifest +++ b/sys-power/hibernate-script/Manifest @@ -10,16 +10,17 @@ DIST hibernate-script-2.0.tar.gz 84453 RMD160 b2fe73429ace04225519b08f5ff7e029ad EBUILD hibernate-script-1.97-r4.ebuild 1792 RMD160 6d8090c3056e4c5615103437354b5d0da28b2474 SHA1 9d8c09c2bb43859c583262553754bec0aaf6f700 SHA256 98ae2e4ddeebfb02d3cfc3205e49a9ac0bc4926b342dc046ffff06aeaa9a71f0 EBUILD hibernate-script-2.0-r1.ebuild 1785 RMD160 7a3776d0bf269b0a7ff476f7145c1b38a938335e SHA1 8b9958b85c4f10a381bb775b426b737ae4a06fa1 SHA256 19b2f9045867b2814e3c8641273261e8002a2550cd2beba0ee1df4685450b765 EBUILD hibernate-script-2.0-r2.ebuild 1763 RMD160 490875668114649a672709beea994a79917a9c3b SHA1 a77a9e3eb672ca1d9d1a8b742bf42af3b8bcac5c SHA256 3c21034302cb2bbb205544121afd305d01a34a5e30c378c4a31dedbf820c90ea -MISC ChangeLog 18319 RMD160 d1f8a934cab375f0b018f53eee9b1d55fc219f3a SHA1 75921cbcc2a75b7e9174bae2f5656ee0149a2d1e SHA256 ec7dc75e349ac85cd974b2e798469ddad8d7eb15b3b31a8694b47a886b1701fa +EBUILD hibernate-script-2.0-r3.ebuild 1969 RMD160 13458b4b8f10a519c24b58d15046897712e62309 SHA1 931c7599a32ae871de55547c5107ac30e3bd36c6 SHA256 c5400ef42ae631bd9164b1a04f5c38541c79c77de36ea6763f3c6ac24cbd3fe3 +MISC ChangeLog 18504 RMD160 bc3f57201cfffe73338feb366f1ab4bd88fb45a7 SHA1 7627f535a7ef1c5b2333d2cf3f5d70ada487f417 SHA256 51219763209f1ccc43faf32d1be2f9d56c473f99767032e5d95eaff7a176f5a7 MISC metadata.xml 258 RMD160 98a955a907256f7ea5a33824475b320541593328 SHA1 f9e045d6aa0d2605ef9e5c8f1f2b18f428c409f6 SHA256 b9901c079a791a92600b71c1f1da36faf02c461d93b41d0e72d45b5550cea155 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iQEcBAEBAgAGBQJLyv2EAAoJEBZyv1r2qA5G+ygH/1IFCcEXrclXhfK5NlhZBVDc -/bMlDTGrMG5f0qdSCWdWuldiEoKGVaxyNNbOWuSlP8FynI4XyYOGoM7UxE6e6QR7 -QshKvsl1i2/pt9W2jNxDES/ikFyphPtyjGHSmFKNpvxOvD0LW2p4pGIILMNi/jDQ -myYKyQux/NmRk7hAGHu+4oj4tKFkQb2eL+pzEsJKSU2IUk9nTypkUIdS+ZE43ItD -DOmoFRFxJzmqpdNYfLaZbVAw08xCh9D4Kp1J0H+ou2nlcYxqigyRhHPKJt0xWoe5 -KgaACfJJGI8OBKNUHrike6XDiY28nOXdxXHNHjyt5n9BoRrXleaei6/2QdHyvpM= -=YX+p +iQEcBAEBAgAGBQJNTuc3AAoJEBZyv1r2qA5Gd4MH/2qr81zmRGX/Jv+0luFiuklD +H7C7Zw/yiGRq+5NIVOxl0g4FQOT3Tz2I5pCDJcCtwK0Dfz0di31IdNvGH04JH8BF +9ynaRNZm6I9uLfbQUg1oEBXcK3rn8o4GB5ZlQpYySu22ZKb9X0WZBJ5K89T7Hvx1 +4vTPAMXRbcsNpGzA+wvQNeILvz3ghVizWT40c/M4PAljsBXnbPIPUtd7GGJzfAoP +YCKVEoACMsmDOupXzDGAwBNm3Gm26hWA/Uqd6o31oODSG1L+ZaE38oKeoV/oLmB+ +2bpq628/id6YRfV9q7ppAv/wJTDwsexW31RHi+y54W+y/FowTvVkbykfFpTI/Sc= +=DEvI -----END PGP SIGNATURE----- diff --git a/sys-power/hibernate-script/hibernate-script-2.0-r3.ebuild b/sys-power/hibernate-script/hibernate-script-2.0-r3.ebuild new file mode 100644 index 000000000000..3e206091f511 --- /dev/null +++ b/sys-power/hibernate-script/hibernate-script-2.0-r3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0-r3.ebuild,v 1.1 2011/02/06 18:23:45 nelchael Exp $ + +EAPI=2 + +inherit eutils + +PATCH_VERSION="1" + +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_prepare() { + epatch "${WORKDIR}/${PV}/"*.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 + chmod 644 \ + "${D}/etc/hibernate/"*.conf \ + "${D}/etc/hibernate/blacklisted-modules" \ + "${D}/usr/share/hibernate/scriptlets.d/"* \ + "${D}/usr/share/hibernate/tuxonice-binary-signature.bin" \ + || die +} + +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." +} |