# ChangeLog for dev-db/libpq
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.107 2007/05/01 19:28:59 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.108 2007/05/03 02:28:54 aross Exp $
+
+*libpq-7.3.19 (03 May 2007)
+
+ 03 May 2007; Andrew Ross <aross@gentoo.org>
+ +files/libpq-7.3.19-gentoo.patch, +libpq-7.3.19.ebuild:
+ Version bump (bug #175791).
*libpq-8.2.4 (01 May 2007)
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX libpq-7.3.15-gentoo.patch 2072 RMD160 6b9be37042691c71a45cd1b8afdd5b527f377a1d SHA1 26ebf644d18024127658478f480b9068077a07a0 SHA256 60236cf5e6e3cd71ce3dd9a3a8980411bf59e417bb5a81def08163afbdce19db
MD5 a5258e009dc50cac1d5e110fd78f4f8c files/libpq-7.3.15-gentoo.patch 2072
RMD160 6b9be37042691c71a45cd1b8afdd5b527f377a1d files/libpq-7.3.15-gentoo.patch 2072
MD5 12b0d7b6fb93d3c6272210a95ae41e39 files/libpq-7.3.18-gentoo.patch 2145
RMD160 697f39977f0400c4ee2fdba9508d9c64d744662c files/libpq-7.3.18-gentoo.patch 2145
SHA256 db52e0d1345977ff8cd58ee9a74d321356032cb344f080a93409f9922fefed14 files/libpq-7.3.18-gentoo.patch 2145
+AUX libpq-7.3.19-gentoo.patch 2170 RMD160 3db5f979d2627be481b7d5845655f834cc70904c SHA1 903f88275ecd95b3f25e2f7ff6d19fc6d71412c5 SHA256 2f8370a08b3462f2edf707b3c25f06222f1e929b0356fbcdc2d3557c82f5d868
+MD5 001ad860f38807f25c9aeb8175e37b1c files/libpq-7.3.19-gentoo.patch 2170
+RMD160 3db5f979d2627be481b7d5845655f834cc70904c files/libpq-7.3.19-gentoo.patch 2170
+SHA256 2f8370a08b3462f2edf707b3c25f06222f1e929b0356fbcdc2d3557c82f5d868 files/libpq-7.3.19-gentoo.patch 2170
AUX libpq-7.4.13-gentoo.patch 2611 RMD160 c26e204bc27af9fe26a3580aebef558adaa7aa96 SHA1 0eb376094085c58f700754b171921a1214f01599 SHA256 219f59d3be934576c5d55cb824aae390b740110f838ad092743fbecca3abdad9
MD5 421a67ed3acdb12296f6a6646d9cee6e files/libpq-7.4.13-gentoo.patch 2611
RMD160 c26e204bc27af9fe26a3580aebef558adaa7aa96 files/libpq-7.4.13-gentoo.patch 2611
DIST postgresql-base-7.3.15.tar.bz2 5695061 RMD160 55cc363e1ce26ea0c7f79c5adfd90714988afb46 SHA1 059f16d3e98df525e9c0962f29f2126a9397dc02 SHA256 81da1ab6c3d9e19aef068cc1db81ca696771dfa5c8ff262bcb1bf977ac7429dc
DIST postgresql-base-7.3.16.tar.bz2 5696231 RMD160 aaf7e4743bc67c0a45d8d44cef840283e7ead6f9 SHA1 cc01fecb6d419b6f4d9f2c4f683ee6e066382640 SHA256 96046fc13596e4d9f7a4dcd5882fed51ec5905760cc828594443272a69c140e5
DIST postgresql-base-7.3.18.tar.bz2 5695073 RMD160 62607d50fbf97ae0b954943e2e27052bcf2c5aa0 SHA1 29e2121ee6383929e8b90b50e8f7bbac218f203e SHA256 648c7bddcab5477c5d7800795f8392a3ecdd361828c4374d9804bfa61a07b048
+DIST postgresql-base-7.3.19.tar.bz2 5691127 RMD160 802bbba70d1368097a74de6b67589ab9645597cc SHA1 09206cd4d9c2b5648756eff70f101cec89365776 SHA256 1804e0424e4444f67acfb98b4e4ad2ede26748d1ddb4a9201cbff7627e394e6a
DIST postgresql-base-7.4.13.tar.bz2 6576973 RMD160 5f90ed85fdceb06fe15e324620e931140e3617ef SHA1 cb326a788833e805a54a80d87aeeb6fa00fb7b1e SHA256 2e2fa6b1cf3fc7a66a58762acfb64ce42d358e0dd799a467316e937d3a116cf7
DIST postgresql-base-7.4.14.tar.bz2 6575201 RMD160 c5b8ecd20ad2783c3f254f0e7402aab9ad722d0a SHA1 b737a35070bf13f478e8bca346a32243b9599b89 SHA256 5a34fcd56d2d8eebcd2728e5971c0d39d2971dc25e49d88bfeb84d69b5e8ebc9
DIST postgresql-base-7.4.16.tar.bz2 6586435 RMD160 8536d5f6f26a101240c64084e6adeb260efef891 SHA1 d3f36c6ace31d3725828aa9d86f4c08f266e33e3 SHA256 d8e7df2f06f248e66023452fa9cf565640b93ae43433dade7515f54e643f5c21
DIST postgresql-base-8.2.4.tar.bz2 8549159 RMD160 876105c3cc9d36b66cf9dc9b687d4b6f6b2c3d9c SHA1 9ffc18c520e8829c957089ce46a7f3cd4113b6ac SHA256 8ee5ad364ee21079ce3d726b4abcfa0f318015a331e37e9856a3500fcce74cca
DIST postgresql-opt-7.3.16.tar.bz2 341908 RMD160 00e0f059910eed3021ba5b096e86bdc6878c34d6 SHA1 aac3126d50dfb1ea23984ecdff9cc6da7605b531 SHA256 0e1ab00b1439c5930b6c74ed5c4382c01fdb54434857ac3c1599d32fcce2c8d1
DIST postgresql-opt-7.3.18.tar.bz2 342315 RMD160 fa7cb704ff7bb131f6108217c645821413ecd5b8 SHA1 5c1a8a103d696668abae7d8931c0dd687cdb7766 SHA256 6d422a3d4d56192952c035d01aff59b90c7ab7b3cdb7f300572e40dd20db5e4b
+DIST postgresql-opt-7.3.19.tar.bz2 342076 RMD160 7ee1dea5c906d88ba3384ea805368a9dcb8af47d SHA1 0736e5056f1428fc542853975e7fbd1b383f568c SHA256 2735bceed9f0d27befb3ec26b5d76f9272da1cdf2434ceb9d68327494912017f
DIST postgresql-opt-7.4.14.tar.bz2 333417 RMD160 a6279f5b9d52f72ce786bc468c114befb5a1f29a SHA1 becc575260128261dc7f8ed46f166f54f48b8732 SHA256 e670d22812c50512807edd692d867e2b62c6b79f9d7b84cad56ef038cc12475d
DIST postgresql-opt-8.0.12.tar.bz2 134790 RMD160 be0d57de5000296bfd5b64685f4d4ef81edea347 SHA1 bd26e2cce6ea7b486e29bc983ee76cfb0551f32b SHA256 ceaf90195860694487918032c19e0a11f991d74c77838cac2ea827d6c85f54da
DIST postgresql-opt-8.0.13.tar.bz2 134769 RMD160 f3fb741c5dcff23045a58baf57f4386099e3c563 SHA1 ccdc23eb12b19c6d88633125b9e0c2feeda5f93e SHA256 9f63fc12ede1a605934cdc462ff45c0e924288284f411ae38dec1c5b6e87ce25
MD5 3543a0f0fbca293f8c2ffc056067c305 libpq-7.3.18.ebuild 3291
RMD160 379e0324a7374d990df634ac712f9c929674d83d libpq-7.3.18.ebuild 3291
SHA256 8378128c641a52d09f589bc5a3b7c9f29e41878ca8e671d55ead535e22419a92 libpq-7.3.18.ebuild 3291
+EBUILD libpq-7.3.19.ebuild 3289 RMD160 7d96e524dcedd5c8774a8d1b23190c84c1c01b6a SHA1 ed77545113472db4b7c3fb63f6385c779951c185 SHA256 ba817a3312b9d57d4214a09b99bad78dc04e7f9729c33585d023ac189967a530
+MD5 3df8307c004526c2d197184c62e8d720 libpq-7.3.19.ebuild 3289
+RMD160 7d96e524dcedd5c8774a8d1b23190c84c1c01b6a libpq-7.3.19.ebuild 3289
+SHA256 ba817a3312b9d57d4214a09b99bad78dc04e7f9729c33585d023ac189967a530 libpq-7.3.19.ebuild 3289
EBUILD libpq-7.4.13.ebuild 3084 RMD160 1aaaefb56c0a7005fb20b351f03d1afc3c88031c SHA1 3b7a4ecdffc6712f201b76f7755fca13a02c30b2 SHA256 effee9c11b4ca11c01eab3c369da0db20747dbedc8080714c9c78520d06704e5
MD5 36183272c56e26246addd3f2981cde57 libpq-7.4.13.ebuild 3084
RMD160 1aaaefb56c0a7005fb20b351f03d1afc3c88031c libpq-7.4.13.ebuild 3084
MD5 8896c73b1aa929abd003411124e5b796 libpq-8.2.4.ebuild 3417
RMD160 937cf7a61ebbcabb14a7025010121d9e0eae2111 libpq-8.2.4.ebuild 3417
SHA256 abdb20ba7632ac666bd7c54cab23e130d537905bf0c230c0ac536ead2549496f libpq-8.2.4.ebuild 3417
-MISC ChangeLog 17627 RMD160 66dd364368b95fd0b6cb3a2f3d4b05a00ccd0c29 SHA1 a071f5eff6ce87cf45a683dfbb1a3549a766cbd1 SHA256 cb745e307296696873d503dd3f953211895af0db8015c8833da098af657bf8f9
-MD5 0ac37722be074066565c478ed4e12adf ChangeLog 17627
-RMD160 66dd364368b95fd0b6cb3a2f3d4b05a00ccd0c29 ChangeLog 17627
-SHA256 cb745e307296696873d503dd3f953211895af0db8015c8833da098af657bf8f9 ChangeLog 17627
+MISC ChangeLog 17791 RMD160 5a5c04b372d4912e38b4bc26e6a06b97a58064cf SHA1 3069d23bcdcaada61997ee20771473539588b4da SHA256 d75d6dc65b1affe5258861a7b57afc38885f416c546151706984d4ad11949551
+MD5 70647bb2b42f191f3bbe05e8dd60749e ChangeLog 17791
+RMD160 5a5c04b372d4912e38b4bc26e6a06b97a58064cf ChangeLog 17791
+SHA256 d75d6dc65b1affe5258861a7b57afc38885f416c546151706984d4ad11949551 ChangeLog 17791
MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
MD5 6fe52df942ef15801d56449cd8299604 metadata.xml 164
RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc metadata.xml 164
MD5 6f1763f9230bffd911a68f57646f286c files/digest-libpq-7.3.18 542
RMD160 4bbbd10cf2b08c8e4b629de86e2f170161ac8aa7 files/digest-libpq-7.3.18 542
SHA256 438acb827392b58a871dd39b519563b23d0db3ebb1817bc09accaeaa26ecd4fc files/digest-libpq-7.3.18 542
+MD5 5c22b16f84342fe2b0648e721e3744c8 files/digest-libpq-7.3.19 542
+RMD160 eab1c58619808660bfd0db7e0fb92788b1aa1344 files/digest-libpq-7.3.19 542
+SHA256 00a56642da4a936cf7cf559359615f0eca807f77cf1718b253709d9e49526e67 files/digest-libpq-7.3.19 542
MD5 d4df809fed8eb6b6a5b0f65d9dd67236 files/digest-libpq-7.4.13 274
RMD160 fb20fd4e3ccac6925532f1463eb03ceb95c6c11f files/digest-libpq-7.4.13 274
SHA256 708a0dce96b98013656090a67385955fe6c5c7beafbe7de7b1d937564bf3db12 files/digest-libpq-7.4.13 274
MD5 3a893edb4f7e630212e8290c0e25f51d files/digest-libpq-8.2.4 804
RMD160 9a0f5467132994cbb0c2f8b9b226d8b0d6b9eb5e files/digest-libpq-8.2.4 804
SHA256 1719fd513e4f6cc7b7f20fe98214a0fdb89348548c0d17086ba6c4497d70c43e files/digest-libpq-8.2.4 804
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD4DBQFGOQ0AbwxeDFj+ScoRAqBWAKCNu+uawQuNNvvRyqnZl7z+CbVyJACVF2VW
-FF53pcmrQN9ZrvhNikTQqg==
-=5D10
------END PGP SIGNATURE-----
--- /dev/null
+MD5 b9b2dca0468bafff72486bd54812c317 postgresql-base-7.3.19.tar.bz2 5691127
+RMD160 802bbba70d1368097a74de6b67589ab9645597cc postgresql-base-7.3.19.tar.bz2 5691127
+SHA256 1804e0424e4444f67acfb98b4e4ad2ede26748d1ddb4a9201cbff7627e394e6a postgresql-base-7.3.19.tar.bz2 5691127
+MD5 1fe88fa959492155518787c0eb197b14 postgresql-opt-7.3.19.tar.bz2 342076
+RMD160 7ee1dea5c906d88ba3384ea805368a9dcb8af47d postgresql-opt-7.3.19.tar.bz2 342076
+SHA256 2735bceed9f0d27befb3ec26b5d76f9272da1cdf2434ceb9d68327494912017f postgresql-opt-7.3.19.tar.bz2 342076
--- /dev/null
+diff -Nru postgresql-7.3.16.orig/src/interfaces/libpq/Makefile postgresql-7.3.16/src/interfaces/libpq/Makefile
+--- postgresql-7.3.16.orig/src/interfaces/libpq/Makefile 2006-11-05 13:20:09.000000000 +0100
++++ postgresql-7.3.16/src/interfaces/libpq/Makefile 2006-11-05 13:21:19.000000000 +0100
+@@ -18,6 +18,8 @@
+ SO_MAJOR_VERSION= 3
+ SO_MINOR_VERSION= 0
+
++NAME_STATIC_LIB= $(NAME)-$(SO_MAJOR_VERSION)
++
+ override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
+
+ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
+diff -Nru postgresql-7.3.16.orig/src/interfaces/libpq/nls.mk postgresql-7.3.16/src/interfaces/libpq/nls.mk
+--- postgresql-7.3.16.orig/src/interfaces/libpq/nls.mk 2006-11-05 13:20:09.000000000 +0100
++++ postgresql-7.3.16/src/interfaces/libpq/nls.mk 2006-11-05 13:21:19.000000000 +0100
+@@ -1,5 +1,5 @@
+ # $Header: /cvsroot/pgsql/src/interfaces/libpq/nls.mk,v 1.8 2002/09/22 20:57:21 petere Exp $
+-CATALOG_NAME := libpq
++CATALOG_NAME := libpq-3
+ AVAIL_LANGUAGES := cs de es fr pt_BR ru sv zh_CN zh_TW
+ GETTEXT_FILES := fe-auth.c fe-connect.c fe-exec.c fe-lobj.c fe-misc.c fe-secure.c
+ GETTEXT_TRIGGERS:= libpq_gettext
+diff -Nru postgresql-7.3.16.orig/src/Makefile.shlib postgresql-7.3.16/src/Makefile.shlib
+--- postgresql-7.3.16.orig/src/Makefile.shlib 2006-11-05 13:20:09.000000000 +0100
++++ postgresql-7.3.16/src/Makefile.shlib 2006-11-05 13:23:20.000000000 +0100
+@@ -221,7 +221,7 @@
+
+ all-lib: all-static-lib all-shared-lib
+
+-all-static-lib: lib$(NAME).a
++all-static-lib: lib$(NAME_STATIC_LIB).a
+
+ all-shared-lib: $(shlib)
+
+@@ -231,7 +231,7 @@
+ MK_NO_LORDER := true
+ endif
+
+-lib$(NAME).a: $(OBJS)
++lib$(NAME_STATIC_LIB).a: $(OBJS)
+ ifdef MK_NO_LORDER
+ $(LINK.static) $@ $^
+ else
+@@ -302,8 +302,8 @@
+ .PHONY: install-lib install-lib-static install-lib-shared
+ install-lib: install-lib-static install-lib-shared
+
+-install-lib-static: lib$(NAME).a
+- $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME).a
++install-lib-static: lib$(NAME_STATIC_LIB).a
++ $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME_STATIC_LIB).a
+
+ ifeq ($(enable_shared), yes)
+ install-lib-shared: $(shlib)
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.3.19.ebuild,v 1.1 2007/05/03 02:28:54 aross Exp $
+
+inherit eutils gnuconfig flag-o-matic toolchain-funcs
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+DESCRIPTION="PostgreSQL libraries."
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2
+ mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2"
+LICENSE="POSTGRESQL"
+SLOT="3"
+IUSE="kerberos nls pam pg-intdatetime readline ssl zlib"
+
+RDEPEND="!<=dev-db/postgresql-7.3.15-r1
+ 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}/${P}-gentoo.patch"
+}
+
+src_compile() {
+ filter-flags -ffast-math -feliminate-dwarf2-dups
+
+ # Detect mips systems properly
+ gnuconfig_update
+
+ cd "${S}"
+
+ ./configure --prefix=/usr \
+ --includedir=/usr/include/postgresql/libpq-${SLOT} \
+ --sysconfdir=/etc/postgresql \
+ --mandir=/usr/share/man \
+ --host=${CHOST} \
+ --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 \
+ --without-tk \
+ $(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-all-headers || 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."
+}