Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2000 12:25:19 -0700 (PDT)
From:      Eric S <eric@cybernut.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18968: serious bug in original lsh sort, updating lsh port
Message-ID:  <200006021925.e52JPJr35279@cybernut.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006021925.e52JPJr35279>