Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 23:23:46 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416569 - in head/databases: . pglogical-output pglogical-output/files
Message-ID:  <201606082323.u58NNkP5065536@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Wed Jun  8 23:23:46 2016
New Revision: 416569
URL: https://svnweb.freebsd.org/changeset/ports/416569

Log:
  pglogical is a logical replication system implemented entirely as a
  PostgreSQL extension. Fully integrated, it requires no triggers or
  external programs. This alternative to physical replication is a
  highly efficient method of replicating data using a publish/subscribe
  model for selective replication.
  
  WWW: http://2ndquadrant.com/en/resources/pglogical/

Added:
  head/databases/pglogical-output/
  head/databases/pglogical-output/Makefile   (contents, props changed)
  head/databases/pglogical-output/Makefile~   (contents, props changed)
  head/databases/pglogical-output/distinfo   (contents, props changed)
  head/databases/pglogical-output/files/
  head/databases/pglogical-output/files/patch-Makefile   (contents, props changed)
  head/databases/pglogical-output/pkg-descr   (contents, props changed)
  head/databases/pglogical-output/pkg-message   (contents, props changed)
  head/databases/pglogical-output/pkg-plist   (contents, props changed)
  head/databases/pglogical-output/pkg-plist~   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Wed Jun  8 23:09:35 2016	(r416568)
+++ head/databases/Makefile	Wed Jun  8 23:23:46 2016	(r416569)
@@ -567,6 +567,7 @@
     SUBDIR += pgfouine
     SUBDIR += pglesslog
     SUBDIR += pgloader
+    SUBDIR += pglogical-output
     SUBDIR += pgpool
     SUBDIR += pgpool-II
     SUBDIR += pgpool-II-22

Added: head/databases/pglogical-output/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical-output/Makefile	Wed Jun  8 23:23:46 2016	(r416569)
@@ -0,0 +1,39 @@
+# Created by: MAtthew Seaman
+# $FreeBSD$
+
+PORTNAME=	pglogical-output
+PORTVERSION=	1.1.0
+CATEGORIES=	databases
+MASTER_SITES=	http://packages.2ndquadrant.com/pglogical/tarballs/
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Logical replication system as a PostgreSQL extension
+
+LICENSE=	PostgreSQL
+
+USES=		gmake pgsql:9.4+ tar:bzip2
+WANT_PGSQL=	server
+
+MAKE_ARGS=	USE_PGXS=1
+
+OPTIONS_DEFINE=	DOCS
+
+DOCS_PORTDOCS=	*
+
+# FFI
+#TEST_DEPENDS=	pg_regress:databases/postgresql${PGSQL_VER_NODOT}-pg_regress
+#TEST_TARGET=	do-test
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pglogical_output.so
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README		${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/protocol.txt	${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/DESIGN.md		${STAGEDIR}${DOCSDIR}
+
+#do-test:
+#	${MAKE} ${MAKE_ARGS} installcheck
+
+.include <bsd.port.mk>

Added: head/databases/pglogical-output/Makefile~
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical-output/Makefile~	Wed Jun  8 23:23:46 2016	(r416569)
@@ -0,0 +1,35 @@
+# Created by: MAtthew Seaman
+# $FreeBSD$
+
+PORTNAME=	pglogical-output
+PORTVERSION=	1.1.0
+CATEGORIES=	databases
+MASTER_SITES=	http://packages.2ndquadrant.com/pglogical/tarballs/
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Logical replication system as a PostgreSQL extension
+
+LICENSE=	PostgreSQL
+
+USES=		gmake pgsql:9.4+ tar:bzip2
+WANT_PGSQL=	server
+
+MAKE_ARGS=	USE_PGXS=1
+
+# FFI
+#TEST_DEPENDS=	pg_regress:databases/postgresql${PGSQL_VER_NODOT}-pg_regress
+#TEST_TARGET=	do-test
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pglogical_output.so
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README		${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/protocol.txt	${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/DESIGN.md		${STAGEDIR}${DOCSDIR}
+
+#do-test:
+#	${MAKE} ${MAKE_ARGS} installcheck
+
+.include <bsd.port.mk>

Added: head/databases/pglogical-output/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical-output/distinfo	Wed Jun  8 23:23:46 2016	(r416569)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1465329953
+SHA256 (pglogical-output-1.1.0.tar.bz2) = d04c6650855a7a60e62d05a6c25d1f928ab1663ea219c95fc2776a398dc69bdd
+SIZE (pglogical-output-1.1.0.tar.bz2) = 105985

Added: head/databases/pglogical-output/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical-output/files/patch-Makefile	Wed Jun  8 23:23:46 2016	(r416569)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2016-06-08 15:56:57 UTC
++++ Makefile
+@@ -30,7 +30,7 @@ EXTRA_INSTALL += ./examples/hooks
+ REGRESS_OPTS += --temp-config=regression.conf
+ 
+ plhooks:
+-	make -C examples/hooks USE_PGXS=1 clean install
++	${MAKE} -C examples/hooks USE_PGXS=1 clean install
+ 
+ installcheck: plhooks
+ 

Added: head/databases/pglogical-output/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical-output/pkg-descr	Wed Jun  8 23:23:46 2016	(r416569)
@@ -0,0 +1,7 @@
+pglogical is a logical replication system implemented entirely as a
+PostgreSQL extension. Fully integrated, it requires no triggers or
+external programs. This alternative to physical replication is a
+highly efficient method of replicating data using a publish/subscribe
+model for selective replication.
+
+WWW: http://2ndquadrant.com/en/resources/pglogical/

Added: head/databases/pglogical-output/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical-output/pkg-message	Wed Jun  8 23:23:46 2016	(r416569)
@@ -0,0 +1,6 @@
+
+The pglogical-output extension is pointless without the pglogical
+extension, and vice versa.  Please install both pglogical and
+pglogical-output extensions (that match the local postgresql server
+version) on both the sending and receiving instances of postgresql
+server.

Added: head/databases/pglogical-output/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical-output/pkg-plist	Wed Jun  8 23:23:46 2016	(r416569)
@@ -0,0 +1,7 @@
+include/pglogical_output/compat.h
+include/pglogical_output/hooks.h
+lib/postgresql/pglogical_output.so
+share/postgresql/extension/pglogical_output--1.0.0--1.1.0.sql
+share/postgresql/extension/pglogical_output--1.0.1--1.1.0.sql
+share/postgresql/extension/pglogical_output--1.1.0.sql
+share/postgresql/extension/pglogical_output.control

Added: head/databases/pglogical-output/pkg-plist~
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical-output/pkg-plist~	Wed Jun  8 23:23:46 2016	(r416569)
@@ -0,0 +1,10 @@
+include/pglogical_output/compat.h
+include/pglogical_output/hooks.h
+lib/postgresql/pglogical_output.so
+%%PORTDOCS%%%%DOCSDIR%%/DESIGN.md
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/protocol.txt
+share/postgresql/extension/pglogical_output--1.0.0--1.1.0.sql
+share/postgresql/extension/pglogical_output--1.0.1--1.1.0.sql
+share/postgresql/extension/pglogical_output--1.1.0.sql
+share/postgresql/extension/pglogical_output.control



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606082323.u58NNkP5065536>