summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <smitdane@gmail.com>2010-08-13 20:12:33 -0400
committerDane Smith <smitdane@gmail.com>2010-08-13 20:12:33 -0400
commitd4e7247493299ae3ef5068e4ae12e1a780047f2d (patch)
tree8c523114e0ce783267cf5f2aaf776ec5a9453dc8
parentNew ebuild for mouseremote (diff)
downloadsmithdanea-d4e7247493299ae3ef5068e4ae12e1a780047f2d.tar.gz
smithdanea-d4e7247493299ae3ef5068e4ae12e1a780047f2d.tar.bz2
smithdanea-d4e7247493299ae3ef5068e4ae12e1a780047f2d.zip
Updated tdb
-rw-r--r--sys-libs/tdb/ChangeLog16
-rw-r--r--sys-libs/tdb/Manifest12
-rw-r--r--sys-libs/tdb/metadata.xml13
-rw-r--r--sys-libs/tdb/tdb-1.1.5-r1.ebuild69
-rw-r--r--sys-libs/tdb/tdb-1.1.5.ebuild77
-rw-r--r--sys-libs/tdb/tdb-1.2.0-r1.ebuild70
-rw-r--r--sys-libs/tdb/tdb-1.2.0-r2.ebuild68
-rw-r--r--sys-libs/tdb/tdb-1.2.0.ebuild69
-rw-r--r--sys-libs/tdb/tdb-1.2.1.ebuild75
9 files changed, 469 insertions, 0 deletions
diff --git a/sys-libs/tdb/ChangeLog b/sys-libs/tdb/ChangeLog
new file mode 100644
index 0000000..1d7caf3
--- /dev/null
+++ b/sys-libs/tdb/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for sys-libs/tdb
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*tdb-1.2.1 (14 Aug 2010)
+*tdb-1.2.0-r2 (14 Aug 2010)
+*tdb-1.2.0-r1 (14 Aug 2010)
+*tdb-1.2.0 (14 Aug 2010)
+*tdb-1.1.5-r1 (14 Aug 2010)
+*tdb-1.1.5 (14 Aug 2010)
+
+ 14 Aug 2010; Dane Smith (c1pher) <smithdanea@gmail.com> +tdb-1.1.5.ebuild,
+ +tdb-1.1.5-r1.ebuild, +tdb-1.2.0.ebuild, +tdb-1.2.0-r1.ebuild,
+ +tdb-1.2.0-r2.ebuild, +tdb-1.2.1.ebuild, +metadata.xml:
+ Fixed ebuild for tdb-1.2.1 to respect LDFLAGS wrt bug 332639
+
diff --git a/sys-libs/tdb/Manifest b/sys-libs/tdb/Manifest
new file mode 100644
index 0000000..d49d180
--- /dev/null
+++ b/sys-libs/tdb/Manifest
@@ -0,0 +1,12 @@
+DIST tdb-1.1.5.tar.gz 254358 RMD160 d13f18e42d87161f7d48876c8d7957c54e889cf0 SHA1 1451cced3d333e24c67464249b4015f048770e40 SHA256 487f8fc773d1ac395d89d61781dbb7dffe0c5a3a816f33c95e381f9ea2a4a67a
+DIST tdb-1.2.0.tar.gz 264551 RMD160 d3a10d8672df999e659777e7da8049eec659b0b6 SHA1 e6bbd027d01e1dc10e6e4226259b9f1a64920223 SHA256 1997f2c651bb68a3bac9a6885c1d623249554f50064fe49ad31711cdedac53fd
+DIST tdb-1.2.1.tar.gz 268142 RMD160 f24882257bb462edc10c8ef0da39d82ce847546c SHA1 9a3b2b87efb7b7b146b11ccd7d480239a19a30d2 SHA256 ef423b934c5ddfeddaa3d3b1567072b0d6f7243bbae5fd363a1b090b0573cdfa
+EBUILD tdb-1.1.5-r1.ebuild 1614 RMD160 bc98795253904caaef238afec6a66bb3cad5a47c SHA1 7bd9f261bcc3079956aea8b10972204a03f7b398 SHA256 fcb7bf6d137afafe325299271ece4cf25bf7dd2f6d534ea8ca3885619763596d
+EBUILD tdb-1.1.5.ebuild 1666 RMD160 264ac6940fddd98bf2d89215e13867ad7d58d7b2 SHA1 d633bc00081714022e9ea6b05b1c4823fb3205b4 SHA256 38966e7204b92816bdcdfb52e31efeb828e38af86c181c2ce975875d023bafba
+EBUILD tdb-1.2.0-r1.ebuild 1695 RMD160 41a536aa1fda2f6b4dc6b2bfa3c9ed1bba06b59e SHA1 b862f9c5d5c83a682e195ef98c42c88bd344085d SHA256 6ad47987e388e0a296996a20d393a519db4bd1e98e163415ff1d88523f98b919
+EBUILD tdb-1.2.0-r2.ebuild 1668 RMD160 b1bf89b402c7f02691831d8e4813ca9ea1b53995 SHA1 49d7f81e7c0822d71238cc5a4b6a6488aa376dc1 SHA256 c25ff31325bf3b262bcbd74c0c02c4d3d61e397531ceac8889eb7a132d25c46a
+EBUILD tdb-1.2.0.ebuild 1609 RMD160 c1c3f29318ad6b35f89adfe7b05e56ddde761092 SHA1 1a73b3dc2ba1b2a47930e022f9dccba5aefb9053 SHA256 08ef63f60802cf0ecb8faa437aa0651017de260a41661eb4ebbac9c87509c755
+EBUILD tdb-1.2.1.ebuild 1880 RMD160 df383c8ed253024886d51447ef233811dc5aea1d SHA1 6d8a78317ae216285c620e0995013b257bf66e89 SHA256 a950e4dc405f5ca38a6095670f958a7c400757f3ee9b2b5b15408646c076e4df
+MISC ChangeLog 2644 RMD160 7cc38a0d8ae001ba1304a317819f0931b00031a3 SHA1 cc23bcd760241dda05d2dc7b3df980d892bf6517 SHA256 741d0f7843d09916846e2ee786c7b25b25732a96793ec15977aa2639979fb483
+MISC metadata.xml 362 RMD160 75a97802cc496bf98325a692bc1fc60212b042b3 SHA1 8302e25e34804c9b5c0b91e547cdd10ee62e156f SHA256 9488379e63418d03eb8f1dd6838c281d8a95413f11685a5427302ec9ad0c5cb5
+MISC tdb-1.2.1.ebuild~ 1871 RMD160 8f78b3f10419d34bac08738d38f88c98ab95ce18 SHA1 a21c9d85ece56d1a59398de7c94f104ad60d5ef9 SHA256 ceb23d55d0c57f2db9034af95c8593ddb8463147ccffec9c50cd5913f9a3419f
diff --git a/sys-libs/tdb/metadata.xml b/sys-libs/tdb/metadata.xml
new file mode 100644
index 0000000..ae64805
--- /dev/null
+++ b/sys-libs/tdb/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>samba</herd>
+ <maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+<use>
+ <flag name="tools">Install extra tools</flag>
+ <flag name="tdbtest">Install tdbtest app</flag>
+</use>
+</pkgmetadata>
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 0000000..740b623
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.1.5-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2010 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.6 2009/12/06 16:57:49 flameeyes 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+DEPEND="!<net-fs/samba-3.3
+ !<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
+
+}
diff --git a/sys-libs/tdb/tdb-1.1.5.ebuild b/sys-libs/tdb/tdb-1.1.5.ebuild
new file mode 100644
index 0000000..6ea3018
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.1.5.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2010 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.ebuild,v 1.4 2009/11/04 11:30:39 patrick Exp $
+
+EAPI="2"
+
+inherit confutils eutils
+
+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-3.4
+ "
+RDEPEND="${DEPEND}"
+
+BINPROGS="bin/tdbdump bin/tdbtool bin/tdbbackup"
+
+src_prepare() {
+
+ ./autogen.sh || die "autogen.sh failed"
+
+ sed -i \
+ -e 's|SHLD_FLAGS = @SHLD_FLAGS@|SHLD_FLAGS = @SHLD_FLAGS@ @LDFLAGS@|' \
+ -e 's|CC = @CC@|CC = @CC@\
+LDFLAGS = @LDFLAGS@|' \
+ Makefile.in || die "sed failed"
+
+}
+
+src_configure() {
+
+ econf \
+ --sysconfdir=/etc/samba \
+ --localstatedir=/var \
+ --enable-largefile \
+ $(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
+
+}
diff --git a/sys-libs/tdb/tdb-1.2.0-r1.ebuild b/sys-libs/tdb/tdb-1.2.0-r1.ebuild
new file mode 100644
index 0000000..b870c66
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.2.0-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.0-r1.ebuild,v 1.1 2010/01/11 20:43:02 flameeyes 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+DEPEND="!<net-fs/samba-3.3
+ !<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 || die
+ # you need to install all the files, not just the .so one
+ dolib.so sharedbuild/lib/libtdb.so* || die
+
+ 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 || die
+ fi
+
+}
diff --git a/sys-libs/tdb/tdb-1.2.0-r2.ebuild b/sys-libs/tdb/tdb-1.2.0-r2.ebuild
new file mode 100644
index 0000000..42da684
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.2.0-r2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.0-r2.ebuild,v 1.1 2010/04/03 19:56:24 dev-zero Exp $
+
+EAPI="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 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="python static-libs tools tdbtest"
+
+RDEPEND=""
+DEPEND="python? ( dev-lang/python )
+ !<net-fs/samba-libs-3.4
+ !<net-fs/samba-3.3"
+
+src_prepare() {
+ eautoconf -Ilibreplace
+ sed -i \
+ -e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \
+ Makefile.in || die "sed failed"
+}
+
+src_configure() {
+ econf \
+ --sysconfdir=/etc/samba \
+ --localstatedir=/var \
+ $(use_enable python)
+}
+
+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"
+ 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"
+}
diff --git a/sys-libs/tdb/tdb-1.2.0.ebuild b/sys-libs/tdb/tdb-1.2.0.ebuild
new file mode 100644
index 0000000..4539eb7
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.2.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.0.ebuild,v 1.1 2010/01/04 18:03:29 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+DEPEND="!<net-fs/samba-3.3
+ !<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
+
+}
diff --git a/sys-libs/tdb/tdb-1.2.1.ebuild b/sys-libs/tdb/tdb-1.2.1.ebuild
new file mode 100644
index 0000000..7c64ab6
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.2.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.1.ebuild,v 1.8 2010/08/12 01:14:43 josejx Exp $
+
+EAPI="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 ppc ppc64 s390 sh sparc x86"
+IUSE="python static-libs tools tdbtest"
+
+RDEPEND=""
+DEPEND="python? ( dev-lang/python )
+ !<net-fs/samba-libs-3.4
+ !<net-fs/samba-3.3
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt"
+
+src_prepare() {
+ eautoconf -Ilibreplace
+ 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() {
+ econf \
+ --sysconfdir=/etc/samba \
+ --localstatedir=/var \
+ $(use_enable python)
+}
+
+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"
+ 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"
+}