diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-01-27 05:28:50 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-01-27 05:28:50 +0000 |
commit | 52cd1816de8e26d4a94d822302e2af52ca1695c2 (patch) | |
tree | 84927de37c1f0aa8f25a783135ebca4047d4c497 /security/lsh | |
parent | 165131954943f6a6ba38841d7b2f5971743c0cca (diff) | |
download | ports-52cd1816de8e26d4a94d822302e2af52ca1695c2.tar.gz ports-52cd1816de8e26d4a94d822302e2af52ca1695c2.zip |
Notes
Diffstat (limited to 'security/lsh')
-rw-r--r-- | security/lsh/Makefile | 2 | ||||
-rw-r--r-- | security/lsh/distinfo | 2 | ||||
-rw-r--r-- | security/lsh/files/patch-lsh-authorize | 56 |
3 files changed, 2 insertions, 58 deletions
diff --git a/security/lsh/Makefile b/security/lsh/Makefile index 9670dccb9d57..b24df03f737c 100644 --- a/security/lsh/Makefile +++ b/security/lsh/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= lsh -PORTVERSION= 1.4.2 +PORTVERSION= 1.5 CATEGORIES= security ipv6 MASTER_SITES= ftp://ftp.lysator.liu.se/pub/security/lsh/%SUBDIR%/ MASTER_SITE_SUBDIR= . old diff --git a/security/lsh/distinfo b/security/lsh/distinfo index 1f87b6e96308..ae7817b68fa1 100644 --- a/security/lsh/distinfo +++ b/security/lsh/distinfo @@ -1 +1 @@ -MD5 (lsh-1.4.2.tar.gz) = ed9b090f375830c219141098b7f25555 +MD5 (lsh-1.5.tar.gz) = 25f63a243a28b1a1e74b2fa233941fae diff --git a/security/lsh/files/patch-lsh-authorize b/security/lsh/files/patch-lsh-authorize deleted file mode 100644 index e8f46c7c132c..000000000000 --- a/security/lsh/files/patch-lsh-authorize +++ /dev/null @@ -1,56 +0,0 @@ ---- src/lsh-authorize.orig Tue Mar 26 16:40:49 2002 -+++ src/lsh-authorize Wed Dec 18 05:01:48 2002 -@@ -1,4 +1,4 @@ --#! /bin/sh -+#!/bin/sh - - usage () { - echo Usage: $0 key-file -@@ -29,7 +29,7 @@ - exit 0 - fi - --create_dir () { -+create-dir () { - if mkdir $1 2>/dev/null; then - echo Created $1 - chmod $2 $1 || exit 1 -@@ -40,23 +40,25 @@ - create_dir $HOME/.lsh 0700 - create_dir $HOME/.lsh/authorized_keys_sha1 0700 - --if type sexp-conv >/dev/null 2>&1 ; then -- SEXP_CONV=sexp-conv --else -- SEXP_CONV=./sexp-conv --fi -+PATH=$PATH:`dirname $0` - --if type $SEXP_CONV >/dev/null 2>&1 ; then : ; else -- echo "Can't find the sexp-conv program" -- exit 1 --fi -+SEXP_CONV="sexp-conv" - - while [ $# != 0 ]; do -- hash=`$SEXP_CONV < $1 --once --hash sha1 --raw-hash` -- if [ -z $hash ] ; then -- echo $0: File $1 not found. -- else -+ if [ -f $1 ]; then -+ hash=`$SEXP_CONV < $1 --once --hash sha1 --raw-hash` -+ if [ $? = 127 ]; then -+ echo "Can't find the sexp_conv program" -+ exit 1 -+ fi -+ if [ -z "$hash" ] ; then -+ echo $0: File $1 not readable -+ else - $SEXP_CONV < $1 -f canonical --once > $HOME/.lsh/authorized_keys_sha1/$hash -+ fi -+ else -+ echo $0: File $1 not found. - fi - shift - done -+ |