git: 44da8f9536ea - main - databases/postgresql-pgaudit: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 May 2023 06:38:03 UTC
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.