1 |
darkside 08/10/28 02:02:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: preload-0.6.3-r5.ebuild |
5 |
Removed: preload-0.6.3-r4.ebuild |
6 |
Log: |
7 |
sys-app/preload - fix init script (see ChangeLog for details) |
8 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-git6 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 sys-apps/preload/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/ChangeLog?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/ChangeLog?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/ChangeLog?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/preload/ChangeLog,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- ChangeLog 24 Oct 2008 01:38:43 -0000 1.6 |
24 |
+++ ChangeLog 28 Oct 2008 02:02:14 -0000 1.7 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for sys-apps/preload |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/ChangeLog,v 1.6 2008/10/24 01:38:43 darkside Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/ChangeLog,v 1.7 2008/10/28 02:02:14 darkside Exp $ |
30 |
+ |
31 |
+*preload-0.6.3-r5 (28 Oct 2008) |
32 |
+ |
33 |
+ 28 Oct 2008; Jeremy Olexa <darkside@g.o> files/conf.d-preload, |
34 |
+ files/init.d-preload, -preload-0.6.3-r4.ebuild, +preload-0.6.3-r5.ebuild: |
35 |
+ sys-apps/preload - final init script fixing to capture the pid properly as |
36 |
+ reported in bug #243832 (thanks for the help Kai). Version bump so people |
37 |
+ get a working (so I think) init script. Removing bashisms, as reported in |
38 |
+ bug #244491 is also fixed with this commit (thanks to Davide Pesavento). |
39 |
+ Hey, 2 bugs in one! |
40 |
|
41 |
*preload-0.6.3-r4 (24 Oct 2008) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 sys-apps/preload/preload-0.6.3-r5.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/preload-0.6.3-r5.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/preload-0.6.3-r5.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: preload-0.6.3-r5.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/preload-0.6.3-r5.ebuild,v 1.1 2008/10/28 02:02:14 darkside Exp $ |
56 |
|
57 |
inherit eutils |
58 |
|
59 |
DESCRIPTION="Adaptive readahead daemon." |
60 |
HOMEPAGE="http://sourceforge.net/projects/preload" |
61 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="vanilla" |
67 |
|
68 |
RDEPEND="dev-libs/glib" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-util/pkgconfig" |
71 |
|
72 |
src_unpack() { |
73 |
unpack ${A} |
74 |
cd "${S}" |
75 |
# Patch to add /opt & /lib32 to allowed files to preload. Submitted |
76 |
# upstream, bug #242580 |
77 |
epatch "${FILESDIR}/${P}-conf.patch" |
78 |
epatch "${FILESDIR}/${P}-nice-segfault.patch" |
79 |
use vanilla || epatch "${FILESDIR}/${P}-forking-children.patch" |
80 |
use vanilla || epatch "${FILESDIR}/${P}-overlapping-io-bursts.patch" |
81 |
} |
82 |
|
83 |
src_compile() { |
84 |
econf --localstatedir=/var |
85 |
emake -j1 || die "emake failed" |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
emake DESTDIR="${D}" install || die "install failed" |
90 |
rm -rf "${D}/etc/rc.d/" || die "rm rc.d failed" |
91 |
rm -rf "${D}/etc/sysconfig/" || die "rm sysconfig failed" |
92 |
rm -f "${D}/var/lib/preload/preload.state" || die "cleanup1 failed" |
93 |
rm -f "${D}/var/log/preload.log" || die "cleanup2 failed" |
94 |
keepdir /var/lib/preload |
95 |
keepdir /var/log |
96 |
newinitd "${FILESDIR}/init.d-preload" preload || die "initd failed" |
97 |
newconfd "${FILESDIR}/conf.d-preload" preload || die "confd failed" |
98 |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO |
99 |
} |
100 |
|
101 |
pkg_postinst() { |
102 |
elog "To start preload at boot, remember to add it to a runlevel:" |
103 |
elog "# rc-update add preload default" |
104 |
} |