New upstream git snapshot prerelease
This commit is contained in:
parent
976a656076
commit
c785bc64bd
1
.gitignore
vendored
1
.gitignore
vendored
@ -163,3 +163,4 @@ audit-2.0.4.tar.gz
|
|||||||
/audit-3.0-alpha6.tar.gz
|
/audit-3.0-alpha6.tar.gz
|
||||||
/audit-3.0-alpha7.tar.gz
|
/audit-3.0-alpha7.tar.gz
|
||||||
/audit-3.0-alpha8.tar.gz
|
/audit-3.0-alpha8.tar.gz
|
||||||
|
/audit-3.0-alpha9.tar.gz
|
||||||
|
26
audit.spec
26
audit.spec
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
Summary: User space tools for 2.6 kernel auditing
|
Summary: User space tools for kernel auditing
|
||||||
Name: audit
|
Name: audit
|
||||||
Version: 3.0
|
Version: 3.0
|
||||||
Release: 0.14.20190507gitf58ec40%{?dist}
|
Release: 0.15.20191104git1c2f876%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://people.redhat.com/sgrubb/audit/
|
URL: http://people.redhat.com/sgrubb/audit/
|
||||||
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}-alpha8.tar.gz
|
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}-alpha9.tar.gz
|
||||||
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
|
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
|
||||||
|
|
||||||
BuildRequires: gcc swig
|
BuildRequires: gcc swig
|
||||||
@ -13,8 +13,9 @@ BuildRequires: openldap-devel
|
|||||||
BuildRequires: krb5-devel libcap-ng-devel
|
BuildRequires: krb5-devel libcap-ng-devel
|
||||||
BuildRequires: kernel-headers >= 2.6.29
|
BuildRequires: kernel-headers >= 2.6.29
|
||||||
BuildRequires: python2
|
BuildRequires: python2
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
|
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires(post): systemd coreutils
|
Requires(post): systemd coreutils
|
||||||
Requires(preun): systemd initscripts
|
Requires(preun): systemd initscripts
|
||||||
Requires(postun): systemd coreutils initscripts
|
Requires(postun): systemd coreutils initscripts
|
||||||
@ -100,9 +101,6 @@ Management Facility) database, through an IBM Tivoli Directory Server
|
|||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# autotools expect "python" to be Python 2, but have a configurable PYTHON variable
|
|
||||||
export PYTHON=%{__python2}
|
|
||||||
|
|
||||||
%configure --sbindir=/sbin --libdir=/%{_lib} --with-python=yes \
|
%configure --sbindir=/sbin --libdir=/%{_lib} --with-python=yes \
|
||||||
--with-python3=yes \
|
--with-python3=yes \
|
||||||
--enable-gssapi-krb5=yes --with-arm --with-aarch64 \
|
--enable-gssapi-krb5=yes --with-arm --with-aarch64 \
|
||||||
@ -131,8 +129,8 @@ cd $curdir
|
|||||||
# Remove these items so they don't get picked up.
|
# Remove these items so they don't get picked up.
|
||||||
rm -f $RPM_BUILD_ROOT/%{_lib}/libaudit.so
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libaudit.so
|
||||||
rm -f $RPM_BUILD_ROOT/%{_lib}/libauparse.so
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libauparse.so
|
||||||
rm $RPM_BUILD_ROOT/%{_lib}/libaudit.a
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libaudit.a
|
||||||
rm $RPM_BUILD_ROOT/%{_lib}/libauparse.a
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libauparse.a
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -delete
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||||
find $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages -name '*.a' -delete
|
find $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages -name '*.a' -delete
|
||||||
@ -154,8 +152,8 @@ rm -f rules/Makefile*
|
|||||||
files=`ls /etc/audit/rules.d/ 2>/dev/null | wc -w`
|
files=`ls /etc/audit/rules.d/ 2>/dev/null | wc -w`
|
||||||
if [ "$files" -eq 0 ] ; then
|
if [ "$files" -eq 0 ] ; then
|
||||||
# FESCO asked for audit to be off by default. #1117953
|
# FESCO asked for audit to be off by default. #1117953
|
||||||
if [ -e /usr/share/doc/audit/rules/10-no-audit.rules ] ; then
|
if [ -e %{_datadir}/%{name}/sample-rules/10-no-audit.rules ] ; then
|
||||||
cp /usr/share/doc/audit/rules/10-no-audit.rules /etc/audit/rules.d/audit.rules
|
cp %{_datadir}/%{name}/sample-rules/10-no-audit.rules /etc/audit/rules.d/audit.rules
|
||||||
else
|
else
|
||||||
touch /etc/audit/rules.d/audit.rules
|
touch /etc/audit/rules.d/audit.rules
|
||||||
fi
|
fi
|
||||||
@ -203,9 +201,10 @@ fi
|
|||||||
%attr(755,root,root) %{python3_sitearch}/*
|
%attr(755,root,root) %{python3_sitearch}/*
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README ChangeLog rules init.d/auditd.cron
|
%doc README ChangeLog init.d/auditd.cron
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%attr(644,root,root) %{_datadir}/%{name}/sample-rules/*
|
||||||
%attr(644,root,root) %{_mandir}/man8/auditctl.8.gz
|
%attr(644,root,root) %{_mandir}/man8/auditctl.8.gz
|
||||||
%attr(644,root,root) %{_mandir}/man8/auditd.8.gz
|
%attr(644,root,root) %{_mandir}/man8/auditd.8.gz
|
||||||
%attr(644,root,root) %{_mandir}/man8/aureport.8.gz
|
%attr(644,root,root) %{_mandir}/man8/aureport.8.gz
|
||||||
@ -269,6 +268,9 @@ fi
|
|||||||
%attr(750,root,root) /sbin/audispd-zos-remote
|
%attr(750,root,root) /sbin/audispd-zos-remote
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 04 2019 Steve Grubb <sgrubb@redhat.com> 3.0-0.14.20191104git1c2f876
|
||||||
|
- New upstream git snapshot prerelease
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0-0.14.20190507gitf58ec40
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0-0.14.20190507gitf58ec40
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (audit-3.0-alpha8.tar.gz) = 4c661085a5971eea093632e494a3db07f095c9ae1565279f9d5d7b1426bbf67a6de3adc0c4da8f6bdfab0a195eada2ec5c0906ae0067d56bf3a360eff04b5bc7
|
SHA512 (audit-3.0-alpha9.tar.gz) = 680dd34c21f31d625e6a5d7b0cb8dfd868d60a8536acb389bac5f3f018a1c90d195206d41954394196fede74f99452792dc90a72248ebbac4cd7f0e002f453c6
|
||||||
|
Loading…
Reference in New Issue
Block a user