aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2002-01-31 02:20:17 +0800
committereivind <eivind@FreeBSD.org>2002-01-31 02:20:17 +0800
commitd8c617125e0f36b2ee9c7c8b7b2b104980bbf09b (patch)
tree5320744cc0ba57f658dcb149d89d360630f8b886 /security
parent4b33eb7c80ae6ea81a9d57b7b67621091f325088 (diff)
downloadfreebsd-ports-gnome-d8c617125e0f36b2ee9c7c8b7b2b104980bbf09b.tar.gz
freebsd-ports-gnome-d8c617125e0f36b2ee9c7c8b7b2b104980bbf09b.tar.zst
freebsd-ports-gnome-d8c617125e0f36b2ee9c7c8b7b2b104980bbf09b.zip
Update to 1.2: Single line bugfix.
I hope I got it right *this* time, at least.
Diffstat (limited to 'security')
-rw-r--r--security/safesh/Makefile2
-rw-r--r--security/safesh/src/safesh.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/safesh/Makefile b/security/safesh/Makefile
index 1f3c0403665d..4c773a23e32b 100644
--- a/security/safesh/Makefile
+++ b/security/safesh/Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= safesh
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= security
MASTER_SITES= # none
DISTFILES= # none
diff --git a/security/safesh/src/safesh.sh b/security/safesh/src/safesh.sh
index bd7417964516..8db88109d122 100644
--- a/security/safesh/src/safesh.sh
+++ b/security/safesh/src/safesh.sh
@@ -68,7 +68,7 @@ fi
for i in $USER@${HOST}-22 `cat $HOSTDIR/extra_keys 2> /dev/null`; do
tmpuser=`echo $i | sed -e "/^[^@]*\$/s/.*/$USER/" -e "/@/s/\\(.*\\)@.*/\\1/"`
tmpport=`echo $i | sed -e '/-\([0-9][0-9]*\)/!s/$/-22/' -e 's/.*-\([0-9][0-9]*\)/\1/'`
- tmphost=`echo $1 | sed -e 's/.*@\(.*\)//' -e 's/-[0-9][0-9]*$//' | tr A-Z a-z`
+ tmphost=`echo $i | sed -e 's/.*@\(.*\)/\1/' -e 's/-[0-9][0-9]*$//' | tr A-Z a-z`
tmp=$USER@`normalizehost $tmphost`-$tmpport
if [ -f $HOSTDIR/$tmp ]; then
IDENTITY=$HOSTDIR/$tmp