Initial import for PG 16

Resolves: RHEL-3635
This commit is contained in:
Filip Janus 2023-10-17 10:15:23 +02:00
parent 0d97390b13
commit daed2a17ac
3 changed files with 60 additions and 0 deletions

3
.gitignore vendored Normal file → Executable file
View File

@ -0,0 +1,3 @@
SOURCES/pgaudit-1.7.0.tar.gz
/pgaudit-1.7.0.tar.gz
/pgaudit-16.0.tar.gz

56
pgaudit.spec Normal file
View File

@ -0,0 +1,56 @@
Name: pgaudit
Version: 16.0
Release: 1%{?dist}
Summary: PostgreSQL Audit Extension
License: PostgreSQL
URL: http://pgaudit.org
Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
BuildRequires: postgresql-server-devel >= 16
BuildRequires: openssl-devel
%{?postgresql_module_requires}
%description
The PostgreSQL Audit extension (pgaudit) provides detailed session
and/or object audit logging via the standard PostgreSQL logging
facility.
The goal of the PostgreSQL Audit extension (pgaudit) is to provide
PostgreSQL users with capability to produce audit logs often required to
comply with government, financial, or ISO certifications.
An audit is an official inspection of an individual's or organization's
accounts, typically by an independent body. The information gathered by
the PostgreSQL Audit extension (pgaudit) is properly called an audit
trail or audit log. The term audit log is used in this documentation.
%prep
%setup -q -n %{name}-%{version}
%build
%make_build USE_PGXS=1 PG_CONFIG=/usr/bin/pg_server_config
%install
%make_install USE_PGXS=1 PG_CONFIG=/usr/bin/pg_server_config
%files
%doc README.md
%license LICENSE
%{_libdir}/pgsql/%{name}.so
%{_datadir}/pgsql/extension/%{name}--1*.sql
%{_datadir}/pgsql/extension/%{name}.control
%changelog
* Fri Oct 13 2023 Filip Janus <fjanus@redhat.com> - 16.0-1
- Update to 16.0
- Support postgresql 16
- Initial import for PG 16 module
- Resolves: RHEL-3635

1
sources Executable file
View File

@ -0,0 +1 @@
SHA512 (pgaudit-16.0.tar.gz) = 65a6dffdc648255424fc44d6dd361938ebc6f9520770be2a1acd78d791cb4fc6caaa2f01865ef3e747bac50efa720e8817f9427eadec75fdfdf192c2705e44e2