summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2011-01-03 19:45:20 +0000
committerVictor Ostorga <vostorga@gentoo.org>2011-01-03 19:45:20 +0000
commitc2bb0ea2f34545c233aa406f75e6441f50568a50 (patch)
tree774a14265c4068734021576a3e700eebed2c1055 /sys-libs/tdb
parentx86 stable wrt bug #349887 (diff)
downloadhistorical-c2bb0ea2f34545c233aa406f75e6441f50568a50.tar.gz
historical-c2bb0ea2f34545c233aa406f75e6441f50568a50.tar.bz2
historical-c2bb0ea2f34545c233aa406f75e6441f50568a50.zip
Version bump to 1.2.7 bug #350464
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'sys-libs/tdb')
-rw-r--r--sys-libs/tdb/ChangeLog9
-rw-r--r--sys-libs/tdb/Manifest4
-rw-r--r--sys-libs/tdb/tdb-1.2.7.ebuild92
3 files changed, 102 insertions, 3 deletions
diff --git a/sys-libs/tdb/ChangeLog b/sys-libs/tdb/ChangeLog
index c02f9c83a5ce..73114d2e607a 100644
--- a/sys-libs/tdb/ChangeLog
+++ b/sys-libs/tdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/tdb
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.24 2010/12/29 21:36:14 vostorga Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.25 2011/01/03 19:45:20 vostorga Exp $
+
+*tdb-1.2.7 (03 Jan 2011)
+
+ 03 Jan 2011; Víctor Ostorga <vostorga@gentoo.org> +tdb-1.2.7.ebuild:
+ Version bump to 1.2.7 bug #350464
29 Dec 2010; Víctor Ostorga <vostorga@gentoo.org> tdb-1.2.1-r1.ebuild:
Improving python related code, patch thanks to Arfrever Frehtes Taifersar
diff --git a/sys-libs/tdb/Manifest b/sys-libs/tdb/Manifest
index 5985ca2a3e55..27d033fe9752 100644
--- a/sys-libs/tdb/Manifest
+++ b/sys-libs/tdb/Manifest
@@ -1,5 +1,7 @@
DIST tdb-1.2.1.tar.gz 268142 RMD160 f24882257bb462edc10c8ef0da39d82ce847546c SHA1 9a3b2b87efb7b7b146b11ccd7d480239a19a30d2 SHA256 ef423b934c5ddfeddaa3d3b1567072b0d6f7243bbae5fd363a1b090b0573cdfa
+DIST tdb-1.2.7.tar.gz 447718 RMD160 3b42a1131d9c35214344f06369d43c1954585b41 SHA1 67fcc19961e6772d9fb9f8261b7cfcdc5b6a0504 SHA256 602f171ee900182ddfaae152b3f9db15e920e28f9dddbd61fce0c4678a91c10b
EBUILD tdb-1.2.1-r1.ebuild 2164 RMD160 70ddec3d441a301d7de40a8fcf5f7e40a43d5443 SHA1 f23f5eb5c8e086a1e6c9e34953b0b5df200b0cda SHA256 c206df3a347bb0956ef74bd8fa452ea2492693d4c7e15727a2a63c94542ab7dd
EBUILD tdb-1.2.1.ebuild 1871 RMD160 8f78b3f10419d34bac08738d38f88c98ab95ce18 SHA1 a21c9d85ece56d1a59398de7c94f104ad60d5ef9 SHA256 ceb23d55d0c57f2db9034af95c8593ddb8463147ccffec9c50cd5913f9a3419f
-MISC ChangeLog 3270 RMD160 1c1d359ed96fda9ccaf73167d6209bae082949bf SHA1 5882d079c1c4b09e5f7ffae35fd2bee70a1b9706 SHA256 49338606ab2d240021c4b8c3ea89205eed212a641561a4b160fab882cff93ee8
+EBUILD tdb-1.2.7.ebuild 2177 RMD160 fb50f56dbe71b6df922db2629854616800c2dff8 SHA1 c742060907b4ada470dcead2795ca9aa62342af8 SHA256 1aa0f4abf565a84c71be426a8024588156b4a6dcf0433985c5dbf2957ca5fd5e
+MISC ChangeLog 3405 RMD160 e1f81648b7e9ce4f903500bc798589641a3e762a SHA1 46575d54dc425629b16897c288c103251717e05c SHA256 7454d14afd3fc4182be8cdd9e90ad4094ab5c0ce42f93bce5e8a8f66a3b72afc
MISC metadata.xml 362 RMD160 75a97802cc496bf98325a692bc1fc60212b042b3 SHA1 8302e25e34804c9b5c0b91e547cdd10ee62e156f SHA256 9488379e63418d03eb8f1dd6838c281d8a95413f11685a5427302ec9ad0c5cb5
diff --git a/sys-libs/tdb/tdb-1.2.7.ebuild b/sys-libs/tdb/tdb-1.2.7.ebuild
new file mode 100644
index 000000000000..a0f9121f3ef5
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.2.7.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.7.ebuild,v 1.1 2011/01/03 19:45:20 vostorga Exp $
+
+EAPI="2"
+PYTHON_DEPEND="python? 2"
+
+inherit autotools python
+
+DESCRIPTION="Samba tdb"
+HOMEPAGE="http://tdb.samba.org/"
+SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="python static-libs tools tdbtest"
+
+RDEPEND=""
+DEPEND="!<net-fs/samba-3.3
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ dev-libs/popt"
+
+pkg_setup() {
+ if use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+src_prepare() {
+ eautoconf -Ilib/replace
+ sed -i \
+ -e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \
+ {Makefile.in,tdb.mk} || die "sed failed"
+
+ # xsltproc will display a warning but we can assume the xml files are valid
+ sed -i \
+ -e 's|$(XSLTPROC) -o|$(XSLTPROC) --nonet -o|' \
+ tdb.mk || die "sed failed"
+}
+
+src_configure() {
+ local myconf=()
+
+ if use python; then
+ myconf+=(
+ PYTHON_CONFIG="${EPREFIX}/usr/bin/python-config-$(python_get_version)"
+ PYTHON="$(PYTHON -a)"
+ )
+ fi
+
+ econf \
+ --sysconfdir=/etc/samba \
+ --localstatedir=/var \
+ $(use_enable python) \
+ "${myconf[@]}"
+}
+
+src_compile() {
+ # TODO:
+ # - don't build static-libs in case of USE=-static-libs
+
+ # we create the directories first to avoid workaround parallel build problem
+ emake dirs || die "emake dirs failed"
+
+ emake shared-build || die "emake shared-build failed"
+
+ if use tdbtest ; then
+ emake bin/tdbtest || die "emake tdbtest failed"
+ fi
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+
+ # installs a necessary symlink
+ dolib.so sharedbuild/lib/libtdb.so
+
+ dodoc docs/README
+
+ use static-libs || rm -f "${D}"/usr/lib*/*.a
+ use tools || rm -rf "${D}/usr/bin" "${D}/usr/share/man"
+ use tdbtest && dobin bin/tdbtest
+ use python && python_need_rebuild
+}
+
+src_test() {
+ # the default src_test runs 'make test' and 'make check', letting
+ # the tests fail occasionally (reason: unknown)
+ emake check || die "emake check failed"
+}