diff options
author | Wen Heping <wen@FreeBSD.org> | 2023-05-09 06:36:26 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2023-05-09 06:36:26 +0000 |
commit | 44da8f9536eabe9bfd8d4b8c01a3d8ffe44868b2 (patch) | |
tree | 1bb9b118ebf4e9dc4c6e769c3be50609224c1c75 | |
parent | 326005b3bb9fae43c2bbd321c7391dc58091af65 (diff) |
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
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/postgresql-pgaudit/Makefile | 27 | ||||
-rw-r--r-- | databases/postgresql-pgaudit/distinfo | 3 | ||||
-rw-r--r-- | databases/postgresql-pgaudit/pkg-descr | 2 |
4 files changed, 33 insertions, 0 deletions
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. |