Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 1998 04:33:32 +0800 (CST)
From:      yssu@CCCA.NCTU.edu.tw (Yen-Shuo Su)
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7133: Upgrade SSLeay to 0.9.0b
Message-ID:  <199806302033.EAA29645@www.neto.net>

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

>Number:         7133
>Category:       ports
>Synopsis:       upgrade SSLeay to 0.9.0b
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 30 13:40:02 PDT 1998
>Last-Modified:
>Originator:     Yen-Shuo Su
>Organization:
Campus Computer Communication Association
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:


>Description:

	Upgrade SSLeay to 0.9.0b

>How-To-Repeat:


>Fix:
	
Apply the following patch

diff -ruN ./SSLeay/Makefile ../private/SSLeay/Makefile
--- ./SSLeay/Makefile	Sun Apr 26 16:52:06 1998
+++ ../private/SSLeay/Makefile	Tue Jun 30 14:33:29 1998
@@ -5,7 +5,7 @@
 #
 # $Id: Makefile,v 1.16 1998/02/17 21:14:23 markm Exp $
 
-DISTNAME=		SSLeay-0.8.1
+DISTNAME=		SSLeay-0.9.0b
 CATEGORIES=		devel security
 MASTER_SITES=		ftp://psych.psy.uq.oz.au/pub/Crypto/SSL/
 
@@ -24,7 +24,7 @@
 	@false
 .elif defined(USA_RESIDENT)
 .if ${USA_RESIDENT} == YES
-BUILD_DEPENDS=		rsaref\\.2\\.:${PORTSDIR}/security/rsaref
+BUILD_DEPENDS=		${PREFIX}/lib/librsaref.a:${PORTSDIR}/security/rsaref
 
 post-configure:
 	${CP} ${WRKSRC}/rsaref/rsaref.h ${WRKSRC}/include/rsaref.h
