summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Leigh Wedding <leigh.wedding@telstra.com>2014-10-24 07:36:30 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-24 07:37:35 +0700
commit933e764c90d10dc22010bd91bbb75a247081d280 (patch)
treebbee6042ee4bda06b2a0d3a60ee70b40daac90d1 /network
parent601999d0206f48efdedf5f6c35c4309b5d0d153b (diff)
downloadslackbuilds-933e764c90d10dc22010bd91bbb75a247081d280.tar.gz
slackbuilds-933e764c90d10dc22010bd91bbb75a247081d280.tar.xz
network/openssh-krb5: Updated for version 6.7p1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/openssh-krb5/openssh-krb5.SlackBuild6
-rw-r--r--network/openssh-krb5/openssh-krb5.info6
-rw-r--r--network/openssh-krb5/rc.sshd.krb56
3 files changed, 12 insertions, 6 deletions
diff --git a/network/openssh-krb5/openssh-krb5.SlackBuild b/network/openssh-krb5/openssh-krb5.SlackBuild
index 44e46c6f7f..46c98d7916 100644
--- a/network/openssh-krb5/openssh-krb5.SlackBuild
+++ b/network/openssh-krb5/openssh-krb5.SlackBuild
@@ -30,7 +30,7 @@
PRGNAM=openssh-krb5
SRCNAM=openssh
-VERSION=${VERSION:-6.6p1}
+VERSION=${VERSION:-6.7p1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,7 +76,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -89,7 +89,7 @@ CFLAGS="$SLKCFLAGS" \
--with-default-path=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/kerberos/bin \
--with-privsep-path=/var/empty \
--with-privsep-user=sshd \
- --with-kerberos5=/usr/kerberos
+ --with-kerberos5=/usr/kerberos \
--build=$ARCH-slackware-linux
make
diff --git a/network/openssh-krb5/openssh-krb5.info b/network/openssh-krb5/openssh-krb5.info
index 819559e474..fd28cd7d6b 100644
--- a/network/openssh-krb5/openssh-krb5.info
+++ b/network/openssh-krb5/openssh-krb5.info
@@ -1,8 +1,8 @@
PRGNAM="openssh-krb5"
-VERSION="6.6p1"
+VERSION="6.7p1"
HOMEPAGE="http://www.openssh.com/"
-DOWNLOAD="http://slackware.osuosl.org/slackware-14.1/patches/source/openssh/openssh-6.6p1.tar.gz"
-MD5SUM="3e9800e6bca1fbac0eea4d41baa7f239"
+DOWNLOAD="http://slackware.osuosl.org/slackware-14.1/patches/source/openssh/openssh-6.7p1.tar.gz"
+MD5SUM="3246aa79317b1d23cae783a3bf8275d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="krb5"
diff --git a/network/openssh-krb5/rc.sshd.krb5 b/network/openssh-krb5/rc.sshd.krb5
index 4f795d1150..5a324f0c2e 100644
--- a/network/openssh-krb5/rc.sshd.krb5
+++ b/network/openssh-krb5/rc.sshd.krb5
@@ -12,6 +12,12 @@ sshd_start() {
if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
/usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
fi
+ if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then
+ /usr/bin/ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ''
+ fi
+ if [ ! -f /etc/ssh/ssh_host_ed25519_key ]; then
+ /usr/bin/ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ''
+ fi
/usr/kerberos/sbin/sshd
}