From: | "Krzysiek Pawlik (nelchael)" <nelchael@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-power/hibernate-script: hibernate-script-2.0.ebuild ChangeLog |
Date: | Sat, 04 Apr 2009 11:43:05 |
Message-Id: | E1Lq4H9-00037P-FF@stork.gentoo.org |
1 | nelchael 09/04/04 11:43:03 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hibernate-script-2.0.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.6.11/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.82 sys-power/hibernate-script/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.82&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.82&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?r1=1.81&r2=1.82 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v |
19 | retrieving revision 1.81 |
20 | retrieving revision 1.82 |
21 | diff -u -r1.81 -r1.82 |
22 | --- ChangeLog 2 Feb 2009 23:51:21 -0000 1.81 |
23 | +++ ChangeLog 4 Apr 2009 11:43:03 -0000 1.82 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sys-power/hibernate-script |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.81 2009/02/02 23:51:21 nelchael Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.82 2009/04/04 11:43:03 nelchael Exp $ |
29 | + |
30 | +*hibernate-script-2.0 (04 Apr 2009) |
31 | + |
32 | + 04 Apr 2009; Krzysiek Pawlik <nelchael@g.o> |
33 | + +hibernate-script-2.0.ebuild: |
34 | + Version bump. |
35 | |
36 | 02 Feb 2009; Krzysiek Pawlik <nelchael@g.o> ChangeLog: |
37 | Fix ChangeLog entries. |
38 | |
39 | |
40 | |
41 | 1.1 sys-power/hibernate-script/hibernate-script-2.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: hibernate-script-2.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0.ebuild,v 1.1 2009/04/04 11:43:03 nelchael Exp $ |
51 | |
52 | PATCH_VERSION="1" |
53 | |
54 | DESCRIPTION="Hibernate script supporting multiple suspend methods" |
55 | HOMEPAGE="http://www.tuxonice.net/" |
56 | SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz |
57 | mirror://gentoo/${PN}-1.98.1-patches-${PATCH_VERSION}.tar.bz2" |
58 | |
59 | LICENSE="GPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~ppc ~x86" |
62 | |
63 | IUSE="vim-syntax" |
64 | |
65 | DEPEND="" |
66 | RDEPEND="!<media-gfx/splashutils-1.5.2" |
67 | |
68 | src_install() { |
69 | BASE_DIR="${D}" \ |
70 | DISTRIBUTION="gentoo" \ |
71 | PREFIX="/usr" \ |
72 | MAN_DIR="${D}/usr/share/man" \ |
73 | "${S}/install.sh" || die "Install failed" |
74 | |
75 | # hibernate-ram will default to using ram.conf |
76 | dosym /usr/sbin/hibernate /usr/sbin/hibernate-ram |
77 | |
78 | newinitd "${S}"/init.d/hibernate-cleanup.sh hibernate-cleanup |
79 | |
80 | # other ebuilds can install scriplets to this dir |
81 | keepdir /etc/hibernate/scriptlets.d/ |
82 | |
83 | if use vim-syntax; then |
84 | insinto /usr/share/vim/vimfiles/syntax |
85 | doins hibernate.vim |
86 | fi |
87 | |
88 | dodoc CHANGELOG README SCRIPTLET-API hibernate.vim |
89 | |
90 | insinto /etc/logrotate.d |
91 | newins "${S}"/logrotate.d-hibernate-script hibernate-script |
92 | } |
93 | |
94 | pkg_postinst() { |
95 | elog |
96 | elog "You should run the following command to invalidate suspend" |
97 | elog "images on a clean boot." |
98 | elog |
99 | elog " # rc-update add hibernate-cleanup boot" |
100 | elog |
101 | elog "See /usr/share/doc/${PF}/README.* for further details." |
102 | elog |
103 | elog "Please note that you will need to manually emerge any utilities" |
104 | elog "(radeontool, vbetool, ...) enabled in the configuration files," |
105 | elog "should you wish to use them." |
106 | } |