summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-03-26 13:14:48 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-03-26 13:14:48 +0000
commit8ea1451359773812547bb5790619bfefec7c68ab (patch)
tree13cd694b18093c36838456064c991916b951b1d9 /dev-db/libpq
parentStable for HPPA (bug #209984). (diff)
downloadhistorical-8ea1451359773812547bb5790619bfefec7c68ab.tar.gz
historical-8ea1451359773812547bb5790619bfefec7c68ab.tar.bz2
historical-8ea1451359773812547bb5790619bfefec7c68ab.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-db/libpq')
-rw-r--r--dev-db/libpq/ChangeLog8
-rw-r--r--dev-db/libpq/Manifest5
-rw-r--r--dev-db/libpq/files/libpq-8.2.7-gentoo.patch44
-rw-r--r--dev-db/libpq/libpq-8.2.7.ebuild110
4 files changed, 165 insertions, 2 deletions
diff --git a/dev-db/libpq/ChangeLog b/dev-db/libpq/ChangeLog
index 2b59879d1c35..823cf99ca22c 100644
--- a/dev-db/libpq/ChangeLog
+++ b/dev-db/libpq/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/libpq
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.144 2008/01/20 00:17:21 mjolnir Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.145 2008/03/26 13:14:47 caleb Exp $
+
+*libpq-8.2.7 (26 Mar 2008)
+
+ 26 Mar 2008; Caleb Tennis <caleb@gentoo.org>
+ +files/libpq-8.2.7-gentoo.patch, +libpq-8.2.7.ebuild:
+ version bump
20 Jan 2008; Martin Jackson <mjolnir@gentoo.org>
-files/libpq-7.3.19-gentoo.patch, -files/libpq-7.4.17-gentoo.patch,
diff --git a/dev-db/libpq/Manifest b/dev-db/libpq/Manifest
index de93fcd8ba56..d0fcb039ef90 100644
--- a/dev-db/libpq/Manifest
+++ b/dev-db/libpq/Manifest
@@ -3,15 +3,18 @@ AUX libpq-7.4.19-gentoo.patch 2846 RMD160 395aef07550cdc0cb726c7fd1599089bbe5637
AUX libpq-8.0.15-gentoo.patch 2382 RMD160 ec7e86cb584598196e18904d4b626ccc64750ede SHA1 20c230bdc8c181caa5a524076f65f85e047a5bef SHA256 e4a257b30f1a970fbbea6311ca1ea51e626f1ae9ab79b1b61a04c7969093408e
AUX libpq-8.1.11-gentoo.patch 2408 RMD160 8deafde0e17a8f5c4636bee5f25cd85c4d84b15f SHA1 4bc3180ce0fd52a6a26c30bbe9a4aa47dd79cece SHA256 774cb22ebd5fd1436d0f227f5215af3ac790b0b193df419a1ee0067090736e99
AUX libpq-8.2.6-gentoo.patch 2129 RMD160 551e884dc7c0bbc2f8afc7df0be75d88a27dc2aa SHA1 aa118e8fc035f52e7ded940c1bb1dba1c6e14bf8 SHA256 399103e68dd1862ad7b4318e34e702b234c50910db77bb3c90d3d814dd022a62
+AUX libpq-8.2.7-gentoo.patch 2129 RMD160 551e884dc7c0bbc2f8afc7df0be75d88a27dc2aa SHA1 aa118e8fc035f52e7ded940c1bb1dba1c6e14bf8 SHA256 399103e68dd1862ad7b4318e34e702b234c50910db77bb3c90d3d814dd022a62
DIST postgresql-7.3.21.tar.bz2 9284558 RMD160 f9de4676b4fbe3d96e6d1462b8bc3c05600d6525 SHA1 bdfa3bddc483c6642cc2ee271d076bfaa4c20c92 SHA256 bf44e0ac259e9f6e14ac102f2977496b6996ecea2fd227fbdcea5fa70e342888
DIST postgresql-7.4.19.tar.bz2 10307396 RMD160 c9a1c7dc8e7bf9ce93c3b4f061af0563b1cc2627 SHA1 19c563d47b0d5deeef03b5ca7707c9f1917853ce SHA256 447ac7070aa0a547f17a307e842734fc27e2716cb4a251fa9a810b178d44c389
DIST postgresql-8.0.15.tar.bz2 11253897 RMD160 6aff5c63dce73eea609f0b6e013cd043ae8b7a37 SHA1 66a6fef7749afb91471200005511c04fc1ac2706 SHA256 59408a00db1c73e638a11af10438a827507b7a72b53916d58f2d44c477718714
DIST postgresql-8.1.11.tar.bz2 11735420 RMD160 9fb98eadc4f1015205970f26b31b68ea0378bda9 SHA1 73c0f09754fc8e3c7f8d7de49d70244b76927416 SHA256 3e91cdfc1353fa9c6416d9fc8ae9d6ab3171565f00aeb6c882214c2f08a03e2e
DIST postgresql-8.2.6.tar.bz2 12559117 RMD160 fa12ce310919cb52be3558d38a7e329bc73bbe33 SHA1 8934dfbd4c1d8c4f2945cb80f02072611681f967 SHA256 ee41327e821f933de2894d6e0c319edc4b63e80cb902e673b490b7eaf4ead114
+DIST postgresql-8.2.7.tar.bz2 12576126 RMD160 96700e91c3b9e733c686b0fe377c7ba661710942 SHA1 0be0dbaa488810ebcba77ac7246180c5b2a9b669 SHA256 39528d1ba50f5abc51569e8b9bdeb47d0d4650d289a2c2e465621864b1ff3584
EBUILD libpq-7.3.21.ebuild 3209 RMD160 5237580d4b38aea785c2940848bd32921e98ffc3 SHA1 bbc02fe050b3a7c519863e2b29edf7a857743892 SHA256 437c1e2dea10699c25597b20527e064ff8931f0b7c933cc5c9c91f0ecead19db
EBUILD libpq-7.4.19.ebuild 3093 RMD160 c7ebc3176931f42cccde93d91743dac5130bf5fb SHA1 8a2ef9a85b970f083df72d3943fd9c56db64eec0 SHA256 08c7f2090b2e73ee842786961968cae89b7b4a3285928faf82a4bd6f75eeb272
EBUILD libpq-8.0.15.ebuild 3230 RMD160 081bf3e4ccec8bb667d3f08b47b01e5284a4a744 SHA1 a1fabbd612975142e1129bd5ef2e4d8e463e7114 SHA256 d27b03eff338570dbfbcf704f40bea243322ba5454c7f5be17c5b51a084249f3
EBUILD libpq-8.1.11.ebuild 3264 RMD160 becf1c00a31feebec5b5ddfa7197a6834eb33ee1 SHA1 c213d728531aa8d25e3ea93c86d8518a9e536cc9 SHA256 3ea8402b9a9b22324aac452d39b21c9d1f84ff4cac1888718165717c082efafc
EBUILD libpq-8.2.6.ebuild 3191 RMD160 42b46e74ac37126afe54da8c7c63593436ac2d6a SHA1 c879f6a5f28495ecbf7b692f8b31fa43d0fe11e1 SHA256 455950ead2a875bc774b30a6bb3f2627f449daa1e5190ed0799bc644bb4dcceb
-MISC ChangeLog 23706 RMD160 fd6bb54643cedbf4c1ee48acd992bef09c9826b2 SHA1 f7496c848819d3470a535b3bdbf4ae7b87c3297e SHA256 37797ac0b02fafa7908b7d22145f7b001e4cb4ff5e9fc2a0c31225b8c19d10ee
+EBUILD libpq-8.2.7.ebuild 3189 RMD160 5b5f0e297c6b084ef81a461b263da9d0ac47491d SHA1 65de75056aa05653225dac681146c46ab00b166d SHA256 2237d1108608d7957c4270f1d1fb490cdde09e5d5a1fb1ea034c23ca8933324e
+MISC ChangeLog 23851 RMD160 d9269711d14e51035cf6ea93241b9b2e660e2fa7 SHA1 04d5abb62196563f37515f5aae0e0a0a21455ae9 SHA256 441fd31e0e8e30ef8a936641c8d9133ef9cb796104daf1842fb538d40fb43b41
MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
diff --git a/dev-db/libpq/files/libpq-8.2.7-gentoo.patch b/dev-db/libpq/files/libpq-8.2.7-gentoo.patch
new file mode 100644
index 000000000000..428232c131e9
--- /dev/null
+++ b/dev-db/libpq/files/libpq-8.2.7-gentoo.patch
@@ -0,0 +1,44 @@
+--- postgresql-8.2.3.orig/src/interfaces/libpq/Makefile 2006-12-28 01:01:12.000000000 +0100
++++ postgresql-8.2.3/src/interfaces/libpq/Makefile 2007-03-29 10:24:27.000000000 +0200
+@@ -20,6 +20,8 @@
+ SO_MINOR_VERSION= 0
+ DLTYPE= library
+
++NAME_STATIC_LIB= $(NAME)-$(SO_MAJOR_VERSION)
++
+ override CPPFLAGS := -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
+ ifneq ($(PORTNAME), win32)
+ override CFLAGS += $(PTHREAD_CFLAGS)
+@@ -160,7 +162,7 @@
+ $(INSTALL_DATA) $(srcdir)/libpq-fe.h '$(DESTDIR)$(includedir)'
+ $(INSTALL_DATA) $(srcdir)/libpq-int.h '$(DESTDIR)$(includedir_internal)'
+ $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
+- $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
++ $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service-$(SO_MAJOR_VERSION).conf.sample'
+
+ installdirs:
+ $(mkinstalldirs) '$(DESTDIR)$(libdir)' '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)'
+--- postgresql-8.2.3.orig/src/interfaces/libpq/nls.mk 2005-01-14 09:57:06.000000000 +0100
++++ postgresql-8.2.3/src/interfaces/libpq/nls.mk 2007-03-29 10:24:55.000000000 +0200
+@@ -1,5 +1,5 @@
+ # $PostgreSQL: pgsql/src/interfaces/libpq/nls.mk,v 1.20 2005/01/14 08:57:06 petere Exp $
+-CATALOG_NAME := libpq
++CATALOG_NAME := libpq-4
+ AVAIL_LANGUAGES := af cs de es fr hr it ko nb pl pt_BR ru sk sl sv tr zh_CN zh_TW
+ GETTEXT_FILES := fe-auth.c fe-connect.c fe-exec.c fe-lobj.c fe-misc.c fe-protocol2.c fe-protocol3.c fe-secure.c
+ GETTEXT_TRIGGERS:= libpq_gettext pqInternalNotice:2
+--- postgresql-8.2.3.orig/src/Makefile.shlib 2006-09-19 17:36:07.000000000 +0200
++++ postgresql-8.2.3/src/Makefile.shlib 2007-03-29 10:28:42.000000000 +0200
+@@ -346,10 +346,10 @@
+ install-lib: install-lib-static install-lib-shared
+
+ install-lib-static: lib$(NAME).a
+- $(INSTALL_STLIB) $< '$(DESTDIR)$(libdir)/lib$(NAME).a'
++ $(INSTALL_STLIB) $< '$(DESTDIR)$(libdir)/lib$(NAME_STATIC_LIB).a'
+ ifeq ($(PORTNAME), darwin)
+ cd '$(DESTDIR)$(libdir)' && \
+- ranlib lib$(NAME).a
++ ranlib lib$(NAME_STATIC_LIB).a
+ endif
+
+ ifeq ($(enable_shared), yes)
diff --git a/dev-db/libpq/libpq-8.2.7.ebuild b/dev-db/libpq/libpq-8.2.7.ebuild
new file mode 100644
index 000000000000..a378d5172ce4
--- /dev/null
+++ b/dev-db/libpq/libpq-8.2.7.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.2.7.ebuild,v 1.1 2008/03/26 13:14:47 caleb Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+
+DESCRIPTION="PostgreSQL libraries."
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
+LICENSE="POSTGRESQL"
+SLOT="4"
+IUSE="kerberos nls pam pg-intdatetime readline ssl threads zlib"
+
+RDEPEND="!<=dev-db/postgresql-8.1.4
+ kerberos? ( virtual/krb5 )
+ pam? ( virtual/pam )
+ readline? ( >=sys-libs/readline-4.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ zlib? ( >=sys-libs/zlib-1.1.3 )"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf
+ >=sys-devel/bison-1.875
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/postgresql-${PV}"
+
+pkg_preinst() {
+ # Removing wrong symlink created by previous ebuild
+ if [[ -L "${ROOT}/usr/include/libpq" ]] ; then
+ rm -f "${ROOT}/usr/include/libpq"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
+}
+
+src_compile() {
+ filter-flags -ffast-math -feliminate-dwarf2-dups
+
+ econf --prefix=/usr \
+ --includedir=/usr/include/postgresql/libpq-${SLOT} \
+ --sysconfdir=/etc/postgresql \
+ --mandir=/usr/share/man \
+ --host=${CHOST} \
+ --with-docdir=/usr/share/doc/${PF} \
+ --libdir=/usr/$(get_libdir) \
+ --enable-depend \
+ $(use_with kerberos krb5) \
+ $(use_enable nls ) \
+ $(use_with pam) \
+ --without-perl \
+ $(use_enable pg-intdatetime integer-datetimes ) \
+ --without-python \
+ $(use_with readline) \
+ $(use_with ssl openssl) \
+ --without-tcl \
+ $(use_enable threads thread-safety ) \
+ $(use_with zlib) \
+ || die "configure failed"
+
+ cd "${S}/src/interfaces/libpq"
+ emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake libpq failed"
+
+ cd "${S}/src/bin/pg_config"
+ emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake pg_config failed"
+}
+
+src_install() {
+ cd "${S}/src/interfaces/libpq"
+ emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "emake install libpq failed"
+
+ cd "${S}/src/include"
+ emake DESTDIR="${D}" install || die "emake install headers failed"
+
+ cd "${S}/src/bin/pg_config"
+ emake DESTDIR="${D}" install || die "emake install pg_config failed"
+
+ cd "${S}"
+ dodoc README HISTORY
+
+ dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a
+
+ for f in $(ls -1 "${D}"/usr/include/postgresql/libpq-${SLOT}/*.h) ; do
+ dosym postgresql/libpq-${SLOT}/$(basename ${f}) /usr/include/
+ done
+
+ dodir /usr/include/libpq
+ for f in $(ls -1 "${D}"/usr/include/postgresql/libpq-${SLOT}/libpq/*.h) ; do
+ dosym ../postgresql/libpq-${SLOT}/libpq/$(basename ${f}) /usr/include/libpq/
+ done
+
+ cd "${D}/usr/include/postgresql/libpq-${SLOT}"
+ for f in $(find * -name '*.h' -print) ; do
+ destdir=$(dirname ${f})
+ if [[ ! -d "${D}/usr/include/postgresql/${destdir}" ]] ; then
+ dodir "/usr/include/postgresql/${destdir}"
+ fi
+ dosym /usr/include/postgresql/libpq-${SLOT}/${f} "/usr/include/postgresql/${destdir}/"
+ done
+}
+
+src_test() {
+ einfo "No tests available for libpq."
+}