]> git.pld-linux.org Git - packages/pwdutils.git/blobdiff - pwdutils.spec
- updated to 2.6 (pam_rpasswd needs subpackage)
[packages/pwdutils.git] / pwdutils.spec
index 55bb5fa8f702f141b4cadafafc7f4e522c0f6916..e2c044605f6ebf0ab5463f4d420b839eddef52ef 100644 (file)
@@ -1,15 +1,12 @@
-# TODO:
-# - finish and test it
-#
 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.5.95
+Version:       2.6
 Release:       1
 License:       GPL
 Group:         Applications/System
 Source0:       ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.bz2
-# Source0-md5: 635d74899b81b85d1495718f52c6df8c
+# Source0-md5: 8567328b1ad7609f8851eec57658f1a0
 Source1:       %{name}.useradd
 Source2:       %{name}.rpasswdd.init
 Source3:       %{name}.login.defs
@@ -19,6 +16,7 @@ Source6:      chsh.pamd
 Source7:       passwd.pamd
 Source8:       useradd.pamd
 Source9:       userdb.pamd
+URL:           http://www.thkukuk.de/pam/pwdutils/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gcc >= 5:3.2
@@ -26,11 +24,13 @@ BuildRequires:      gettext-devel
 BuildRequires: libselinux-devel
 BuildRequires: openldap-devel
 BuildRequires: openssl-devel
+BuildRequires: openslp-devel
 BuildRequires: pam-devel
+BuildRequires: sed >= 4.0
 Provides:      shadow = 2:%{version}-%{release}
 Provides:      shadow-extras = 2:%{version}-%{release}
 Obsoletes:     shadow
-Obsoletes:     shadow-extras 
+Obsoletes:     shadow-extras
 Conflicts:     util-linux < 2.12-10
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -84,7 +84,12 @@ sed -i -e 's#EXTRA_CFLAGS=.*#EXTRA_CFLAGS="-W -Wall"#g' configure.in
 %{__autoheader}
 %{__automake}
 %configure \
+       --enable-pam_rpasswd \
        --enable-selinux \
+       --enable-slp \
+       --enable-ssl \
+       --enable-ldap \
+       --enable-nls \
        --disable-rpath
 %{__make}
 
@@ -115,13 +120,10 @@ install %{SOURCE9} $RPM_BUILD_ROOT/etc/pam.d/shadow
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
 if [ ! -f /etc/shadow ]; then
        %{_sbindir}/pwconv
 fi
 
-%postun -p /sbin/ldconfig
-
 %post -n rpasswdd
 /sbin/chkconfig --add rpasswdd
 if [ -f /var/lock/subsys/rpasswdd ]; then
This page took 0.047811 seconds and 4 git commands to generate.