summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/libzdb/ChangeLog7
-rw-r--r--dev-db/libzdb/Manifest10
-rw-r--r--dev-db/libzdb/libzdb-2.11.1.ebuild92
3 files changed, 104 insertions, 5 deletions
diff --git a/dev-db/libzdb/ChangeLog b/dev-db/libzdb/ChangeLog
index a2812aa..424050c 100644
--- a/dev-db/libzdb/ChangeLog
+++ b/dev-db/libzdb/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for dev-db/libzdb
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*libzdb-2.11.1 (09 Jan 2013)
+
+ 09 Jan 2013; <lordvan@gentoo.org> +libzdb-2.11.1.ebuild:
+ added newer version
+
10 Jun 2012; <lordvan@gentoo.org> libzdb-2.10.3.ebuild, metadata.xml:
using parts from ebuild from bug #251063 by Johan Bergström
<bugs@bergstroem.nu>
diff --git a/dev-db/libzdb/Manifest b/dev-db/libzdb/Manifest
index bda226d..e7fb232 100644
--- a/dev-db/libzdb/Manifest
+++ b/dev-db/libzdb/Manifest
@@ -1,4 +1,6 @@
-DIST libzdb-2.10.3.tar.gz 600834 RMD160 2cf65d92918328e67e84060dd35c29ae3be38aac SHA1 c32a444312b572415c1ca49f1bf9eb4398f9339d SHA256 8716d2cb3563478228f33de43e89857b3d190576be36a1f490dc245ffe60f959
-EBUILD libzdb-2.10.3.ebuild 2089 RMD160 cc590565129462cc0030792a0854216babb6b30f SHA1 912622865db5f9aeaf1fa4dec61bede805ebedd2 SHA256 62ee2f2efa5c919bba6f3d920c501ec16a24854527787b6ec1e2b23d41485afc
-MISC ChangeLog 273 RMD160 3f452544f3fd02603de0e32fb27f397f55f2a173 SHA1 73a5b6b458efe8ae5048b3cb3b0c67863a9fbf94 SHA256 21276d6d4c1a2297521ac8c401f6a3580781b03836ee3b4d16a51bb3ae19a0c6
-MISC metadata.xml 310 RMD160 6de1efb0027452a861d2999c79f86f21d53daf80 SHA1 f5311de32a45c82d457ea00934aafe88b9c598a5 SHA256 ef5ee26090b8fdd1837e6ba9e44304232c5effc25c75d45a99d25a8c43f3a685
+DIST libzdb-2.10.3.tar.gz 600834 SHA256 8716d2cb3563478228f33de43e89857b3d190576be36a1f490dc245ffe60f959 SHA512 b2d358a4dbeddced3237aea02d94e6a60a089db10fb137c781389c735e27820f81697ea8e514ca13934b5dba3c3446db7140facaa7d03459f9a117b339fc343f WHIRLPOOL 8c10068502ab2d044f22a7c0de655b5779d9c8a82be7f7f2893fcd925abeb6dece7f0fd8c3dc8e20134310af8b51811cfeb6808065515b349aa461ba51adc812
+DIST libzdb-2.11.1.tar.gz 599354 SHA256 390cdee70dcdd77f4ae113949564056b7a0648a931a918c0b626fa7e6d820c8c SHA512 b630c8ce8ee9eaee53cd801cca08af543faaf7f945c9bfd2721bba0a5569980949ab8212c4bf17fec56b5c5c107cef17cfa893e293444a39bd32116d47edb2c5 WHIRLPOOL 1fca845c84c7f5a867f6de7e5e3cae28e73a2ff0b7f261d385a87893c716b8640a60d262aaaedc5cd36f91dfbabfb818f820906d3e1eefcebc9e20928d3b66c7
+EBUILD libzdb-2.10.3.ebuild 2089 SHA256 62ee2f2efa5c919bba6f3d920c501ec16a24854527787b6ec1e2b23d41485afc SHA512 1431a5090becf3f9230f073f3cb5b0d4c311ad977c86431941373dc97b773ae080f0bc42df026630e3f4823bb83c6441fad8d5be4c085eed220b949c6a2db997 WHIRLPOOL ba5676a5046047aa84f0b8bc20b16c7d4081148bb423857513ea01b725560b9e92f5758a26c1ce96ed2e3bf441783f439cfeab1e1441ee04cfaa7978f2d5ae65
+EBUILD libzdb-2.11.1.ebuild 2089 SHA256 6d17a4339d8c61a574b55224949eb02e9561929ef9cd4adb86d3a846864f4587 SHA512 53c2e5facd60486f3053c1e9ec8bc50e77b659aa5dd0e2b694e58067aec038233e11e5fa921635e26d342a94790799da6f79835a3f6c8be1c7b0a56112c67796 WHIRLPOOL 3e764ce7868d74d276f3ff7b2a4afdcc83b5719e771813149ca7475c6d33bfd557797820d8b850541deccbe0de20aac8b562b6abb33108e343e7f7f813064e4f
+MISC ChangeLog 385 SHA256 919e07f0a55d41e806cc932a2fdc3ce041b3005ebc1a2471cd695140eab168a0 SHA512 19a23f14fefb6dc0c9f82bd369853d418f77efca3b077fb6b82ebce2b59a5b4d3095d4532b9891b0a94339dc9250c692a42bb31e6feb4fde11c574fa83253195 WHIRLPOOL 6a15e2feb906670474ea3adcdc7c401642b6b1689a2f86d170723bacaf1e9bca59db4c02a2ec675fa401f756983976d13dbb94ffd176de94142c1096eef9c753
+MISC metadata.xml 310 SHA256 ef5ee26090b8fdd1837e6ba9e44304232c5effc25c75d45a99d25a8c43f3a685 SHA512 6f132004523446d6b633425c9573ac93a451139686b57b412f6531fbc6f1c79b9c8f686d72f406d49fdf53c3e02bdc57c3fed252b1589e7ea8998dfa3b52ddb1 WHIRLPOOL dd4596cf59a987161cbea8c073d867e4697dcbb385491df247f35a327af0d704a37308b8bbce3e3e84ae7136722f2c7920e4c85a2d201628c099aa7a03bb4562
diff --git a/dev-db/libzdb/libzdb-2.11.1.ebuild b/dev-db/libzdb/libzdb-2.11.1.ebuild
new file mode 100644
index 0000000..7fc02e1
--- /dev/null
+++ b/dev-db/libzdb/libzdb-2.11.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A thread safe high level multi-database connection pool library"
+HOMEPAGE="http://www.tildeslash.com/libzdb/"
+SRC_URI="http://www.tildeslash.com/${PN}/dist/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="debug doc mysql postgres +sqlite +sqliteunlock ssl static-libs"
+REQUIRED_USE=" || ( postgres mysql sqlite )"
+
+RDEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-base )
+ sqlite? ( >=dev-db/sqlite-3 )
+ sqliteunlock? ( >=dev-db/sqlite-3.6.12[unlock-notify] )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ sed -i -e "s|&& ./pool||g" test/Makefile.in || die
+}
+
+src_configure() {
+ ## TODO: check what --enable-optimized actually does
+ ## TODO: find someone with oracle db to add oci8 support
+ myconf=""
+ if [[ $(gcc-version) < 4.1 ]];then
+ myconf="${myconf} --disable-protected"
+ else
+ myconf="${myconf} --enable-protected"
+ fi
+
+ if ( use sqlite ); then
+ myconf="${myconf} --with-sqlite=${EPREFIX}/usr/"
+ if has_version 'dev-db/sqlite[unlock-notify]'; then
+ myconf="${myconf} --enable-sqliteunlock"
+ fi
+ else
+ myconf="${myconf} --without-sqlite"
+ fi
+
+ if use mysql; then
+ myconf="${myconf} --with-mysql=${EPREFIX}/usr/bin/mysql_config"
+ else
+ myconf="${myconf} --without-mysql"
+ fi
+
+ if use postgres; then
+ myconf="${myconf} --with-postgresql=${EPREFIX}/usr/bin/pg_config"
+ else
+ myconf="${myconf} --without-postgresql"
+ fi
+
+ econf \
+ $(use_enable debug profiling) \
+ $(use_enable static-libs static) \
+ $(use_enable ssl openssl) \
+ --without-oci \
+ ${myconf}
+}
+
+src_compile() {
+ default_src_compile
+ if use doc; then
+ emake doc
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # the --disable-static flag only skips .a
+ use static-libs || rm -f "${D}"/usr/lib*/libzdb.la
+
+ dodoc AUTHORS CHANGES README
+ if use doc;then
+ dohtml -r "${S}/doc/api-docs"/*
+ fi
+}
+
+src_test() {
+ emake verify
+}