summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/libpq/ChangeLog14
-rw-r--r--dev-db/libpq/Manifest70
-rw-r--r--dev-db/libpq/files/digest-libpq-7.3.121
-rw-r--r--dev-db/libpq/files/digest-libpq-7.4.101
-rw-r--r--dev-db/libpq/files/digest-libpq-8.0.51
-rw-r--r--dev-db/libpq/files/digest-libpq-8.1.11
-rw-r--r--dev-db/libpq/files/libpq-7.3.12-gentoo.patch53
-rw-r--r--dev-db/libpq/files/libpq-7.4.10-gentoo.patch60
-rw-r--r--dev-db/libpq/files/libpq-8.0.5-gentoo.patch43
-rw-r--r--dev-db/libpq/files/libpq-8.1.1-gentoo.patch47
-rw-r--r--dev-db/libpq/libpq-7.3.12.ebuild110
-rw-r--r--dev-db/libpq/libpq-7.4.10.ebuild110
-rw-r--r--dev-db/libpq/libpq-8.0.5.ebuild110
-rw-r--r--dev-db/libpq/libpq-8.1.1.ebuild109
14 files changed, 695 insertions, 35 deletions
diff --git a/dev-db/libpq/ChangeLog b/dev-db/libpq/ChangeLog
index 9a32685b6cf3..86e6b1b8ff14 100644
--- a/dev-db/libpq/ChangeLog
+++ b/dev-db/libpq/ChangeLog
@@ -1,6 +1,18 @@
# 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.36 2005/11/21 18:44:31 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.37 2005/12/25 08:07:43 nakano Exp $
+
+*libpq-8.1.1 (25 Dec 2005)
+*libpq-8.0.5 (25 Dec 2005)
+*libpq-7.4.10 (25 Dec 2005)
+*libpq-7.3.12 (25 Dec 2005)
+
+ 25 Dec 2005; Masatomo Nakano <nakano@gentoo.org>
+ +files/libpq-7.3.12-gentoo.patch, +files/libpq-7.4.10-gentoo.patch,
+ +files/libpq-8.0.5-gentoo.patch, +files/libpq-8.1.1-gentoo.patch,
+ +libpq-7.3.12.ebuild, +libpq-7.4.10.ebuild, +libpq-8.0.5.ebuild,
+ +libpq-8.1.1.ebuild:
+ Version bumo.
21 Nov 2005; Joseph Jezak <josejx@gentoo.org> libpq-7.3.11.ebuild,
libpq-7.4.9.ebuild, libpq-8.0.4.ebuild:
diff --git a/dev-db/libpq/Manifest b/dev-db/libpq/Manifest
index d02b4b97bf8a..7cc36e155f98 100644
--- a/dev-db/libpq/Manifest
+++ b/dev-db/libpq/Manifest
@@ -1,44 +1,46 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 66c0cd00c7a2f1b0dc3ef4e291d14b36 libpq-7.3.12.ebuild 3078
+MD5 2ceebd878aa111d3ab16bba5e945f7d2 libpq-8.1.0.ebuild 3071
+MD5 e61fa03ac49bf3408c6d4a4d7de58991 libpq-7.4.9.ebuild 3080
+MD5 9fe49d055dde2cf749bbd715d211251a libpq-8.0.4.ebuild 3058
+MD5 f34036f990aa5436290685ab57d22e10 libpq-8.0.3-r1.ebuild 3084
+MD5 250edb1bd1e055a972f26d22dca4927c libpq-7.3.11.ebuild 3075
+MD5 9fa7935f972ecff47e88b5b055ae4bb7 libpq-8.0.1.ebuild 3057
+MD5 1977f9eded328f6d4d71a273c09b85f1 libpq-7.4.8.ebuild 3058
+MD5 58aea6a06a47c8ae57059f1cb36baf0f libpq-7.4.10.ebuild 3073
+MD5 80efa3f9be3dce96088f3fc626ae6bd6 libpq-7.3.10-r1.ebuild 3081
+MD5 c17282c317e8a3e992320ee79cae447b libpq-8.0.3.ebuild 3057
+MD5 2ceebd878aa111d3ab16bba5e945f7d2 libpq-8.1.1.ebuild 3071
MD5 7c0a0bb342c0df13103cfcb9df5e09d5 ChangeLog 5869
-MD5 f7905db93301407b9caf37581e270d1f files/digest-libpq-7.3.10 76
-MD5 f7905db93301407b9caf37581e270d1f files/digest-libpq-7.3.10-r1 76
-MD5 f34efbb3e6de0d5c486266027f3d22bb files/digest-libpq-7.3.11 76
-MD5 582e557cd0b0ea25adf5798062de0f76 files/digest-libpq-7.4.8 75
+MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
+MD5 acf75c9f711c06465cfd4d12e10216bb libpq-8.0.1-r1.ebuild 3080
+MD5 e61fa03ac49bf3408c6d4a4d7de58991 libpq-7.4.8-r1.ebuild 3080
+MD5 9e8901b125ae6be1e446be72b9941ed5 libpq-7.3.10.ebuild 3061
+MD5 9da9363483151f488d83df4f1acc4c46 libpq-8.0.5.ebuild 3067
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 0540e6c42fdd652b981e236ea835c524 files/digest-libpq-8.0.1-r1 75
MD5 b8a68c8f7fbe4116f7d39a520a3da8c9 files/digest-libpq-8.0.3 75
-MD5 b8a68c8f7fbe4116f7d39a520a3da8c9 files/digest-libpq-8.0.3-r1 75
MD5 367406ade9a1b166e72176820c668991 files/digest-libpq-8.0.4 75
+MD5 90f181020522b5cd043fe9a73f4e6120 files/digest-libpq-8.0.5 75
MD5 c65318050cafd5c0bdf6ed7d39862269 files/digest-libpq-8.1.0 75
+MD5 2b1937349722a4685e0b96208cd095b1 files/digest-libpq-8.1.1 75
MD5 07e1154edfd02b73a7772384ce2238b2 files/libpq-7.3.10-gentoo.patch 2072
-MD5 7a29dc98f91e9ea7ee656e96625b0184 files/libpq-7.3.11-gentoo.patch 2072
-MD5 5256293555f24dec0d84734c19784174 files/libpq-7.4.8-gentoo.patch 2599
-MD5 e8e95e615347058623323c725b07d209 files/libpq-7.4.9-gentoo.patch 2599
+MD5 0643c69146c6b9fe0b4e8e9eb2ab0b3c files/libpq-8.0.5-gentoo.patch 2306
MD5 a29e8334813c549e8d3d7bcc2e364a66 files/libpq-8.0.1-gentoo.patch 2306
-MD5 91bb6f54ae3772de8b4b98ef69b79f95 files/libpq-8.0.3-gentoo.patch 2306
-MD5 a97e836d42666b53daf47fd332c0fafb files/libpq-8.0.4-gentoo.patch 2306
MD5 4d194eeac76cacf47c7b941be2c27df9 files/libpq-8.1.0-gentoo.patch 2400
-MD5 80efa3f9be3dce96088f3fc626ae6bd6 libpq-7.3.10-r1.ebuild 3081
-MD5 9e8901b125ae6be1e446be72b9941ed5 libpq-7.3.10.ebuild 3061
-MD5 250edb1bd1e055a972f26d22dca4927c libpq-7.3.11.ebuild 3075
-MD5 e61fa03ac49bf3408c6d4a4d7de58991 libpq-7.4.8-r1.ebuild 3080
-MD5 1977f9eded328f6d4d71a273c09b85f1 libpq-7.4.8.ebuild 3058
-MD5 58aea6a06a47c8ae57059f1cb36baf0f libpq-7.4.9.ebuild 3073
-MD5 acf75c9f711c06465cfd4d12e10216bb libpq-8.0.1-r1.ebuild 3080
-MD5 9fa7935f972ecff47e88b5b055ae4bb7 libpq-8.0.1.ebuild 3057
-MD5 f34036f990aa5436290685ab57d22e10 libpq-8.0.3-r1.ebuild 3084
-MD5 c17282c317e8a3e992320ee79cae447b libpq-8.0.3.ebuild 3057
-MD5 9fe49d055dde2cf749bbd715d211251a libpq-8.0.4.ebuild 3058
-MD5 2ceebd878aa111d3ab16bba5e945f7d2 libpq-8.1.0.ebuild 3071
-MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDghWvcsIHjyDViGQRArTiAKDiOBN0muBpGMMIrbGarJQwqkOHigCg5tOW
-BpqOqPVAsCBYqfgHuvDrfNc=
-=8DDC
------END PGP SIGNATURE-----
+MD5 a97e836d42666b53daf47fd332c0fafb files/libpq-8.0.4-gentoo.patch 2306
+MD5 a6a9ee8ca98905700136d8721a7cdbd6 files/libpq-7.4.10-gentoo.patch 2611
+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 d52c71f4c3e0a1853553a7873d4fc011 files/libpq-7.3.12-gentoo.patch 2072
+MD5 91bb6f54ae3772de8b4b98ef69b79f95 files/libpq-8.0.3-gentoo.patch 2306
+MD5 e8e95e615347058623323c725b07d209 files/libpq-7.4.9-gentoo.patch 2599
+MD5 f7905db93301407b9caf37581e270d1f files/digest-libpq-7.3.10 76
+MD5 f34efbb3e6de0d5c486266027f3d22bb files/digest-libpq-7.3.11 76
+MD5 960960652bef8006b9513b49198bcb7e files/digest-libpq-7.3.12 76
+MD5 d1240e3c19c3d0b520c5a99db41130c7 files/digest-libpq-7.4.10 76
+MD5 7a29dc98f91e9ea7ee656e96625b0184 files/libpq-7.3.11-gentoo.patch 2072
+MD5 dcb6dff27679654f87ac21197a699e39 files/libpq-8.1.1-gentoo.patch 2400
+MD5 5256293555f24dec0d84734c19784174 files/libpq-7.4.8-gentoo.patch 2599
diff --git a/dev-db/libpq/files/digest-libpq-7.3.12 b/dev-db/libpq/files/digest-libpq-7.3.12
new file mode 100644
index 000000000000..6848af58d7a2
--- /dev/null
+++ b/dev-db/libpq/files/digest-libpq-7.3.12
@@ -0,0 +1 @@
+MD5 1f2764d83309e6fbb150a635a4d7b193 postgresql-base-7.3.12.tar.bz2 5666468
diff --git a/dev-db/libpq/files/digest-libpq-7.4.10 b/dev-db/libpq/files/digest-libpq-7.4.10
new file mode 100644
index 000000000000..dfdfb2f11442
--- /dev/null
+++ b/dev-db/libpq/files/digest-libpq-7.4.10
@@ -0,0 +1 @@
+MD5 0febdd68d8b6b42d0b1b28f44b61a3c0 postgresql-base-7.4.10.tar.bz2 6600686
diff --git a/dev-db/libpq/files/digest-libpq-8.0.5 b/dev-db/libpq/files/digest-libpq-8.0.5
new file mode 100644
index 000000000000..6587032ae9d1
--- /dev/null
+++ b/dev-db/libpq/files/digest-libpq-8.0.5
@@ -0,0 +1 @@
+MD5 bac4dfcd3b33124ba63f1c7a3ae49586 postgresql-base-8.0.5.tar.bz2 7826109
diff --git a/dev-db/libpq/files/digest-libpq-8.1.1 b/dev-db/libpq/files/digest-libpq-8.1.1
new file mode 100644
index 000000000000..eb91fbb45db2
--- /dev/null
+++ b/dev-db/libpq/files/digest-libpq-8.1.1
@@ -0,0 +1 @@
+MD5 24326d48b90c5081af000a70268d821c postgresql-base-8.1.1.tar.bz2 8046645
diff --git a/dev-db/libpq/files/libpq-7.3.12-gentoo.patch b/dev-db/libpq/files/libpq-7.3.12-gentoo.patch
new file mode 100644
index 000000000000..8617fc06ad39
--- /dev/null
+++ b/dev-db/libpq/files/libpq-7.3.12-gentoo.patch
@@ -0,0 +1,53 @@
+diff -Naru postgresql-7.3.12.org/src/interfaces/libpq/Makefile postgresql-7.3.12/src/interfaces/libpq/Makefile
+--- postgresql-7.3.12.org/src/interfaces/libpq/Makefile 2002-12-13 22:18:22.000000000 +0000
++++ postgresql-7.3.12/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.12.org/src/interfaces/libpq/nls.mk postgresql-7.3.12/src/interfaces/libpq/nls.mk
+--- postgresql-7.3.12.org/src/interfaces/libpq/nls.mk 2002-09-22 21:57:21.000000000 +0100
++++ postgresql-7.3.12/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.12.org/src/Makefile.shlib postgresql-7.3.12/src/Makefile.shlib
+--- postgresql-7.3.12.org/src/Makefile.shlib 2003-01-11 17:22:34.000000000 +0000
++++ postgresql-7.3.12/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.10-gentoo.patch b/dev-db/libpq/files/libpq-7.4.10-gentoo.patch
new file mode 100644
index 000000000000..48b63f09967e
--- /dev/null
+++ b/dev-db/libpq/files/libpq-7.4.10-gentoo.patch
@@ -0,0 +1,60 @@
+diff -Naru postgresql-7.4.10.org/src/interfaces/libpq/Makefile postgresql-7.4.10/src/interfaces/libpq/Makefile
+--- postgresql-7.4.10.org/src/interfaces/libpq/Makefile 2003-09-27 16:32:48.000000000 +0100
++++ postgresql-7.4.10/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.10.org/src/interfaces/libpq/nls.mk postgresql-7.4.10/src/interfaces/libpq/nls.mk
+--- postgresql-7.4.10.org/src/interfaces/libpq/nls.mk 2004-10-30 09:22:16.000000000 +0100
++++ postgresql-7.4.10/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.10.org/src/Makefile.shlib postgresql-7.4.10/src/Makefile.shlib
+--- postgresql-7.4.10.org/src/Makefile.shlib 2003-10-20 02:34:33.000000000 +0100
++++ postgresql-7.4.10/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.5-gentoo.patch b/dev-db/libpq/files/libpq-8.0.5-gentoo.patch
new file mode 100644
index 000000000000..be29365f6efd
--- /dev/null
+++ b/dev-db/libpq/files/libpq-8.0.5-gentoo.patch
@@ -0,0 +1,43 @@
+diff -Naur postgresql-8.0.5.orig/src/Makefile.shlib postgresql-8.0.5/src/Makefile.shlib
+--- postgresql-8.0.5.orig/src/Makefile.shlib 2004-11-21 06:13:04.000000000 +0900
++++ postgresql-8.0.5/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.5.orig/src/interfaces/libpq/Makefile postgresql-8.0.5/src/interfaces/libpq/Makefile
+--- postgresql-8.0.5.orig/src/interfaces/libpq/Makefile 2005-04-29 23:07:34.000000000 +0900
++++ postgresql-8.0.5/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.5.orig/src/interfaces/libpq/nls.mk postgresql-8.0.5/src/interfaces/libpq/nls.mk
+--- postgresql-8.0.5.orig/src/interfaces/libpq/nls.mk 2005-01-14 17:57:06.000000000 +0900
++++ postgresql-8.0.5/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.1-gentoo.patch b/dev-db/libpq/files/libpq-8.1.1-gentoo.patch
new file mode 100644
index 000000000000..5c0ffc3e850e
--- /dev/null
+++ b/dev-db/libpq/files/libpq-8.1.1-gentoo.patch
@@ -0,0 +1,47 @@
+diff -Naru postgresql-8.1.1.org/src/Makefile.shlib postgresql-8.1.1/src/Makefile.shlib
+--- postgresql-8.1.1.org/src/Makefile.shlib 2005-11-12 20:26:09.000000000 +0000
++++ postgresql-8.1.1/src/Makefile.shlib 2005-11-12 20:28:28.000000000 +0000
+@@ -363,10 +363,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 -Naru postgresql-8.1.1.org/src/interfaces/libpq/Makefile postgresql-8.1.1/src/interfaces/libpq/Makefile
+--- postgresql-8.1.1.org/src/interfaces/libpq/Makefile 2005-11-12 20:26:09.000000000 +0000
++++ postgresql-8.1.1/src/interfaces/libpq/Makefile 2005-11-12 20:28:02.000000000 +0000
+@@ -20,6 +20,8 @@
+ SO_MINOR_VERSION= 1
+ DLTYPE= library
+
++NAME_STATIC_LIB= pq-$(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 -Naru postgresql-8.1.1.org/src/interfaces/libpq/nls.mk postgresql-8.1.1/src/interfaces/libpq/nls.mk
+--- postgresql-8.1.1.org/src/interfaces/libpq/nls.mk 2005-11-12 20:26:09.000000000 +0000
++++ postgresql-8.1.1/src/interfaces/libpq/nls.mk 2005-11-12 20:28:02.000000000 +0000
+@@ -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/libpq-7.3.12.ebuild b/dev-db/libpq/libpq-7.3.12.ebuild
new file mode 100644
index 000000000000..d233b1efc08d
--- /dev/null
+++ b/dev-db/libpq/libpq-7.3.12.ebuild
@@ -0,0 +1,110 @@
+# 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.12.ebuild,v 1.1 2005/12/25 08:07:43 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 \
+ $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.10.ebuild b/dev-db/libpq/libpq-7.4.10.ebuild
new file mode 100644
index 000000000000..9e8390f9e0bf
--- /dev/null
+++ b/dev-db/libpq/libpq-7.4.10.ebuild
@@ -0,0 +1,110 @@
+# 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.10.ebuild,v 1.1 2005/12/25 08:07:43 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 \
+ $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.5.ebuild b/dev-db/libpq/libpq-8.0.5.ebuild
new file mode 100644
index 000000000000..7051b2c04f1c
--- /dev/null
+++ b/dev-db/libpq/libpq-8.0.5.ebuild
@@ -0,0 +1,110 @@
+# 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.5.ebuild,v 1.1 2005/12/25 08:07:43 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 \
+ $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.1.ebuild b/dev-db/libpq/libpq-8.1.1.ebuild
new file mode 100644
index 000000000000..43dee50c4062
--- /dev/null
+++ b/dev-db/libpq/libpq-8.1.1.ebuild
@@ -0,0 +1,109 @@
+# 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.1.ebuild,v 1.1 2005/12/25 08:07:43 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"
+
+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 \
+ $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
+}