SHA256
1
0
forked from pool/audit

Accepting request 511710 from home:jones_tony:branches:security

OBS-URL: https://build.opensuse.org/request/show/511710
OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=85
This commit is contained in:
Tony Jones 2017-07-20 20:07:48 +00:00 committed by Git OBS Bridge
parent 8bfd2e643e
commit e3d31e63b6
8 changed files with 30 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b0a0760c6f37d80cbbfe46a74db722e60ac8100b28eb31953878ffca8ac14b4
size 1034200

3
audit-2.7.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98e22549444c313187dc98c2e137f36a9882efa0874b559b0457e5f87ae178ef
size 1110512

View File

@ -13,11 +13,11 @@ SUSE since we lack the ability to use a custom stop/restart
--- a/init.d/auditd.service --- a/init.d/auditd.service
+++ b/init.d/auditd.service +++ b/init.d/auditd.service
@@ -4,7 +4,6 @@ DefaultDependencies=no @@ -7,7 +7,6 @@ DefaultDependencies=no
After=local-fs.target systemd-tmpfiles-setup.service After=local-fs.target systemd-tmpfiles-setup.service
Conflicts=shutdown.target Conflicts=shutdown.target
Before=sysinit.target shutdown.target Before=sysinit.target shutdown.target
-RefuseManualStop=yes -RefuseManualStop=yes
ConditionKernelCommandLine=!audit=0 ConditionKernelCommandLine=!audit=0
Documentation=man:auditd(8) https://github.com/linux-audit/audit-documentation
[Service]

View File

@ -11,10 +11,11 @@ but need manual removal here.
--- a/init.d/auditd.conf --- a/init.d/auditd.conf
+++ b/init.d/auditd.conf +++ b/init.d/auditd.conf
@@ -27,6 +27,3 @@ tcp_listen_queue = 5 @@ -30,7 +30,4 @@ tcp_listen_queue = 5
tcp_max_per_addr = 1 tcp_max_per_addr = 1
##tcp_client_ports = 1024-65535 ##tcp_client_ports = 1024-65535
tcp_client_max_idle = 0 tcp_client_max_idle = 0
-enable_krb5 = no -enable_krb5 = no
-krb5_principal = auditd -krb5_principal = auditd
-##krb5_key_file = /etc/audit/audit.key -##krb5_key_file = /etc/audit/audit.key
distribute_network = no

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jul 18 18:33:40 UTC 2017 - tonyj@suse.com
- Update to version 2.7.7. See audit.spec (libaudit1) for upstream
changelog
Since commit 6cf57d27 (2.7.4) audit is now started as an non-forking
service (bsc#1042781).
Add config: audit-stop.rules
Refresh patch: audit-allow-manual-stop.patch
Refresh patch: audit-no-gss.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 1 14:59:05 UTC 2016 - tchvatal@suse.com Fri Apr 1 14:59:05 UTC 2016 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package audit-secondary # spec file for package audit-secondary
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
# The seperation is required to minimize unnecessary build cycles. # The seperation is required to minimize unnecessary build cycles.
%define _name audit %define _name audit
Name: audit-secondary Name: audit-secondary
Version: 2.5 Version: 2.7.7
Release: 0 Release: 0
Summary: Secondary packages for audit Summary: Secondary packages for audit
License: GPL-2.0+ License: GPL-2.0+
@ -142,6 +142,7 @@ rm -rf %{buildroot}%{_libexecdir}/audit
# Clean up some unneeded library files # Clean up some unneeded library files
for ver in %{py_ver} %{py3_ver}; do for ver in %{py_ver} %{py3_ver}; do
rm -f %{buildroot}/%{_libdir}/python${ver}/site-packages/{_audit,_auparse,auparse}.{a,la} rm -f %{buildroot}/%{_libdir}/python${ver}/site-packages/{_audit,_auparse,auparse}.{a,la}
rm -rf %{buildroot}/%{_libdir}/python${ver}/site-packages/__pycache__
done done
# cleanup makefiles for the rules (installed by %%docs command) # cleanup makefiles for the rules (installed by %%docs command)
rm -f %{buildroot}/%{_libdir}/pkgconfig/{audit,auparse}.pc rm -f %{buildroot}/%{_libdir}/pkgconfig/{audit,auparse}.pc
@ -235,6 +236,7 @@ fi
%dir %attr(750,root,root) %{_sysconfdir}/audit/rules.d %dir %attr(750,root,root) %{_sysconfdir}/audit/rules.d
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/rules.d/audit.rules %config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/rules.d/audit.rules
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audispd.conf %config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audispd.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/audit-stop.rules
%dir %attr(700,root,root) %{_localstatedir}/log/audit %dir %attr(700,root,root) %{_localstatedir}/log/audit
%ghost %config(noreplace) %{_localstatedir}/log/audit/audit.log %ghost %config(noreplace) %{_localstatedir}/log/audit/audit.log
%dir %attr(700,root,root) %{_localstatedir}/spool/audit %dir %attr(700,root,root) %{_localstatedir}/spool/audit

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 18 18:32:56 UTC 2017 - tonyj@suse.com
- Update to version 2.7.7 release
Changelog: https://people.redhat.com/sgrubb/audit/ChangeLog
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 2 18:14:51 UTC 2016 - tchvatal@suse.com Sat Apr 2 18:14:51 UTC 2016 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package audit # spec file for package audit
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: audit Name: audit
Version: 2.5 Version: 2.7.7
Release: 0 Release: 0
Summary: First part of auditing package Summary: First part of auditing package
License: GPL-2.0+ License: GPL-2.0+