summaryrefslogtreecommitdiff
path: root/security/lsh
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-07-11 06:20:00 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-07-11 06:20:00 +0000
commita4c8d054448b697fe71b3eb8c82ab20454f6394c (patch)
tree1cf46462a3f526ab2afc9920e48de10c83cd4c87 /security/lsh
parentTypo (diff)
Update to version 1.0. The maintainer forgot to fix patches, I fixed them.
PR: 19834 Submitted by: Eric S <eric@cybernut.com>
Notes
Notes: svn path=/head/; revision=30466
Diffstat (limited to 'security/lsh')
-rw-r--r--security/lsh/Makefile8
-rw-r--r--security/lsh/distinfo2
-rw-r--r--security/lsh/files/patch-ac20
-rw-r--r--security/lsh/pkg-plist4
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