From: | "Alon Bar-Lev (alonbl)" <alonbl@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-power/hibernate-script: ChangeLog hibernate-script-1.97.ebuild |
Date: | Sat, 27 Oct 2007 11:28:12 |
Message-Id: | E1Iljpn-0004r7-Qv@stork.gentoo.org |
1 | alonbl 07/10/27 11:28:07 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hibernate-script-1.97.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.3.16) |
8 | |
9 | Revision Changes Path |
10 | 1.64 sys-power/hibernate-script/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.64&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.64&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?r1=1.63&r2=1.64 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v |
19 | retrieving revision 1.63 |
20 | retrieving revision 1.64 |
21 | diff -u -r1.63 -r1.64 |
22 | --- ChangeLog 12 Sep 2007 22:54:46 -0000 1.63 |
23 | +++ ChangeLog 27 Oct 2007 11:28:07 -0000 1.64 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sys-power/hibernate-script |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.63 2007/09/12 22:54:46 alonbl Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.64 2007/10/27 11:28:07 alonbl Exp $ |
29 | + |
30 | +*hibernate-script-1.97 (27 Oct 2007) |
31 | + |
32 | + 27 Oct 2007; Alon Bar-Lev <alonbl@g.o> |
33 | + +hibernate-script-1.97.ebuild: |
34 | + Version bump |
35 | |
36 | *hibernate-script-1.96-r1 (12 Sep 2007) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 sys-power/hibernate-script/hibernate-script-1.97.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.97.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.97.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: hibernate-script-1.97.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2007 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-1.97.ebuild,v 1.1 2007/10/27 11:28:07 alonbl Exp $ |
51 | |
52 | inherit eutils |
53 | |
54 | PATCH_VERSION="1" |
55 | |
56 | DESCRIPTION="Hibernate script supporting multiple suspend methods" |
57 | HOMEPAGE="http://www.tuxonice.net/" |
58 | SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz |
59 | mirror://gentoo/${P}-patches-${PATCH_VERSION}.tar.bz2" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~ppc ~x86" |
64 | |
65 | IUSE="logrotate vim-syntax" |
66 | |
67 | DEPEND="sys-apps/sed" |
68 | RDEPEND="logrotate? ( app-admin/logrotate ) |
69 | !<media-gfx/splashutils-1.5.2" |
70 | |
71 | src_unpack() { |
72 | unpack ${A} |
73 | cd "${S}" |
74 | |
75 | # Our patches |
76 | epatch "${WORKDIR}"/patches/*.patch |
77 | } |
78 | |
79 | src_install() { |
80 | BASE_DIR="${D}" \ |
81 | DISTRIBUTION="gentoo" \ |
82 | PREFIX="/usr" \ |
83 | MAN_DIR="${D}/usr/share/man" \ |
84 | "${S}/install.sh" || die "Install failed" |
85 | |
86 | # hibernate-ram will default to using ram.conf |
87 | dosym /usr/sbin/hibernate /usr/sbin/hibernate-ram |
88 | |
89 | newinitd "${S}"/init.d/hibernate-cleanup.sh hibernate-cleanup |
90 | |
91 | # other ebuilds can install scriplets to this dir |
92 | keepdir /etc/hibernate/scriptlets.d/ |
93 | |
94 | if use vim-syntax; then |
95 | insinto /usr/share/vim/vimfiles/syntax |
96 | doins hibernate.vim |
97 | fi |
98 | |
99 | dodoc CHANGELOG README SCRIPTLET-API hibernate.vim |
100 | |
101 | if use logrotate; then |
102 | insinto /etc/logrotate.d |
103 | newins "${S}"/logrotate.d-hibernate-script hibernate-script |
104 | fi |
105 | } |
106 | |
107 | pkg_postinst() { |
108 | elog |
109 | elog "You should run the following command to invalidate suspend" |
110 | elog "images on a clean boot." |
111 | elog |
112 | elog " # rc-update add hibernate-cleanup boot" |
113 | elog |
114 | elog "See /usr/share/doc/${PF}/README.* for further details." |
115 | elog |
116 | elog "Please note that you will need to manually emerge any utilities" |
117 | elog "(radeontool, vbetool, ...) enabled in the configuration files," |
118 | elog "should you wish to use them." |
119 | } |
120 | |
121 | |
122 | |
123 | -- |
124 | gentoo-commits@g.o mailing list |