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