1 |
vostorga 11/01/03 19:45:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tdb-1.2.7.ebuild |
5 |
Log: |
6 |
Version bump to 1.2.7 bug #350464 |
7 |
|
8 |
(Portage version: 2.1.9.24/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.25 sys-libs/tdb/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/ChangeLog?rev=1.25&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/ChangeLog?rev=1.25&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/ChangeLog?r1=1.24&r2=1.25 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v |
20 |
retrieving revision 1.24 |
21 |
retrieving revision 1.25 |
22 |
diff -u -r1.24 -r1.25 |
23 |
--- ChangeLog 29 Dec 2010 21:36:14 -0000 1.24 |
24 |
+++ ChangeLog 3 Jan 2011 19:45:20 -0000 1.25 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-libs/tdb |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.24 2010/12/29 21:36:14 vostorga Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.25 2011/01/03 19:45:20 vostorga Exp $ |
31 |
+ |
32 |
+*tdb-1.2.7 (03 Jan 2011) |
33 |
+ |
34 |
+ 03 Jan 2011; Víctor Ostorga <vostorga@g.o> +tdb-1.2.7.ebuild: |
35 |
+ Version bump to 1.2.7 bug #350464 |
36 |
|
37 |
29 Dec 2010; Víctor Ostorga <vostorga@g.o> tdb-1.2.1-r1.ebuild: |
38 |
Improving python related code, patch thanks to Arfrever Frehtes Taifersar |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-libs/tdb/tdb-1.2.7.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/tdb-1.2.7.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/tdb-1.2.7.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: tdb-1.2.7.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.7.ebuild,v 1.1 2011/01/03 19:45:20 vostorga Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
PYTHON_DEPEND="python? 2" |
55 |
|
56 |
inherit autotools python |
57 |
|
58 |
DESCRIPTION="Samba tdb" |
59 |
HOMEPAGE="http://tdb.samba.org/" |
60 |
SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz" |
61 |
LICENSE="GPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
64 |
IUSE="python static-libs tools tdbtest" |
65 |
|
66 |
RDEPEND="" |
67 |
DEPEND="!<net-fs/samba-3.3 |
68 |
app-text/docbook-xsl-stylesheets |
69 |
dev-libs/libxslt |
70 |
dev-libs/popt" |
71 |
|
72 |
pkg_setup() { |
73 |
if use python; then |
74 |
python_set_active_version 2 |
75 |
python_pkg_setup |
76 |
fi |
77 |
} |
78 |
|
79 |
src_prepare() { |
80 |
eautoconf -Ilib/replace |
81 |
sed -i \ |
82 |
-e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \ |
83 |
{Makefile.in,tdb.mk} || die "sed failed" |
84 |
|
85 |
# xsltproc will display a warning but we can assume the xml files are valid |
86 |
sed -i \ |
87 |
-e 's|$(XSLTPROC) -o|$(XSLTPROC) --nonet -o|' \ |
88 |
tdb.mk || die "sed failed" |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
local myconf=() |
93 |
|
94 |
if use python; then |
95 |
myconf+=( |
96 |
PYTHON_CONFIG="${EPREFIX}/usr/bin/python-config-$(python_get_version)" |
97 |
PYTHON="$(PYTHON -a)" |
98 |
) |
99 |
fi |
100 |
|
101 |
econf \ |
102 |
--sysconfdir=/etc/samba \ |
103 |
--localstatedir=/var \ |
104 |
$(use_enable python) \ |
105 |
"${myconf[@]}" |
106 |
} |
107 |
|
108 |
src_compile() { |
109 |
# TODO: |
110 |
# - don't build static-libs in case of USE=-static-libs |
111 |
|
112 |
# we create the directories first to avoid workaround parallel build problem |
113 |
emake dirs || die "emake dirs failed" |
114 |
|
115 |
emake shared-build || die "emake shared-build failed" |
116 |
|
117 |
if use tdbtest ; then |
118 |
emake bin/tdbtest || die "emake tdbtest failed" |
119 |
fi |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
emake install DESTDIR="${D}" || die "emake install failed" |
124 |
|
125 |
# installs a necessary symlink |
126 |
dolib.so sharedbuild/lib/libtdb.so |
127 |
|
128 |
dodoc docs/README |
129 |
|
130 |
use static-libs || rm -f "${D}"/usr/lib*/*.a |
131 |
use tools || rm -rf "${D}/usr/bin" "${D}/usr/share/man" |
132 |
use tdbtest && dobin bin/tdbtest |
133 |
use python && python_need_rebuild |
134 |
} |
135 |
|
136 |
src_test() { |
137 |
# the default src_test runs 'make test' and 'make check', letting |
138 |
# the tests fail occasionally (reason: unknown) |
139 |
emake check || die "emake check failed" |
140 |
} |