summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2005-10-08 22:59:38 +0000
committerMasatomo Nakano <nakano@gentoo.org>2005-10-08 22:59:38 +0000
commitf54a930e8bb07612562365f0caa8a8e9b3875f32 (patch)
treeec85c79fc8d77c17c3f6af847dde7ef5bf5b1cca
parentStable on sh. (diff)
downloadhistorical-f54a930e8bb07612562365f0caa8a8e9b3875f32.tar.gz
historical-f54a930e8bb07612562365f0caa8a8e9b3875f32.tar.bz2
historical-f54a930e8bb07612562365f0caa8a8e9b3875f32.zip
version bump
Package-Manager: portage-2.0.51.22-r3
-rw-r--r--dev-db/libpq/ChangeLog13
-rw-r--r--dev-db/libpq/Manifest14
-rw-r--r--dev-db/libpq/files/digest-libpq-7.3.111
-rw-r--r--dev-db/libpq/files/digest-libpq-7.4.91
-rw-r--r--dev-db/libpq/files/digest-libpq-8.0.41
-rw-r--r--dev-db/libpq/files/digest-libpq-8.1_beta21
-rw-r--r--dev-db/libpq/files/libpq-7.3.11-gentoo.patch53
-rw-r--r--dev-db/libpq/files/libpq-7.4.9-gentoo.patch60
-rw-r--r--dev-db/libpq/files/libpq-8.0.4-gentoo.patch43
-rw-r--r--dev-db/libpq/files/libpq-8.1_beta2-gentoo.patch43
-rw-r--r--dev-db/libpq/libpq-7.3.11.ebuild111
-rw-r--r--dev-db/libpq/libpq-7.4.9.ebuild111
-rw-r--r--dev-db/libpq/libpq-8.0.4.ebuild111
-rw-r--r--dev-db/libpq/libpq-8.1_beta2.ebuild111
14 files changed, 672 insertions, 2 deletions
diff --git a/dev-db/libpq/ChangeLog b/dev-db/libpq/ChangeLog
index f0775ae3ac32..d2bd2301c437 100644
--- a/dev-db/libpq/ChangeLog
+++ b/dev-db/libpq/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for dev-db/libpq
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.23 2005/08/28 00:41:17 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.24 2005/10/08 22:59:38 nakano Exp $
+
+*libpq-8.1_beta2 (08 Oct 2005)
+*libpq-8.0.4 (08 Oct 2005)
+*libpq-7.4.9 (08 Oct 2005)
+*libpq-7.3.11 (08 Oct 2005)
+
+ 08 Oct 2005; <nakano@gentoo.org> +files/libpq-7.3.11-gentoo.patch,
+ +files/libpq-7.4.9-gentoo.patch, +files/libpq-8.0.4-gentoo.patch,
+ +files/libpq-8.1_beta2-gentoo.patch, +libpq-7.3.11.ebuild,
+ +libpq-7.4.9.ebuild, +libpq-8.0.4.ebuild, +libpq-8.1_beta2.ebuild:
+ Version bump
*libpq-8.1_beta1 (28 Aug 2005)
diff --git a/dev-db/libpq/Manifest b/dev-db/libpq/Manifest
index 522485bf5e1c..41fdbb4edb92 100644
--- a/dev-db/libpq/Manifest
+++ b/dev-db/libpq/Manifest
@@ -1,25 +1,37 @@
+MD5 38ebe21c0a9d3306bdb1b06f9dc600eb libpq-7.4.9.ebuild 3095
+MD5 51cb30dbcf8a822a9901bde9afd23f44 libpq-8.1_beta2.ebuild 3116
+MD5 cf2c1a4647516f7b24ee65330678b710 libpq-8.0.4.ebuild 3085
MD5 c58c7338f16a3a63b2b12e953c4259f6 libpq-8.0.3-r1.ebuild 3102
+MD5 2245916cf799665ab8cb5923089f84e7 libpq-7.3.11.ebuild 3096
MD5 769c87b4c1e3ea2a25e870842d1d7e65 libpq-8.0.1.ebuild 3078
MD5 14c58edbdd7fe2caeb86a0f75e66ec9c libpq-7.4.8.ebuild 3076
MD5 a5427bfda03fec59dd3dcf31a817fb89 libpq-7.3.10-r1.ebuild 3099
MD5 fe7f1041428075b2ddb64e8f93af9295 libpq-8.1_beta1.ebuild 3116
MD5 49c0f22f5b5c6b1b6782f329788e99c7 libpq-8.0.3.ebuild 3075
-MD5 42f869c736fd5681e90bdb814f9a9609 ChangeLog 3590
+MD5 bac4593c133cf24166f8899843cfa115 ChangeLog 3987
MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
MD5 bfbeebd8a98efcebbac0c44cd812a263 libpq-8.0.1-r1.ebuild 3098
MD5 404a87b078bcabb34329906402970e76 libpq-7.4.8-r1.ebuild 3098
MD5 79ac70bf478934f08dd231e40931a324 libpq-7.3.10.ebuild 3079
MD5 582e557cd0b0ea25adf5798062de0f76 files/digest-libpq-7.4.8-r1 75
MD5 582e557cd0b0ea25adf5798062de0f76 files/digest-libpq-7.4.8 75
+MD5 d94ecc0ac517255bd89be01c47b98965 files/digest-libpq-7.4.9 75
MD5 0540e6c42fdd652b981e236ea835c524 files/digest-libpq-8.0.1 75
MD5 b8a68c8f7fbe4116f7d39a520a3da8c9 files/digest-libpq-8.0.3 75
+MD5 367406ade9a1b166e72176820c668991 files/digest-libpq-8.0.4 75
MD5 07e1154edfd02b73a7772384ce2238b2 files/libpq-7.3.10-gentoo.patch 2072
MD5 a29e8334813c549e8d3d7bcc2e364a66 files/libpq-8.0.1-gentoo.patch 2306
+MD5 a97e836d42666b53daf47fd332c0fafb files/libpq-8.0.4-gentoo.patch 2306
+MD5 c3a4623716d607ae6ca73de4343fcfee files/libpq-8.1_beta2-gentoo.patch 2342
MD5 a6cace443603870b09e1543fe5e0cb3f files/digest-libpq-8.1_beta1 78
+MD5 b5b103b4e9ed5d32e00018073f37c8a0 files/digest-libpq-8.1_beta2 78
MD5 f7905db93301407b9caf37581e270d1f files/digest-libpq-7.3.10-r1 76
MD5 0540e6c42fdd652b981e236ea835c524 files/digest-libpq-8.0.1-r1 75
MD5 b8a68c8f7fbe4116f7d39a520a3da8c9 files/digest-libpq-8.0.3-r1 75
MD5 91bb6f54ae3772de8b4b98ef69b79f95 files/libpq-8.0.3-gentoo.patch 2306
+MD5 4049c95156b1dd49f28c70fde038b066 files/libpq-7.4.9-gentoo.patch 2619
MD5 f7905db93301407b9caf37581e270d1f files/digest-libpq-7.3.10 76
+MD5 f34efbb3e6de0d5c486266027f3d22bb files/digest-libpq-7.3.11 76
MD5 a7353f59d06787b8deb596bc184d89ff files/libpq-8.1_beta1-gentoo.patch 2342
+MD5 edbd635d87c9f9386e4c2eec1099d0ed files/libpq-7.3.11-gentoo.patch 2098
MD5 5256293555f24dec0d84734c19784174 files/libpq-7.4.8-gentoo.patch 2599
diff --git a/dev-db/libpq/files/digest-libpq-7.3.11 b/dev-db/libpq/files/digest-libpq-7.3.11
new file mode 100644
index 000000000000..0ded0381804b
--- /dev/null
+++ b/dev-db/libpq/files/digest-libpq-7.3.11
@@ -0,0 +1 @@
+MD5 b72b5a505e87e994c27a85b1efb9744c postgresql-base-7.3.11.tar.bz2 5666278
diff --git a/dev-db/libpq/files/digest-libpq-7.4.9 b/dev-db/libpq/files/digest-libpq-7.4.9
new file mode 100644
index 000000000000..2cdf3e0eef27
--- /dev/null
+++ b/dev-db/libpq/files/digest-libpq-7.4.9
@@ -0,0 +1 @@
+MD5 174761481d118d89f198d36afd1ca27d postgresql-base-7.4.9.tar.bz2 6601210
diff --git a/dev-db/libpq/files/digest-libpq-8.0.4 b/dev-db/libpq/files/digest-libpq-8.0.4
new file mode 100644
index 000000000000..66cba8173cb4
--- /dev/null
+++ b/dev-db/libpq/files/digest-libpq-8.0.4
@@ -0,0 +1 @@
+MD5 ece2604b7bc6c4c460d34113b1542725 postgresql-base-8.0.4.tar.bz2 7825300
diff --git a/dev-db/libpq/files/digest-libpq-8.1_beta2 b/dev-db/libpq/files/digest-libpq-8.1_beta2
new file mode 100644
index 000000000000..a907b7abca52
--- /dev/null
+++ b/dev-db/libpq/files/digest-libpq-8.1_beta2
@@ -0,0 +1 @@
+MD5 0dd333d7bf38719fca393bad55c689de postgresql-base-8.1beta2.tar.bz2 7968635
diff --git a/dev-db/libpq/files/libpq-7.3.11-gentoo.patch b/dev-db/libpq/files/libpq-7.3.11-gentoo.patch
new file mode 100644
index 000000000000..bc7046aa8cae
--- /dev/null
+++ b/dev-db/libpq/files/libpq-7.3.11-gentoo.patch
@@ -0,0 +1,53 @@
+diff -Naru postgresql-7.3.11.org/src/interfaces/libpq/Makefile postgresql-7.3.11/src/interfaces/libpq/Makefile
+--- postgresql-7.3.11.org/src/interfaces/libpq/Makefile 2002-12-13 22:18:22.000000000 +0000
++++ postgresql-7.3.11/src/interfaces/libpq/Makefile 2005-05-16 04:12:52.000000000 +0100
+@@ -17,6 +17,7 @@
+ NAME= pq
+ SO_MAJOR_VERSION= 3
+ SO_MINOR_VERSION= 0
++NAME_STATIC_LIB= pq-$(SO_MAJOR_VERSION)
+
+ override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
+
+diff -Naru postgresql-7.3.11.org/src/interfaces/libpq/nls.mk postgresql-7.3.11/src/interfaces/libpq/nls.mk
+--- postgresql-7.3.11.org/src/interfaces/libpq/nls.mk 2002-09-22 21:57:21.000000000 +0100
++++ postgresql-7.3.11/src/interfaces/libpq/nls.mk 2005-05-16 04:13:08.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 -Naru postgresql-7.3.11.org/src/Makefile.shlib postgresql-7.3.11/src/Makefile.shlib
+--- postgresql-7.3.11.org/src/Makefile.shlib 2003-01-11 17:22:34.000000000 +0000
++++ postgresql-7.3.11/src/Makefile.shlib 2005-05-16 04:25:54.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)
diff --git a/dev-db/libpq/files/libpq-7.4.9-gentoo.patch b/dev-db/libpq/files/libpq-7.4.9-gentoo.patch
new file mode 100644
index 000000000000..1020cffea6ad
--- /dev/null
+++ b/dev-db/libpq/files/libpq-7.4.9-gentoo.patch
@@ -0,0 +1,60 @@
+diff -Naru postgresql-7.4.9.org/src/interfaces/libpq/Makefile postgresql-7.4.9/src/interfaces/libpq/Makefile
+--- postgresql-7.4.9.org/src/interfaces/libpq/Makefile 2003-09-27 16:32:48.000000000 +0100
++++ postgresql-7.4.9/src/interfaces/libpq/Makefile 2005-05-16 04:37:16.000000000 +0100
+@@ -17,6 +17,7 @@
+ NAME= pq
+ SO_MAJOR_VERSION= 3
+ SO_MINOR_VERSION= 1
++NAME_STATIC_LIB= pq-$(SO_MAJOR_VERSION)
+
+ override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) $(THREAD_CPPFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
+
+@@ -66,7 +67,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 -Naru postgresql-7.4.9.org/src/interfaces/libpq/nls.mk postgresql-7.4.9/src/interfaces/libpq/nls.mk
+--- postgresql-7.4.9.org/src/interfaces/libpq/nls.mk 2004-10-30 09:22:16.000000000 +0100
++++ postgresql-7.4.9/src/interfaces/libpq/nls.mk 2005-05-16 04:37:23.000000000 +0100
+@@ -1,5 +1,5 @@
+ # $Header: /cvsroot/pgsql/src/interfaces/libpq/nls.mk,v 1.13.2.1 2004/10/30 08:22:16 petere Exp $
+-CATALOG_NAME := libpq
++CATALOG_NAME := libpq-3
+ AVAIL_LANGUAGES := cs de es fr hr it nb pt_BR ru 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-secure.c
+ GETTEXT_TRIGGERS:= libpq_gettext pqInternalNotice:2
+diff -Naru postgresql-7.4.9.org/src/Makefile.shlib postgresql-7.4.9/src/Makefile.shlib
+--- postgresql-7.4.9.org/src/Makefile.shlib 2003-10-20 02:34:33.000000000 +0100
++++ postgresql-7.4.9/src/Makefile.shlib 2005-05-16 04:36:25.000000000 +0100
+@@ -224,7 +224,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)
+
+@@ -234,7 +234,7 @@
+ MK_NO_LORDER := true
+ endif
+
+-lib$(NAME).a: $(OBJS)
++lib$(NAME_STATIC_LIB).a: $(OBJS)
+ ifdef MK_NO_LORDER
+ $(LINK.static) $@ $^
+ else
+@@ -305,7 +305,7 @@
+ .PHONY: install-lib install-lib-static install-lib-shared
+ install-lib: install-lib-static install-lib-shared
+
+-install-lib-static: lib$(NAME).a
++install-lib-static: lib$(NAME_STATIC_LIB).a
+ $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME).a
+ ifeq ($(PORTNAME), darwin)
+ cd $(DESTDIR)$(libdir) && \
diff --git a/dev-db/libpq/files/libpq-8.0.4-gentoo.patch b/dev-db/libpq/files/libpq-8.0.4-gentoo.patch
new file mode 100644
index 000000000000..27b83ae65494
--- /dev/null
+++ b/dev-db/libpq/files/libpq-8.0.4-gentoo.patch
@@ -0,0 +1,43 @@
+diff -Naur postgresql-8.0.4.orig/src/Makefile.shlib postgresql-8.0.4/src/Makefile.shlib
+--- postgresql-8.0.4.orig/src/Makefile.shlib 2004-11-21 06:13:04.000000000 +0900
++++ postgresql-8.0.4/src/Makefile.shlib 2005-05-15 13:30:59.000000000 +0900
+@@ -355,7 +355,7 @@
+ 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
+diff -Naur postgresql-8.0.4.orig/src/interfaces/libpq/Makefile postgresql-8.0.4/src/interfaces/libpq/Makefile
+--- postgresql-8.0.4.orig/src/interfaces/libpq/Makefile 2005-04-29 23:07:34.000000000 +0900
++++ postgresql-8.0.4/src/interfaces/libpq/Makefile 2005-05-15 13:33:14.000000000 +0900
+@@ -20,6 +20,8 @@
+ SO_MINOR_VERSION= 0
+ DLTYPE= library
+
++NAME_STATIC_LIB= pq-$(SO_MAJOR_VERSION)
++
+ override CPPFLAGS := -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
+ override CFLAGS += $(PTHREAD_CFLAGS)
+
+@@ -136,7 +138,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 -Naur postgresql-8.0.4.orig/src/interfaces/libpq/nls.mk postgresql-8.0.4/src/interfaces/libpq/nls.mk
+--- postgresql-8.0.4.orig/src/interfaces/libpq/nls.mk 2005-01-14 17:57:06.000000000 +0900
++++ postgresql-8.0.4/src/interfaces/libpq/nls.mk 2005-05-15 13:30:32.000000000 +0900
+@@ -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 --git a/dev-db/libpq/files/libpq-8.1_beta2-gentoo.patch b/dev-db/libpq/files/libpq-8.1_beta2-gentoo.patch
new file mode 100644
index 000000000000..5181f37c0b33
--- /dev/null
+++ b/dev-db/libpq/files/libpq-8.1_beta2-gentoo.patch
@@ -0,0 +1,43 @@
+diff -Naur postgresql-8.1beta2.orig/src/Makefile.shlib postgresql-8.1beta2/src/Makefile.shlib
+--- postgresql-8.1beta2.orig/src/Makefile.shlib 2004-11-21 06:13:04.000000000 +0900
++++ postgresql-8.1beta2/src/Makefile.shlib 2005-05-15 13:30:59.000000000 +0900
+@@ -355,7 +355,7 @@
+ 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
+diff -Naur postgresql-8.1beta2.orig/src/interfaces/libpq/Makefile postgresql-8.1beta2/src/interfaces/libpq/Makefile
+--- postgresql-8.1beta2.orig/src/interfaces/libpq/Makefile 2005-04-29 23:07:34.000000000 +0900
++++ postgresql-8.1beta2/src/interfaces/libpq/Makefile 2005-05-15 13:33:14.000000000 +0900
+@@ -20,6 +20,8 @@
+ SO_MINOR_VERSION= 0
+ DLTYPE= library
+
++NAME_STATIC_LIB= pq-$(SO_MAJOR_VERSION)
++
+ override CPPFLAGS := -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
+ override CFLAGS += $(PTHREAD_CFLAGS)
+
+@@ -136,7 +138,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 -Naur postgresql-8.1beta2.orig/src/interfaces/libpq/nls.mk postgresql-8.1beta2/src/interfaces/libpq/nls.mk
+--- postgresql-8.1beta2.orig/src/interfaces/libpq/nls.mk 2005-01-14 17:57:06.000000000 +0900
++++ postgresql-8.1beta2/src/interfaces/libpq/nls.mk 2005-05-15 13:30:32.000000000 +0900
+@@ -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-3
+ 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 --git a/dev-db/libpq/libpq-7.3.11.ebuild b/dev-db/libpq/libpq-7.3.11.ebuild
new file mode 100644
index 000000000000..595b8eda1efc
--- /dev/null
+++ b/dev-db/libpq/libpq-7.3.11.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.3.11.ebuild,v 1.1 2005/10/08 22:59:38 nakano Exp $
+
+inherit eutils gnuconfig flag-o-matic toolchain-funcs
+
+DESCRIPTION="Libraries of postgresql"
+HOMEPAGE="http://www.postgresql.org/"
+MY_P="postgresql-${PV}"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2"
+
+LICENSE="POSTGRESQL"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="ssl nls pam readline zlib kerberos"
+#pg-hier"
+
+S=${WORKDIR}/${MY_P}
+DEPEND="virtual/libc
+ sys-devel/autoconf
+ >=sys-libs/ncurses-5.2
+ >=sys-devel/bison-1.875
+ zlib? ( >=sys-libs/zlib-1.1.3 )
+ readline? ( >=sys-libs/readline-4.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ nls? ( sys-devel/gettext )
+ kerberos? ( virtual/krb5 )"
+RDEPEND="virtual/libc
+ zlib? ( >=sys-libs/zlib-1.1.3 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ kerberos? ( virtual/krb5 )"
+
+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
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ filter-flags -ffast-math -feliminate-dwarf2-dups
+
+ local myconf
+ use ssl && myconf="$myconf --with-openssl"
+ use nls && myconf="$myconf --enable-nls"
+ use pam && myconf="$myconf --with-pam"
+ use readline || myconf="$myconf --without-readline"
+ use zlib || myconf="$myconf --without-zlib"
+ use kerberos && myconf="$myconf --with-krb5"
+
+ # these are the only working CFLAGS I could get on ppc, so locking them
+ # down, anything more aggressive fails (i.e. -mcpu or -Ox)
+ # Gerk - Nov 26, 2002
+ use ppc && CFLAGS="-pipe -fsigned-char"
+
+ # Detect mips systems properly
+ gnuconfig_update
+
+ ./configure --prefix=/usr \
+ --include=/usr/include/postgresql/libpq-${SLOT} \
+ --mandir=/usr/share/man \
+ --host=${CHOST} \
+ --with-docdir=/usr/share/doc/${PF} \
+ --libdir=/usr/$(get_libdir) \
+ --enable-depend \
+ --with-gnu-ld \
+ $myconf || die
+
+ 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/include
+ make DESTDIR=${D} install || die
+
+ 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
+ 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
+ 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
+}
diff --git a/dev-db/libpq/libpq-7.4.9.ebuild b/dev-db/libpq/libpq-7.4.9.ebuild
new file mode 100644
index 000000000000..6518905918b9
--- /dev/null
+++ b/dev-db/libpq/libpq-7.4.9.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.4.9.ebuild,v 1.1 2005/10/08 22:59:38 nakano Exp $
+
+inherit eutils gnuconfig flag-o-matic toolchain-funcs
+
+DESCRIPTION="Libraries of postgresql"
+HOMEPAGE="http://www.postgresql.org/"
+MY_P="postgresql-${PV}"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2"
+
+LICENSE="POSTGRESQL"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="ssl nls pam readline zlib kerberos"
+#pg-hier"
+
+S=${WORKDIR}/${MY_P}
+DEPEND="virtual/libc
+ sys-devel/autoconf
+ >=sys-libs/ncurses-5.2
+ >=sys-devel/bison-1.875
+ zlib? ( >=sys-libs/zlib-1.1.3 )
+ readline? ( >=sys-libs/readline-4.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ nls? ( sys-devel/gettext )
+ kerberos? ( virtual/krb5 )"
+RDEPEND="virtual/libc
+ zlib? ( >=sys-libs/zlib-1.1.3 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ kerberos? ( virtual/krb5 )"
+
+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
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ filter-flags -ffast-math -feliminate-dwarf2-dups
+
+ local myconf
+ use ssl && myconf="$myconf --with-openssl"
+ use nls && myconf="$myconf --enable-nls"
+ use pam && myconf="$myconf --with-pam"
+ use readline || myconf="$myconf --without-readline"
+ use zlib || myconf="$myconf --without-zlib"
+ use kerberos && myconf="$myconf --with-krb5"
+
+ # these are the only working CFLAGS I could get on ppc, so locking them
+ # down, anything more aggressive fails (i.e. -mcpu or -Ox)
+ # Gerk - Nov 26, 2002
+ use ppc && CFLAGS="-pipe -fsigned-char"
+
+ # Detect mips systems properly
+ gnuconfig_update
+
+ ./configure --prefix=/usr \
+ --include=/usr/include/postgresql/libpq-${SLOT} \
+ --mandir=/usr/share/man \
+ --host=${CHOST} \
+ --with-docdir=/usr/share/doc/${PF} \
+ --libdir=/usr/$(get_libdir) \
+ --enable-depend \
+ --with-gnu-ld \
+ $myconf || die
+
+ 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/include
+ make DESTDIR=${D} install || die
+
+ 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
+ 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
+ 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
+}
diff --git a/dev-db/libpq/libpq-8.0.4.ebuild b/dev-db/libpq/libpq-8.0.4.ebuild
new file mode 100644
index 000000000000..3de441bb08e6
--- /dev/null
+++ b/dev-db/libpq/libpq-8.0.4.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.0.4.ebuild,v 1.1 2005/10/08 22:59:38 nakano Exp $
+
+inherit eutils gnuconfig flag-o-matic toolchain-funcs
+
+DESCRIPTION="Libraries of postgresql"
+HOMEPAGE="http://www.postgresql.org/"
+MY_P="postgresql-${PV}"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2"
+
+LICENSE="POSTGRESQL"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="ssl nls pam readline zlib kerberos"
+#pg-hier"
+
+S=${WORKDIR}/${MY_P}
+DEPEND="virtual/libc
+ sys-devel/autoconf
+ >=sys-libs/ncurses-5.2
+ >=sys-devel/bison-1.875
+ zlib? ( >=sys-libs/zlib-1.1.3 )
+ readline? ( >=sys-libs/readline-4.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ nls? ( sys-devel/gettext )
+ kerberos? ( virtual/krb5 )"
+RDEPEND="virtual/libc
+ zlib? ( >=sys-libs/zlib-1.1.3 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ kerberos? ( virtual/krb5 )"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_preinst() {
+ # removing wrong symlink which is created by previous ebuild.
+ if [ -L /usr/include/libpq ]; then
+ rm /usr/include/libpq
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ filter-flags -ffast-math -feliminate-dwarf2-dups
+
+ local myconf
+ use ssl && myconf="$myconf --with-openssl"
+ use nls && myconf="$myconf --enable-nls"
+ use pam && myconf="$myconf --with-pam"
+ use readline || myconf="$myconf --without-readline"
+ use zlib || myconf="$myconf --without-zlib"
+ use kerberos && myconf="$myconf --with-krb5"
+
+ # these are the only working CFLAGS I could get on ppc, so locking them
+ # down, anything more aggressive fails (i.e. -mcpu or -Ox)
+ # Gerk - Nov 26, 2002
+ use ppc && CFLAGS="-pipe -fsigned-char"
+
+ # Detect mips systems properly
+ gnuconfig_update
+
+ ./configure --prefix=/usr \
+ --include=/usr/include/postgresql/libpq-${SLOT} \
+ --mandir=/usr/share/man \
+ --host=${CHOST} \
+ --with-docdir=/usr/share/doc/${PF} \
+ --libdir=/usr/$(get_libdir) \
+ --enable-depend \
+ --with-gnu-ld \
+ $myconf || die
+
+ 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/include
+ make DESTDIR=${D} install || die
+
+ 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
+ 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
+ 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
+}
diff --git a/dev-db/libpq/libpq-8.1_beta2.ebuild b/dev-db/libpq/libpq-8.1_beta2.ebuild
new file mode 100644
index 000000000000..3183b34c396c
--- /dev/null
+++ b/dev-db/libpq/libpq-8.1_beta2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.1_beta2.ebuild,v 1.1 2005/10/08 22:59:38 nakano Exp $
+
+inherit eutils gnuconfig flag-o-matic toolchain-funcs
+
+DESCRIPTION="Libraries of postgresql"
+HOMEPAGE="http://www.postgresql.org/"
+MY_PV=${PV/_/}
+MY_P="postgresql-${MY_PV}"
+SRC_URI="mirror://postgresql/source/v8.1beta/postgresql-base-${MY_PV}.tar.bz2"
+
+LICENSE="POSTGRESQL"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="ssl nls pam readline zlib kerberos"
+
+S=${WORKDIR}/${MY_P}
+DEPEND="virtual/libc
+ sys-devel/autoconf
+ >=sys-libs/ncurses-5.2
+ >=sys-devel/bison-1.875
+ zlib? ( >=sys-libs/zlib-1.1.3 )
+ readline? ( >=sys-libs/readline-4.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ nls? ( sys-devel/gettext )
+ kerberos? ( virtual/krb5 )"
+RDEPEND="virtual/libc
+ zlib? ( >=sys-libs/zlib-1.1.3 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ kerberos? ( virtual/krb5 )"
+
+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
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ filter-flags -ffast-math -feliminate-dwarf2-dups
+
+ local myconf
+ use ssl && myconf="$myconf --with-openssl"
+ use nls && myconf="$myconf --enable-nls"
+ use pam && myconf="$myconf --with-pam"
+ use readline || myconf="$myconf --without-readline"
+ use zlib || myconf="$myconf --without-zlib"
+ use kerberos && myconf="$myconf --with-krb5"
+
+ # these are the only working CFLAGS I could get on ppc, so locking them
+ # down, anything more aggressive fails (i.e. -mcpu or -Ox)
+ # Gerk - Nov 26, 2002
+ use ppc && CFLAGS="-pipe -fsigned-char"
+
+ # Detect mips systems properly
+ gnuconfig_update
+
+ ./configure --prefix=/usr \
+ --include=/usr/include/postgresql/libpq-${SLOT} \
+ --mandir=/usr/share/man \
+ --host=${CHOST} \
+ --with-docdir=/usr/share/doc/${PF} \
+ --libdir=/usr/$(get_libdir) \
+ --enable-depend \
+ --with-gnu-ld \
+ $myconf || die
+
+ 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/include
+ make DESTDIR=${D} install || die
+
+ 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
+ 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
+ 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
+}