Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/sreadahead: ChangeLog sreadahead-1.0.ebuild
Date: Fri, 27 Mar 2009 12:59:25
Message-Id: E1LnBee-00052v-4a@stork.gentoo.org
1 darkside 09/03/27 12:59:24
2
3 Modified: ChangeLog
4 Added: sreadahead-1.0.ebuild
5 Log:
6 Version bump, with patch from upstream - experimental and may not work yet. bug 257207
7 (Portage version: 2.1.6.9/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 sys-apps/sreadahead/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/sreadahead/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 23 Jan 2009 05:57:56 -0000 1.1
23 +++ ChangeLog 27 Mar 2009 12:59:24 -0000 1.2
24 @@ -1,6 +1,14 @@
25 # ChangeLog for sys-apps/sreadahead
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sreadahead/ChangeLog,v 1.1 2009/01/23 05:57:56 darkside Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sreadahead/ChangeLog,v 1.2 2009/03/27 12:59:24 darkside Exp $
29 +
30 +*sreadahead-1.0 (27 Mar 2009)
31 +
32 + 27 Mar 2009; Jeremy Olexa <darkside@g.o>
33 + +files/0001-kernel-trace-open.patch, +files/sreadahead_iter_ctrl.patch,
34 + +sreadahead-1.0.ebuild:
35 + Version bump, with patch from upstream - experimental and may not work yet.
36 + bug 257207
37
38 *sreadahead-0.04 (23 Jan 2009)
39
40
41
42
43 1.1 sys-apps/sreadahead/sreadahead-1.0.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/sreadahead-1.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/sreadahead-1.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: sreadahead-1.0.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-apps/sreadahead/sreadahead-1.0.ebuild,v 1.1 2009/03/27 12:59:24 darkside Exp $
53
54 inherit eutils
55
56 DESCRIPTION="A readahead implementation optimized for solid state discs"
57 HOMEPAGE="http://code.google.com/p/sreadahead/"
58 SRC_URI="http://sreadahead.googlecode.com/files/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64"
63 IUSE=""
64
65 DEPEND=""
66 RDEPEND=""
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71 epatch "${FILESDIR}/sreadahead_iter_ctrl.patch"
72 }
73
74 src_install() {
75 emake DESTDIR="${D}" install || die "emake install failed"
76 dodoc README "${FILESDIR}/0001-kernel-trace-open.patch" || die
77 newinitd "${FILESDIR}"/sreadahead.rc sreadahead || die
78 }
79
80 pkg_postinst() {
81 elog "Sreadahead requires a kernel built with the trace-open patch,"
82 elog "which can be found in /usr/share/doc/${PF}"
83 elog "If you don't know how to do this, it may be best to stay away from it"
84 elog
85 elog "To add sreadahead to your runlevels:"
86 elog " # rc-update add sreadahead boot"
87 }