Gentoo Archives: gentoo-commits

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