Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 23:27:22 +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: r416571 - in head/databases: . pglogical
Message-ID:  <201606082327.u58NRMfs065951@repo.freebsd.org>

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

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/
  head/databases/pglogical/Makefile   (contents, props changed)
  head/databases/pglogical/distinfo   (contents, props changed)
  head/databases/pglogical/pkg-descr   (contents, props changed)
  head/databases/pglogical/pkg-message   (contents, props changed)
  head/databases/pglogical/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Wed Jun  8 23:26:36 2016	(r416570)
+++ head/databases/Makefile	Wed Jun  8 23:27:22 2016	(r416571)
@@ -567,6 +567,7 @@
     SUBDIR += pgfouine
     SUBDIR += pglesslog
     SUBDIR += pgloader
+    SUBDIR += pglogical
     SUBDIR += pglogical-output
     SUBDIR += pgpool
     SUBDIR += pgpool-II

Added: head/databases/pglogical/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical/Makefile	Wed Jun  8 23:27:22 2016	(r416571)
@@ -0,0 +1,41 @@
+# Created by: Matthew Seaman
+# $FreeBSD$
+
+PORTNAME=	pglogical
+PORTVERSION=	1.1.1
+CATEGORIES=	databases
+MASTER_SITES=	http://packages.2ndquadrant.com/pglogical/tarballs/
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Logical replication system as a PostgreSQL extension
+
+LICENSE=	PostgreSQL
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/postgresql/pglogical_output.so:databases/pglogical-output
+RUN_DEPENDS=	${LOCALBASE}/lib/postgresql/pglogical_output.so:databases/pglogical-output
+
+USES=		gmake pgsql:9.4+ tar:bzip2
+WANT_PGSQL=	client 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}/bin/pglogical_create_subscriber
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pglogical.so
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
+
+#do-test:
+#	${MAKE} ${MAKE_ARGS} check
+
+.include <bsd.port.mk>

Added: head/databases/pglogical/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical/distinfo	Wed Jun  8 23:27:22 2016	(r416571)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1465421707
+SHA256 (pglogical-1.1.1.tar.bz2) = 1c66e52e43cae208b31d6d6f5cdcf01dc67371fe4ea7f079ac86d49834055d55
+SIZE (pglogical-1.1.1.tar.bz2) = 256832

Added: head/databases/pglogical/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical/pkg-descr	Wed Jun  8 23:27:22 2016	(r416571)
@@ -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/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical/pkg-message	Wed Jun  8 23:27:22 2016	(r416571)
@@ -0,0 +1,6 @@
+
+The pglogical extension is pointless without the pglogical-output
+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/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pglogical/pkg-plist	Wed Jun  8 23:27:22 2016	(r416571)
@@ -0,0 +1,11 @@
+bin/pglogical_create_subscriber
+lib/postgresql/pglogical.so
+share/postgresql/extension/pglogical--1.0.0--1.0.1.sql
+share/postgresql/extension/pglogical--1.0.0--1.1.0.sql
+share/postgresql/extension/pglogical--1.0.0.sql
+share/postgresql/extension/pglogical--1.0.1--1.1.0.sql
+share/postgresql/extension/pglogical--1.0.1.sql
+share/postgresql/extension/pglogical--1.1.0--1.1.1.sql
+share/postgresql/extension/pglogical--1.1.0.sql
+share/postgresql/extension/pglogical--1.1.1.sql
+share/postgresql/extension/pglogical.control



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