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