diff -ruN ./SSLeay/files/Makefile.patch ../private/SSLeay/files/Makefile.patch
--- ./SSLeay/files/Makefile.patch	Sun Apr 26 16:48:33 1998
+++ ../private/SSLeay/files/Makefile.patch	Tue Jun 30 15:14:34 1998
@@ -1,25 +1,15 @@
-*** work/SSLeay-0.8.1/Makefile.ssl.orig	Tue Jul 29 14:13:29 1997
---- work/SSLeay-0.8.1/Makefile.ssl	Tue Jul 29 14:14:35 1997
-***************
-*** 56,65 ****
-  
-  
-  CC= gcc
-! CFLAG= -DTERMIOS -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall
-  #CFLAG= -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -Wuninitialized
-! PEX_LIBS= -L. -L.. -L../.. -L../../..
-! EX_LIBS= 
-  #EX_LIBS= #-lRSAglue -lrsaref -lnsl -lsocket
-  AR=ar r
-  
---- 56,65 ----
-  
-  
-  CC= gcc
-! CFLAG= -DTERMIOS -D_ANSI_SOURCE -DRSAref -fomit-frame-pointer -O3 -m486 -Wall
-  #CFLAG= -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -Wuninitialized
-! PEX_LIBS= -L. -L.. -L../.. -L../../.. -L/usr/local/lib
-! EX_LIBS= -lRSAglue -lrsaref
-  #EX_LIBS= #-lRSAglue -lrsaref -lnsl -lsocket
-  AR=ar r
-  
+--- work/SSLeay-0.9.0b/Makefile.ssl.orig	Tue Jun 30 14:54:51 1998
++++ work/SSLeay-0.9.0b/Makefile.ssl	Tue Jun 30 14:55:58 1998
+@@ -61,9 +61,9 @@
+ 
+ CC= gcc
+ #CFLAG= -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -Wuninitialized -DMD5_ASM -DSHA1_ASM -DRMD160_ASM
+-CFLAG= -DTERMIOS -DBN_ASM -DL_ENDIAN -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
++CFLAG= -DRSAref -DTERMIOS -DBN_ASM -DL_ENDIAN -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
+-PEX_LIBS= -L. -L.. -L../.. -L../../..
++PEX_LIBS= -L. -L.. -L../.. -L../../.. -L${PREFIX}/lib
+-EX_LIBS= 
++EX_LIBS= -lRSAglue -lrsaref
+ AR=ar r
+ 
+ # Set BN_MULW to bn_mulw.o if you want to use the C version
diff -ruN ./SSLeay/files/md5 ../private/SSLeay/files/md5
--- ./SSLeay/files/md5	Sun Apr 26 16:48:33 1998
+++ ../private/SSLeay/files/md5	Tue Jun 30 14:27:27 1998
@@ -1 +1 @@
-MD5 (SSLeay-0.8.1.tar.gz) = 10092f272305e4c9162c906904550100
+MD5 (SSLeay-0.9.0b.tar.gz) = 41c26258b20af611e9995968cbd89688
diff -ruN ./SSLeay/patches/patch-ab ../private/SSLeay/patches/patch-ab
--- ./SSLeay/patches/patch-ab	Sun Apr 26 16:52:06 1998
+++ ../private/SSLeay/patches/patch-ab	Tue Jun 30 14:47:51 1998
@@ -1,28 +1,18 @@
-*** Makefile.ssl.ORIG	Tue Feb 17 21:43:38 1998
---- Makefile.ssl	Tue Feb 17 21:46:22 1998
-***************
-*** 122,128 ****
-  	VERSION PROBLEMS MINFO makefile.one e_os.h \
-  	MICROSOFT makevms.com
-  WDIRS=	windows
-! LIBS=	libcrypto.a libssl.a 
-  
-  GENERAL=	Makefile
-  BASENAME=	SSLeay
---- 122,128 ----
-  	VERSION PROBLEMS MINFO makefile.one e_os.h \
-  	MICROSOFT makevms.com
-  WDIRS=	windows
-! LIBS=	libcrypto.a libssl.a libRSAglue.a
-  
-  GENERAL=	Makefile
-  BASENAME=	SSLeay
-***************
-*** 272,276 ****
---- 272,277 ----
-  		sh util/ranlib.sh $(INSTALLTOP)/lib/$$i; \
-  		chmod 644 $(INSTALLTOP)/lib/$$i ); \
-  	done
-+ 	cp apps/ssleay.cnf $(INSTALLTOP)/etc/ssleay.cnf.sample
-  
-  # DO NOT DELETE THIS LINE -- make depend depends on it.
+--- Makefile.ssl.orig	Fri Jun 26 16:25:25 1998
++++ Makefile.ssl	Tue Jun 30 14:44:20 1998
+@@ -175,7 +175,7 @@
+ 	VERSION PROBLEMS MINFO makefile.one e_os.h \
+ 	MICROSOFT makevms.com config PATENTS
+ WDIRS=  windows
+-LIBS=   libcrypto.a libssl.a 
++LIBS=   libcrypto.a libssl.a libRSAglue.a
+ 
+ GENERAL=        Makefile
+ BASENAME=       SSLeay
+@@ -327,5 +327,6 @@
+ 		sh util/ranlib.sh $(INSTALLTOP)/lib/$$i; \
+ 		chmod 644 $(INSTALLTOP)/lib/$$i ); \
+ 	done
++	cp apps/ssleay.cnf $(INSTALLTOP)/etc/ssleay.cnf.sample
+ 
+ # DO NOT DELETE THIS LINE -- make depend depends on it.
diff -ruN ./SSLeay/patches/patch-ac ../private/SSLeay/patches/patch-ac
--- ./SSLeay/patches/patch-ac	Thu Jan  1 08:00:00 1970
+++ ../private/SSLeay/patches/patch-ac	Tue Jun 30 16:15:13 1998
@@ -0,0 +1,13 @@
+--- apps/Makefile.ssl.orig	Tue Jun 30 16:14:38 1998
++++ apps/Makefile.ssl	Tue Jun 30 16:14:54 1998
+@@ -93,8 +93,8 @@
+ 	 cp $$i $(INSTALLTOP)/bin/$$i; \
+ 	 chmod 755 $(INSTALLTOP)/bin/$$i ); \
+ 	 done; \
+-	cp ssleay.cnf $(INSTALLTOP)/lib
+-	chmod 644 $(INSTALLTOP)/lib/ssleay.cnf
++	cp ssleay.cnf $(INSTALLTOP)/etc
++	chmod 644 $(INSTALLTOP)/etc/ssleay.cnf
+ 	cd $(INSTALLTOP)/bin; \
+ 	/bin/sh ./mklinks; \
+ 	/bin/rm -f ./mklinks
diff -ruN ./SSLeay/pkg/PLIST ../private/SSLeay/pkg/PLIST
--- ./SSLeay/pkg/PLIST	Sun Apr 26 16:52:06 1998
+++ ../private/SSLeay/pkg/PLIST	Tue Jun 30 16:05:26 1998
@@ -14,6 +14,12 @@
 @exec ln -sf %D/%F %B/bf-ecb
 @exec ln -sf %D/%F %B/bf-ofb
 @exec ln -sf %D/%F %B/ca
