1 |
nelchael 09/05/01 22:07:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hibernate-script-2.0-r1.ebuild |
5 |
Removed: hibernate-script-2.0.ebuild |
6 |
Log: |
7 |
Fix init.d script, see bug #265368. |
8 |
(Portage version: 2.1.6.11/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.83 sys-power/hibernate-script/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.83&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.83&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?r1=1.82&r2=1.83 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v |
20 |
retrieving revision 1.82 |
21 |
retrieving revision 1.83 |
22 |
diff -u -r1.82 -r1.83 |
23 |
--- ChangeLog 4 Apr 2009 11:43:03 -0000 1.82 |
24 |
+++ ChangeLog 1 May 2009 22:07:29 -0000 1.83 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-power/hibernate-script |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.82 2009/04/04 11:43:03 nelchael Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.83 2009/05/01 22:07:29 nelchael Exp $ |
30 |
+ |
31 |
+*hibernate-script-2.0-r1 (01 May 2009) |
32 |
+ |
33 |
+ 01 May 2009; Krzysiek Pawlik <nelchael@g.o> |
34 |
+ -hibernate-script-2.0.ebuild, +hibernate-script-2.0-r1.ebuild, |
35 |
+ +files/hibernate-script-2.0-init.d.patch: |
36 |
+ Fix init.d script, see bug #265368. |
37 |
|
38 |
*hibernate-script-2.0 (04 Apr 2009) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-power/hibernate-script/hibernate-script-2.0-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: hibernate-script-2.0-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/hibernate-script-2.0-r1.ebuild,v 1.1 2009/05/01 22:07:29 nelchael Exp $ |
53 |
|
54 |
inherit eutils |
55 |
|
56 |
PATCH_VERSION="1" |
57 |
|
58 |
DESCRIPTION="Hibernate script supporting multiple suspend methods" |
59 |
HOMEPAGE="http://www.tuxonice.net/" |
60 |
SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz |
61 |
mirror://gentoo/${PN}-1.98.1-patches-${PATCH_VERSION}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
|
67 |
IUSE="vim-syntax" |
68 |
|
69 |
DEPEND="" |
70 |
RDEPEND="!<media-gfx/splashutils-1.5.2" |
71 |
|
72 |
src_unpack() { |
73 |
unpack ${A} |
74 |
cd "${S}" |
75 |
|
76 |
epatch "${FILESDIR}/${P}-init.d.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 |
insinto /etc/logrotate.d |
102 |
newins "${S}"/logrotate.d-hibernate-script hibernate-script |
103 |
} |
104 |
|
105 |
pkg_postinst() { |
106 |
elog |
107 |
elog "You should run the following command to invalidate suspend" |
108 |
elog "images on a clean boot." |
109 |
elog |
110 |
elog " # rc-update add hibernate-cleanup boot" |
111 |
elog |
112 |
elog "See /usr/share/doc/${PF}/README.* for further details." |
113 |
elog |
114 |
elog "Please note that you will need to manually emerge any utilities" |
115 |
elog "(radeontool, vbetool, ...) enabled in the configuration files," |
116 |
elog "should you wish to use them." |
117 |
} |