Update to openssh 5.8p2

This commit is contained in:
Tom G. Christensen 2011-05-20 18:30:12 +00:00 committed by Tom G. Christensen
parent eb5009f699
commit 6d73aa0caf
4 changed files with 12 additions and 3 deletions

View File

@ -7,7 +7,7 @@
########################################################### ###########################################################
# Check the following 4 variables before running the script # Check the following 4 variables before running the script
topdir=openssh topdir=openssh
version=5.6p1 version=5.8p2
pkgver=1 pkgver=1
source[0]=ftp://ftp.sunet.se/pub/OpenBSD/OpenSSH/portable/$topdir-$version.tar.gz source[0]=ftp://ftp.sunet.se/pub/OpenBSD/OpenSSH/portable/$topdir-$version.tar.gz
# If there are no patches, simply comment this # If there are no patches, simply comment this

View File

@ -1,5 +1,8 @@
CHANGELOG CHANGELOG
--------- ---------
* Fri May 20 2011 Tom G. Christensen <swpkg@jupiterrise.com> - 5.8p2-1
- Update to 5.8p2
* Sep Sun 12 2010 Tom G. Christensen <swpkg@jupiterrise.com> - 5.6p1-1 * Sep Sun 12 2010 Tom G. Christensen <swpkg@jupiterrise.com> - 5.6p1-1
- Update to 5.6p1 - Update to 5.6p1

View File

@ -55,7 +55,7 @@ fi
# We will try to preserve any existing keys from an old setup # We will try to preserve any existing keys from an old setup
# Note that new keygen is done in the init script # Note that new keygen is done in the init script
for keyfile in ssh_host_key ssh_host_dsa_key ssh_host_rsa_key; do for keyfile in ssh_host_key ssh_host_dsa_key ssh_host_rsa_key ssh_host_ecdsa_key; do
if [ ! -f "${CONFDIR}/$keyfile" ] ; then if [ ! -f "${CONFDIR}/$keyfile" ] ; then
# Check and see if we might find it in $OLDCONFDIR # Check and see if we might find it in $OLDCONFDIR
if [ -f "${OLDCONFDIR}/$keyfile" ]; then if [ -f "${OLDCONFDIR}/$keyfile" ]; then

View File

@ -8,6 +8,7 @@ KEYGEN=/usr/tgcware/bin/ssh-keygen
RSA1_KEY=/usr/tgcware/etc/ssh/ssh_host_key RSA1_KEY=/usr/tgcware/etc/ssh/ssh_host_key
RSA_KEY=/usr/tgcware/etc/ssh/ssh_host_rsa_key RSA_KEY=/usr/tgcware/etc/ssh/ssh_host_rsa_key
DSA_KEY=/usr/tgcware/etc/ssh/ssh_host_dsa_key DSA_KEY=/usr/tgcware/etc/ssh/ssh_host_dsa_key
ECDSA_KEY=/usr/tgcware/etc/ssh/ssh_host_ecdsa_key
ECHO=/usr/bin/echo ECHO=/usr/bin/echo
pidfile=/var/run/sshd.pid pidfile=/var/run/sshd.pid
@ -36,7 +37,12 @@ do_hostkeygen()
if [ ! -s $DSA_KEY ]; then if [ ! -s $DSA_KEY ]; then
$ECHO "Generating $DSA_KEY:\c" $ECHO "Generating $DSA_KEY:\c"
$KEYGEN -q -t dsa -f $DSA_KEY -N '' > /dev/null 2>&1 $KEYGEN -q -t dsa -f $DSA_KEY -N '' > /dev/null 2>&1
$ECHO "." $ECHO "."
fi
if [ ! -s $ECDSA_KEY ]; then
$ECHO "Generating $ECDSA_KEY:\c"
$KEYGEN -q -t ecdsa -f $ECDSA_KEY -N '' > /dev/null 2>&1
$ECHO "."
fi fi
} }