[csw-devel] SF.net SVN: gar:[13037] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jan 21 12:19:10 CET 2011


Revision: 13037
          http://gar.svn.sourceforge.net/gar/?rev=13037&view=rev
Author:   dmichelsen
Date:     2011-01-21 11:19:09 +0000 (Fri, 21 Jan 2011)

Log Message:
-----------
pgpool: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/pgpool/
    csw/mgar/pkg/pgpool/Makefile
    csw/mgar/pkg/pgpool/branches/
    csw/mgar/pkg/pgpool/tags/
    csw/mgar/pkg/pgpool/trunk/
    csw/mgar/pkg/pgpool/trunk/Makefile
    csw/mgar/pkg/pgpool/trunk/checksums
    csw/mgar/pkg/pgpool/trunk/files/

Copied: csw/mgar/pkg/pgpool/Makefile (from rev 13019, csw/mgar/pkg/template/Makefile)
===================================================================
--- csw/mgar/pkg/pgpool/Makefile	                        (rev 0)
+++ csw/mgar/pkg/pgpool/Makefile	2011-01-21 11:19:09 UTC (rev 13037)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+	@echo "You are in the pkg/ directory."
+
+%:
+	$(MAKE) -C trunk $* 
+
+paranoid-%:
+	$(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+	$(MAKE) -C trunk $* || echo "	*** make $* in $$i failed ***" >> $(BUILDLOG) 


Property changes on: csw/mgar/pkg/pgpool/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/pgpool/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pgpool/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/pgpool/trunk/Makefile	2011-01-21 11:19:09 UTC (rev 13037)
@@ -0,0 +1,63 @@
+# $Id$
+NAME = pgpool
+VERSION = 3.0.1
+CATEGORIES = net
+
+DESCRIPTION = A middleware that works between PostgreSQL servers and a PostgreSQL database client
+define BLURB
+  pgpool-II talks PostgreSQL's backend and frontend protocol, and relays a connection between them.
+  Therefore, a database application (frontend) thinks that pgpool-II is the actual PostgreSQL server,
+  and the server (backend) sees pgpool-II as one of its clients. Because pgpool-II is transparent
+  to both the server and the client, an existing database application can be used with pgpool-II
+  almost without a change to its sources.
+endef
+
+DISTNAME = pgpool-II-$(VERSION)
+MASTER_SITES = http://pgfoundry.org/frs/download.php/2841/
+DISTFILES  = $(DISTNAME).tar.gz
+
+# File name regex to get notifications about upstream software releases
+UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+
+PACKAGES = CSWpgpool
+CATALOGNAME_CSWpgpool = pgpool
+SPKG_DESC_CSWpgpool = $(DESCRIPTION)
+RUNTIME_DEP_PKGS_CSWpgpool += CSWlibpq
+RUNTIME_DEP_PKGS_CSWpgpool += CSWlibgnugetopt
+RUNTIME_DEP_PKGS_CSWpgpool += CSWlibpcp0
+
+PACKAGES += CSWlibpcp0
+CATALOGNAME_CSWlibpcp0 = libpcp0
+SPKG_DESC_CSWlibpcp0 = Library for PostgreSQL pgpool providing libpcp.so.0
+PKGFILES_CSWlibpcp0 = $(call baseisadirs,$(libdir),libpcp\.so\.0(\.\d+)*)
+RUNTIME_DEP_PKGS_CSWlibpcp0 += CSWlibgnugetopt
+
+PACKAGES += CSWpgpool-dev
+CATALOGNAME_CSWpgpool-dev = CSWpgpool_dev
+SPKG_DESC_CSWpgpool-dev = Development Files for pgpool
+PKGFILES_CSWpgpool-dev += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWpgpool-dev += CSWpgpool
+RUNTIME_DEP_PKGS_CSWpgpool-dev += CSWlibpcp0
+
+# It looks like compiler != gcc means Windows :-(
+EXTRA_CFLAGS = -DPGDLLIMPORT=
+
+EXTRA_LINKER_FLAGS = -lgnugetopt
+
+BUILD_DEP_PKGS = CSWlibgnugetopt
+
+sysconfdir = /etc/opt/csw
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-pgsql=$(prefix)/postgresql
+# Adding OpenSSL breaks detection of libpq, disable for now
+#CONFIGURE_ARGS += --with-openssl
+# We must use gegrep insread if egrep as certain arguments are needed
+CONFIGURE_ARGS += ac_cv_prog_egrep=$(bindir)/gegrep
+
+EXTRA_PAX_ARGS = -s ",\.sample$$,.CSW,p"
+
+PRESERVECONF += $(sysconfdir)/pcp.conf
+PRESERVECONF += $(sysconfdir)/pgpool.conf
+PRESERVECONF += $(sysconfdir)/pool_hba.conf
+
+include gar/category.mk


Property changes on: csw/mgar/pkg/pgpool/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/pgpool/trunk/checksums
===================================================================
--- csw/mgar/pkg/pgpool/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/pgpool/trunk/checksums	2011-01-21 11:19:09 UTC (rev 13037)
@@ -0,0 +1 @@
+86d8beff0396d11b6753dd2be31bcad7  pgpool-II-3.0.1.tar.gz


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list