diff --git a/security/sslusa/Makefile b/security/sslusa/Makefile new file mode 100644 index 00000000000..2834f1b5855 --- /dev/null +++ b/security/sslusa/Makefile @@ -0,0 +1,41 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/03/31 22:19:54 marc Exp $ + +DISTNAME= sslUSA-2.6 +PKGNAME= ssl-2.6-USA +CATEGORIES= security + +MAINTAINER= ports@openbsd.org + +PERMIT_PACKAGE_CDROM= Only valid in USA +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Patent issues +PERMIT_DISTFILES_FTP= Patent issues + +MASTER_SITES= ftp://ftp.snafu.org/pub/ +WRKDIST= ${WRKDIR}/sslUSA + +MAKE_ENV= PORTSDIR=${PORTSDIR} + +FAKE= Yes + +pre-build: +.if !exists(/usr/src/lib/libssl/Makefile.bsd-wrapper) + @echo "" + @echo "+--------------------" + @echo "| You must have the system source files installed to" + @echo "| create ${PKGNAME}. You may want to install the" + @echo "| pre-compiled package. See ssl(8) for details." + @echo "+--------------------" + @echo "" + @false +.endif + +# Note: if the obj dir (which points somewhere in /usr/obj/...) is not +# cleaned up it can/will cause problems the next time a make build is done +# in /usr/src +# +pre-clean: + @rm -rf ${WRKSRC}/libssl/obj/* + @cd ${PORTSDIR}/security/rsaref && make clean + +.include diff --git a/security/sslusa/files/md5 b/security/sslusa/files/md5 new file mode 100644 index 00000000000..0f8ee2fcc7b --- /dev/null +++ b/security/sslusa/files/md5 @@ -0,0 +1,3 @@ +MD5 (sslUSA-2.6.tar.gz) = 138ebdd2ef58f9eaaffbcb264f18fbdd +RMD160 (sslUSA-2.6.tar.gz) = 3b97aa778232b91b41348eac6ab9148612bcd004 +SHA1 (sslUSA-2.6.tar.gz) = 5ea99f005e1b7d832f213081bc4cb33df69ef550 diff --git a/security/sslusa/pkg/COMMENT b/security/sslusa/pkg/COMMENT new file mode 100644 index 00000000000..4c1813f5b87 --- /dev/null +++ b/security/sslusa/pkg/COMMENT @@ -0,0 +1 @@ +ssl and crypto libraries with RSAREF -- USA USE ONLY diff --git a/security/sslusa/pkg/DESCR b/security/sslusa/pkg/DESCR new file mode 100644 index 00000000000..cfd454c8ad6 --- /dev/null +++ b/security/sslusa/pkg/DESCR @@ -0,0 +1,21 @@ +libcrypto and libssl libraries that includes the +RSA algorithm from the RSAREF implementation. +This version is for noncommercial use IN THE USA ONLY.* + +These two OpenBSD libraries (libssl and libcrypto, based on OpenSSL) +implement many cryptographic functions which are used by OpenBSD +programs like ssh, httpd, and isakmpd. Due to patent licensing +reasons, those libraries may not be included on the CD -- instead the +base distribution contains libraries which have had the troublesome +code removed -- the programs listed above will not be fully functional +as a result. Libraries which _include_ the troublesome routines are +in this package, and may be used as long as you meet the follow +(legal) criteria: + (1) Outside the USA: Do NOT use this package. + Use ssl- instead. + (2) Inside the USA: non-commercial entities may the install + the ssl--USA package which includes RSAREF (This + package). + (3) Commercial entities in the USA are left in the cold, due to how + the licences work. (This is how the USA crypto export policy + feels to the rest of the world.) diff --git a/security/sslusa/pkg/INSTALL b/security/sslusa/pkg/INSTALL new file mode 100644 index 00000000000..b56ee6d69b1 --- /dev/null +++ b/security/sslusa/pkg/INSTALL @@ -0,0 +1,4 @@ +#!/bin/sh +if [ $2 = POST-INSTALL ]; then + ldconfig -m $PKG_PREFIX +fi diff --git a/security/sslusa/pkg/PLIST b/security/sslusa/pkg/PLIST new file mode 100644 index 00000000000..49f47c62245 --- /dev/null +++ b/security/sslusa/pkg/PLIST @@ -0,0 +1,8 @@ +libcrypto.a +libcrypto.so.2.3 +libcrypto_p.a +libcrypto_pic.a +libssl.a +libssl.so.2.3 +libssl_p.a +libssl_pic.a