diff options
author | kevlo <kevlo@FreeBSD.org> | 2000-07-11 14:20:00 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2000-07-11 14:20:00 +0800 |
commit | 7685078c7c7f3de70e9db18c13a4b33631461315 (patch) | |
tree | e82898c409c7c366e63bfcffb9ae7698e9c99ad8 | |
parent | 72aeb7c7d444c87257fe6d36039de1cd66a18458 (diff) | |
download | freebsd-ports-gnome-7685078c7c7f3de70e9db18c13a4b33631461315.tar.gz freebsd-ports-gnome-7685078c7c7f3de70e9db18c13a4b33631461315.tar.zst freebsd-ports-gnome-7685078c7c7f3de70e9db18c13a4b33631461315.zip |
Update to version 1.0. The maintainer forgot to fix patches, I fixed them.
PR: 19834
Submitted by: Eric S <eric@cybernut.com>
-rw-r--r-- | security/lsh/Makefile | 8 | ||||
-rw-r--r-- | security/lsh/distinfo | 2 | ||||
-rw-r--r-- | security/lsh/files/patch-ac | 20 | ||||
-rw-r--r-- | security/lsh/pkg-plist | 4 |
4 files changed, 22 insertions, 12 deletions
diff --git a/security/lsh/Makefile b/security/lsh/Makefile index 3c50a2ba9d97..654522661f3d 100644 --- a/security/lsh/Makefile +++ b/security/lsh/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= lsh -PORTVERSION= 0.9.11 +PORTVERSION= 1.0 CATEGORIES= security ipv6 MASTER_SITES= ftp://ftp.lysator.liu.se/pub/security/lsh/ DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -22,8 +22,12 @@ INSTALL_TARGET= install CONFIGURE_ARGS+=--without-ipv6 .endif +MAN1= lsh_writekey.1 lsh_keygen.1 lsh.1 +MAN5= DSA.5 secsh.5 SHA.5 SPKI.5 +MAN8= lshd.8 + post-install: -.for BIN in lsh lsh_keygen lsh_writekey sexp_conv srp-gen +.for BIN in lsh lsh_keygen lsh_writekey sexp-conv srp-gen lsh-decode-key strip ${PREFIX}/bin/${BIN} .endfor .for SBIN in lshd lsh_proxy diff --git a/security/lsh/distinfo b/security/lsh/distinfo index 4116e83c5c98..5da1d48c51a5 100644 --- a/security/lsh/distinfo +++ b/security/lsh/distinfo @@ -1 +1 @@ -MD5 (lsh-0.9.11.tar.gz) = 757ada38ccb5c559ebea15041308a6cd +MD5 (lsh-1.0.tar.gz) = 2fc3ddc6b107d03e90e4d80a3c87bf53 diff --git a/security/lsh/files/patch-ac b/security/lsh/files/patch-ac index 8b3edfd0322a..fd367474558e 100644 --- a/security/lsh/files/patch-ac +++ b/security/lsh/files/patch-ac @@ -1,5 +1,5 @@ ---- src/lsh-authorize.orig Sun Feb 6 09:39:43 2000 -+++ src/lsh-authorize Sun Apr 16 13:32:57 2000 +--- src/lsh-authorize.orig Tue Jul 11 13:56:07 2000 ++++ src/lsh-authorize Tue Jul 11 14:00:58 2000 @@ -1,4 +1,4 @@ -#! /bin/sh +#!/bin/sh @@ -15,7 +15,7 @@ if mkdir $1 2>/dev/null; then echo Created $1 chmod $2 $1 || exit 1 -@@ -37,22 +37,27 @@ +@@ -37,26 +37,27 @@ } # Create directories @@ -24,10 +24,14 @@ +create-dir ~/.lsh 0700 +create-dir ~/.lsh/authorized_keys_sha1 0700 --SEXP_CONV=`PATH=$PATH:. \type -path sexp_conv` +-if type sexp-conv ; then +- SEXP_CONV=sexp_conv +-else +- SEXP_CONV=./sexp_conv +-fi +PATH=$PATH:`dirname $0` --if [ -z $SEXP_CONV ] ; then +-if ! type $SEXP_CONV ; then - echo "Can't find the sexp_conv program" - exit 1 -fi @@ -41,11 +45,11 @@ + 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 ++ echo "Can't find the sexp_conv program" ++ exit 1 + fi + if [ -z "$hash" ] ; then -+ echo $0: File $1 not readable. ++ echo $0: File $1 not readable + else $SEXP_CONV < $1 -f canonical --once > ~/.lsh/authorized_keys_sha1/$hash + fi diff --git a/security/lsh/pkg-plist b/security/lsh/pkg-plist index 0d5fa1f2107d..a1f851d10b86 100644 --- a/security/lsh/pkg-plist +++ b/security/lsh/pkg-plist @@ -1,9 +1,11 @@ bin/lsh bin/lsh_keygen bin/lsh_writekey -bin/sexp_conv +bin/sexp-conv bin/lsh-authorize bin/srp-gen +bin/lsh-decode-key +bin/ssh-conv sbin/lshd sbin/lsh_proxy @unexec install-info --delete %D/info/lsh.info %D/info/dir |