]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- added forced password change patch
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 2 Dec 1999 19:44:15 +0000 (19:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed Source URL
- added passwd.pamd to sources
- release++

Changed files:
    openssh.spec -> 1.4

openssh.spec

index b949ecfed7b72390b8f388f4a05b023236b7744d..9606032ecf541182bbd00d84f234d8e8d941cfb7 100644 (file)
@@ -2,14 +2,16 @@ Summary:      OpenSSH free Secure Shell (SSH) implementation
 Name:          openssh
 Version:       1.2pre15
 Release:       2
-Source0:       openssh-%{version}.tar.gz
+Source0:       http://violet.ibs.com.au/openssh/files/%{name}-%{version}.tar.gz
 Source1:       opensshd.conf
 Source2:       openssh.conf
 Source3:       opensshd.init
 Source4:       opensshd.pamd
 Source5:       openssh.sysconfig
+Source6:       passwd.pamd
 Patch0:                openssh-ssl.patch
 Patch1:                openssh-DESTDIR.patch
+Patch2:                openssh-PAM_NEW_AUTHTOK.patch
 License:       BSD
 Group:         Applications/Networking
 Group(pl):     Aplikacje/Sieciowe
@@ -110,6 +112,7 @@ This package contains the GNOME passphrase dialog.
 %setup  -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 autoconf
@@ -126,6 +129,7 @@ make install \
        DESTDIR="$RPM_BUILD_ROOT"
 
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
+install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
@@ -146,6 +150,9 @@ if test -r /var/run/sshd.pid
 then
        /etc/rc.d/init.d/sshd restart >&2
 fi
+if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
+       echo "ssh" >> /etc/security/passwd.conf
+fi
 
 %preun server
 if [ "$1" = 0 ]
This page took 0.03427 seconds and 4 git commands to generate.