+@exec ln -sf %D/%F %B/cast
+@exec ln -sf %D/%F %B/cast-cbc
+@exec ln -sf %D/%F %B/cast5-cbc
+@exec ln -sf %D/%F %B/cast5-ecb
+@exec ln -sf %D/%F %B/cast5-cfb
+@exec ln -sf %D/%F %B/cast5-ofb
 @exec ln -sf %D/%F %B/ciphers
 @exec ln -sf %D/%F %B/crl
 @exec ln -sf %D/%F %B/crl2pkcs7
@@ -39,7 +45,6 @@
 @exec ln -sf %D/%F %B/enc
 @exec ln -sf %D/%F %B/errstr
 @exec ln -sf %D/%F %B/gendh
-@exec ln -sf %D/%F %B/gendsa
 @exec ln -sf %D/%F %B/genrsa
 @exec ln -sf %D/%F %B/idea
 @exec ln -sf %D/%F %B/idea-cbc
@@ -56,6 +61,11 @@
 @exec ln -sf %D/%F %B/rc2-ecb
 @exec ln -sf %D/%F %B/rc2-ofb
 @exec ln -sf %D/%F %B/rc4
+@exec ln -sf %D/%F %B/rc5
+@exec ln -sf %D/%F %B/rc5-cbc
+@exec ln -sf %D/%F %B/rc5-ecb
+@exec ln -sf %D/%F %B/rc5-cfb
+@exec ln -sf %D/%F %B/rc5-ofb
 @exec ln -sf %D/%F %B/req
 @exec ln -sf %D/%F %B/rsa
 @exec ln -sf %D/%F %B/s_client
@@ -76,6 +86,12 @@
 @unexec rm %B/bf-ecb
 @unexec rm %B/bf-ofb
 @unexec rm %B/ca
+@unexec rm %B/cast
+@unexec rm %B/cast-cbc
+@unexec rm %B/cast5-cbc
+@unexec rm %B/cast5-ecb
+@unexec rm %B/cast5-cfb
+@unexec rm %B/cast5-ofb
 @unexec rm %B/ciphers
 @unexec rm %B/crl
 @unexec rm %B/crl2pkcs7
@@ -101,7 +117,6 @@
 @unexec rm %B/enc
 @unexec rm %B/errstr
 @unexec rm %B/gendh
-@unexec rm %B/gendsa
 @unexec rm %B/genrsa
 @unexec rm %B/idea
 @unexec rm %B/idea-cbc
@@ -118,6 +133,11 @@
 @unexec rm %B/rc2-ecb
 @unexec rm %B/rc2-ofb
 @unexec rm %B/rc4
+@unexec rm %B/rc5
+@unexec rm %B/rc5-cbc
+@unexec rm %B/rc5-ecb
+@unexec rm %B/rc5-cfb
+@unexec rm %B/rc5-ofb
 @unexec rm %B/req
 @unexec rm %B/rsa
 @unexec rm %B/s_client
@@ -136,6 +156,8 @@
 include/blowfish.h
 include/bn.h
 include/buffer.h
+include/bss_file.c
+include/cast.h
 include/conf.h
 include/cryptall.h
 include/crypto.h
@@ -144,6 +166,7 @@
 include/dsa.h
 include/err.h
 include/evp.h
+include/hmac.h
 include/idea.h
 include/lhash.h
 include/md2.h
@@ -155,6 +178,8 @@
 include/rand.h
 include/rc2.h
 include/rc4.h
+include/rc5.h
+include/ripemd.h
 include/rsa.h
 include/sha.h
 include/ssl.h
@@ -162,6 +187,7 @@
 include/ssl23.h
 include/ssl3.h
 include/stack.h
+include/tls1.h
 include/txt_db.h
 include/x509.h
 include/x509_vfy.h
@@ -184,7 +210,6 @@
 share/doc/SSLeay/cipher.doc
 share/doc/SSLeay/cipher.m
 share/doc/SSLeay/conf.doc
-share/doc/SSLeay/danger
 share/doc/SSLeay/des.doc
 share/doc/SSLeay/digest.doc
 share/doc/SSLeay/encode.doc
@@ -221,4 +246,4 @@
 share/doc/SSLeay/txt_db.doc
 share/doc/SSLeay/verify
 share/doc/SSLeay/why.doc
-@unexec rm -rf share/doc/SSLeay
+@dirrm share/doc/SSLeay


>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?199806302033.EAA29645>