SPECS: pwdutils.spec - updated to 3.0.4, removed obsolete pl.po-up...

qboosh qboosh at pld-linux.org
Sun Aug 28 17:48:01 CEST 2005


Author: qboosh                       Date: Sun Aug 28 15:48:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 3.0.4, removed obsolete pl.po-update,slp patches
- build audit log plugin

---- Files affected:
SPECS:
   pwdutils.spec (1.61 -> 1.62) 

---- Diffs:

================================================================
Index: SPECS/pwdutils.spec
diff -u SPECS/pwdutils.spec:1.61 SPECS/pwdutils.spec:1.62
--- SPECS/pwdutils.spec:1.61	Thu Jul 28 11:00:49 2005
+++ SPECS/pwdutils.spec	Sun Aug 28 17:47:56 2005
@@ -2,6 +2,7 @@
 # TODO: review default login.defs
 #
 # Conditional build:
+%bcond_without	audit		# don't build audit log plugin
 %bcond_without	ldap		# build without LDAP support
 %bcond_without	selinux		# build without SELinux support
 %bcond_with	openssl		# use OpenSSL instead of GnuTLS
@@ -9,12 +10,12 @@
 Summary:	Utilities to manage the passwd and shadow user information
 Summary(pl):	Narzędzia do zarządzania informacjami o użytkownikach z passwd i shadow
 Name:		pwdutils
-Version:	3.0.2
+Version:	3.0.4
 Release:	1
 License:	GPL v2
 Group:		Applications/System
 Source0:	ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.bz2
-# Source0-md5:	f56fd7d1b6ae64ea7e70734bc20c2718
+# Source0-md5:	10603d67f4959772544a76691310dfc8
 Source1:	%{name}.useradd
 Source2:	%{name}.rpasswdd.init
 Source3:	%{name}.login.defs
@@ -25,11 +26,10 @@
 Source8:	useradd.pamd
 Source9:	userdb.pamd
 Patch0:		%{name}-f-option.patch
-Patch1:		%{name}-pl.po-update.patch
-Patch2:		%{name}-no_bash.patch
-Patch3:		%{name}-silent_crontab.patch
-Patch4:		%{name}-slp.patch
+Patch1:		%{name}-no_bash.patch
+Patch2:		%{name}-silent_crontab.patch
 URL:		http://www.thkukuk.de/pam/pwdutils/
+%{?with_audit:BuildRequires:	audit-libs-devel}
 BuildRequires:	autoconf
 BuildRequires:	automake >= 1:1.7
 BuildRequires:	gcc >= 5:3.2
@@ -74,6 +74,18 @@
 bezpiecznym połączeniu SSL. Demon także używa PAM, więc można zmieniać
 hasła niezależnie od tego, gdzie są przechowywane.
 
+%package log-audit
+Summary:	audit log plugin for pwdutils
+Summary(pl):	Wtyczka logująca audit dla pwdutils
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description log-audit
+audit log plugin for pwdutils.
+
+%description log-audit -l pl
+Wtyczka logująca audit dla pwdutils.
+
 %package -n rpasswdd
 Summary:	Remote password update daemon
 Summary(pl):	Demon do zdalnego uaktualniania haseł
@@ -118,10 +130,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
-
-rm -f po/stamp-po
 
 sed -i -e 's/-Werror //' configure.in
 
@@ -132,12 +140,13 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	%{?with_audit:--enable-audit-plugin} \
 	%{?with_openssl:--disable-gnutls} \
+	--%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
+	--enable-nls \
 	--enable-pam_rpasswd \
 	--%{?with_selinux:en}%{!?with_selinux:dis}able-selinux \
 	--enable-slp \
-	--%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
-	--enable-nls \
 	--disable-rpath
 %{__make}
 
@@ -243,6 +252,12 @@
 %exclude %{_mandir}/man8/rpasswdd.8*
 %exclude %{_mandir}/man8/pam_rpasswd.8*
 
+%if %{with audit}
+%files log-audit
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/pwdutils/liblog_audit.so*
+%endif
+
 %files -n rpasswdd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/rpasswdd
@@ -261,6 +276,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2005/08/28 15:47:56  qboosh
+- updated to 3.0.4, removed obsolete pl.po-update,slp patches
+- build audit log plugin
+
 Revision 1.61  2005/07/28 09:00:49  qboosh
 - pwdutils 3.0.x prefers gnutls over openssl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pwdutils.spec?r1=1.61&r2=1.62&f=u




More information about the pld-cvs-commit mailing list