From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D9DAE58973 for ; Tue, 19 Jan 2016 21:38:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DA7121C033; Tue, 19 Jan 2016 21:38:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C858121C033 for ; Tue, 19 Jan 2016 21:38:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C92B43407D7 for ; Tue, 19 Jan 2016 21:38:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AF71CF7 for ; Tue, 19 Jan 2016 21:38:45 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1453239509.3819b9dc7cfa46f5ba7dfcc4b035624a60b10726.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/libzdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/libzdb/Manifest dev-db/libzdb/libzdb-3.1.ebuild X-VCS-Directories: dev-db/libzdb/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 3819b9dc7cfa46f5ba7dfcc4b035624a60b10726 X-VCS-Branch: master Date: Tue, 19 Jan 2016 21:38:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 595b3257-2e53-4f46-9a93-2cb7cda9c61b X-Archives-Hash: 6b3c08b9060c5d346ba8ea084ea9ecf3 commit: 3819b9dc7cfa46f5ba7dfcc4b035624a60b10726 Author: Manuel Rüger gentoo org> AuthorDate: Tue Jan 19 21:38:29 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Jan 19 21:38:29 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3819b9dc dev-db/libzdb: Version bump Package-Manager: portage-2.2.27 dev-db/libzdb/Manifest | 1 + dev-db/libzdb/libzdb-3.1.ebuild | 90 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/dev-db/libzdb/Manifest b/dev-db/libzdb/Manifest index ff9cff8..9a149a0 100644 --- a/dev-db/libzdb/Manifest +++ b/dev-db/libzdb/Manifest @@ -3,3 +3,4 @@ DIST libzdb-2.11.2.tar.gz 603149 SHA256 23d8cc201f4d4417963a440005bf3a93fc201003 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 DIST libzdb-3.0.tar.gz 700284 SHA256 e334bcb9ca1410e863634a164e3b1b5784018eb6e90b6c2b527780fc29a123c8 SHA512 ce29b0b381695b874627c38a12fe808179ed74a07898fce10bbf7db0279256192eba377a89c9daaf3c6981e29aa67f95e0b21615d9a94c36b0e2e90c9ce6e12d WHIRLPOOL a4efb05a761cf8a5dfee390910c0dbdb5e0256e5e9aefd0d2d3ea510eca31435607d27ed03ebc99f80bef6c9b7498a69aec36c853327612605f397c46491162b +DIST libzdb-3.1.tar.gz 720162 SHA256 0f01abb1b01d1a1f4ab9b55ad3ba445d203fc3b4757abdf53e1d85e2b7b42695 SHA512 7cf24ccf0f0a938955d8b54af2c6eca8a8f700737beafde9e824129f324511e06adbc11a3fdbd6ad6d9b902fdae6f7caab4e5c1c594d2211be314e3a24c697f3 WHIRLPOOL a6c2f713e070aaf4aa60d518db7ed1e7f05c82536c63c4c183e6dd8116ab506941dd6bff967956336b089dc83f69f017e10d3194ff82f1b8bf5808083d85ed40 diff --git a/dev-db/libzdb/libzdb-3.1.ebuild b/dev-db/libzdb/libzdb-3.1.ebuild new file mode 100644 index 0000000..36c89c2 --- /dev/null +++ b/dev-db/libzdb/libzdb-3.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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="~amd64 ~x86" +IUSE="debug doc mysql postgres +sqlite ssl static-libs" +REQUIRED_USE=" || ( postgres mysql sqlite )" + +RESTRICT=test + +RDEPEND="mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + 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 +}