git: 7e86a0d71167 - main - databases/pgactive: add new ports.

From: Vanilla I. Shu <vanilla_at_FreeBSD.org>
Date: Fri, 12 Sep 2025 01:45:51 UTC
The branch main has been updated by vanilla:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e86a0d71167e3711608cdc05fd24f3d563e251c

commit 7e86a0d71167e3711608cdc05fd24f3d563e251c
Author:     Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2025-09-12 01:43:59 +0000
Commit:     Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2025-09-12 01:43:59 +0000

    databases/pgactive: add new ports.
    
    it's aws' active-active replication extension for postgresql.
---
 databases/Makefile           |  1 +
 databases/pgactive/Makefile  | 24 ++++++++++++++++++++++++
 databases/pgactive/distinfo  |  3 +++
 databases/pgactive/pkg-descr |  2 ++
 databases/pgactive/pkg-plist | 11 +++++++++++
 5 files changed, 41 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index a21aa786fdcb..7fb334014b0a 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -556,6 +556,7 @@
     SUBDIR += pg_store_plans
     SUBDIR += pg_tileserv
     SUBDIR += pgaccess
+    SUBDIR += pgactive
     SUBDIR += pgadmin3
     SUBDIR += pgagroal
     SUBDIR += pgbackrest
diff --git a/databases/pgactive/Makefile b/databases/pgactive/Makefile
new file mode 100644
index 000000000000..c05907cdd25b
--- /dev/null
+++ b/databases/pgactive/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	pgactive
+PORTVERSION=	2.1.6
+DISTVERSIONPREFIX=	v
+CATEGORIES=	databases
+
+MAINTAINER=	vanilla@FreeBSD.org
+COMMENT=	Active-active replication extension for PostgreSQL
+WWW=		http://github.com/aws/pgactive
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gmake pgsql
+WANT_PGSQL=	client server
+GNU_CONFIGURE=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	aws
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgactive_dump
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgactive_init_copy
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pgactive.so
+
+.include <bsd.port.mk>
diff --git a/databases/pgactive/distinfo b/databases/pgactive/distinfo
new file mode 100644
index 000000000000..7d671f4c563c
--- /dev/null
+++ b/databases/pgactive/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1756047691
+SHA256 (aws-pgactive-v2.1.6_GH0.tar.gz) = d8a172b8d75013baeb5740a124e0abed7a7233ddee8c88439a5b60298ff91d40
+SIZE (aws-pgactive-v2.1.6_GH0.tar.gz) = 2170745
diff --git a/databases/pgactive/pkg-descr b/databases/pgactive/pkg-descr
new file mode 100644
index 000000000000..2702b4f1fb9a
--- /dev/null
+++ b/databases/pgactive/pkg-descr
@@ -0,0 +1,2 @@
+pgactive is a PostgreSQL replication extension for creating
+an active-active database.
diff --git a/databases/pgactive/pkg-plist b/databases/pgactive/pkg-plist
new file mode 100644
index 000000000000..21d765b01a41
--- /dev/null
+++ b/databases/pgactive/pkg-plist
@@ -0,0 +1,11 @@
+bin/pgactive_dump
+bin/pgactive_init_copy
+lib/postgresql/pgactive.so
+share/postgresql/extension/pgactive--2.1.0--2.1.1.sql
+share/postgresql/extension/pgactive--2.1.0.sql
+share/postgresql/extension/pgactive--2.1.1--2.1.2.sql
+share/postgresql/extension/pgactive--2.1.2--2.1.3.sql
+share/postgresql/extension/pgactive--2.1.3--2.1.4.sql
+share/postgresql/extension/pgactive--2.1.4--2.1.5.sql
+share/postgresql/extension/pgactive--2.1.5--2.1.6.sql
+share/postgresql/extension/pgactive.control