1 |
alonbl 07/09/12 22:54:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hibernate-script-1.96-r1.ebuild |
5 |
Log: |
6 |
Sync some patches from upstream |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.63 sys-power/hibernate-script/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.63&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.63&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?r1=1.62&r2=1.63 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v |
19 |
retrieving revision 1.62 |
20 |
retrieving revision 1.63 |
21 |
diff -u -r1.62 -r1.63 |
22 |
--- ChangeLog 17 Jul 2007 03:58:38 -0000 1.62 |
23 |
+++ ChangeLog 12 Sep 2007 22:54:46 -0000 1.63 |
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.62 2007/07/17 03:58:38 alonbl Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.63 2007/09/12 22:54:46 alonbl Exp $ |
29 |
+ |
30 |
+*hibernate-script-1.96-r1 (12 Sep 2007) |
31 |
+ |
32 |
+ 12 Sep 2007; Alon Bar-Lev <alonbl@g.o> |
33 |
+ +hibernate-script-1.96-r1.ebuild: |
34 |
+ Sync some patches from upstream |
35 |
|
36 |
*hibernate-script-1.96 (17 Jul 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-power/hibernate-script/hibernate-script-1.96-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.96-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.96-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: hibernate-script-1.96-r1.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.96-r1.ebuild,v 1.1 2007/09/12 22:54:46 alonbl Exp $ |
51 |
|
52 |
inherit eutils |
53 |
|
54 |
PATCH_VERSION="2" |
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 "If you run suspend2, you should run the following command to" |
110 |
elog "invalidate suspend 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 |