From 2a9906f9fa164973870f08588d4af9c715e499f2 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 03 2021 07:47:13 +0000 Subject: import rh-postgresql13-pgaudit-1.5.0-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1aacbdc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pgaudit-1.5.0.tar.gz diff --git a/.rh-postgresql13-pgaudit.metadata b/.rh-postgresql13-pgaudit.metadata new file mode 100644 index 0000000..cb95032 --- /dev/null +++ b/.rh-postgresql13-pgaudit.metadata @@ -0,0 +1 @@ +8429125e8f70fcaa2c2f5a0e22b910a4afb821a4 SOURCES/pgaudit-1.5.0.tar.gz diff --git a/SPECS/pgaudit.spec b/SPECS/pgaudit.spec new file mode 100644 index 0000000..7ca40c9 --- /dev/null +++ b/SPECS/pgaudit.spec @@ -0,0 +1,100 @@ +%global scl rh-postgresql13 + +%{?scl:%scl_package pgaudit} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}pgaudit +Version: 1.5.0 +Release: 1%{?dist} +Summary: PostgreSQL Audit Extension + +License: PostgreSQL +URL: http://pgaudit.org + +Source0: https://github.com/%{pkg_name}/%{pkg_name}/archive/%{version}/%{pkg_name}-%{version}.tar.gz + +%{?scl:Requires: %{scl}-runtime} +%{?scl:BuildRequires: %{scl}-runtime} +BuildRequires: gcc +BuildRequires: %{?scl_prefix}postgresql-devel >= 13, %{?scl_prefix}postgresql-devel < 14 +BuildRequires: openssl-devel + + +Requires: %{?scl_prefix}postgresql-server + + +%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 +%{?scl:scl enable %{scl} - << \EOF} +set -ex +%setup -q -n %{pkg_name}-%{version} +%{?scl:EOF} + + +%build +%{?scl:scl enable %{scl} - << \EOF} +set -ex +%{__make} USE_PGXS=1 %{?_smp_mflags} +%{?scl:EOF} + + +%install +%{?scl:scl enable %{scl} - << \EOF} +set -ex +%{__make} USE_PGXS=1 %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install +%{?scl:EOF} + + +%files +%doc README.md +%doc LICENSE +%{_libdir}/pgsql/%{pkg_name}.so +%{_datadir}/pgsql/extension/%{pkg_name}--1*.sql +%{_datadir}/pgsql/extension/%{pkg_name}.control + + +%changelog +* Wed Dec 09 2020 Honza Horak - 1.5.0-1 +- Update to 1.5.0 + +* Wed Nov 13 2019 Patrik Novotný - 1.4.0-2 +- Fix files ownership and correct Requires specification + +* Wed Oct 02 2019 Patrik Novotný - 1.4.0-1 +- Update to 1.4.0 + +* Sat Jul 27 2019 Honza Horak - 1.3.1-1 +- Update to 1.3.1 and apply patch for pgsql v12 compatibility + +* Thu Jul 25 2019 Honza Horak - 1.2.0-4 +- SCLize the SPEC + +* Fri Jul 13 2018 Fedora Release Engineering - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Dec 20 2017 - Filip Čáp 1.2.0-1 +- Initial RPM packaging for Fedora +- Based on Devrim Gündüz's packaging for PostgreSQL RPM Repo + +* Thu Oct 27 2016 - Devrim Gündüz 1.0.0-1 +- Update to 1.0.0 + +* Fri Oct 21 2016 - Devrim Gündüz 0.0.4-1 +- Initial RPM packaging for PostgreSQL RPM Repository