Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 1998 21:41:33 -0700 (PDT)
From:      Jonathan Hanna <jh@pc-21490.bc.rogers.wave.ca>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6446: patch to use Karn patchkit for faster DES with ssh-1.2.22
Message-ID:  <199804290441.VAA03576@pc-21490.bc.rogers.wave.ca>

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

>Number:         6446
>Category:       ports
>Synopsis:       patch to use Karn patchkit for faster DES with ssh-1.2.22
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 28 21:50:01 PDT 1998
>Last-Modified:
>Originator:     Jonathan Hanna
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	

>Description:

Phil Karn has produced a patchkit for ssh-1.2.22 to use
his asm DES code.
This modification of the port applies it if FAST_DES_PATCHKIT=YES
and it has been downloaded by hand to distfiles.

>How-To-Repeat:

	

>Fix:
	
diff -r -u ssh/Makefile ssh.fdes/Makefile
--- ssh/Makefile	Tue Mar 10 05:58:16 1998
+++ ssh.fdes/Makefile	Fri Apr 24 16:21:42 1998
@@ -27,6 +27,15 @@
 	ftp://ftp.univie.ac.at/security/crypt/cryptography/asymmetric/rsa/ \
 	ftp://isdec.vc.cvut.cz/pub/security/unimi/crypt/applied-crypto/
 .endif
+#
+# Use Phil Karn's asm patches to speed up DES on intel.
+# Download by hand from http://www.cryptography.org/cgi-bin/crypto.cgi/ssh/  
+# and put in distfiles directory.
+#
+.if defined(FAST_DES_PATCHKIT) && ${FAST_DES_PATCHKIT} == YES
+PATCHFILES=ssh-1.2.22-patchkit
+PATCH_DIST_STRIP=-p1
+.endif
 
 RESTRICTED=	"Crypto; export-controlled"
 IS_INTERACTIVE=	YES
diff -r -u ssh/files/md5 ssh.fdes/files/md5
--- ssh/files/md5	Tue Jan 20 15:50:11 1998
+++ ssh.fdes/files/md5	Fri Apr 24 16:18:58 1998
@@ -1,2 +1,3 @@
 MD5 (ssh-1.2.22.tar.gz) = 011f2b6d1935c59be0dae299db4ed7fa
 MD5 (rsaref2.tar.gz) = 0b474c97bf1f1c0d27e5a95f1239c08d
+MD5 (ssh-1.2.22-patchkit) = 5228897d59be91ad3ae88e992d61cd50

>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?199804290441.VAA03576>