|
@@ -1,20 +1,22 @@
|
|
-%define sca_version 0.4.8
|
|
+%define sca_version 0.4.10
|
|
-%define sca_release 6
|
|
+%define sca_release 1
|
|
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
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.6
|
|
+Version: 1.7.18
|
|
-Release: 6%{?_dist_release}
|
|
+Release: 1%{?_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/
|
|
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
|
|
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
|
|
Source1: system-config-audit-ja.po
|
|
Source1: system-config-audit-ja.po
|
|
-Patch1: audit-1.7.5-policy.patch
|
|
+Patch10: audit-1.7.18-pthread.patch
|
|
|
|
+Patch11: audit-1.7.18-krb5.patch
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: gettext intltool libtool swig python-devel
|
|
BuildRequires: gettext intltool libtool swig python-devel
|
|
BuildRequires: tcp_wrappers
|
|
BuildRequires: tcp_wrappers
|
|
|
|
+BuildRequires: krb5-devel
|
|
BuildRequires: kernel-headers >= 2.6.18
|
|
BuildRequires: kernel-headers >= 2.6.18
|
|
BuildRequires: automake >= 1.9
|
|
BuildRequires: automake >= 1.9
|
|
BuildRequires: autoconf >= 2.59
|
|
BuildRequires: autoconf >= 2.59
|
|
@@ -87,12 +89,13 @@ A graphical utility for editing audit configuration.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch1 -p1
|
|
+%patch10 -p1
|
|
|
|
+%patch11 -p1
|
|
cp -f %{SOURCE1} system-config-audit/po/ja.po
|
|
cp -f %{SOURCE1} system-config-audit/po/ja.po
|
|
|
|
|
|
%build
|
|
%build
|
|
-(cd system-config-audit; ./autogen.sh)
|
|
+(cd system-config-audit; %configure)
|
|
-%configure --sbindir=/sbin --libdir=/%{_lib} --with-libwrap
|
|
+%configure --sbindir=/sbin --libdir=/%{_lib} --with-libwrap --enable-gssapi-krb5=yes
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -202,10 +205,9 @@ fi
|
|
|
|
|
|
%files libs-python
|
|
%files libs-python
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%attr(755,root,root) %{_libdir}/python?.?/site-packages/_audit.so
|
|
+%attr(755,root,root) %{python_sitearch}/_audit.so
|
|
-%attr(755,root,root) %{_libdir}/python?.?/site-packages/auparse.so
|
|
+%attr(755,root,root) %{python_sitearch}/auparse.so
|
|
-#%{_libdir}/python?.?/site-packages/auparse-*.egg-info
|
|
+%{python_sitearch}/audit.py*
|
|
-%{python_sitelib}/audit.py*
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -217,7 +219,9 @@ fi
|
|
%attr(644,root,root) %{_mandir}/man8/ausearch.8.gz
|
|
%attr(644,root,root) %{_mandir}/man8/ausearch.8.gz
|
|
%attr(644,root,root) %{_mandir}/man8/autrace.8.gz
|
|
%attr(644,root,root) %{_mandir}/man8/autrace.8.gz
|
|
%attr(644,root,root) %{_mandir}/man8/aulastlog.8.gz
|
|
%attr(644,root,root) %{_mandir}/man8/aulastlog.8.gz
|
|
|
|
+%attr(644,root,root) %{_mandir}/man8/aulast.8.gz
|
|
%attr(644,root,root) %{_mandir}/man8/ausyscall.8.gz
|
|
%attr(644,root,root) %{_mandir}/man8/ausyscall.8.gz
|
|
|
|
+%attr(644,root,root) %{_mandir}/man7/audit.rules.7.gz
|
|
%attr(644,root,root) %{_mandir}/man5/auditd.conf.5.gz
|
|
%attr(644,root,root) %{_mandir}/man5/auditd.conf.5.gz
|
|
%attr(644,root,root) %{_mandir}/man5/audispd.conf.5.gz
|
|
%attr(644,root,root) %{_mandir}/man5/audispd.conf.5.gz
|
|
%attr(644,root,root) %{_mandir}/man5/ausearch-expression.5.gz
|
|
%attr(644,root,root) %{_mandir}/man5/ausearch-expression.5.gz
|
|
@@ -228,6 +232,7 @@ fi
|
|
%attr(750,root,root) /sbin/autrace
|
|
%attr(750,root,root) /sbin/autrace
|
|
%attr(750,root,root) /sbin/audispd
|
|
%attr(750,root,root) /sbin/audispd
|
|
%attr(750,root,root) %{_bindir}/aulastlog
|
|
%attr(750,root,root) %{_bindir}/aulastlog
|
|
|
|
+%attr(750,root,root) %{_bindir}/aulast
|
|
%attr(755,root,root) %{_bindir}/ausyscall
|
|
%attr(755,root,root) %{_bindir}/ausyscall
|
|
%attr(755,root,root) /etc/rc.d/init.d/auditd
|
|
%attr(755,root,root) /etc/rc.d/init.d/auditd
|
|
%attr(750,root,root) %{_var}/log/audit
|
|
%attr(750,root,root) %{_var}/log/audit
|
|
@@ -271,6 +276,10 @@ fi
|
|
%config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server
|
|
%config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Apr 03 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.18-1
|
|
|
|
+- new upstream release
|
|
|
|
+- rebuild with krb5-1.8.2
|
|
|
|
+
|
|
* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.7.6-6
|
|
* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.7.6-6
|
|
- forgot to increment sca_release macro (why on earth is sca_release
|
|
- forgot to increment sca_release macro (why on earth is sca_release
|
|
individually defined from main package's release number anyway?)
|
|
individually defined from main package's release number anyway?)
|