diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2006-11-07 22:46:39 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2006-11-07 22:46:39 +0000 |
commit | 726e93e6a090829ca9faafd52c07db15588396c5 (patch) | |
tree | 2f18541e77009bf21e2ddd240498d8f6a2ddd3f7 /dev-db | |
parent | Add patch to build on Gentoo/FreeBSD and add ~x86-fbsd keyword. (diff) | |
download | gentoo-2-726e93e6a090829ca9faafd52c07db15588396c5.tar.gz gentoo-2-726e93e6a090829ca9faafd52c07db15588396c5.tar.bz2 gentoo-2-726e93e6a090829ca9faafd52c07db15588396c5.zip |
New generation libpq/pgsql ebuilds.
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/libpq/ChangeLog | 16 | ||||
-rw-r--r-- | dev-db/libpq/files/digest-libpq-7.3.16 | 6 | ||||
-rw-r--r-- | dev-db/libpq/files/digest-libpq-7.4.14 | 6 | ||||
-rw-r--r-- | dev-db/libpq/files/digest-libpq-8.0.9 | 6 | ||||
-rw-r--r-- | dev-db/libpq/files/digest-libpq-8.1.5 | 6 | ||||
-rw-r--r-- | dev-db/libpq/files/libpq-7.3.16-gentoo.patch | 54 | ||||
-rw-r--r-- | dev-db/libpq/files/libpq-7.4.14-gentoo.patch | 67 | ||||
-rw-r--r-- | dev-db/libpq/files/libpq-8.0.9-gentoo.patch | 47 | ||||
-rw-r--r-- | dev-db/libpq/files/libpq-8.1.5-gentoo.patch | 47 | ||||
-rw-r--r-- | dev-db/libpq/libpq-7.3.15.ebuild | 4 | ||||
-rw-r--r-- | dev-db/libpq/libpq-7.3.16.ebuild | 115 | ||||
-rw-r--r-- | dev-db/libpq/libpq-7.4.14.ebuild | 116 | ||||
-rw-r--r-- | dev-db/libpq/libpq-8.0.9.ebuild | 115 | ||||
-rw-r--r-- | dev-db/libpq/libpq-8.1.5.ebuild | 115 |
14 files changed, 717 insertions, 3 deletions
diff --git a/dev-db/libpq/ChangeLog b/dev-db/libpq/ChangeLog index fee7a619822a..0255c5b512f5 100644 --- a/dev-db/libpq/ChangeLog +++ b/dev-db/libpq/ChangeLog @@ -1,6 +1,20 @@ # ChangeLog for dev-db/libpq # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.75 2006/10/19 16:33:05 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.76 2006/11/07 22:46:39 chtekk Exp $ + +*libpq-8.1.5 (07 Nov 2006) +*libpq-8.0.9 (07 Nov 2006) +*libpq-7.4.14 (07 Nov 2006) +*libpq-7.3.16 (07 Nov 2006) + + 07 Nov 2006; Luca Longinotti <chtekk@gentoo.org> + -files/libpq-7.3.11-gentoo.patch, +files/libpq-7.3.16-gentoo.patch, + +files/libpq-7.4.14-gentoo.patch, +files/libpq-8.0.9-gentoo.patch, + -files/libpq-8.1.4-gentoo.patch, +files/libpq-8.1.5-gentoo.patch, + -libpq-7.3.11.ebuild, libpq-7.3.15.ebuild, +libpq-7.3.16.ebuild, + +libpq-7.4.14.ebuild, +libpq-8.0.9.ebuild, -libpq-8.1.4.ebuild, + +libpq-8.1.5.ebuild: + New LibPQ ebuilds, now also install pg_config. 19 Oct 2006; Roy Marples <uberlord@gentoo.org> libpq-8.1.4.ebuild: Added ~sparc-fbsd keyword. diff --git a/dev-db/libpq/files/digest-libpq-7.3.16 b/dev-db/libpq/files/digest-libpq-7.3.16 new file mode 100644 index 000000000000..79ba79adc405 --- /dev/null +++ b/dev-db/libpq/files/digest-libpq-7.3.16 @@ -0,0 +1,6 @@ +MD5 ae269400f68118233e9e65b4c2c93a68 postgresql-base-7.3.16.tar.bz2 5696231 +RMD160 aaf7e4743bc67c0a45d8d44cef840283e7ead6f9 postgresql-base-7.3.16.tar.bz2 5696231 +SHA256 96046fc13596e4d9f7a4dcd5882fed51ec5905760cc828594443272a69c140e5 postgresql-base-7.3.16.tar.bz2 5696231 +MD5 8025d8314993b9e57d0f308e01c37b40 postgresql-opt-7.3.16.tar.bz2 341908 +RMD160 00e0f059910eed3021ba5b096e86bdc6878c34d6 postgresql-opt-7.3.16.tar.bz2 341908 +SHA256 0e1ab00b1439c5930b6c74ed5c4382c01fdb54434857ac3c1599d32fcce2c8d1 postgresql-opt-7.3.16.tar.bz2 341908 diff --git a/dev-db/libpq/files/digest-libpq-7.4.14 b/dev-db/libpq/files/digest-libpq-7.4.14 new file mode 100644 index 000000000000..c4c480d279b0 --- /dev/null +++ b/dev-db/libpq/files/digest-libpq-7.4.14 @@ -0,0 +1,6 @@ +MD5 8fb231e5cdf7fe4d8954edaa63fd9410 postgresql-base-7.4.14.tar.bz2 6575201 +RMD160 c5b8ecd20ad2783c3f254f0e7402aab9ad722d0a postgresql-base-7.4.14.tar.bz2 6575201 +SHA256 5a34fcd56d2d8eebcd2728e5971c0d39d2971dc25e49d88bfeb84d69b5e8ebc9 postgresql-base-7.4.14.tar.bz2 6575201 +MD5 5ad27f2d9673dcabaaad7729a6838cc2 postgresql-opt-7.4.14.tar.bz2 333417 +RMD160 a6279f5b9d52f72ce786bc468c114befb5a1f29a postgresql-opt-7.4.14.tar.bz2 333417 +SHA256 e670d22812c50512807edd692d867e2b62c6b79f9d7b84cad56ef038cc12475d postgresql-opt-7.4.14.tar.bz2 333417 diff --git a/dev-db/libpq/files/digest-libpq-8.0.9 b/dev-db/libpq/files/digest-libpq-8.0.9 new file mode 100644 index 000000000000..d2bc7aac373a --- /dev/null +++ b/dev-db/libpq/files/digest-libpq-8.0.9 @@ -0,0 +1,6 @@ +MD5 f9a044227ad6dc9c937d4853100733cb postgresql-base-8.0.9.tar.bz2 7824961 +RMD160 40cbea0b0a3a0f67670dfbe1670e08b48dbb1999 postgresql-base-8.0.9.tar.bz2 7824961 +SHA256 8ed190ee5468f3685a1edbc5279490819ffa6fe64f1b6f0139bdbec365852417 postgresql-base-8.0.9.tar.bz2 7824961 +MD5 363e009214bfde8235d900da09c7c675 postgresql-opt-8.0.9.tar.bz2 134706 +RMD160 be148e079c20c13aec1767180d993933b91c2116 postgresql-opt-8.0.9.tar.bz2 134706 +SHA256 007d5cded329dfbcc91b4f1d1ddb9473efb4316b1621294446ee611065393020 postgresql-opt-8.0.9.tar.bz2 134706 diff --git a/dev-db/libpq/files/digest-libpq-8.1.5 b/dev-db/libpq/files/digest-libpq-8.1.5 new file mode 100644 index 000000000000..14dc493eccf8 --- /dev/null +++ b/dev-db/libpq/files/digest-libpq-8.1.5 @@ -0,0 +1,6 @@ +MD5 30a42fd5fc5326edc217e28651e5053b postgresql-base-8.1.5.tar.bz2 8044522 +RMD160 3460f38b720ce3a9687052d5523bcbd027655d6e postgresql-base-8.1.5.tar.bz2 8044522 +SHA256 cb878499848aa8abb82f1ae79574923174851b0396a5befa31f49089a3abb4df postgresql-base-8.1.5.tar.bz2 8044522 +MD5 bcd3eec7cfc759dbfdde4f9e8fa07d27 postgresql-opt-8.1.5.tar.bz2 144784 +RMD160 5ac9b1ffdf1357316ceb1736f7b9be3ee339be3b postgresql-opt-8.1.5.tar.bz2 144784 +SHA256 4fe0dc14e02d65516348ec0e90633be2a3ada002c151fca8f2e7eba6556c8b1c postgresql-opt-8.1.5.tar.bz2 144784 diff --git a/dev-db/libpq/files/libpq-7.3.16-gentoo.patch b/dev-db/libpq/files/libpq-7.3.16-gentoo.patch new file mode 100644 index 000000000000..254dafd6a7ee --- /dev/null +++ b/dev-db/libpq/files/libpq-7.3.16-gentoo.patch @@ -0,0 +1,54 @@ +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) diff --git a/dev-db/libpq/files/libpq-7.4.14-gentoo.patch b/dev-db/libpq/files/libpq-7.4.14-gentoo.patch new file mode 100644 index 000000000000..b2a9730021a0 --- /dev/null +++ b/dev-db/libpq/files/libpq-7.4.14-gentoo.patch @@ -0,0 +1,67 @@ +diff -Nru postgresql-7.4.14.orig/src/interfaces/libpq/Makefile postgresql-7.4.14/src/interfaces/libpq/Makefile +--- postgresql-7.4.14.orig/src/interfaces/libpq/Makefile 2006-11-05 13:20:18.000000000 +0100 ++++ postgresql-7.4.14/src/interfaces/libpq/Makefile 2006-11-05 13:23:46.000000000 +0100 +@@ -18,6 +18,8 @@ + SO_MAJOR_VERSION= 3 + SO_MINOR_VERSION= 1 + ++NAME_STATIC_LIB= $(NAME)-$(SO_MAJOR_VERSION) ++ + override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) $(THREAD_CPPFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"' + + OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \ +@@ -66,7 +68,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-7.4.14.orig/src/interfaces/libpq/nls.mk postgresql-7.4.14/src/interfaces/libpq/nls.mk +--- postgresql-7.4.14.orig/src/interfaces/libpq/nls.mk 2006-11-05 13:20:18.000000000 +0100 ++++ postgresql-7.4.14/src/interfaces/libpq/nls.mk 2006-11-05 13:23:46.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 -Nru postgresql-7.4.14.orig/src/Makefile.shlib postgresql-7.4.14/src/Makefile.shlib +--- postgresql-7.4.14.orig/src/Makefile.shlib 2006-11-05 13:20:18.000000000 +0100 ++++ postgresql-7.4.14/src/Makefile.shlib 2006-11-05 13:23:46.000000000 +0100 +@@ -229,7 +229,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) + +@@ -239,7 +239,7 @@ + MK_NO_LORDER := true + endif + +-lib$(NAME).a: $(OBJS) ++lib$(NAME_STATIC_LIB).a: $(OBJS) + ifdef MK_NO_LORDER + $(LINK.static) $@ $^ + else +@@ -310,11 +310,11 @@ + .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 ($(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/files/libpq-8.0.9-gentoo.patch b/dev-db/libpq/files/libpq-8.0.9-gentoo.patch new file mode 100644 index 000000000000..e6a37001ef99 --- /dev/null +++ b/dev-db/libpq/files/libpq-8.0.9-gentoo.patch @@ -0,0 +1,47 @@ +diff -Nru postgresql-8.0.9.orig/src/interfaces/libpq/Makefile postgresql-8.0.9/src/interfaces/libpq/Makefile +--- postgresql-8.0.9.orig/src/interfaces/libpq/Makefile 2006-11-05 13:20:26.000000000 +0100 ++++ postgresql-8.0.9/src/interfaces/libpq/Makefile 2006-11-05 13:24:34.000000000 +0100 +@@ -20,6 +20,8 @@ + SO_MINOR_VERSION= 0 + DLTYPE= library + ++NAME_STATIC_LIB= $(NAME)-$(SO_MAJOR_VERSION) ++ + override CPPFLAGS := -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port + 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 -Nru postgresql-8.0.9.orig/src/interfaces/libpq/nls.mk postgresql-8.0.9/src/interfaces/libpq/nls.mk +--- postgresql-8.0.9.orig/src/interfaces/libpq/nls.mk 2006-11-05 13:20:26.000000000 +0100 ++++ postgresql-8.0.9/src/interfaces/libpq/nls.mk 2006-11-05 13:24:34.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.0.9.orig/src/Makefile.shlib postgresql-8.0.9/src/Makefile.shlib +--- postgresql-8.0.9.orig/src/Makefile.shlib 2006-11-05 13:20:26.000000000 +0100 ++++ postgresql-8.0.9/src/Makefile.shlib 2006-11-05 13:24:34.000000000 +0100 +@@ -360,10 +360,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/files/libpq-8.1.5-gentoo.patch b/dev-db/libpq/files/libpq-8.1.5-gentoo.patch new file mode 100644 index 000000000000..859daa58735b --- /dev/null +++ b/dev-db/libpq/files/libpq-8.1.5-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.3.15.ebuild b/dev-db/libpq/libpq-7.3.15.ebuild index 1e0c37da7654..67815a8faef1 100644 --- a/dev-db/libpq/libpq-7.3.15.ebuild +++ b/dev-db/libpq/libpq-7.3.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.3.15.ebuild,v 1.8 2006/10/14 20:24:04 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.3.15.ebuild,v 1.9 2006/11/07 22:46:39 chtekk Exp $ inherit eutils gnuconfig flag-o-matic toolchain-funcs @@ -11,7 +11,7 @@ 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 ~sh sparc x86" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ~ppc64 s390 sh sparc x86" IUSE="ssl nls pam readline zlib kerberos" #pg-hier" diff --git a/dev-db/libpq/libpq-7.3.16.ebuild b/dev-db/libpq/libpq-7.3.16.ebuild new file mode 100644 index 000000000000..8fba372a64ae --- /dev/null +++ b/dev-db/libpq/libpq-7.3.16.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.3.16.ebuild,v 1.1 2006/11/07 22:46:39 chtekk 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="kerberos? ( virtual/krb5 ) + pam? ( virtual/pam ) + readline? ( >=sys-libs/readline-4.1 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + zlib? ( >=sys-libs/zlib-1.1.3 )" +DEPEND="${RDEPEND} + sys-devel/autoconf + >=sys-devel/bison-1.875 + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/postgresql-${PV}" + +pkg_preinst() { + # Removing wrong symlink created by previous ebuild + if [[ -L "${ROOT}/usr/include/libpq" ]] ; then + rm -f "${ROOT}/usr/include/libpq" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch" +} + +src_compile() { + filter-flags -ffast-math -feliminate-dwarf2-dups + + # 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." +} diff --git a/dev-db/libpq/libpq-7.4.14.ebuild b/dev-db/libpq/libpq-7.4.14.ebuild new file mode 100644 index 000000000000..a81525001a66 --- /dev/null +++ b/dev-db/libpq/libpq-7.4.14.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.4.14.ebuild,v 1.1 2006/11/07 22:46:39 chtekk 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 threads zlib" + +RDEPEND="kerberos? ( virtual/krb5 ) + pam? ( virtual/pam ) + readline? ( >=sys-libs/readline-4.1 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + zlib? ( >=sys-libs/zlib-1.1.3 )" +DEPEND="${RDEPEND} + sys-devel/autoconf + >=sys-devel/bison-1.875 + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/postgresql-${PV}" + +pkg_preinst() { + # Removing wrong symlink created by previous ebuild + if [[ -L "${ROOT}/usr/include/libpq" ]] ; then + rm -f "${ROOT}/usr/include/libpq" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch" +} + +src_compile() { + filter-flags -ffast-math -feliminate-dwarf2-dups + + # 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_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-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." +} diff --git a/dev-db/libpq/libpq-8.0.9.ebuild b/dev-db/libpq/libpq-8.0.9.ebuild new file mode 100644 index 000000000000..c656d83c03e9 --- /dev/null +++ b/dev-db/libpq/libpq-8.0.9.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.0.9.ebuild,v 1.1 2006/11/07 22:46:39 chtekk 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="4" +IUSE="kerberos nls pam pg-intdatetime readline ssl threads zlib" + +RDEPEND="kerberos? ( virtual/krb5 ) + pam? ( virtual/pam ) + readline? ( >=sys-libs/readline-4.1 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + zlib? ( >=sys-libs/zlib-1.1.3 )" +DEPEND="${RDEPEND} + sys-devel/autoconf + >=sys-devel/bison-1.875 + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/postgresql-${PV}" + +pkg_preinst() { + # Removing wrong symlink created by previous ebuild + if [[ -L "${ROOT}/usr/include/libpq" ]] ; then + rm -f "${ROOT}/usr/include/libpq" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch" +} + +src_compile() { + filter-flags -ffast-math -feliminate-dwarf2-dups + + # 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." +} diff --git a/dev-db/libpq/libpq-8.1.5.ebuild b/dev-db/libpq/libpq-8.1.5.ebuild new file mode 100644 index 000000000000..e3746e4a7c22 --- /dev/null +++ b/dev-db/libpq/libpq-8.1.5.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.1.5.ebuild,v 1.1 2006/11/07 22:46:39 chtekk 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-base-${PV}.tar.bz2 + mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2" +LICENSE="POSTGRESQL" +SLOT="4" +IUSE="kerberos nls pam pg-intdatetime readline ssl threads zlib" + +RDEPEND="kerberos? ( virtual/krb5 ) + pam? ( virtual/pam ) + readline? ( >=sys-libs/readline-4.1 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + zlib? ( >=sys-libs/zlib-1.1.3 )" +DEPEND="${RDEPEND} + sys-devel/autoconf + >=sys-devel/bison-1.875 + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/postgresql-${PV}" + +pkg_preinst() { + # Removing wrong symlink created by previous ebuild + if [[ -L "${ROOT}/usr/include/libpq" ]] ; then + rm -f "${ROOT}/usr/include/libpq" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch" +} + +src_compile() { + filter-flags -ffast-math -feliminate-dwarf2-dups + + # 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." +} |