diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-01-27 05:28:50 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-01-27 05:28:50 +0000 |
commit | ed8bdcf3a9c5fb746b2d520592b2190b1d0c7e2a (patch) | |
tree | 9490b51f2b7235f268cb7995bb0fc2f3b3f29971 /security | |
parent | 582c23c4e1fe8fc0566621438bd6170705c8d90a (diff) | |
download | FreeBSD-ports-ed8bdcf3a9c5fb746b2d520592b2190b1d0c7e2a.zip FreeBSD-ports-ed8bdcf3a9c5fb746b2d520592b2190b1d0c7e2a.tar.gz |
- Update to 1.5
Diffstat (limited to 'security')
-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 9670dcc..b24df03 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 1f87b6e..ae7817b 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 e8f46c7..0000000 --- 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 -+ |