summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Swenson <titanofold@gentoo.org>2011-11-28 13:06:19 +0000
committerAaron Swenson <titanofold@gentoo.org>2011-11-28 13:06:19 +0000
commitd68b64161ebe9526a759126187e820427fa0ff2b (patch)
treebe8e0c9d489e7f82e2eae3cfafc47bb32ed97ef1 /dev-libs/libpqxx
parentunmask ffmpeg 0.8, bug #389037 (diff)
downloadhistorical-d68b64161ebe9526a759126187e820427fa0ff2b.tar.gz
historical-d68b64161ebe9526a759126187e820427fa0ff2b.tar.bz2
historical-d68b64161ebe9526a759126187e820427fa0ff2b.zip
Version bump.
Package-Manager: portage-2.1.10.11/cvs/Linux i686
Diffstat (limited to 'dev-libs/libpqxx')
-rw-r--r--dev-libs/libpqxx/ChangeLog7
-rw-r--r--dev-libs/libpqxx/Manifest12
-rw-r--r--dev-libs/libpqxx/libpqxx-4.0.ebuild87
3 files changed, 100 insertions, 6 deletions
diff --git a/dev-libs/libpqxx/ChangeLog b/dev-libs/libpqxx/ChangeLog
index 6520d4eaabdb..55aa6c8fe59f 100644
--- a/dev-libs/libpqxx/ChangeLog
+++ b/dev-libs/libpqxx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libpqxx
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.73 2011/11/27 15:27:29 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/ChangeLog,v 1.74 2011/11/28 13:06:19 titanofold Exp $
+
+*libpqxx-4.0 (28 Nov 2011)
+
+ 28 Nov 2011; Aaron W. Swenson <titanofold@gentoo.org> +libpqxx-4.0.ebuild:
+ Version bump.
27 Nov 2011; Raúl Porcel <armin76@gentoo.org> libpqxx-3.1-r2.ebuild:
alpha/ia64/sparc stable wrt #387081
diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest
index aa9316afb101..e7d03182fe32 100644
--- a/dev-libs/libpqxx/Manifest
+++ b/dev-libs/libpqxx/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX libpqxx-2.5.1-gentoo.patch 2723 RMD160 56627d68aa79c0e98a0ba7189dab12646afee91b SHA1 5028c6dc926f07d4b3e85bc4954af6bcb0cb8f96 SHA256 0e6d7f13bf2117fe3884bf4296209baaf5a28311bb71dc79134a239846788046
AUX libpqxx-2.6.9-gcc43.patch 1907 RMD160 79149bd560599e5352234a5ba54f2fe4fd411b12 SHA1 3847b1c45bf3ec6f52d4b971531dcf16482b9c3e SHA256 72b489af0d4b7c2d2071abf02ce50af1d3db4da7b0bc3eab2220b291e378e1d7
@@ -9,17 +9,19 @@ DIST libpqxx-2.6.8.tar.gz 1690973 RMD160 5a9a57774ac878d827af8940e87f5d92c2a1b86
DIST libpqxx-2.6.9.tar.gz 1639557 RMD160 c456b5a3ed3c96963aad334d3504ed0443a8f63e SHA1 8be9dcd0375337b170d5c94370fa896911d361f1 SHA256 2b2ef5dfb852667299e50727419075cf333bbbeffadaa398d96dc93bac6f7b6a
DIST libpqxx-3.0.2.tar.gz 1565644 RMD160 0162ea135d56c203f45f9d5d328a29d2db72b102 SHA1 6af866e06668e9c8b7af4161dddb1ab5f4bf094c SHA256 de265ab5d397ace7596c3b6d19a0057ce2ba58477315acf9165b0a97facab6ca
DIST libpqxx-3.1.tar.gz 1771846 RMD160 09fe492dfc3d16255c39a122e397e2c22bbee483 SHA1 700e0c96a2728eed70c48badb16ba1173cc24d2c SHA256 8950433f193e118cfd36ab91391eb174ef48897bacc26197da596988e66796a0
+DIST libpqxx-4.0.tar.gz 2631181 RMD160 517683e7f936126a9d133056740802518f62d18a SHA1 09e6301e610e7acddbec85f4803886fd6822b2e6 SHA256 b160043289cfbf2a186d3b12f9976b6914e76d918d3d4469ff408bd199bbb8ed
EBUILD libpqxx-2.6.8.ebuild 1722 RMD160 a3c6cea43966c44a93e5023f91cf863d856abfd9 SHA1 28fc522b0c5de1a8dda2f15cd0056c15914da96c SHA256 13d6fa2d81ee3e6544463428c96729891a2422cbfbe0238395198edb2dac1f08
EBUILD libpqxx-2.6.9.ebuild 1894 RMD160 7717392f069b80d975613ff0f5a7c6a07e3c4a88 SHA1 e843cd3917a91c87db1b873a4bb4e4e2ad312c11 SHA256 b5124abb2faa46669d4cac8cb80fd55f201f68e970eccd1bad313e2b0b269d00
EBUILD libpqxx-3.0.2.ebuild 1791 RMD160 026f17e48393c9f657b9d88ca8994fb316c40a9a SHA1 e8b3baeee658ad053e770826afe5e60f1b1f3997 SHA256 a60c499b29b07fa2b964b5c58170e82e950caa2d6519730b5259cab650f4b946
EBUILD libpqxx-3.1-r2.ebuild 2681 RMD160 30a995f7a83e604537eed783f66b91a8705bce0a SHA1 6f26cf4aa1c1dc74612b7ddb2661e334b24f22a2 SHA256 c2cead70dae8e42b47d56fe1e43342c965b6699406e5337fc5e6b47f7e095bcb
EBUILD libpqxx-3.1-r3.ebuild 2881 RMD160 68eb0cf91fed4873a2eccb9c41e2f590c8089377 SHA1 b4d325e1f535d07246130a7a00e0d8321cfb91ac SHA256 25fe2647b113b7471d7ce4f00abeb925b13b5c13b1bfd55122d345e5e62504d2
-MISC ChangeLog 9314 RMD160 292a11088634f5e729e1244fcbd97a9cf3c863ef SHA1 52ea801b98fce034d36f7973e2b04ae1713c7877 SHA256 c0eef6e89d45563ba189ee8156e475b645cdd15c4d1e3560d4a3fe3b46f7ad09
+EBUILD libpqxx-4.0.ebuild 2720 RMD160 470dd83610e1f2126015b022b4bea86e68d96d3d SHA1 e75519ba22531693bd8ac5cdc95c8d131d144db8 SHA256 946955ec4bb8dbb4ac24b19b103c8f26d89f9006fe807e1670387cadf7c6af81
+MISC ChangeLog 9439 RMD160 633534f0acaf48c4ba368f76b4be12f79e99fa79 SHA1 fd6d906f106593301f28083864ae789032c9b09f SHA256 514c6110498e07dcb51e5b249d5fe5b2443b94dae35f041a1f1e48cd685ff5e2
MISC metadata.xml 479 RMD160 b10fa4653f307d21cc36cb24911aa1d6ced1248e SHA1 213e666f9cd523ebbc163ab7d78472caf289d4ef SHA256 42e814ea6ceb5a7133c3ddbe0afd13a1b97083893405fee6f7984d5c9cbbb938
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk7SVucACgkQuQc30/atMkDOQQCdEfTiRN2q919aktCysEBnomU7
-W1wAn1MLw2Kwo1Ykkog+RDLGWXNRBs1W
-=InkZ
+iF4EAREIAAYFAk7Th1EACgkQVxOqA9G7/aDy/gEAgv2RCfPp/qw4hv6sakho0oKA
+kr/BJngm2d1BfYRyKrsA/A9gF71xp062SD/5E9Mxdy7+AMqtQFYmggFO9qbwSeyG
+=wFyz
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libpqxx/libpqxx-4.0.ebuild b/dev-libs/libpqxx/libpqxx-4.0.ebuild
new file mode 100644
index 000000000000..f3d7a5409e1c
--- /dev/null
+++ b/dev-libs/libpqxx/libpqxx-4.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/libpqxx-4.0.ebuild,v 1.1 2011/11/28 13:06:19 titanofold Exp $
+
+EAPI="4"
+
+inherit eutils
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+DESCRIPTION="C++ client API for PostgreSQL. The standard front-end for writing C++ programs that use PostgreSQL."
+SRC_URI="http://pqxx.org/download/software/${PN}/${P}.tar.gz"
+HOMEPAGE="http://pqxx.org/development/libpqxx/"
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc"
+
+DEPEND="dev-db/postgresql-base"
+RDEPEND="${DEPEND}"
+
+# src_test is interactive unless PGDATABASE and PGUSER is set either as an
+# environment variable or in /etc/libpqxx_test_env
+PROPERTIES="interactive"
+
+src_configure() {
+ econf --enable-shared
+}
+
+src_install () {
+ emake DESTDIR="${D}" install
+
+ dodoc AUTHORS ChangeLog NEWS README*
+ use doc && dohtml -r doc/html/*
+}
+
+src_test() {
+ einfo "The tests need a running PostgreSQL server and an existing database."
+ einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally,"
+ einfo "set PGPORT and PGHOST. Define them at the command line or in:"
+ einfo " ${EROOT%/}/etc/libpqxx_test_env"
+
+ if [[ -z $PGDATABASE || -z $PGUSER ]] ; then
+ if [[ -f ${EROOT%/}/etc/libpqxx_test_env ]] ; then
+ source "${EROOT%/}/etc/libpqxx_test_env"
+ [[ -n $PGDATABASE ]] && export PGDATABASE
+ [[ -n $PGHOST ]] && export PGHOST
+ [[ -n $PGPORT ]] && export PGPORT
+ [[ -n $PGUSER ]] && export PGUSER
+ fi
+
+ # In case the file wasn't written properly or doesn't exist
+ if [[ -z $PGDATABASE || -z $PGUSER ]] ; then
+ echo -n "Database (Default: $(whoami)): "
+ read PGDATABASE
+ [[ -n $PGDATABASE ]] && export PGDATABASE
+ echo -n "Host (Default: Unix socket): "
+ read PGHOST
+ [[ -n $PGHOST ]] && export PGHOST
+ echo -n "Port (Default: 5432): "
+ read PGPORT
+ [[ -n $PGPORT ]] && export PGPORT
+ echo -n "User (Default: $(whoami)): "
+ read PGUSER
+ [[ -n $PGUSER ]] && export PGUSER
+ fi
+ fi
+
+ local server_version
+ server_version=$(psql -Aqtc 'SELECT version();' 2> /dev/null)
+ if [[ $? = 0 ]] ; then
+# Currently works with highest server version in tree
+# server_version=$(echo ${server_version} | cut -d " " -f 2 | cut -d "." -f -2 | tr -d .)
+# if [[ $server_version < 92 ]] ; then
+ cd "${S}/test"
+ emake check
+# else
+# eerror "Server version must be 8.4.x or below."
+# die "Server version isn't 8.4.x or below"
+# fi
+ else
+ eerror "Is the server running?"
+ eerror "Verify role and database exist, and are permitted in pg_hba.conf for:"
+ eerror " Role: ${PGUSER}"
+ eerror " Database: ${PGDATABASE}"
+ die "Couldn't connect to server."
+ fi
+}