From nobody Fri May 27 19:16:10 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4758D1B4A8DE; Fri, 27 May 2022 19:16:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L8vfg1YBSz4nFp; Fri, 27 May 2022 19:16:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653678971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5IglDMUk0miVJzZVAveGuRMRlwiXSwB8ue2wA+5WyIw=; b=uMK3q3K1xwuMse2KU2TFA/s8DRdBIpAyJQpMh7zIDdSqEW/XkSRe+8OLXeaZwJqsTS0ce/ nB9BDVWkphWBqPg/phZ10PhCnjAPERy581l0wx1lxQyqxS0HfDbd+q/1B4UAcY8RqaMrVH jMaWePuTCQ+VhHkeIeUIt3kVn8DztBeyhbB7lbA0/perKKePod77BsU46qyslQL94xg4Dq HereLAtTpNrVju9c3FvRrslYL5z6UjXb13/PcemBZItDUoMZ/Hf96dc1MV0C4lPOv/XO9a 1uXp4SfUU1ZeYTUJLDkZy0HR+Kii7nsel44imHFgjqC5WskDYGY3+awwpwJlLg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 14FEB27EC1; Fri, 27 May 2022 19:16:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24RJGAZ4026914; Fri, 27 May 2022 19:16:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24RJGAio026913; Fri, 27 May 2022 19:16:10 GMT (envelope-from git) Date: Fri, 27 May 2022 19:16:10 GMT Message-Id: <202205271916.24RJGAio026913@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: ba1b2e241733 - main - databases/postgresql-repmgr: Update version 5.2.0=>5.3.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba1b2e241733c6dc7b8a4634aa41ee56c45fb3e4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653678971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5IglDMUk0miVJzZVAveGuRMRlwiXSwB8ue2wA+5WyIw=; b=aFVKQFQ73f8ZfGLxlLiFvAIws/PsHI+kHSm5ij5hsCkrcUCOcuQHqgLzYa7V7EUvX1Eelb QdPTntv23/HojHcJj8m+fvc2HaJmBcKoK4uUhE97+V427gsGDi/cVhNiP+1/mIVsZQ5vA5 DxiyA71q28xOPD3aU6YvktIjAZPQGzA3F6o0VojkGLsWD4uZVruITyQaqXxQzbil5O1g5c rOrlCktYwFqrzxQ5Uhj2jAMgbLL1N3gVuxdjxMYg3jcF6esdqdRVSDWs0iV3rQhDbwDzmA p48miTy+BuAFIJ9Pqze7gOGqTP87A32mwS6ZzSVdZd8IqnCCEVB/vYyxlaVAzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653678971; a=rsa-sha256; cv=none; b=gPEsPZjh5YR2guwz/xA9lH1No6+eByVR60ewp5C341zpkaUXlgqNGboyNVCMP90ia+D87L HzW6hVEAGIwR8aMp8b6DF85bj1dmjt7O51NM2w1z+/o6r9KQDrvZ9fKL35LTKQlHNQICj3 kWZu0cz1TpznbEenTJDsS/6p1hNYJ/sbjrUCGaq0M3znkCoq/12c472vnPIrkb5l4sVJQU DJAhyPS17Xy+K9hKaJ8wJTyPAnodm1rVzBDozq8YG9l9evA0UPyQdth9+LiCWcVyMiensd 4hZhr+mg7GqHRLwnbm9rFEvSvujGUuVxjbXrjZj6U9SvKj72KZouVJzLZRzN3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba1b2e241733c6dc7b8a4634aa41ee56c45fb3e4 commit ba1b2e241733c6dc7b8a4634aa41ee56c45fb3e4 Author: Muhammad Moinur Rahman AuthorDate: 2022-05-27 19:12:51 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-05-27 19:16:03 +0000 databases/postgresql-repmgr: Update version 5.2.0=>5.3.2 - Fix build with NLS. See the following: https://github.com/EnterpriseDB/repmgr/issues/755 - Update WWW - Pet portclippy/portfmt Reported by: mike.jakubik@swiftsmsgateway.com --- databases/postgresql-repmgr/Makefile | 27 ++++++++++++---------- databases/postgresql-repmgr/distinfo | 6 ++--- .../postgresql-repmgr/files/patch-Makefile.in | 15 ++++++++++++ databases/postgresql-repmgr/pkg-descr | 2 +- databases/postgresql-repmgr/pkg-plist | 3 +++ 5 files changed, 37 insertions(+), 16 deletions(-) diff --git a/databases/postgresql-repmgr/Makefile b/databases/postgresql-repmgr/Makefile index 3b0d144d42d6..84661572875e 100644 --- a/databases/postgresql-repmgr/Makefile +++ b/databases/postgresql-repmgr/Makefile @@ -1,7 +1,7 @@ # Created by: alp@sfedu.ru PORTNAME= postgresql-repmgr -PORTVERSION= 5.2.0 +PORTVERSION= 5.3.2 CATEGORIES= databases MASTER_SITES= http://www.repmgr.org/download/ DISTNAME= repmgr-${PORTVERSION} @@ -14,24 +14,21 @@ LICENSE= GPLv3 RUN_DEPENDS= rsync:net/rsync USES= gettext gmake pgsql +WANT_PGSQL= server +USE_RC_SUBR= repmgrd GNU_CONFIGURE= yes -LLD_UNSAFE= yes -USE_RC_SUBR= repmgrd -WANT_PGSQL= server + MAKE_ENV= USE_PGXS=1 + LIBS= -L${LOCALBASE}/lib -lintl -OPTIONS_DEFINE= DOCS +LLD_UNSAFE= yes -PORTDOCS= CONTRIBUTING.md COPYRIGHT CREDITS FAQ.md HISTORY LICENSE PACKAGES.md \ - README.md +PORTDOCS= CONTRIBUTING.md COPYRIGHT CREDITS FAQ.md HISTORY LICENSE \ + PACKAGES.md README.md -post-install: - ${INSTALL_DATA} ${WRKSRC}/repmgr.conf.sample ${STAGEDIR}${PREFIX}/etc - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/repmgr - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/repmgrd - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/repmgr.so +OPTIONS_DEFINE= DOCS do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @@ -39,4 +36,10 @@ do-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor +post-install: + ${INSTALL_DATA} ${WRKSRC}/repmgr.conf.sample ${STAGEDIR}${PREFIX}/etc + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/repmgr + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/repmgrd + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/repmgr.so + .include diff --git a/databases/postgresql-repmgr/distinfo b/databases/postgresql-repmgr/distinfo index 362b8e6e2016..cc7471086734 100644 --- a/databases/postgresql-repmgr/distinfo +++ b/databases/postgresql-repmgr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1603484572 -SHA256 (repmgr-5.2.0.tar.gz) = 7e4b6f2e60a90235db143d185e9f5b60db3f07c4610833129f8f90bd1c5d7b85 -SIZE (repmgr-5.2.0.tar.gz) = 446137 +TIMESTAMP = 1653677536 +SHA256 (repmgr-5.3.2.tar.gz) = 2d9be1d9a7a55b25855e805252c394d67ac4e3c04ee80d4aa984b8ffc7a9a3a2 +SIZE (repmgr-5.3.2.tar.gz) = 456455 diff --git a/databases/postgresql-repmgr/files/patch-Makefile.in b/databases/postgresql-repmgr/files/patch-Makefile.in new file mode 100644 index 000000000000..dd356136506c --- /dev/null +++ b/databases/postgresql-repmgr/files/patch-Makefile.in @@ -0,0 +1,15 @@ +--- Makefile.in.orig 2022-05-25 06:59:51 UTC ++++ Makefile.in +@@ -79,10 +79,10 @@ repmgr: $(REPMGR_CLIENT_OBJS) + $(REPMGR_CLIENT_OBJS): repmgr-client.h repmgr_version.h + + repmgr: $(REPMGR_CLIENT_OBJS) +- $(CC) $(CFLAGS) $(REPMGR_CLIENT_OBJS) $(libpq_pgport) $(LDFLAGS) $(LDFLAGS_EX) -o $@$(X) ++ $(CC) $(CFLAGS) $(REPMGR_CLIENT_OBJS) $(libpq_pgport) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X) + + repmgrd: $(REPMGRD_OBJS) +- $(CC) $(CFLAGS) $(REPMGRD_OBJS) $(libpq_pgport) $(LDFLAGS) $(LDFLAGS_EX) -o $@$(X) ++ $(CC) $(CFLAGS) $(REPMGRD_OBJS) $(libpq_pgport) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X) + + $(REPMGR_CLIENT_OBJS): $(HEADERS) + $(REPMGRD_OBJS): $(HEADERS) diff --git a/databases/postgresql-repmgr/pkg-descr b/databases/postgresql-repmgr/pkg-descr index a45d06d0f05f..e80296353320 100644 --- a/databases/postgresql-repmgr/pkg-descr +++ b/databases/postgresql-repmgr/pkg-descr @@ -1,4 +1,4 @@ repmgr allows you to monitor and manage your replicated PostgreSQL databases as a single cluster. -WWW: http://projects.2ndquadrant.com/repmgr +WWW: https://repmgr.org/ diff --git a/databases/postgresql-repmgr/pkg-plist b/databases/postgresql-repmgr/pkg-plist index c34fc85afa45..d426a885625d 100644 --- a/databases/postgresql-repmgr/pkg-plist +++ b/databases/postgresql-repmgr/pkg-plist @@ -16,8 +16,11 @@ share/postgresql/extension/repmgr--5.0--5.1.sql share/postgresql/extension/repmgr--5.1.sql share/postgresql/extension/repmgr--5.1--5.2.sql share/postgresql/extension/repmgr--5.2.sql +share/postgresql/extension/repmgr--5.2--5.3.sql +share/postgresql/extension/repmgr--5.3.sql share/postgresql/extension/repmgr--unpackaged--4.0.sql share/postgresql/extension/repmgr--unpackaged--5.1.sql share/postgresql/extension/repmgr--unpackaged--5.2.sql +share/postgresql/extension/repmgr--unpackaged--5.3.sql share/postgresql/extension/repmgr.control @sample etc/repmgr.conf.sample