summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-10-23 16:55:31 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-10-23 16:55:31 +0000
commit2780c4cb62d0f52d053cba5795b7312151136731 (patch)
tree45066e574be980a8251e0da0abf77ddf817281bc /sys-libs/tdb
parentFixing 1.3 ebuilds too (diff)
downloadhistorical-2780c4cb62d0f52d053cba5795b7312151136731.tar.gz
historical-2780c4cb62d0f52d053cba5795b7312151136731.tar.bz2
historical-2780c4cb62d0f52d053cba5795b7312151136731.zip
Some cleanups for #288536
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/tdb')
-rw-r--r--sys-libs/tdb/ChangeLog7
-rw-r--r--sys-libs/tdb/Manifest13
-rw-r--r--sys-libs/tdb/tdb-1.1.5-r1.ebuild70
3 files changed, 78 insertions, 12 deletions
diff --git a/sys-libs/tdb/ChangeLog b/sys-libs/tdb/ChangeLog
index 7f727bd70639..bc806459c644 100644
--- a/sys-libs/tdb/ChangeLog
+++ b/sys-libs/tdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/tdb
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.3 2009/10/11 12:04:46 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.4 2009/10/23 16:55:31 patrick Exp $
+
+*tdb-1.1.5-r1 (23 Oct 2009)
+
+ 23 Oct 2009; Patrick Lauer <patrick@gentoo.org> +tdb-1.1.5-r1.ebuild:
+ Some cleanups for #288536
11 Oct 2009; Petteri Räty <betelgeuse@gentoo.org> tdb-1.1.5.ebuild:
Block <net-fs/samba-libs-3.4 for bug #288545.
diff --git a/sys-libs/tdb/Manifest b/sys-libs/tdb/Manifest
index 310c041e1f78..b3df1fd8dfc4 100644
--- a/sys-libs/tdb/Manifest
+++ b/sys-libs/tdb/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST tdb-1.1.5.tar.gz 254358 RMD160 d13f18e42d87161f7d48876c8d7957c54e889cf0 SHA1 1451cced3d333e24c67464249b4015f048770e40 SHA256 487f8fc773d1ac395d89d61781dbb7dffe0c5a3a816f33c95e381f9ea2a4a67a
+EBUILD tdb-1.1.5-r1.ebuild 1579 RMD160 f0ec7022f9159754f886690f85023254a4a5b65d SHA1 f7232f11b0b2530f22e9f63d9d13fa3e03712da8 SHA256 50b10a2232a08e67129ff0641deb1784035ea960351cd37b723692de21c72d51
EBUILD tdb-1.1.5.ebuild 1694 RMD160 8f0fc9ba55cb6024e3dba684c1f2fe48b83a2dbf SHA1 02aeb850099f8910dc0d2840a8b04806b48cebe8 SHA256 9f3145971c53f8f8682c1f9cb02c9f20f36f6e8386abf1fba5c0073217eb6dc6
-MISC ChangeLog 605 RMD160 0292bb6e861db887a092c9891fb9dbfb2ac3a7e2 SHA1 7da5a70e4a2f68d22b464a1a2a2005c7d2243ab2 SHA256 88d333b4a6f504b187c17cb1637fa14479fdb81c7538ff4289edd7f885b18a31
+MISC ChangeLog 732 RMD160 7a0b14ca1f9225614b4d384bfc625a46b012013d SHA1 c715367563668fb06a59f9db7dc0ee5ed2e3a5f5 SHA256 6c29c6c0adf2b7a40b493dd075f7082fa2237ae4503ce8a0cd5d1a6c7413bb84
MISC metadata.xml 362 RMD160 75a97802cc496bf98325a692bc1fc60212b042b3 SHA1 8302e25e34804c9b5c0b91e547cdd10ee62e156f SHA256 9488379e63418d03eb8f1dd6838c281d8a95413f11685a5427302ec9ad0c5cb5
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkrRyeQACgkQcxLzpIGCsLTXHgCcDviUHLQNRqlc14w4Jhx7K5/t
-EawAn2aOQF/07aDDnMW3HEls2HJuZ2uK
-=Msvo
------END PGP SIGNATURE-----
diff --git a/sys-libs/tdb/tdb-1.1.5-r1.ebuild b/sys-libs/tdb/tdb-1.1.5-r1.ebuild
new file mode 100644
index 000000000000..1204a925bc58
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.1.5-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.1.5-r1.ebuild,v 1.1 2009/10/23 16:55:31 patrick Exp $
+
+EAPI="2"
+
+inherit confutils eutils autotools
+
+DESCRIPTION="Samba tdb"
+HOMEPAGE="http://tdb.samba.org/"
+SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
+LICENSE="GPL-3"
+IUSE="python tools tdbtest"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
+
+DEPEND="
+ !net-fs/samba-libs[tdb]
+ !<net-fs/samba-libs-3.4
+ "
+RDEPEND="${DEPEND}"
+
+BINPROGS="bin/tdbdump bin/tdbtool bin/tdbbackup"
+
+src_prepare() {
+ eautoconf -Ilibreplace
+ sed -e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' -i Makefile.in || die "sed failed"
+}
+
+src_configure() {
+
+ econf \
+ --sysconfdir=/etc/samba \
+ --localstatedir=/var \
+ $(use_enable python) \
+ || die "econf failed"
+
+}
+
+src_compile() {
+
+ emake dirs || die "emake dirs failed"
+ emake showflags || die "emake showflags failed"
+ emake shared-build || die "emake shared-build failed"
+ if use tools ; then emake ${BINPROGS} || die "emake binaries failed"; fi
+ if use python ; then emake build-python || die "emake build-python failed"; fi
+ if use tdbtest ; then make bin/tdbtest || die "emake tdbtest failed"; fi
+
+}
+
+src_install() {
+
+ dolib.a sharedbuild/lib/libtdb.a
+ dolib.so sharedbuild/lib/libtdb.so
+
+ if use python || use tools ; then
+ emake install DESTDIR="${D}" || die "emake install failed"
+ fi
+
+ if ! use tools ; then
+ for prog in ${BINPROGS} ; do
+ rm -f "${D}/usr/${prog}"
+ done
+ fi
+
+ if use tdbtest ; then
+ dobin bin/tdbtest
+ fi
+
+}