Date: Fri, 19 Aug 2016 10:11:37 +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: r420454 - in head/databases/pglogical: . files Message-ID: <201608191011.u7JABbOo053096@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: matthew Date: Fri Aug 19 10:11:37 2016 New Revision: 420454 URL: https://svnweb.freebsd.org/changeset/ports/420454 Log: Install the .sql files for release 1.1.2 -- this is missing from the release tarball, but has been fixed in upstream's Github. Add pglogical_dump, pglogical_origin--1.0.0.sql and pglogical_origin.control conditionally on the postgresql version -- these are only compiled and installed with postgresql-9.4.x Submitted by: Anderson Neves <anderson.ufal@gmail.com> Added: head/databases/pglogical/files/ head/databases/pglogical/files/patch-Makefile (contents, props changed) Modified: head/databases/pglogical/Makefile head/databases/pglogical/pkg-plist (contents, props changed) Modified: head/databases/pglogical/Makefile ============================================================================== --- head/databases/pglogical/Makefile Fri Aug 19 09:41:28 2016 (r420453) +++ head/databases/pglogical/Makefile Fri Aug 19 10:11:37 2016 (r420454) @@ -3,6 +3,7 @@ PORTNAME= pglogical PORTVERSION= 1.1.2 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://packages.2ndquadrant.com/pglogical/tarballs/ @@ -23,6 +24,14 @@ OPTIONS_DEFINE= DOCS DOCS_PORTDOCS= * +.include <bsd.port.pre.mk> + +.if ${PGSQL_VER:M9.4} +PLIST_SUB= PGSQL94="" +.else +PLIST_SUB= PGSQL94="@comment " +.endif + # FFI #TEST_DEPENDS= pg_regress:databases/postgresql${PGSQL_VER_NODOT}-pg_regress #TEST_TARGET= do-test @@ -30,6 +39,9 @@ DOCS_PORTDOCS= * post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pglogical_create_subscriber ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pglogical.so +.if ${PGSQL_VER:M9.4} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pglogical_dump +.endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @@ -38,4 +50,4 @@ post-install-DOCS-on: #do-test: # ${MAKE} ${MAKE_ARGS} check -.include <bsd.port.mk> +.include <bsd.port.post.mk> Added: head/databases/pglogical/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pglogical/files/patch-Makefile Fri Aug 19 10:11:37 2016 (r420454) @@ -0,0 +1,13 @@ +--- Makefile.orig 2016-08-17 20:46:15 UTC ++++ Makefile +@@ -6,7 +6,9 @@ PGFILEDESC = "pglogical - logical replic + + DATA = pglogical--1.0.0.sql pglogical--1.0.1.sql pglogical--1.0.0--1.0.1.sql \ + pglogical--1.1.0.sql pglogical--1.1.1.sql pglogical--1.0.0--1.1.0.sql \ +- pglogical--1.0.1--1.1.0.sql pglogical--1.1.0--1.1.1.sql ++ pglogical--1.0.1--1.1.0.sql pglogical--1.1.0--1.1.1.sql \ ++ pglogical--1.1.2.sql pglogical--1.1.0--1.1.2.sql \ ++ pglogical--1.1.1--1.1.2.sql + + OBJS = pglogical_apply.o pglogical_conflict.o pglogical_manager.o \ + pglogical_node.o pglogical_proto.o pglogical_relcache.o \ Modified: head/databases/pglogical/pkg-plist ============================================================================== --- head/databases/pglogical/pkg-plist Fri Aug 19 09:41:28 2016 (r420453) +++ head/databases/pglogical/pkg-plist Fri Aug 19 10:11:37 2016 (r420454) @@ -1,4 +1,5 @@ bin/pglogical_create_subscriber +%%PGSQL94%%bin/pglogical_dump 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 @@ -6,6 +7,11 @@ share/postgresql/extension/pglogical--1. 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--1.1.2.sql share/postgresql/extension/pglogical--1.1.0.sql +share/postgresql/extension/pglogical--1.1.1--1.1.2.sql share/postgresql/extension/pglogical--1.1.1.sql +share/postgresql/extension/pglogical--1.1.2.sql share/postgresql/extension/pglogical.control +%%PGSQL94%%share/postgresql/extension/pglogical_origin--1.0.0.sql +%%PGSQL94%%share/postgresql/extension/pglogical_origin.control
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608191011.u7JABbOo053096>