summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jackson <mjolnir@gentoo.org>2008-01-14 02:10:47 +0000
committerMartin Jackson <mjolnir@gentoo.org>2008-01-14 02:10:47 +0000
commit228e57e7af15c80bb7ee576ef1cc3c5c18dcfdf5 (patch)
tree53041dce9cf4c16cb64ed2174beb75fad5b9ea7b /dev-db/libpq
parentAdd herd per email. (diff)
downloadhistorical-228e57e7af15c80bb7ee576ef1cc3c5c18dcfdf5.tar.gz
historical-228e57e7af15c80bb7ee576ef1cc3c5c18dcfdf5.tar.bz2
historical-228e57e7af15c80bb7ee576ef1cc3c5c18dcfdf5.zip
Fix repoman warnings in 7.4.17 and 7.4.19 and fix 8.1.11 commit
Package-Manager: portage-2.1.4
Diffstat (limited to 'dev-db/libpq')
-rw-r--r--dev-db/libpq/ChangeLog9
-rw-r--r--dev-db/libpq/Manifest36
-rw-r--r--dev-db/libpq/files/digest-libpq-8.1.113
-rw-r--r--dev-db/libpq/files/libpq-8.1.11-gentoo.patch47
-rw-r--r--dev-db/libpq/libpq-7.4.17.ebuild26
-rw-r--r--dev-db/libpq/libpq-7.4.19.ebuild24
-rw-r--r--dev-db/libpq/libpq-8.1.11.ebuild115
7 files changed, 222 insertions, 38 deletions
diff --git a/dev-db/libpq/ChangeLog b/dev-db/libpq/ChangeLog
index d0190072e0ad..7a2815f4b645 100644
--- a/dev-db/libpq/ChangeLog
+++ b/dev-db/libpq/ChangeLog
@@ -1,6 +1,13 @@
# 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.132 2008/01/14 01:14:51 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.133 2008/01/14 02:10:47 mjolnir Exp $
+
+*libpq-8.1.11 (14 Jan 2008)
+
+ 14 Jan 2008; Martin Jackson <mjolnir@gentoo.org>
+ +files/libpq-8.1.11-gentoo.patch, libpq-7.4.17.ebuild,
+ +libpq-8.1.11.ebuild:
+ Fix repoman warnings in 7.4.17 and 7.4.19 and fix 8.1.11 commit
14 Jan 2008; Brent Baude <ranger@gentoo.org> libpq-7.3.21.ebuild:
Marking libpq-7.3.21 ppc64 for bug 204760
diff --git a/dev-db/libpq/Manifest b/dev-db/libpq/Manifest
index ac045f38c29f..e8d5726d9909 100644
--- a/dev-db/libpq/Manifest
+++ b/dev-db/libpq/Manifest
@@ -22,6 +22,10 @@ AUX libpq-8.0.15-gentoo.patch 2382 RMD160 ec7e86cb584598196e18904d4b626ccc64750e
MD5 712084754fb5b7aa013d70c34cb21fec files/libpq-8.0.15-gentoo.patch 2382
RMD160 ec7e86cb584598196e18904d4b626ccc64750ede files/libpq-8.0.15-gentoo.patch 2382
SHA256 e4a257b30f1a970fbbea6311ca1ea51e626f1ae9ab79b1b61a04c7969093408e files/libpq-8.0.15-gentoo.patch 2382
+AUX libpq-8.1.11-gentoo.patch 2408 RMD160 8deafde0e17a8f5c4636bee5f25cd85c4d84b15f SHA1 4bc3180ce0fd52a6a26c30bbe9a4aa47dd79cece SHA256 774cb22ebd5fd1436d0f227f5215af3ac790b0b193df419a1ee0067090736e99
+MD5 7ea821b197f4d44a7c828b1bd90e8d5b files/libpq-8.1.11-gentoo.patch 2408
+RMD160 8deafde0e17a8f5c4636bee5f25cd85c4d84b15f files/libpq-8.1.11-gentoo.patch 2408
+SHA256 774cb22ebd5fd1436d0f227f5215af3ac790b0b193df419a1ee0067090736e99 files/libpq-8.1.11-gentoo.patch 2408
AUX libpq-8.1.9-gentoo.patch 2408 RMD160 8deafde0e17a8f5c4636bee5f25cd85c4d84b15f SHA1 4bc3180ce0fd52a6a26c30bbe9a4aa47dd79cece SHA256 774cb22ebd5fd1436d0f227f5215af3ac790b0b193df419a1ee0067090736e99
MD5 7ea821b197f4d44a7c828b1bd90e8d5b files/libpq-8.1.9-gentoo.patch 2408
RMD160 8deafde0e17a8f5c4636bee5f25cd85c4d84b15f files/libpq-8.1.9-gentoo.patch 2408
@@ -37,6 +41,7 @@ SHA256 399103e68dd1862ad7b4318e34e702b234c50910db77bb3c90d3d814dd022a62 files/li
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-base-7.3.19.tar.bz2 5691127 RMD160 802bbba70d1368097a74de6b67589ab9645597cc SHA1 09206cd4d9c2b5648756eff70f101cec89365776 SHA256 1804e0424e4444f67acfb98b4e4ad2ede26748d1ddb4a9201cbff7627e394e6a
DIST postgresql-base-7.4.17.tar.bz2 6609512 RMD160 cd5aed1fb45cc42e12cca0cd31174b6726dae97b SHA1 2e413d570ed657f941ca77b1ac00ef1eeecddbcc SHA256 f1b7ff754ccb43d4a3a62a9124b1c8ac215e48e5549e620bfcde59124c6f1bc5
@@ -56,14 +61,14 @@ EBUILD libpq-7.3.21.ebuild 3218 RMD160 1cb7613257ffb7739df192f08726ff934ab260ef
MD5 4f3d3d2972a97207ac7526575393b761 libpq-7.3.21.ebuild 3218
RMD160 1cb7613257ffb7739df192f08726ff934ab260ef libpq-7.3.21.ebuild 3218
SHA256 21f0bb9e3054b941bff8e93eab9d395a4196a3406130c7cc2d6b2507d2ab813e libpq-7.3.21.ebuild 3218
-EBUILD libpq-7.4.17.ebuild 3074 RMD160 7e82a6289f3d936d9e22f694aa159aae543c4e9d SHA1 65d55ff007ecf69e5417e326c095879dbb2faa4d SHA256 5a4187a9d1e714d0dadde37b67137fb4131c9d9e1d6e186a761e437ecfb27a25
-MD5 e83a6b15c291954b3ff3d43e308e45b7 libpq-7.4.17.ebuild 3074
-RMD160 7e82a6289f3d936d9e22f694aa159aae543c4e9d libpq-7.4.17.ebuild 3074
-SHA256 5a4187a9d1e714d0dadde37b67137fb4131c9d9e1d6e186a761e437ecfb27a25 libpq-7.4.17.ebuild 3074
-EBUILD libpq-7.4.19.ebuild 3079 RMD160 11d157245157fd8005fb3e9d9c9417c1c6777794 SHA1 a58aac94cba8c06ba235f238030825ab243c5f1e SHA256 d5a35e11749aef43592b57b6ec9960ca1655fd8484607518c833e32b516d4d10
-MD5 528a71fdfb430864e170cdf123d31571 libpq-7.4.19.ebuild 3079
-RMD160 11d157245157fd8005fb3e9d9c9417c1c6777794 libpq-7.4.19.ebuild 3079
-SHA256 d5a35e11749aef43592b57b6ec9960ca1655fd8484607518c833e32b516d4d10 libpq-7.4.19.ebuild 3079
+EBUILD libpq-7.4.17.ebuild 3100 RMD160 8c8302f954f45c46b2a583fe4007027e2485005e SHA1 6410e34cba239af610408dca6bad080f2b07d565 SHA256 67cd69319a0e1199f8c53fa75c2a5d9ac9c3cb4d73b6e3d0589dde2a2d4e8364
+MD5 e73e90f3f04a0d952a3984c61f8ea8cc libpq-7.4.17.ebuild 3100
+RMD160 8c8302f954f45c46b2a583fe4007027e2485005e libpq-7.4.17.ebuild 3100
+SHA256 67cd69319a0e1199f8c53fa75c2a5d9ac9c3cb4d73b6e3d0589dde2a2d4e8364 libpq-7.4.17.ebuild 3100
+EBUILD libpq-7.4.19.ebuild 3104 RMD160 000431658f27403bc9d2a29c24097f06ffa65733 SHA1 c60d378f3fb7285bebf9d3b00f47c8fbf9b4bc16 SHA256 328dd8d2bd5f929e829365fdbafb961d281821be3d9ec09a842161b25cc56a49
+MD5 8e30c30715c9749807f6aac6f05d2d99 libpq-7.4.19.ebuild 3104
+RMD160 000431658f27403bc9d2a29c24097f06ffa65733 libpq-7.4.19.ebuild 3104
+SHA256 328dd8d2bd5f929e829365fdbafb961d281821be3d9ec09a842161b25cc56a49 libpq-7.4.19.ebuild 3104
EBUILD libpq-8.0.13.ebuild 3300 RMD160 e4705272df3a6ca8d310a91d08a6736220436fd8 SHA1 c26c62f063cc68586eca74aacbfde844bb9f027a SHA256 cb41a4395e896392357612a9400af1ab5f337ec2b97ca827af6093fe02a6704c
MD5 0635190d61b2161e406503d8e34a1ee1 libpq-8.0.13.ebuild 3300
RMD160 e4705272df3a6ca8d310a91d08a6736220436fd8 libpq-8.0.13.ebuild 3300
@@ -72,6 +77,10 @@ EBUILD libpq-8.0.15.ebuild 3240 RMD160 8772580c61ed523bac01c82e66fb55a2a79082b6
MD5 e11e4003411d9398f32b35aaea596b48 libpq-8.0.15.ebuild 3240
RMD160 8772580c61ed523bac01c82e66fb55a2a79082b6 libpq-8.0.15.ebuild 3240
SHA256 b458335c28095dba1e29b12486afcad324927c920680b2b7b3bb5d841236a98b libpq-8.0.15.ebuild 3240
+EBUILD libpq-8.1.11.ebuild 3264 RMD160 becf1c00a31feebec5b5ddfa7197a6834eb33ee1 SHA1 c213d728531aa8d25e3ea93c86d8518a9e536cc9 SHA256 3ea8402b9a9b22324aac452d39b21c9d1f84ff4cac1888718165717c082efafc
+MD5 0e61ee12d09b8d4160a9dda3801f4e15 libpq-8.1.11.ebuild 3264
+RMD160 becf1c00a31feebec5b5ddfa7197a6834eb33ee1 libpq-8.1.11.ebuild 3264
+SHA256 3ea8402b9a9b22324aac452d39b21c9d1f84ff4cac1888718165717c082efafc libpq-8.1.11.ebuild 3264
EBUILD libpq-8.1.9.ebuild 3331 RMD160 3807dededaac150076ea721819d7796a3dbdb070 SHA1 8c1ce5545f82b54e51a2574a8e7beb2ed939ff60 SHA256 28d38fdc5ba330c80e8f89fb573035fc2f7eb7ca0ef833e2b58262bacaaf3492
MD5 44b7aae9c2503c95d2d55734b94068e1 libpq-8.1.9.ebuild 3331
RMD160 3807dededaac150076ea721819d7796a3dbdb070 libpq-8.1.9.ebuild 3331
@@ -84,10 +93,10 @@ EBUILD libpq-8.2.6.ebuild 3191 RMD160 42b46e74ac37126afe54da8c7c63593436ac2d6a S
MD5 f0db580b5d2d5c2091a1b8cbbe6cdad2 libpq-8.2.6.ebuild 3191
RMD160 42b46e74ac37126afe54da8c7c63593436ac2d6a libpq-8.2.6.ebuild 3191
SHA256 455950ead2a875bc774b30a6bb3f2627f449daa1e5190ed0799bc644bb4dcceb libpq-8.2.6.ebuild 3191
-MISC ChangeLog 21944 RMD160 bf1a143c5d5c157ae0ad97d713b246d33adbf95a SHA1 35cd36775d7990527c921fe178cc3e9f9e638c2b SHA256 d20416096f5cfc064dbd73eab37ff279460774320d3926ebb15b4e08bbe9b854
-MD5 44f13c5cd087aaf39db64ad26edcea83 ChangeLog 21944
-RMD160 bf1a143c5d5c157ae0ad97d713b246d33adbf95a ChangeLog 21944
-SHA256 d20416096f5cfc064dbd73eab37ff279460774320d3926ebb15b4e08bbe9b854 ChangeLog 21944
+MISC ChangeLog 22173 RMD160 e489da9e97fa2738e52d9be5179374824cb21853 SHA1 fa8e7f96d0391a705693df539e2fbb606336b2fd SHA256 1e50ab03b3009b0a63ddbe8310d6305d5c3859d9f73963389dc69a41310cdf47
+MD5 e436cb2544341d085dc11a5286cc4c46 ChangeLog 22173
+RMD160 e489da9e97fa2738e52d9be5179374824cb21853 ChangeLog 22173
+SHA256 1e50ab03b3009b0a63ddbe8310d6305d5c3859d9f73963389dc69a41310cdf47 ChangeLog 22173
MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
MD5 6fe52df942ef15801d56449cd8299604 metadata.xml 164
RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc metadata.xml 164
@@ -110,6 +119,9 @@ SHA256 cece0fc823dbb82e857a4df6c2026157ed31789dd0d4938af7de6f0493dea43d files/di
MD5 e0438519efec2797b6430212965d56eb files/digest-libpq-8.0.15 262
RMD160 1ad7b4f3a03631b3b6dbcf2fcf75bd8b3facb344 files/digest-libpq-8.0.15 262
SHA256 b7dedc99319f205c529bfc325277f1df69e4b605c49772db743936f31945f11f files/digest-libpq-8.0.15 262
+MD5 8e0b9ba7ccb589a185904e1b7e564181 files/digest-libpq-8.1.11 262
+RMD160 7f74888cad6f2898b7066b15796e33793986bfc7 files/digest-libpq-8.1.11 262
+SHA256 0f8bbcf23f2f4a78191e2354d70d371e2fcdbf5bd931907c360b65270245d68e files/digest-libpq-8.1.11 262
MD5 6059b4c3c083a8ecab615069a1e20fe2 files/digest-libpq-8.1.9 536
RMD160 aba2a0823bc1941c5be893084dc0d1f70462d7bf files/digest-libpq-8.1.9 536
SHA256 ff2546fec0ed5c6baa1d2e715638b4a4a38557d2b1161aef5f1ad4d3119f0f67 files/digest-libpq-8.1.9 536
diff --git a/dev-db/libpq/files/digest-libpq-8.1.11 b/dev-db/libpq/files/digest-libpq-8.1.11
new file mode 100644
index 000000000000..86701fa789ce
--- /dev/null
+++ b/dev-db/libpq/files/digest-libpq-8.1.11
@@ -0,0 +1,3 @@
+MD5 48922512bcf683d5ea22a99df5eaaecd postgresql-8.1.11.tar.bz2 11735420
+RMD160 9fb98eadc4f1015205970f26b31b68ea0378bda9 postgresql-8.1.11.tar.bz2 11735420
+SHA256 3e91cdfc1353fa9c6416d9fc8ae9d6ab3171565f00aeb6c882214c2f08a03e2e postgresql-8.1.11.tar.bz2 11735420
diff --git a/dev-db/libpq/files/libpq-8.1.11-gentoo.patch b/dev-db/libpq/files/libpq-8.1.11-gentoo.patch
new file mode 100644
index 000000000000..859daa58735b
--- /dev/null
+++ b/dev-db/libpq/files/libpq-8.1.11-gentoo.patch
@@ -0,0 +1,47 @@
+diff -Nru postgresql-8.1.5.orig/src/interfaces/libpq/Makefile postgresql-8.1.5/src/interfaces/libpq/Makefile
+--- postgresql-8.1.5.orig/src/interfaces/libpq/Makefile 2006-11-05 13:20:34.000000000 +0100
++++ postgresql-8.1.5/src/interfaces/libpq/Makefile 2006-11-05 13:28:00.000000000 +0100
+@@ -20,6 +20,8 @@
+ SO_MINOR_VERSION= 1
+ 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)
+@@ -135,7 +137,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)
+diff -Nru postgresql-8.1.5.orig/src/interfaces/libpq/nls.mk postgresql-8.1.5/src/interfaces/libpq/nls.mk
+--- postgresql-8.1.5.orig/src/interfaces/libpq/nls.mk 2006-11-05 13:20:34.000000000 +0100
++++ postgresql-8.1.5/src/interfaces/libpq/nls.mk 2006-11-05 13:28:00.000000000 +0100
+@@ -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
+diff -Nru postgresql-8.1.5.orig/src/Makefile.shlib postgresql-8.1.5/src/Makefile.shlib
+--- postgresql-8.1.5.orig/src/Makefile.shlib 2006-11-05 13:20:34.000000000 +0100
++++ postgresql-8.1.5/src/Makefile.shlib 2006-11-05 13:28:00.000000000 +0100
+@@ -366,10 +366,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-7.4.17.ebuild b/dev-db/libpq/libpq-7.4.17.ebuild
index 7d2f229850d1..937d36b1e14d 100644
--- a/dev-db/libpq/libpq-7.4.17.ebuild
+++ b/dev-db/libpq/libpq-7.4.17.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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-7.4.17.ebuild,v 1.9 2007/06/24 21:20:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.4.17.ebuild,v 1.10 2008/01/14 02:10:47 mjolnir Exp $
inherit eutils gnuconfig flag-o-matic toolchain-funcs
@@ -33,8 +33,8 @@ MAKEOPTS="${MAKEOPTS} -j1"
pkg_preinst() {
# removing wrong symlink which is created by previous ebuild.
- if [ -L ${ROOT}/usr/include/libpq ]; then
- rm ${ROOT}/usr/include/libpq
+ if [ -L "${ROOT}/usr/include/libpq" ]; then
+ rm "${ROOT}/usr/include/libpq"
fi
}
@@ -72,34 +72,34 @@ src_compile() {
--enable-depend \
$myconf || die
- cd ${S}/src/interfaces/libpq
+ cd "${S}/src/interfaces/libpq"
emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
}
src_install() {
- cd ${S}/src/interfaces/libpq
- make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || die
+ cd "${S}/src/interfaces/libpq"
+ make DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die
- cd ${S}/src/include
- make DESTDIR=${D} install || die
+ cd "${S}/src/include"
+ make DESTDIR="${D}" install || die
- cd ${S}
+ cd "${S}"
dodoc README HISTORY COPYRIGHT INSTALL
dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a
- for f in ${D}/usr/include/postgresql/libpq-${SLOT}/*.h
+ for f in "${D}/usr/include/postgresql/libpq-${SLOT}/*.h"
do
dosym postgresql/libpq-${SLOT}/$(basename $f) /usr/include/
done
dodir /usr/include/libpq
- for f in ${D}/usr/include/postgresql/libpq-${SLOT}/libpq/*.h
+ for f in "${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}
+ 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
diff --git a/dev-db/libpq/libpq-7.4.19.ebuild b/dev-db/libpq/libpq-7.4.19.ebuild
index 779210bf9675..562566d2ade7 100644
--- a/dev-db/libpq/libpq-7.4.19.ebuild
+++ b/dev-db/libpq/libpq-7.4.19.ebuild
@@ -1,6 +1,6 @@
# 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-7.4.19.ebuild,v 1.2 2008/01/13 23:15:02 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.4.19.ebuild,v 1.3 2008/01/14 02:10:47 mjolnir Exp $
inherit eutils gnuconfig flag-o-matic toolchain-funcs
@@ -33,8 +33,8 @@ MAKEOPTS="${MAKEOPTS} -j1"
pkg_preinst() {
# removing wrong symlink which is created by previous ebuild.
- if [ -L ${ROOT}/usr/include/libpq ]; then
- rm ${ROOT}/usr/include/libpq
+ if [ -L "${ROOT}/usr/include/libpq" ]; then
+ rm "${ROOT}/usr/include/libpq"
fi
}
@@ -72,34 +72,34 @@ src_compile() {
--enable-depend \
$myconf || die
- cd ${S}/src/interfaces/libpq
+ cd "${S}/src/interfaces/libpq"
emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
}
src_install() {
- cd ${S}/src/interfaces/libpq
- make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || die
+ cd "${S}/src/interfaces/libpq"
+ make DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die
- cd ${S}/src/include
- make DESTDIR=${D} install || die
+ cd "${S}/src/include"
+ make DESTDIR="${D}" install || die
- cd ${S}
+ cd "${S}"
dodoc README HISTORY COPYRIGHT INSTALL
dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a
- for f in ${D}/usr/include/postgresql/libpq-${SLOT}/*.h
+ for f in "${D}/usr/include/postgresql/libpq-${SLOT}/*.h"
do
dosym postgresql/libpq-${SLOT}/$(basename $f) /usr/include/
done
dodir /usr/include/libpq
- for f in ${D}/usr/include/postgresql/libpq-${SLOT}/libpq/*.h
+ for f in "${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}
+ 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
diff --git a/dev-db/libpq/libpq-8.1.11.ebuild b/dev-db/libpq/libpq-8.1.11.ebuild
new file mode 100644
index 000000000000..01eea19add37
--- /dev/null
+++ b/dev-db/libpq/libpq-8.1.11.ebuild
@@ -0,0 +1,115 @@
+# 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.1.11.ebuild,v 1.1 2008/01/14 02:10:47 mjolnir Exp $
+
+inherit eutils gnuconfig 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}/${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} \
+ --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."
+}