|
@@ -1,10 +1,12 @@
|
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+
|
|
%define sca_version 0.4.10
|
|
%define sca_version 0.4.10
|
|
%define sca_release 2
|
|
%define sca_release 2
|
|
|
|
|
|
Summary: User space tools for 2.6 kernel auditing
|
|
Summary: User space tools for 2.6 kernel auditing
|
|
Name: audit
|
|
Name: audit
|
|
Version: 1.7.18
|
|
Version: 1.7.18
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Release: 3%{?_dist_release}
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
Group: System Environment/Daemons
|
|
Group: System Environment/Daemons
|
|
URL: http://people.redhat.com/sgrubb/audit/
|
|
URL: http://people.redhat.com/sgrubb/audit/
|
|
@@ -88,6 +90,15 @@ Requires: pygtk2-libglade usermode usermode-gtk
|
|
%description -n system-config-audit
|
|
%description -n system-config-audit
|
|
A graphical utility for editing audit configuration.
|
|
A graphical utility for editing audit configuration.
|
|
|
|
|
|
|
|
+%package -n compat32-%{name}-libs
|
|
|
|
+Summary: Dynamic library for libaudit
|
|
|
|
+License: LGPLv2+
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}-libs
|
|
|
|
+The audit-libs package contains the dynamic libraries needed for
|
|
|
|
+applications to use the audit framework.
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%patch10 -p1
|
|
%patch10 -p1
|
|
@@ -174,6 +185,8 @@ if [ -f /etc/audit/auditd.conf ]; then
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+%post -n compat32-%{name}-libs -p /sbin/ldconfig
|
|
|
|
+
|
|
%preun
|
|
%preun
|
|
if [ $1 -eq 0 ]; then
|
|
if [ $1 -eq 0 ]; then
|
|
/sbin/service auditd stop > /dev/null 2>&1
|
|
/sbin/service auditd stop > /dev/null 2>&1
|
|
@@ -187,6 +200,8 @@ if [ $1 -ge 1 ]; then
|
|
/sbin/service auditd condrestart > /dev/null 2>&1 || :
|
|
/sbin/service auditd condrestart > /dev/null 2>&1 || :
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+%postun -n compat32-%{name}-libs -p /sbin/ldconfig
|
|
|
|
+
|
|
%files libs
|
|
%files libs
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%attr(755,root,root) /%{_lib}/libaudit.*
|
|
%attr(755,root,root) /%{_lib}/libaudit.*
|
|
@@ -277,7 +292,17 @@ fi
|
|
%config(noreplace) %{_sysconfdir}/pam.d/system-config-audit-server
|
|
%config(noreplace) %{_sysconfdir}/pam.d/system-config-audit-server
|
|
%config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server
|
|
%config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server
|
|
|
|
|
|
|
|
+%if %{build_compat32}
|
|
|
|
+%files -n compat32-%{name}-libs
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%attr(755,root,root) /%{_lib}/libaudit.*
|
|
|
|
+%attr(755,root,root) /%{_lib}/libauparse.*
|
|
|
|
+%endif
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.18-3
|
|
|
|
+- create compat32-audit-libs subpackage
|
|
|
|
+
|
|
* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.18-2
|
|
* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.18-2
|
|
- rebuild with python-2.7.2
|
|
- rebuild with python-2.7.2
|
|
- add Patch12 (audit-1.7.18-libaudit.patch)
|
|
- add Patch12 (audit-1.7.18-libaudit.patch)
|
|
@@ -307,7 +332,7 @@ fi
|
|
- disable krb5, prelude and selinux
|
|
- disable krb5, prelude and selinux
|
|
- add ja.po (XXX: minimal)
|
|
- add ja.po (XXX: minimal)
|
|
|
|
|
|
-* Wed Sep 11 2008 Steve Grubb <sgrubb@redhat.com> 1.7.6-1
|
|
|
|
|
|
+* Thu Sep 11 2008 Steve Grubb <sgrubb@redhat.com> 1.7.6-1
|
|
- Add subject to audit daemon events (Chu Li)
|
|
- Add subject to audit daemon events (Chu Li)
|
|
- Add tcp_wrappers support for auditd
|
|
- Add tcp_wrappers support for auditd
|
|
- Updated syscall tables for 2.6.27 kernel
|
|
- Updated syscall tables for 2.6.27 kernel
|
|
@@ -503,7 +528,7 @@ fi
|
|
- Update capp & lspp rules
|
|
- Update capp & lspp rules
|
|
- New python bindings for libauparse (John Dennis)
|
|
- New python bindings for libauparse (John Dennis)
|
|
|
|
|
|
-* Thu Apr 04 2007 Steve Grubb <sgrubb@redhat.com> 1.5.2-1
|
|
|
|
|
|
+* Wed Apr 04 2007 Steve Grubb <sgrubb@redhat.com> 1.5.2-1
|
|
- New event dispatcher (James Antill)
|
|
- New event dispatcher (James Antill)
|
|
- Apply patches fixing man pages and Makefile.am (Philipp Hahn)
|
|
- Apply patches fixing man pages and Makefile.am (Philipp Hahn)
|
|
- Apply patch correcting python libs permissions (Philipp Hahn)
|
|
- Apply patch correcting python libs permissions (Philipp Hahn)
|