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
2023Q3
Wen Heping 2023-05-09 14:36:26 +08:00
parent 326005b3bb
commit 44da8f9536
4 changed files with 33 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -0,0 +1,2 @@
PostgreSQL Audit Extension (pgAudit) provides detailed session and/or
object audit logging via the standard PostgreSQL logging facility.