summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/libzdb/ChangeLog7
-rw-r--r--dev-db/libzdb/Manifest4
-rw-r--r--dev-db/libzdb/libzdb-2.12.ebuild90
3 files changed, 99 insertions, 2 deletions
diff --git a/dev-db/libzdb/ChangeLog b/dev-db/libzdb/ChangeLog
index 0b13269ad132..0c79c185e75b 100644
--- a/dev-db/libzdb/ChangeLog
+++ b/dev-db/libzdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/libzdb
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libzdb/ChangeLog,v 1.15 2013/07/01 18:57:33 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libzdb/ChangeLog,v 1.16 2013/09/13 06:33:58 patrick Exp $
+
+*libzdb-2.12 (13 Sep 2013)
+
+ 13 Sep 2013; Patrick Lauer <patrick@gentoo.org> +libzdb-2.12.ebuild:
+ Bump for #484640
*libzdb-2.11.3 (01 Jul 2013)
diff --git a/dev-db/libzdb/Manifest b/dev-db/libzdb/Manifest
index e44a4bd3d64f..9765f3eb7371 100644
--- a/dev-db/libzdb/Manifest
+++ b/dev-db/libzdb/Manifest
@@ -2,8 +2,10 @@ AUX sqlite_configure.patch 836 SHA256 6d4168e97b0d80af5cad819f5443e84130299866ac
DIST libzdb-2.11.1.tar.gz 599354 SHA256 390cdee70dcdd77f4ae113949564056b7a0648a931a918c0b626fa7e6d820c8c SHA512 b630c8ce8ee9eaee53cd801cca08af543faaf7f945c9bfd2721bba0a5569980949ab8212c4bf17fec56b5c5c107cef17cfa893e293444a39bd32116d47edb2c5 WHIRLPOOL 1fca845c84c7f5a867f6de7e5e3cae28e73a2ff0b7f261d385a87893c716b8640a60d262aaaedc5cd36f91dfbabfb818f820906d3e1eefcebc9e20928d3b66c7
DIST libzdb-2.11.2.tar.gz 603149 SHA256 23d8cc201f4d4417963a440005bf3a93fc2010032a275056b0970c060910a298 SHA512 482510fcf382e3b235ae7a5615f175d46f2d0244ed2d06c6c2df14ea5cebff5dbf6ac855aedc28a7981b77f3662c505049c5439c33e29a762af2d2a793d959c9 WHIRLPOOL a04cd2c25bfaf7fd899c8d334e8836a3d574b033ba2c5e43986f1d915e3090d1f9b0bb9a3bb7a6f4b6897fda028f143492156081c331b11ad51df3582ff6cfba
DIST libzdb-2.11.3.tar.gz 604720 SHA256 3ad2ffa8533b8b4524104a66345659235cec56211664906eba83134e3b305028 SHA512 89305e5ecfc6a630936268f2b70f417c9a66bcc37063f4d87fcc0d1e6b106f0fec0b299da9c7375087e77de07abf3ae81fb48027fd741f150cffef7027930c66 WHIRLPOOL 449924b519cd84904b72aa9d5a3557489f0c0c62d024ee2cd23b978ea26b2323ee58faa0a55388c48de5bfadb2a5d6a6cdbe9ae5abe69d7190a65329e267689f
+DIST libzdb-2.12.tar.gz 599160 SHA256 37e6bd3d8254be7d8fe1419cf0500b9006783d0e3544eeeffc5e6954cbcd07d4 SHA512 d2fbf7e0d7a8f37f8ce3404a0bf249165daafb54dfff31e6c7cea964b8360c1322bcd8cdc97a0ec8fec0a3be5bbe4f1690cb36a956bbcbea7b6a795655089f6f WHIRLPOOL 06449cf801f062dbbd322f95f80027b09f33b6e8a514638988ad33b47ef8d44a83fa31a21b1e561883bf487dfbd0c4196f04bb73ed62ff9924feccac7e9291ff
EBUILD libzdb-2.11.1.ebuild 2060 SHA256 e0e98e6933429f306881c41654475aeaf0b1e2a8bb8e06ec106450c5cd368861 SHA512 12180071d97b48916f7fccf0d2bd0ea7044cbe6a6f7464a00bc47f3262346610c18ef61d8b4879f668c758a98f5069a2e193abfe573da2faaf87430dd0e08190 WHIRLPOOL e17e21f8085586cbe308356be01ea6cd8186e85be7a3d52fe9fddf2999959b625fa7fe87a085016cde1a6da9dbd8ad7567b35a630b57b1b0256cad2e05515518
EBUILD libzdb-2.11.2.ebuild 2066 SHA256 73865f31285c2f6b474cffcf8bfc399bd89aaa03e25c2911ca259c27094fd241 SHA512 90bc95ca1bfe47b914f0310ef03313b3019736d2b36e8cd311f05a41a2192a96af78e4d08a2b23b5b52378175aa44f6eaccfb06e73933094d086423ab42bb34b WHIRLPOOL 5c51d1603fdf2644d174bf27733fc2151a38311f73d57eee377cc15684b209bba16eb4f2ddb7bfdb8e4da45a862a1920209c7666a1f6e5110b1d708c0ccece4c
EBUILD libzdb-2.11.3.ebuild 2066 SHA256 70ca407e66aacf75307c6370731ea42257d016002e0744514329388cb8376080 SHA512 2729ba617eaff7bad720e36df504948ccd7209736cbd81139b5fc5ce0f491247cebf513c7104ef48a68c47952b669297f05a01e329d8e808515bfb072ab7d32f WHIRLPOOL 89c929b34fb88aee62286ab6d562f21b734635fc51a65c199088d413e9c68fcbc9efe80cfa82546da9264b91bc3b36e2dd16bc6987446f9d52295735edb4ce44
-MISC ChangeLog 2316 SHA256 fc1a488ef33b9bab5e1d9716a0612f5b46a16bd26aa54bdf72a62c0e3ed7489c SHA512 6beed2475a9c98acada948dfade2fa08c19126b5f0ace852332344a9dbc082ce439fe42cc114f8e42fa83aa1874e0a87e97e2888afdd2ad98c7a5291c561005a WHIRLPOOL 0a757a737ea3a4edf321659bdcb9dbe309681ae2b68e8cb5ead752854d5677e36d2d55b23a287f08886a0021af8da72735c12385e8f865c4632b06905f76a90d
+EBUILD libzdb-2.12.ebuild 2064 SHA256 0368d947f49fd0cf497793f3c359e11b7a239b1ddbe6fbe34d4e6d4a212f1d52 SHA512 95e397ddc4ff18e8c5681f38a4455fb0a696bc334bd1aabc47381c5ea91686c9a778e6a50d01d04b771aa4bc82367eb46c0701c5550e3a88fd3b9cc9b1d85d00 WHIRLPOOL cdbebe1e66cb30e5b695347e697acee23bec56dcf0333cb564eb09206c752d04cfbf9b18e5d9c724b6adfe754257e02aa507f0e039a96594337ea29d1510d5b3
+MISC ChangeLog 2435 SHA256 af9ade466abc61b52d0b8d2c672ab5ef4b631f325324fcb84a573dde1dad6c68 SHA512 64e4ec09868a09c8685879261657cc14a1633b89f259565a403ba18e06bc1e5b32e9cd108bc5e0eecd513bb704927bdcd74875df3201390fc64064d0ee09dd60 WHIRLPOOL 52640aef1a96d44722179f17515d206ab6f36de8e5c1927609a3a850c4279f533325bb006bcf4b9ca3cdb470405ba7f1396b81c010eddacfea81e8ab3c4a36e1
MISC metadata.xml 441 SHA256 7deb7a6ab1531e3deb589f671b0d5b56dc84a899f5901865de430f8b07c7fb40 SHA512 a108113e93623ed94957aade2f41d717eb7117c49108bf84605ffb59f99201a853c9791577d5976d674861a51b788d5e6a7a84fc346a0adaab7c72d1baf3662c WHIRLPOOL 32a6457b0c1493f32aac573cf8bf5b920da983d97f76a1c5eb157efdae1db9d370e100202ec22a732b87a391a7f3f02c8ae08b742a72acc29ac6e2900d294437
diff --git a/dev-db/libzdb/libzdb-2.12.ebuild b/dev-db/libzdb/libzdb-2.12.ebuild
new file mode 100644
index 000000000000..cdb6f9565a61
--- /dev/null
+++ b/dev-db/libzdb/libzdb-2.12.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libzdb/libzdb-2.12.ebuild,v 1.1 2013/09/13 06:33:58 patrick Exp $
+
+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 ssl static-libs"
+REQUIRED_USE=" || ( postgres mysql sqlite )"
+
+RESTRICT=test
+
+RDEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-base )
+ sqlite? ( >=dev-db/sqlite-3.7:3[unlock-notify(+)] )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ virtual/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/ --enable-sqliteunlock"
+ 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
+}