]> git.pld-linux.org Git - packages/pwdutils.git/blobdiff - pwdutils.spec
- rel 2 for changed login.defs
[packages/pwdutils.git] / pwdutils.spec
index b1ce7dce9bc20c6f0c356ef6d5c8f58e1fbc2d51..96e6edde69024cc44450e346eaa62f997040a63c 100644 (file)
@@ -1,3 +1,4 @@
+# TODO: review default login.defs
 #
 # Conditional build:
 %bcond_without ldap            # build without LDAP support
@@ -6,12 +7,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:       2.6.95
-Release:       0.2
+Version:       3.0
+Release:       2
 License:       GPL v2
 Group:         Applications/System
 Source0:       ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.bz2
-# Source0-md5: a8d5ca9f242fb7574fdea72b3f2e166e
+# Source0-md5: be954620dfb8f2b36b398d7d4742d205
 Source1:       %{name}.useradd
 Source2:       %{name}.rpasswdd.init
 Source3:       %{name}.login.defs
@@ -23,6 +24,8 @@ 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
 URL:           http://www.thkukuk.de/pam/pwdutils/
 BuildRequires: autoconf
 BuildRequires: automake >= 1:1.7
@@ -30,6 +33,7 @@ BuildRequires:        gcc >= 5:3.2
 BuildRequires: gettext-devel
 BuildRequires: libnscd-devel
 %{?with_selinux:BuildRequires: libselinux-devel}
+BuildRequires: libtool
 %{?with_ldap:BuildRequires:    openldap-devel}
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: openslp-devel
@@ -109,10 +113,12 @@ funkcjonalno
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 rm -f po/stamp-po
 
-sed -i -e 's#EXTRA_CFLAGS=.*#EXTRA_CFLAGS="-W -Wall"#g' configure.in
+sed -i -e 's/-Werror //' configure.in
 
 %build
 %{__gettextize}
@@ -196,7 +202,7 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/passwd
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/useradd
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/shadow
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/login.defs
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/login.defs
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/rpasswd.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/chfn.allow
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/chsh.allow
This page took 0.032836 seconds and 4 git commands to generate.