remove SSLeay port
This commit is contained in:
parent
a58e31589d
commit
60900024c9
@ -1,10 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.24 1999/10/29 00:21:02 dugsong Exp $
|
||||
# $OpenBSD: Makefile,v 1.25 1999/11/04 17:39:51 dugsong Exp $
|
||||
# $FreeBSD: Makefile,v 1.23 1997/11/09 10:17:02 asami Exp $
|
||||
#
|
||||
|
||||
SUBDIR += ADMsmb
|
||||
SUBDIR += ADMsnmp
|
||||
SUBDIR += SSLeay
|
||||
SUBDIR += antisniff
|
||||
SUBDIR += bounix
|
||||
SUBDIR += cfs
|
||||
|
@ -1,74 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.8 1999/09/04 04:02:55 brad Exp $
|
||||
|
||||
DISTNAME= SSLeay-0.9.0b
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/ \
|
||||
ftp://ftp.funet.fi/pub/mirrors/ftp.psy.uq.oz.au/SSL/ \
|
||||
ftp://sunsite.doc.ic.ac.uk/Mirrors/ftp.psy.uq.oz.au/pub/Crypto/SSL/ \
|
||||
ftp://ftp.internat.freebsd.org/pub/Crypto/SSL/
|
||||
|
||||
NO_CDROM= "CRYPTO: Third party crypto not allowed."
|
||||
RESTRICTED= "Crypto; export-controlled"
|
||||
|
||||
MAINTAINER= dugsong@monkey.org
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_SCRIPT=Configure
|
||||
|
||||
# gcc-2.8.* confuses DES names? destest fails, but not with gcc-2.7.*. fix.
|
||||
CONFIGURE_ARGS+= -DPERL5
|
||||
|
||||
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
|
||||
LIB_DEPENDS= rsaref.2.0:${PORTSDIR}/security/rsaref
|
||||
CONFIGURE_ENV+= USA_RESIDENT=YES
|
||||
CONFIGURE_ARGS+= -I../../rsaref -DRSAref
|
||||
.endif
|
||||
|
||||
.if (${MACHINE_ARCH} == "i386")
|
||||
CONFIGURE_ARGS+= OpenBSD-x86
|
||||
.elif (${MACHINE_ARCH} == "pmax")
|
||||
CONFIGURE_ARGS+= OpenBSD-pmax
|
||||
.elif (${MACHINE_ARCH} == "arc")
|
||||
CONFIGURE_ARGS+= OpenBSD-arc
|
||||
.elif (${MACHINE_ARCH} == "alpha")
|
||||
CONFIGURE_ARGS+= OpenBSD-alpha
|
||||
.else
|
||||
CONFIGURE_ARGS+= OpenBSD-be
|
||||
.endif
|
||||
|
||||
ALL_TARGET= all test
|
||||
|
||||
fetch-depends:
|
||||
.if !defined(NO_WARNINGS)
|
||||
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
|
||||
@${ECHO}
|
||||
@${ECHO} You must set the variable USA_RESIDENT to YES if you are a USA
|
||||
@${ECHO} resident or NO otherwise. USA residents must use the RSAREF2
|
||||
@${ECHO} library to build this program \(RSA Inc. holds
|
||||
@${ECHO} a patent on RSA in the USA - using RSA implementations
|
||||
@${ECHO} other than RSAREF in the USA will violate the US patent\).
|
||||
@${ECHO} the RSA algorithm and public key crypto in general - using RSA
|
||||
@${ECHO} implementations other than RSAREF violate US patent law\).
|
||||
@${ECHO} ""
|
||||
@${ECHO} RSAREF2 will be automatically used to build this program when
|
||||
@${ECHO} given the command \"make USA_RESIDENT=YES\"
|
||||
@${ECHO} ""
|
||||
@${FALSE}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
|
||||
@${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/rsaref.patch
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
|
||||
@${CP} ${FILESDIR}/do-rsaref-ssl ${WRKSRC}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/ssl/
|
||||
@${ECHO} Please read ${PREFIX}/ssl/COPYRIGHT for license information.
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,44 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# convert ssleay libs to use rsaref.
|
||||
# ssleay should be build with ./Configure -DRSAref system-type
|
||||
# and -I../../rsaref should be added to CFLAGS in the top Makefile.
|
||||
# do a 'make', and run this script after it barfs out on the SSL
|
||||
# apps (linking ssleay). then run 'make' again to finish off.
|
||||
#
|
||||
# dugsong@monkey.org
|
||||
|
||||
TMPDIR=/tmp/ssleay-rsaref$$
|
||||
CWD=`pwd`
|
||||
|
||||
trap 'rm -rf $TMPDIR ; exit 0' 0 1 2 3 13 15
|
||||
|
||||
if [ ! -f librsaref.a ]; then
|
||||
echo "where is librsaref? put it in $CWD"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir $TMPDIR
|
||||
cp *.a $TMPDIR
|
||||
cd $TMPDIR
|
||||
|
||||
echo "unpacking rsaref libs"
|
||||
ar xv libRSAglue.a
|
||||
ar xv librsaref.a
|
||||
|
||||
echo "adding rsaref objs to libcrypto"
|
||||
ar -r -a rsa_enc.o libcrypto.a \
|
||||
`(ar t libRSAglue.a ; ar t librsaref.a) | egrep '\.o'`
|
||||
|
||||
echo "generating new symbol table"
|
||||
ranlib libcrypto.a
|
||||
|
||||
echo "backing up original libcrypto and libRSAglue"
|
||||
cd $CWD
|
||||
mv libcrypto.a libcrypto.a.orig
|
||||
mv libRSAglue.a libRSAglue.a.orig
|
||||
cp $TMPDIR/libcrypto.a .
|
||||
|
||||
echo "done."
|
||||
|
||||
exit 0
|
@ -1,3 +0,0 @@
|
||||
MD5 (SSLeay-0.9.0b.tar.gz) = 41c26258b20af611e9995968cbd89688
|
||||
RMD160 (SSLeay-0.9.0b.tar.gz) = 1facc8a22b157573b5060aa44bbb88488bcf6eeb
|
||||
SHA1 (SSLeay-0.9.0b.tar.gz) = 1edec34a343f4471719501e378f567e3e3433985
|
@ -1,10 +0,0 @@
|
||||
--- rsaref/Makefile.ssl.orig Fri Mar 12 13:28:06 1999
|
||||
+++ rsaref/Makefile.ssl Fri Mar 12 13:29:07 1999
|
||||
@@ -41,6 +41,7 @@
|
||||
$(AR) $(LIB) $(LIBOBJ)
|
||||
sh $(TOP)/util/ranlib.sh $(LIB)
|
||||
@touch lib
|
||||
+ @(cd $(TOP); sh do-rsaref-ssl)
|
||||
|
||||
files:
|
||||
perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
@ -1,30 +0,0 @@
|
||||
--- Configure.orig Fri Jun 26 04:25:25 1998
|
||||
+++ Configure Sun Mar 28 01:52:43 1999
|
||||
@@ -133,6 +133,11 @@
|
||||
"NetBSD-m86", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||
"NetBSD-x86", "gcc:-DTERMIOS -DBN_ASM -D_ANSI_SOURCE -O3 -fomit-frame-pointer -m486 -Wall::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
|
||||
"FreeBSD", "gcc:-DTERMIOS -DBN_ASM -DL_ENDIAN -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
|
||||
+"OpenBSD-be", "gcc:-DTERMIOS -D_ANSI_SOURCE -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||
+"OpenBSD-alpha","gcc:-DTERMIOS -D_ANSI_SOURCE -O3 -fomit-frame-pointer -Wall::SIXTY_FOUR_BIT_LONGS DES_INT DES_PTR DES_RISC2:asm/alpha.o::",
|
||||
+"OpenBSD-x86", "gcc:-DTERMIOS -D_ANSI_SOURCE -O3 -fomit-frame-pointer -Wall -DBN_ASM -DL_ENDIAN::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
|
||||
+"OpenBSD-pmax", "gcc:-DTERMIOS -D_ANSI_SOURCE -O3 -fomit-frame-pointer -Wall -DL_ENDIAN::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||
+"OpenBSD-arc", "gcc:-DTERMIOS -D_ANSI_SOURCE -O3 -fomit-frame-pointer -Wall -DL_ENDIAN::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||
#"bsdi-gcc", "gcc:-O3 -ffast-math -DBN_ASM -DL_ENDIAN -DPERL5 -m486::RSA_LLONG $x86_gc_des $x86_gcc_opts:$x86_bsdi_asm",
|
||||
"nextstep", "cc:-O3 -Wall -DBN_ASM::BN_LLONG $x86_gcc_des $x86_gcc_opts:::",
|
||||
# NCR MP-RAS UNIX ver 02.03.01
|
||||
@@ -221,13 +226,13 @@
|
||||
{
|
||||
$libs.=$_." ";
|
||||
}
|
||||
- elsif ($_ =~ /^-D(.*)$/)
|
||||
+ elsif ($_ =~ /^-[DI](.*)$/)
|
||||
{
|
||||
$flags.=$_." ";
|
||||
}
|
||||
else
|
||||
{
|
||||
- die "unknown options, only -Dxxx, -Lxxx -lxxx supported\n";
|
||||
+ die "unknown options, only -Dxxx, -Ixxx, -Lxxx -lxxx supported\n";
|
||||
}
|
||||
}
|
||||
else
|
@ -1,13 +0,0 @@
|
||||
--- crypto/bn/Makefile.ssl.orig Thu Apr 9 11:47:18 1998
|
||||
+++ crypto/bn/Makefile.ssl Sat Mar 27 23:04:34 1999
|
||||
@@ -82,6 +82,10 @@
|
||||
asm/bn86unix.cpp:
|
||||
(cd asm; perl bn-586.pl cpp >bn86unix.cpp )
|
||||
|
||||
+# alpha
|
||||
+asm/alpha.o: asm/alpha.s
|
||||
+ as -o asm/alpha.o asm/alpha.s
|
||||
+
|
||||
files:
|
||||
perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- crypto/bn/asm/alpha.s.orig Sat Mar 27 21:36:52 1999
|
||||
+++ crypto/bn/asm/alpha.s Sat Mar 27 21:54:18 1999
|
||||
@@ -195,7 +195,7 @@
|
||||
addq $8,$3,$3 # c+=carry
|
||||
|
||||
cmpult $3,$8,$8 # did we overflow?
|
||||
- stq $3,($16) # r[0]=c
|
||||
+ stq $3,0($16) # r[0]=c
|
||||
|
||||
addq $7,$8,$8 # add into overflow
|
||||
subq $19,1,$19 # loop--
|
||||
@@ -339,6 +339,3 @@
|
||||
addq $30,48,$30
|
||||
ret $31,($26),1
|
||||
.end bn_div64
|
||||
- .ident "GCC: (GNU) 2.7.2.1"
|
||||
-
|
||||
-
|
@ -1,11 +0,0 @@
|
||||
--- crypto/md5/md5.c.orig Thu Apr 9 07:59:29 1998
|
||||
+++ crypto/md5/md5.c Sun Dec 27 18:44:33 1998
|
||||
@@ -94,7 +94,7 @@
|
||||
err++;
|
||||
continue;
|
||||
}
|
||||
- printf("MD5(%s)= ",argv[i]);
|
||||
+ printf("MD5 (%s) = ",argv[i]);
|
||||
do_fp(IN);
|
||||
fclose(IN);
|
||||
}
|
@ -1 +0,0 @@
|
||||
Eric Young's implementation of SSL and supporting libraries
|
@ -1,7 +0,0 @@
|
||||
Eric Young's implemention of SSL and supporting libraries.
|
||||
|
||||
Includes support for SSLv2, SSLv3, DES, RC4, RC2, Blowfish,
|
||||
IDEA, MD5, MD2, SHA, SHA-1, MDC2, RSA, DSA, Diffie-Hellman,
|
||||
X509 ASN cruft, etc.
|
||||
|
||||
See http://www.ssleay.org/ for more info.
|
@ -1,131 +0,0 @@
|
||||
ssl/bin/ssleay
|
||||
ssl/bin/CA.sh
|
||||
ssl/bin/der_chop
|
||||
ssl/bin/c_hash
|
||||
ssl/bin/verify
|
||||
ssl/bin/asn1parse
|
||||
ssl/bin/req
|
||||
ssl/bin/dgst
|
||||
ssl/bin/dh
|
||||
ssl/bin/enc
|
||||
ssl/bin/gendh
|
||||
ssl/bin/errstr
|
||||
ssl/bin/ca
|
||||
ssl/bin/crl
|
||||
ssl/bin/rsa
|
||||
ssl/bin/dsa
|
||||
ssl/bin/dsaparam
|
||||
ssl/bin/x509
|
||||
ssl/bin/genrsa
|
||||
ssl/bin/s_server
|
||||
ssl/bin/s_client
|
||||
ssl/bin/speed
|
||||
ssl/bin/s_time
|
||||
ssl/bin/version
|
||||
ssl/bin/pkcs7
|
||||
ssl/bin/crl2pkcs7
|
||||
ssl/bin/sess_id
|
||||
ssl/bin/ciphers
|
||||
ssl/bin/md2
|
||||
ssl/bin/md5
|
||||
ssl/bin/sha
|
||||
ssl/bin/sha1
|
||||
ssl/bin/mdc2
|
||||
ssl/bin/base64
|
||||
ssl/bin/des
|
||||
ssl/bin/des3
|
||||
ssl/bin/desx
|
||||
ssl/bin/idea
|
||||
ssl/bin/rc4
|
||||
ssl/bin/rc2
|
||||
ssl/bin/bf
|
||||
ssl/bin/cast
|
||||
ssl/bin/rc5
|
||||
ssl/bin/des-ecb
|
||||
ssl/bin/des-ede
|
||||
ssl/bin/des-ede3
|
||||
ssl/bin/des-cbc
|
||||
ssl/bin/des-ede-cbc
|
||||
ssl/bin/des-ede3-cbc
|
||||
ssl/bin/des-cfb
|
||||
ssl/bin/des-ede-cfb
|
||||
ssl/bin/des-ede3-cfb
|
||||
ssl/bin/des-ofb
|
||||
ssl/bin/des-ede-ofb
|
||||
ssl/bin/des-ede3-ofb
|
||||
ssl/bin/idea-cbc
|
||||
ssl/bin/idea-ecb
|
||||
ssl/bin/idea-cfb
|
||||
ssl/bin/idea-ofb
|
||||
ssl/bin/rc2-cbc
|
||||
ssl/bin/rc2-ecb
|
||||
ssl/bin/rc2-cfb
|
||||
ssl/bin/rc2-ofb
|
||||
ssl/bin/bf-cbc
|
||||
ssl/bin/bf-ecb
|
||||
ssl/bin/bf-cfb
|
||||
ssl/bin/bf-ofb
|
||||
ssl/bin/cast5-cbc
|
||||
ssl/bin/cast5-ecb
|
||||
ssl/bin/cast5-cfb
|
||||
ssl/bin/cast5-ofb
|
||||
ssl/bin/cast-cbc
|
||||
ssl/bin/rc5-cbc
|
||||
ssl/bin/rc5-ecb
|
||||
ssl/bin/rc5-cfb
|
||||
ssl/bin/rc5-ofb
|
||||
ssl/bin/c_info
|
||||
ssl/bin/c_issuer
|
||||
ssl/bin/c_name
|
||||
ssl/bin/c_rehash
|
||||
ssl/lib/ssleay.cnf
|
||||
ssl/lib/libcrypto.a
|
||||
ssl/lib/libssl.a
|
||||
ssl/include/crypto.h
|
||||
ssl/include/cryptall.h
|
||||
ssl/include/md2.h
|
||||
ssl/include/md5.h
|
||||
ssl/include/sha.h
|
||||
ssl/include/mdc2.h
|
||||
ssl/include/hmac.h
|
||||
ssl/include/ripemd.h
|
||||
ssl/include/des.h
|
||||
ssl/include/rc2.h
|
||||
ssl/include/rc4.h
|
||||
ssl/include/rc5.h
|
||||
ssl/include/idea.h
|
||||
ssl/include/blowfish.h
|
||||
ssl/include/cast.h
|
||||
ssl/include/bn.h
|
||||
ssl/include/rsa.h
|
||||
ssl/include/dsa.h
|
||||
ssl/include/dh.h
|
||||
ssl/include/buffer.h
|
||||
ssl/include/bio.h
|
||||
ssl/include/bss_file.c
|
||||
ssl/include/stack.h
|
||||
ssl/include/lhash.h
|
||||
ssl/include/rand.h
|
||||
ssl/include/err.h
|
||||
ssl/include/objects.h
|
||||
ssl/include/evp.h
|
||||
ssl/include/pem.h
|
||||
ssl/include/asn1.h
|
||||
ssl/include/asn1_mac.h
|
||||
ssl/include/x509.h
|
||||
ssl/include/x509_vfy.h
|
||||
ssl/include/conf.h
|
||||
ssl/include/txt_db.h
|
||||
ssl/include/pkcs7.h
|
||||
ssl/include/ssl.h
|
||||
ssl/include/ssl2.h
|
||||
ssl/include/ssl3.h
|
||||
ssl/include/ssl23.h
|
||||
ssl/include/tls1.h
|
||||
ssl/COPYRIGHT
|
||||
@dirrm ssl/private
|
||||
@dirrm ssl/certs
|
||||
@dirrm ssl/include
|
||||
@dirrm ssl/lib
|
||||
@dirrm ssl/bin
|
||||
@dirrm ssl
|
24
security/SSLeay/scripts/configure
vendored
24
security/SSLeay/scripts/configure
vendored
@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# pre-Configure configuration script for SSLeay
|
||||
#
|
||||
# dugsong@monkey.org
|
||||
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
|
||||
cd $WRKSRC
|
||||
|
||||
perl util/perlpath.pl /usr/bin
|
||||
perl util/ssldir.pl ${PREFIX}/ssl
|
||||
|
||||
if [ "x$USA_RESIDENT" = "xYES" ]; then
|
||||
LIBDIR=`ldconfig -r | grep rsaref | awk '{print $3}' | xargs dirname`
|
||||
|
||||
if [ -f ${LIBDIR}/librsaref.a ]; then
|
||||
cp ${LIBDIR}/librsaref.a .
|
||||
else
|
||||
echo "Couldn't find RSAref library ${LIBDIR}/librsaref.a"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user