Author: arekm                        Date: Mon Jan 24 18:16:47 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; generate /etc/ssh/ssh_host_ecdsa_key

---- Files affected:
packages/openssh:
   openssh.spec (1.346 -> 1.347) , opensshd.init (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: packages/openssh/openssh.spec
diff -u packages/openssh/openssh.spec:1.346 packages/openssh/openssh.spec:1.347
--- packages/openssh/openssh.spec:1.346 Mon Jan 24 16:44:15 2011
+++ packages/openssh/openssh.spec       Mon Jan 24 19:16:41 2011
@@ -30,7 +30,7 @@
 Summary(uk.UTF-8):     OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:          openssh
 Version:       5.7p1
-Release:       1
+Release:       2
 Epoch:         2
 License:       BSD
 Group:         Applications/Networking
@@ -762,6 +762,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.347  2011/01/24 18:16:41  arekm
+- rel 2; generate /etc/ssh/ssh_host_ecdsa_key
+
 Revision 1.346  2011/01/24 15:44:15  caleb
 - Up to 5.7p1
 - Removed selinux patch, applied upstream

================================================================
Index: packages/openssh/opensshd.init
diff -u packages/openssh/opensshd.init:1.40 packages/openssh/opensshd.init:1.41
--- packages/openssh/opensshd.init:1.40 Wed Oct 20 12:57:08 2010
+++ packages/openssh/opensshd.init      Mon Jan 24 19:16:42 2011
@@ -62,6 +62,11 @@
                chmod 600 /etc/ssh/ssh_host_dsa_key
                [ -x /sbin/restorecon ] && /sbin/restorecon 
/etc/ssh/ssh_host_dsa_key
        fi
+       if [ ! -f /etc/ssh/ssh_host_ecdsa_key -o ! -s 
/etc/ssh/ssh_host_ecdsa_key ]; then
+               /usr/bin/ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N 
'' >&2
+               chmod 600 /etc/ssh/ssh_host_ecdsa_key
+               [ -x /sbin/restorecon ] && /sbin/restorecon 
/etc/ssh/ssh_host_ecdsa_key
+       fi
 }
 
 start() {
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssh/openssh.spec?r1=1.346&r2=1.347&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssh/opensshd.init?r1=1.40&r2=1.41&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to