1 |
dev-zero 10/04/05 06:14:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ctdb-1.0.114_p1.ebuild |
5 |
Log: |
6 |
Version bump (needed for samba-3.5.x, one patch not needed anymore, other patch ported), fixed tests (bug #278141). |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.12 dev-db/ctdb/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ctdb/ChangeLog?rev=1.12&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ctdb/ChangeLog?rev=1.12&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ctdb/ChangeLog?r1=1.11&r2=1.12 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/ctdb/ChangeLog,v |
19 |
retrieving revision 1.11 |
20 |
retrieving revision 1.12 |
21 |
diff -u -r1.11 -r1.12 |
22 |
--- ChangeLog 30 Nov 2009 16:02:46 -0000 1.11 |
23 |
+++ ChangeLog 5 Apr 2010 06:14:52 -0000 1.12 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-db/ctdb |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/ctdb/ChangeLog,v 1.11 2009/11/30 16:02:46 armin76 Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/ctdb/ChangeLog,v 1.12 2010/04/05 06:14:52 dev-zero Exp $ |
30 |
+ |
31 |
+*ctdb-1.0.114_p1 (05 Apr 2010) |
32 |
+ |
33 |
+ 05 Apr 2010; Tiziano Müller <dev-zero@g.o> |
34 |
+ +ctdb-1.0.114_p1.ebuild, +files/ctdb-1.0.114_p1-functions.patch: |
35 |
+ Version bump (needed for samba-3.5.x, one patch not needed anymore, other |
36 |
+ patch ported), fixed tests (bug #278141). |
37 |
|
38 |
30 Nov 2009; Raúl Porcel <armin76@g.o> ctdb-1.0.88.ebuild: |
39 |
Add ~arm/~ia64/~s390/~sh/~sparc wrt #285952 |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-db/ctdb/ctdb-1.0.114_p1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ctdb/ctdb-1.0.114_p1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ctdb/ctdb-1.0.114_p1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: ctdb-1.0.114_p1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/ctdb/ctdb-1.0.114_p1.ebuild,v 1.1 2010/04/05 06:14:52 dev-zero Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit autotools rpm |
57 |
|
58 |
DESCRIPTION="A cluster implementation of the TDB database used by Samba and other projects to store temporary data." |
59 |
HOMEPAGE="http://ctdb.samba.org/" |
60 |
SRC_URI="http://ctdb.samba.org/packages/redhat/RHEL5/${P/_p/-}.src.rpm |
61 |
http://ctdb.samba.org/packages/redhat/RHEL5/old/${P/_p/-}.src.rpm" |
62 |
LICENSE="GPL-3" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
65 |
IUSE="test" |
66 |
|
67 |
RDEPEND="dev-libs/popt" |
68 |
DEPEND="${RDEPEND} |
69 |
test? ( sys-apps/iproute2 |
70 |
sys-process/procps )" |
71 |
|
72 |
S="${WORKDIR}/${P/_p*}" |
73 |
|
74 |
src_prepare() { |
75 |
AT_M4DIR="-I ${S}/lib/replace -I ${S}/lib/talloc -I ${S}/lib/tdb -I ${S}/lib/popt -I ${S}/lib/events" |
76 |
autotools_run_tool autoheader ${AT_M4DIR} || die "running autoheader failed" |
77 |
eautoconf ${AT_M4DIR} |
78 |
|
79 |
# fix tests |
80 |
sed -i \ |
81 |
-e "s|/tmp|${T}|" \ |
82 |
tests/simple/54_ctdb_transaction_recovery.sh || die "sed failed" |
83 |
|
84 |
# the following tests assume that the setup was indeed able to add new ip |
85 |
# addresses to the lo device (11,16), resp make assumptions about the |
86 |
# performance (52) |
87 |
rm \ |
88 |
tests/simple/{11,16,52}_*.sh || die "removing failing tests failed" |
89 |
|
90 |
epatch \ |
91 |
"${FILESDIR}/${PN}-50.samba_gentoo.patch" \ |
92 |
"${FILESDIR}/${P}-functions.patch" |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
emake DESTDIR="${D}" install || die "emake install failed" |
97 |
|
98 |
dodoc "${D}/usr/share/doc/ctdb/README.eventscripts" |
99 |
rm -rf "${D}/usr/share/doc/ctdb" |
100 |
|
101 |
dohtml web/* doc/*.html |
102 |
|
103 |
newinitd "${FILESDIR}/${PN}.initd" ctdb || die "newinitd failed" |
104 |
newconfd "${S}/config/ctdb.sysconfig" ctdb || die "newconfd failed" |
105 |
} |
106 |
|
107 |
src_test() { |
108 |
emake test || { pkill ctdb ; die "running tests failed" ; } |
109 |
pkill ctdb |
110 |
} |