]> git.pld-linux.org Git - packages/pwdutils.git/commitdiff
- updated to 3.0.4, removed obsolete pl.po-update,slp patches auto/th/pwdutils-3_0_4-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Aug 2005 15:47:56 +0000 (15:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- build audit log plugin

Changed files:
    pwdutils.spec -> 1.62

pwdutils.spec

index 84a4ba65a9e9d7cc882ca49ee005d1a940f9bc27..a293b32a363c6565aab16f27d38f629fe0c25a1c 100644 (file)
@@ -1,6 +1,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
@@ -8,12 +9,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
@@ -24,11 +25,10 @@ Source7:    passwd.pamd
 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
@@ -73,6 +73,18 @@ chage, chfn, chsh oraz demona do zmiany has
 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³
@@ -117,10 +129,6 @@ funkcjonalno
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
-
-rm -f po/stamp-po
 
 sed -i -e 's/-Werror //' configure.in
 
@@ -131,12 +139,13 @@ sed -i -e 's/-Werror //' configure.in
 %{__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}
 
@@ -242,6 +251,12 @@ fi
 %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
This page took 0.208828 seconds and 4 git commands to generate.