From owner-freebsd-ports Fri Jun 2 12:30: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9649D37BFBB for ; Fri, 2 Jun 2000 12:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA98902; Fri, 2 Jun 2000 12:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from cybernut.com (dhcp063.47.lvcm.com [24.234.47.63]) by hub.freebsd.org (Postfix) with ESMTP id 87D7937BBAE for ; Fri, 2 Jun 2000 12:25:34 -0700 (PDT) (envelope-from eric@cybernut.com) Received: (from eric@localhost) by cybernut.com (8.10.0/8.10.0) id e52JPJr35279; Fri, 2 Jun 2000 12:25:19 -0700 (PDT) Message-Id: <200006021925.e52JPJr35279@cybernut.com> Date: Fri, 2 Jun 2000 12:25:19 -0700 (PDT) From: Eric S Reply-To: eric@cybernut.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/18968: serious bug in original lsh sort, updating lsh port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18968 >Category: ports >Synopsis: serious bug in original lsh sort, updating lsh port >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 02 12:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Eric S >Release: FreeBSD 4.0-RELEASE i386 >Organization: >Environment: >Description: the lsh-authorize script was broken in lsh 0.9.10, is fixed in 0.9.11, so updating the port to new version, plus correcting patches for new version fixes the problem. >How-To-Repeat: any use of the lsh-authorize script, used to authorize remote connections via public key, fails with unknown option error message. >Fix: diff -c -r lsh.orig/Makefile lsh/Makefile *** lsh.orig/Makefile Sun May 28 21:27:06 2000 --- lsh/Makefile Fri Jun 2 09:02:57 2000 *************** *** 4,10 **** # PORTNAME= lsh ! PORTVERSION= 0.9.10 DISTNAME= ${PORTNAME}-${PORTVERSION} CATEGORIES= security --- 4,10 ---- # PORTNAME= lsh ! PORTVERSION= 0.9.11 DISTNAME= ${PORTNAME}-${PORTVERSION} CATEGORIES= security diff -c -r lsh.orig/files/md5 lsh/files/md5 *** lsh.orig/files/md5 Sun May 28 21:28:09 2000 --- lsh/files/md5 Fri Jun 2 09:22:34 2000 *************** *** 1 **** ! MD5 (lsh-0.9.10.tar.gz) = b09d691cdbb8f82091bf6343a1bb7ace --- 1 ---- ! MD5 (lsh-0.9.11.tar.gz) = 757ada38ccb5c559ebea15041308a6cd diff -c -r lsh.orig/patches/patch-ac lsh/patches/patch-ac *** lsh.orig/patches/patch-ac Sun Apr 16 13:38:07 2000 --- lsh/patches/patch-ac Fri Jun 2 09:27:23 2000 *************** *** 47,53 **** + if [ -z "$hash" ] ; then + echo $0: File $1 not readable. + else ! $SEXP_CONV < $1 -o canonical --once > ~/.lsh/authorized_keys_sha1/$hash + fi + else + echo $0: File $1 not found. --- 47,53 ---- + if [ -z "$hash" ] ; then + echo $0: File $1 not readable. + else ! $SEXP_CONV < $1 -f canonical --once > ~/.lsh/authorized_keys_sha1/$hash + fi + else + echo $0: File $1 not found. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message