summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/caldera/openssh.spec4
-rw-r--r--contrib/cygwin/ssh-host-config52
-rw-r--r--contrib/redhat/openssh.spec2
-rw-r--r--contrib/suse/openssh.spec2
4 files changed, 6 insertions, 54 deletions
diff --git a/contrib/caldera/openssh.spec b/contrib/caldera/openssh.spec
index d026b72d8..3c417bb8f 100644
--- a/contrib/caldera/openssh.spec
+++ b/contrib/caldera/openssh.spec
@@ -16,7 +16,7 @@
16 16
17#old cvs stuff. please update before use. may be deprecated. 17#old cvs stuff. please update before use. may be deprecated.
18%define use_stable 1 18%define use_stable 1
19%define version 6.4p1 19%define version 6.5p1
20%if %{use_stable} 20%if %{use_stable}
21 %define cvs %{nil} 21 %define cvs %{nil}
22 %define release 1 22 %define release 1
@@ -363,4 +363,4 @@ fi
363* Mon Jan 01 1998 ... 363* Mon Jan 01 1998 ...
364Template Version: 1.31 364Template Version: 1.31
365 365
366$Id: openssh.spec,v 1.80.4.1 2013/11/08 01:36:19 djm Exp $ 366$Id: openssh.spec,v 1.82 2014/01/16 07:51:10 djm Exp $
diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config
index c542d5cb6..05efd3b3b 100644
--- a/contrib/cygwin/ssh-host-config
+++ b/contrib/cygwin/ssh-host-config
@@ -68,54 +68,6 @@ password_value=
68opt_force=no 68opt_force=no
69 69
70# ====================================================================== 70# ======================================================================
71# Routine: create_host_keys
72# ======================================================================
73create_host_keys() {
74 local ret=0
75
76 if [ ! -f "${SYSCONFDIR}/ssh_host_key" ]
77 then
78 csih_inform "Generating ${SYSCONFDIR}/ssh_host_key"
79 if ! /usr/bin/ssh-keygen -t rsa1 -f ${SYSCONFDIR}/ssh_host_key -N '' > /dev/null
80 then
81 csih_warning "Generating ${SYSCONFDIR}/ssh_host_key failed!"
82 let ++ret
83 fi
84 fi
85
86 if [ ! -f "${SYSCONFDIR}/ssh_host_rsa_key" ]
87 then
88 csih_inform "Generating ${SYSCONFDIR}/ssh_host_rsa_key"
89 if ! /usr/bin/ssh-keygen -t rsa -f ${SYSCONFDIR}/ssh_host_rsa_key -N '' > /dev/null
90 then
91 csih_warning "Generating ${SYSCONFDIR}/ssh_host_key failed!"
92 let ++ret
93 fi
94 fi
95
96 if [ ! -f "${SYSCONFDIR}/ssh_host_dsa_key" ]
97 then
98 csih_inform "Generating ${SYSCONFDIR}/ssh_host_dsa_key"
99 if ! /usr/bin/ssh-keygen -t dsa -f ${SYSCONFDIR}/ssh_host_dsa_key -N '' > /dev/null
100 then
101 csih_warning "Generating ${SYSCONFDIR}/ssh_host_key failed!"
102 let ++ret
103 fi
104 fi
105
106 if [ ! -f "${SYSCONFDIR}/ssh_host_ecdsa_key" ]
107 then
108 csih_inform "Generating ${SYSCONFDIR}/ssh_host_ecdsa_key"
109 if ! /usr/bin/ssh-keygen -t ecdsa -f ${SYSCONFDIR}/ssh_host_ecdsa_key -N '' > /dev/null
110 then
111 csih_warning "Generating ${SYSCONFDIR}/ssh_host_key failed!"
112 let ++ret
113 fi
114 fi
115 return $ret
116} # --- End of create_host_keys --- #
117
118# ======================================================================
119# Routine: update_services_file 71# Routine: update_services_file
120# ====================================================================== 72# ======================================================================
121update_services_file() { 73update_services_file() {
@@ -719,8 +671,8 @@ then
719 let ++warning_cnt 671 let ++warning_cnt
720fi 672fi
721 673
722# host keys 674# generate missing host keys
723create_host_keys || let warning_cnt+=$? 675/usr/bin/ssh-keygen -A || let warning_cnt+=$?
724 676
725# handle ssh_config 677# handle ssh_config
726csih_install_config "${SYSCONFDIR}/ssh_config" "${SYSCONFDIR}/defaults" || let ++warning_cnt 678csih_install_config "${SYSCONFDIR}/ssh_config" "${SYSCONFDIR}/defaults" || let ++warning_cnt
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 29a38dedc..d47cf3862 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -1,4 +1,4 @@
1%define ver 6.4p1 1%define ver 6.5p1
2%define rel 1 2%define rel 1
3 3
4# OpenSSH privilege separation requires a user & group ID 4# OpenSSH privilege separation requires a user & group ID
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec
index 3a612bd23..6693fe2bc 100644
--- a/contrib/suse/openssh.spec
+++ b/contrib/suse/openssh.spec
@@ -13,7 +13,7 @@
13 13
14Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation 14Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation
15Name: openssh 15Name: openssh
16Version: 6.4p1 16Version: 6.5p1
17URL: http://www.openssh.com/ 17URL: http://www.openssh.com/
18Release: 1 18Release: 1
19Source0: openssh-%{version}.tar.gz 19Source0: openssh-%{version}.tar.gz