SPECS: pwdutils.spec - release 2 - fixed %files - added rpasswd pa...

baggins baggins at pld-linux.org
Mon Feb 13 16:28:44 CET 2006


Author: baggins                      Date: Mon Feb 13 15:28:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 2
- fixed %files
- added rpasswd package so pam_rpasswd does not depend on pwdutils
	(because passwd from pwdutils sucks contrary to passwd from shadow)

---- Files affected:
SPECS:
   pwdutils.spec (1.69 -> 1.70) 

---- Diffs:

================================================================
Index: SPECS/pwdutils.spec
diff -u SPECS/pwdutils.spec:1.69 SPECS/pwdutils.spec:1.70
--- SPECS/pwdutils.spec:1.69	Sun Feb  5 23:02:43 2006
+++ SPECS/pwdutils.spec	Mon Feb 13 16:28:38 2006
@@ -12,7 +12,7 @@
 Summary(pl):	Narzędzia do zarządzania informacjami o użytkownikach z passwd i shadow
 Name:		pwdutils
 Version:	3.0.7
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/System
 Source0:	ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.bz2
@@ -88,11 +88,31 @@
 %description log-audit -l pl
 Wtyczka logująca audit dla pwdutils.
 
+%package -n rpasswd
+Summary:	Remote password update client
+Summary(pl):	Klient do zdalnego uaktualniania haseł
+Group:		Applications/System
+
+%description -n rpasswd
+rpasswd changes passwords for user accounts on a remote server over a
+secure SSL connection. A normal user may only change the password for
+their own account, if the user knows the password of the administrator
+account (in the moment this is the root password on the server), he may
+change the password for any account if he calls rpasswd with the -a
+option.
+
+%description -n rpasswd -l pl
+rpasswd pozwala zmieniać hasła użytkowników na zdlanym serwerze przy
+użyciu bezpiecznego połączenia SSL. Zwykły użytkowni może zmienić
+jedynie  swoje hasło, a jeśli zna hasło administratora (obecnie jest to
+hasło root-a na serwerze), może zmienić hasło dla dowolnego konta
+wywołując rpasswd z opcją -a.
+
 %package -n rpasswdd
 Summary:	Remote password update daemon
 Summary(pl):	Demon do zdalnego uaktualniania haseł
 Group:		Applications/System
-PreReq:		rc-scripts
+Requires:	rc-scripts
 Requires(post,preun):	/sbin/chkconfig
 
 %description -n rpasswdd
@@ -113,8 +133,8 @@
 Summary:	pam_rpasswd - PAM module to change remote password
 Summary(pl):	pam_rpasswd - moduł PAM do zdalnej zmiany hasła
 Group:		Base
-# rpasswd.conf is in base
-Requires:	%{name} = %{version}-%{release}
+# rpasswd.conf is in rpasswd
+Requires:	rpasswd = %{version}-%{release}
 
 %description -n pam-pam_rpasswd
 The pam_rpasswd PAM module is for changing the password of user
@@ -221,7 +241,6 @@
 %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 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
 %dir /etc/skel
@@ -232,7 +251,6 @@
 %attr(4755,root,root) %{_bindir}/gpasswd
 %attr(755,root,root) %{_bindir}/newgrp
 %attr(4755,root,root) %{_bindir}/passwd
-%attr(755,root,root) %{_bindir}/rpasswd
 %attr(755,root,root) %{_bindir}/sg
 %attr(755,root,root) %{_sbindir}/chpasswd
 %attr(755,root,root) %{_sbindir}/groupadd
@@ -244,7 +262,6 @@
 %attr(755,root,root) %{_sbindir}/pwconv
 %attr(755,root,root) %{_sbindir}/pwck
 %attr(755,root,root) %{_sbindir}/pwunconv
-%attr(755,root,root) %{_sbindir}/rpasswdd
 %attr(755,root,root) %{_sbindir}/useradd
 %attr(755,root,root) %{_sbindir}/userdel
 %attr(755,root,root) %{_sbindir}/usermod
@@ -253,6 +270,8 @@
 %dir %{_libdir}/pwdutils
 %attr(755,root,root) %{_libdir}/pwdutils/liblog_syslog.so*
 %{_mandir}/man?/*
+%exclude %{_mandir}/man1/rpasswd.1*
+%exclude %{_mandir}/man5/rpasswd.conf.5*
 %exclude %{_mandir}/man8/rpasswdd.8*
 %exclude %{_mandir}/man8/pam_rpasswd.8*
 
@@ -262,6 +281,13 @@
 %attr(755,root,root) %{_libdir}/pwdutils/liblog_audit.so*
 %endif
 
+%files -n rpasswd
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/rpasswd
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/rpasswd.conf
+%{_mandir}/man1/rpasswd.1*
+%{_mandir}/man5/rpasswd.conf.5*
+
 %files -n rpasswdd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/rpasswdd
@@ -280,6 +306,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.70  2006/02/13 15:28:38  baggins
+- release 2
+- fixed %files
+- added rpasswd package so pam_rpasswd does not depend on pwdutils
+	(because passwd from pwdutils sucks contrary to passwd from shadow)
+
 Revision 1.69  2006/02/05 22:02:43  qboosh
 - updated to 3.0.7, updated pl.po-update patch
 
================================================================

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



More information about the pld-cvs-commit mailing list