Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2023 06:38:03 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 44da8f9536ea - main - databases/postgresql-pgaudit: New port
Message-ID:  <202305090638.3496c3sG042012@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=44da8f9536eabe9bfd8d4b8c01a3d8ffe44868b2

commit 44da8f9536eabe9bfd8d4b8c01a3d8ffe44868b2
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2023-05-09 06:36:26 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-05-09 06:36:26 +0000

    databases/postgresql-pgaudit: New port
    
    PostgreSQL Audit Extension (pgAudit) provides detailed session and/or
    object audit logging via the standard PostgreSQL logging facility.
    PR:             268198
    Reported by:    gehaowu@bitmoe.com
---
 databases/Makefile                     |  1 +
 databases/postgresql-pgaudit/Makefile  | 27 +++++++++++++++++++++++++++
 databases/postgresql-pgaudit/distinfo  |  3 +++
 databases/postgresql-pgaudit/pkg-descr |  2 ++
 4 files changed, 33 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index d37418e340f8..c24b7b8f9bc6 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -656,6 +656,7 @@
     SUBDIR += postgresql-odbc
     SUBDIR += postgresql-ogr_fdw
     SUBDIR += postgresql-orafce
+    SUBDIR += postgresql-pgaudit
     SUBDIR += postgresql-plproxy
     SUBDIR += postgresql-plv8js
     SUBDIR += postgresql-prefix
diff --git a/databases/postgresql-pgaudit/Makefile b/databases/postgresql-pgaudit/Makefile
new file mode 100644
index 000000000000..134cbcf725cc
--- /dev/null
+++ b/databases/postgresql-pgaudit/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=		pgaudit
+#DISTVERSIONPREFIX=	v
+PORTVERSION=	1.7.0
+CATEGORIES=		databases
+PKGNAMEPREFIX=	postgresql${PGSQL_VER:S|.||}-
+
+MAINTAINER=		gehaowu@bitmoe.com
+COMMENT=		PostgreSQL Audit Extension
+WWW=			https://www.pgaudit.org/
+
+LICENSE=		PostgreSQL
+
+USES=			gmake pgsql:14+
+WANT_PGSQL=		server
+USE_GITHUB=		yes
+GH_ACCOUNT=		pgaudit
+
+MAKE_ENV=		USE_PGXS=1
+
+PLIST_FILES=	lib/postgresql/pgaudit.so \
+				share/postgresql/extension/pgaudit--1.7.sql \
+				share/postgresql/extension/pgaudit.control
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pgaudit.so
+
+.include <bsd.port.mk>
diff --git a/databases/postgresql-pgaudit/distinfo b/databases/postgresql-pgaudit/distinfo
new file mode 100644
index 000000000000..e68311c8533d
--- /dev/null
+++ b/databases/postgresql-pgaudit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1668774244
+SHA256 (pgaudit-pgaudit-1.7.0_GH0.tar.gz) = 8f4a73e451c88c567e516e6cba7dc1e23bc91686bb6f1f77f8f3126d428a8bd8
+SIZE (pgaudit-pgaudit-1.7.0_GH0.tar.gz) = 44151
diff --git a/databases/postgresql-pgaudit/pkg-descr b/databases/postgresql-pgaudit/pkg-descr
new file mode 100644
index 000000000000..5364ee696f17
--- /dev/null
+++ b/databases/postgresql-pgaudit/pkg-descr
@@ -0,0 +1,2 @@
+PostgreSQL Audit Extension (pgAudit) provides detailed session and/or
+object audit logging via the standard PostgreSQL logging facility.



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