From 3daef6eeef0a62b21beea35d852af47049d01a0c Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Wed, 16 Aug 2017 18:55:15 +0000 Subject: New port: databases/postgres-xl Postgres-XL is an open source project to provide both write-scalability and massively parallel processing transparently to PostgreSQL. It is a collection of tightly coupled database components which can be installed on more than one system or virtual machine. Write-scalable means Postgres-XL can be configured with as many database servers as you want and handle many more writes (updating SQL statements) than a single standalone database server could otherwise do. You can have more than one database server that provides a single database view. Any database update from any database server is immediately visible to any other transactions running on different servers. Transparent means you do not necessarily need to worry about how your data is stored in more than one database servers internally. WWW: http://www.postgres-xl.org/ PR: 219164 Submitted by: Jov --- .../files/patch-contrib_pgxc__ctl_make__signature | 115 +++++++++++++++++++++ .../patch-contrib_pgxc__monitor_pgxc__monitor.c | 10 ++ databases/postgres-xl/files/patch-doc-Makefile | 9 ++ .../postgres-xl/files/patch-doc-src-sgml-Makefile | 46 +++++++++ .../postgres-xl/files/patch-src_Makefile.shlib | 11 ++ 5 files changed, 191 insertions(+) create mode 100644 databases/postgres-xl/files/patch-contrib_pgxc__ctl_make__signature create mode 100644 databases/postgres-xl/files/patch-contrib_pgxc__monitor_pgxc__monitor.c create mode 100644 databases/postgres-xl/files/patch-doc-Makefile create mode 100644 databases/postgres-xl/files/patch-doc-src-sgml-Makefile create mode 100644 databases/postgres-xl/files/patch-src_Makefile.shlib (limited to 'databases/postgres-xl/files') diff --git a/databases/postgres-xl/files/patch-contrib_pgxc__ctl_make__signature b/databases/postgres-xl/files/patch-contrib_pgxc__ctl_make__signature new file mode 100644 index 000000000000..f36db344513d --- /dev/null +++ b/databases/postgres-xl/files/patch-contrib_pgxc__ctl_make__signature @@ -0,0 +1,115 @@ +--- contrib/pgxc_ctl/make_signature.orig 2017-04-19 15:17:02 UTC ++++ contrib/pgxc_ctl/make_signature +@@ -53,14 +53,20 @@ EOF + + + cp pgxc_ctl_bash_2 pgxc_ctl_bash.c.wk +-ex pgxc_ctl_bash.c.wk < pgxc_ctl_bash.c <> pgxc_ctl_bash.c <> pgxc_ctl_bash.c <> pgxc_ctl_bash.c < + #include ++#include + + /* Define all the node types */ + typedef enum diff --git a/databases/postgres-xl/files/patch-doc-Makefile b/databases/postgres-xl/files/patch-doc-Makefile new file mode 100644 index 000000000000..0d0adb929fb7 --- /dev/null +++ b/databases/postgres-xl/files/patch-doc-Makefile @@ -0,0 +1,9 @@ +--- doc/Makefile.orig 2017-04-19 15:17:02 UTC ++++ doc/Makefile +@@ -12,5 +12,5 @@ subdir = doc + top_builddir = .. + include $(top_builddir)/src/Makefile.global + +-all distprep html man install installdirs uninstall clean distclean maintainer-clean: ++all distprep man install installdirs uninstall clean distclean maintainer-clean: + $(MAKE) -C src $@ diff --git a/databases/postgres-xl/files/patch-doc-src-sgml-Makefile b/databases/postgres-xl/files/patch-doc-src-sgml-Makefile new file mode 100644 index 000000000000..0523b73cd52b --- /dev/null +++ b/databases/postgres-xl/files/patch-doc-src-sgml-Makefile @@ -0,0 +1,46 @@ +--- doc/src/sgml/Makefile.orig 2017-04-19 15:17:02 UTC ++++ doc/src/sgml/Makefile +@@ -15,7 +15,7 @@ + + # Make "html" the default target, since that is what most people tend + # to want to use. +-html: ++man: + + NO_TEMP_INSTALL=yes + +@@ -24,7 +24,7 @@ top_builddir = ../../.. + include $(top_builddir)/src/Makefile.global + + +-all: html man ++all: man + + distprep: html distprep-man + +@@ -81,8 +81,6 @@ override SPFLAGS += -wall -wno-unused-pa + ## Man pages + ## + +-man distprep-man: man-stamp +- + man-stamp: stylesheet-man.xsl postgres.xml + $(XMLLINT) --noout --valid postgres.xml + $(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_MAN_FLAGS) $^ +@@ -326,14 +324,14 @@ check: postgres.sgml $(ALMOSTALLSGML) ch + ## Install + ## + +-install: install-html ++install: install-man + + ifneq ($(PORTNAME), sco) + install: install-man + endif + + installdirs: +- $(MKDIR_P) '$(DESTDIR)$(htmldir)'/html $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum)) ++ $(MKDIR_P) $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum)) + + # If the install used a man directory shared with other applications, this will remove all files. + uninstall: diff --git a/databases/postgres-xl/files/patch-src_Makefile.shlib b/databases/postgres-xl/files/patch-src_Makefile.shlib new file mode 100644 index 000000000000..bad3dbfb495a --- /dev/null +++ b/databases/postgres-xl/files/patch-src_Makefile.shlib @@ -0,0 +1,11 @@ +--- src/Makefile.shlib.orig 2017-04-19 15:17:03 UTC ++++ src/Makefile.shlib +@@ -81,7 +81,7 @@ shlib_bare = lib$(NAME)$(DLSUFFIX) + # Testing the soname variable is a reliable way to determine whether a + # linkable library is being built. + soname = $(shlib_major) +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig + else + # Naming convention for dynamically loadable modules + shlib = $(NAME)$(DLSUFFIX) -- cgit v1.2.3