Update all ports using OpenSSL and RSA to work without rsaref since
it is no longer required. Apologies to the various maintainers whom I did not yet hear back from, but the ports freeze is coming up in a few hours and I will be verifying all of these ports on a 4.1 machine myself to catch any problems.
This commit is contained in:
parent
a96ff36982
commit
e088a4f458
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32957
@ -13,7 +13,6 @@ DISTNAME= hpack79src
|
||||
|
||||
MAINTAINER= ache@FreeBSD.org
|
||||
|
||||
RESTRICTED= "Using this code inside USA will violate RSA patents"
|
||||
NO_WRKSUBDIR= yes
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= freebsd
|
||||
|
@ -26,21 +26,14 @@ SHLIB_VER= 0
|
||||
MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
|
||||
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
||||
|
||||
.if defined(WITH_SSL)
|
||||
USE_OPENSSL= RSA
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(USE_OPENSSL)
|
||||
.if defined(WITH_SSL)
|
||||
USE_OPENSSL= YES
|
||||
CONFIGURE_ENV+= CPPFLAGS='-I${OPENSSLINC} -I${OPENSSLINC}/openssl' \
|
||||
LDFLAGS='-L${OPENSSLLIB}'
|
||||
.endif
|
||||
|
||||
.if defined(OPENSSL_RSAREF)
|
||||
CONFIGURE_ENV+= LIBS="-L${OPENSSLLIB} -lcrypto -lRSAglue -L${LOCALBASE}/lib -lrsaref"
|
||||
.endif
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOMAKE= yes
|
||||
MAKEFILES= Makefile src/Makefile
|
||||
|
@ -30,18 +30,11 @@ USE_XPM= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
.if defined(WITH_SSL)
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-ssl
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(OPENSSL_RSAREF)
|
||||
CONFIGURE_ENV+= EXTRA_SSL_LIBS="-L${OPENSSLLIB} -lRSAglue -L${LOCALBASE}/lib -lrsaref" \
|
||||
OPENSSLLIB=${OPENSSLLIB}
|
||||
.endif
|
||||
|
||||
MAN1= pavuk.1
|
||||
|
||||
do-install:
|
||||
@ -64,4 +57,4 @@ do-install:
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,6 +13,6 @@ PKGDIR= ${.CURDIR}/pkg
|
||||
PLIST= ${MASTERDIR}/pkg/PLIST.ja
|
||||
|
||||
JAPANESE= Yes
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -50,7 +50,7 @@ LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses
|
||||
CFLAGS+= -I${PREFIX}/include/ncurses
|
||||
.endif
|
||||
.if defined(WITH_SSL)
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
.endif
|
||||
.if defined(WITH_DOCS)
|
||||
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
|
||||
|
@ -50,7 +50,7 @@ LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses
|
||||
CFLAGS+= -I${PREFIX}/include/ncurses
|
||||
.endif
|
||||
.if defined(WITH_SSL)
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
.endif
|
||||
.if defined(WITH_DOCS)
|
||||
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
|
||||
|
@ -50,7 +50,7 @@ LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses
|
||||
CFLAGS+= -I${PREFIX}/include/ncurses
|
||||
.endif
|
||||
.if defined(WITH_SSL)
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
.endif
|
||||
.if defined(WITH_DOCS)
|
||||
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
|
||||
|
@ -33,19 +33,12 @@ FILESDIR= ${.CURDIR}/files
|
||||
|
||||
EXTRA_PATCHES= ${FILESDIR}/extrapatch-*
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
USE_OPENSSL= YES
|
||||
|
||||
post-extract:
|
||||
( cd ${WRKSRC} ; tar xfz ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} )
|
||||
|
||||
do-build:
|
||||
.if defined(OPENSSL_RSAREF)
|
||||
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf EXTRAAUTHENTICATORS=ssl RSAREF=yes)
|
||||
.else
|
||||
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf EXTRAAUTHENTICATORS=ssl)
|
||||
.endif
|
||||
|
||||
PRE_MK_INCLUDED= yes
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -15,7 +15,7 @@ MAINTAINER= veers@disturbed.net
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.if defined(WITH_SSL)
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
CONFIGURE_ARGS= --with-openssl
|
||||
.else
|
||||
CONFIGURE_ARGS= --without-openssl
|
||||
|
@ -14,9 +14,6 @@ MAINTAINER= peterh@sapros.com
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libgc.a:${PORTSDIR}/devel/boehm-gc
|
||||
LIB_DEPENDS= wwwcore.1:${PORTSDIR}/www/libwww
|
||||
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
|
||||
LIB_DEPENDS+= rsaref.2:${PORTSDIR}/security/rsaref
|
||||
.endif
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
|
@ -11,7 +11,7 @@ MASTER_SITES= ftp://ftp.psy.uq.oz.au/pub/Crypto/SSLapps/
|
||||
|
||||
MAINTAINER= issei@jp.FreeBSD.org
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.if !defined(BATCH)
|
||||
INSTALL_TARGET= install certificate
|
||||
|
@ -14,9 +14,6 @@ MAINTAINER= peterh@sapros.com
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libgc.a:${PORTSDIR}/devel/boehm-gc
|
||||
LIB_DEPENDS= wwwcore.1:${PORTSDIR}/www/libwww
|
||||
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
|
||||
LIB_DEPENDS+= rsaref.2:${PORTSDIR}/security/rsaref
|
||||
.endif
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
|
@ -14,7 +14,7 @@ DISTNAME= pipsec-19991014
|
||||
|
||||
MAINTAINER= patrick@mindstep.com
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
ALL_TARGET= pipsecd
|
||||
|
||||
|
@ -12,7 +12,7 @@ MASTER_SITES= ftp://ftp.chg.ru/pub/networking/freebsd/
|
||||
|
||||
MAINTAINER= ks@itp.ac.ru
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
MAN8= tund.8
|
||||
MANCOMPRESSED= yes
|
||||
|
@ -29,7 +29,7 @@ MAINTAINER= dima@Chg.RU
|
||||
BUILD_DEPENDS= mm-config:${PORTSDIR}/devel/mm \
|
||||
${LOCALBASE}/lib/libmm.a:${PORTSDIR}/devel/mm
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -12,7 +12,7 @@ MASTER_SITES= ftp://ftp.hitachi-ms.co.jp/pub/bjorb/
|
||||
|
||||
MAINTAINER= issei@jp.FreeBSD.org
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.if !defined(BATCH)
|
||||
INSTALL_TARGET= install certificate
|
||||
|
@ -16,7 +16,7 @@ MASTER_SITE_SUBDIR= stb/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail
|
||||
|
||||
MAINTAINER= hetzels@westbend.net
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
|
@ -16,7 +16,7 @@ MASTER_SITE_SUBDIR= stb/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail
|
||||
|
||||
MAINTAINER= hetzels@westbend.net
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
|
@ -12,7 +12,7 @@ MASTER_SITES= http://www.cis.upenn.edu/~angelos/Code/
|
||||
|
||||
MAINTAINER= kris@FreeBSD.org
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
@ -16,14 +16,11 @@ EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= green@FreeBSD.org
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
CRYPTOLIBS= -L${OPENSSLLIB} -lcrypto
|
||||
.if defined(OPENSSL_RSAREF)
|
||||
CRYPTOLIBS+= -lRSAglue -L${LOCALBASE}/lib -lrsaref
|
||||
.endif
|
||||
# Here, MANDIR is concetenated to DESTDIR which all forms the man install dir...
|
||||
MAKE_ENV+= DESTDIR=${PREFIX} MANDIR=/man/man CRYPTOLIBS="${CRYPTOLIBS}"
|
||||
.if ${OSVERSION} < 400014
|
||||
|
@ -5,76 +5,41 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# Pick an initial default, else it doesn't get set in the INDEX.
|
||||
PORTNAME= pgp
|
||||
PORTVERSION= 2.6.3i
|
||||
CATEGORIES= security
|
||||
DISTNAME= pgp262s
|
||||
MASTER_SITES= ftp://ftp.ifi.uio.no/pub/pgp/2.x/src/ \
|
||||
ftp://ftp.kiarchive.ru/pub/unix/crypto/pgp/
|
||||
DISTNAME= pgp263is
|
||||
|
||||
MAINTAINER= ache@FreeBSD.org
|
||||
|
||||
# Need to define USA_RESIDENT to YES or NO
|
||||
IS_INTERACTIVE= YES
|
||||
RESTRICTED= "Crypto"
|
||||
WRKSRC= ${WRKDIR}/src
|
||||
FILESDIR= ${.CURDIR}/files.non_usa
|
||||
PATCHDIR= ${.CURDIR}/patches.non_usa
|
||||
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= freebsd-${MACHINE_ARCH} OS_CFLAGS="${CFLAGS}"
|
||||
PGPLIB= ${PREFIX}/lib/pgp
|
||||
MAN1= pgp.1
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; install -c -o bin -g bin -m 555 pgp ${PREFIX}/bin
|
||||
cd ${WRKSRC}; ${INSTALL_PROGRAM} -c -o bin -g bin -m 555 pgp ${PREFIX}/bin
|
||||
cd ${WRKSRC}/../doc; \
|
||||
install -c -o bin -g bin -m 444 pgp.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} -c -o bin -g bin -m 444 pgp.1 ${PREFIX}/man/man1
|
||||
-${MKDIR} ${PGPLIB}
|
||||
${CHMOD} 555 ${PGPLIB}
|
||||
cd ${WRKSRC}/..; \
|
||||
install -c -o bin -g bin -m 444 pgp.hlp \
|
||||
${INSTALL_DATA} -c -o bin -g bin -m 444 pgp.hlp \
|
||||
doc/pgpdoc1.txt doc/pgpdoc2.txt ${PGPLIB}; \
|
||||
[ -f ${PGPLIB}/language.txt ] || \
|
||||
install -c -o bin -g bin -m 444 language.txt ${PGPLIB}; \
|
||||
${INSTALL_DATA} -c -o bin -g bin -m 444 language.txt ${PGPLIB}; \
|
||||
[ -f ${PGPLIB}/config.txt ] || \
|
||||
install -c -o bin -g bin -m 444 config.txt ${PGPLIB}
|
||||
${INSTALL_DATA} -c -o bin -g bin -m 444 config.txt ${PGPLIB}
|
||||
-${PREFIX}/bin/pgp > /dev/null 2>&1 # update .idx file
|
||||
|
||||
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
|
||||
pre-fetch:
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} You must set variable USA_RESIDENT to YES, if you are USA resident
|
||||
@${ECHO_MSG} or to NO, if you aren\'t USA resident to build this package
|
||||
@${FALSE}
|
||||
.elif defined(USA_RESIDENT)
|
||||
.if ${USA_RESIDENT} == YES
|
||||
PORTNAME= pgp
|
||||
PORTVERSION= 2.6.2
|
||||
MASTER_SITES= ftp://utopia.hacktic.nl/pub/crypto/pgp/unix/
|
||||
DISTNAME= pgp262s
|
||||
|
||||
WRKSRC= ${WRKDIR}/src
|
||||
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
|
||||
LIB_DEPENDS+= rsaref.2:${PORTSDIR}/security/rsaref
|
||||
USE_ZIP= yes
|
||||
FILESDIR= ${.CURDIR}/files.usa
|
||||
PATCHDIR= ${.CURDIR}/patches.usa
|
||||
|
||||
post-extract:
|
||||
cd ${WRKDIR}; $(EXTRACT_CMD) $(EXTRACT_BEFORE_ARGS) -aa $(DISTNAME)i \
|
||||
$(EXTRACT_AFTER_ARGS)
|
||||
cd ${WRKDIR}; ${RM} -f *.zip
|
||||
|
||||
.else
|
||||
PORTNAME= pgp
|
||||
PORTVERSION= 2.6.3ia
|
||||
MASTER_SITES= ftp://ftp.ifi.uio.no/pub/pgp/2.x/src/ \
|
||||
ftp://ftp.kiarchive.ru/pub/unix/crypto/pgp/
|
||||
DISTNAME= pgp263is
|
||||
|
||||
WRKSRC= ${WRKDIR}/src
|
||||
FILESDIR= ${.CURDIR}/files.non_usa
|
||||
PATCHDIR= ${.CURDIR}/patches.non_usa
|
||||
|
||||
post-extract:
|
||||
cd ${WRKDIR}; $(TAR) -xf pgp263ii.tar; \
|
||||
${RM} -f pgp263ii.tar
|
||||
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,7 +16,7 @@ MAINTAINER= sumikawa@FreeBSD.org
|
||||
BROKEN= "You must upgrade the OS"
|
||||
.endif
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/racoon
|
||||
GNU_CONFIGURE= yes
|
||||
|
@ -16,7 +16,7 @@ MAINTAINER= sumikawa@FreeBSD.org
|
||||
BROKEN= "You must upgrade the OS"
|
||||
.endif
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/racoon
|
||||
GNU_CONFIGURE= yes
|
||||
|
@ -15,7 +15,7 @@ MAINTAINER= shipley@dis.org
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if ${OSVERSION} <= 300000
|
||||
|
@ -13,7 +13,7 @@ DISTNAME= sslproxy.2000_Jan_29
|
||||
|
||||
MAINTAINER= alexlh@funk.org
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sslproxy ${PREFIX}/bin/sslproxy
|
||||
|
@ -13,7 +13,7 @@ DISTNAME= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ZGabor@CoDe.HU
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
WRKSRC= ${WRKDIR}/sslwrap205
|
||||
|
||||
|
@ -17,7 +17,7 @@ EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= martti.kuparinen@ericsson.com
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
USE_AUTOCONF= yes
|
||||
CONFIGURE_ARGS= --localstatedir=/var/run
|
||||
|
@ -15,7 +15,7 @@ MAINTAINER= greg@hewgill.com
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libbz2.a:${PORTSDIR}/archivers/bzip2
|
||||
|
||||
USE_OPENSSL= NORSA
|
||||
USE_OPENSSL= YES
|
||||
USE_PERL5= yes
|
||||
|
||||
MAN1= zebedee.1 ftpgw.tcl.1
|
||||
|
@ -42,7 +42,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
|
||||
MAINTAINER= rse@engelschall.com
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -44,7 +44,7 @@ Y2K= http://www.apache-ssl.org/#Y2K
|
||||
APACHE_VERSION= 1.3.12
|
||||
APACHE_SSL_VERSION= 1.40
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -52,15 +52,8 @@ USE_OPENSSL= RSA
|
||||
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
|
||||
#
|
||||
|
||||
.if !defined(OPENSSLINC)
|
||||
OPENSSLINC= ${PREFIX}/ssl/include
|
||||
.endif
|
||||
CFLAGS+= -I${OPENSSLINC}/openssl
|
||||
|
||||
.if !defined(OPENSSLLIB)
|
||||
OPENSSLLIB= ${PREFIX}/ssl/lib
|
||||
.endif
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= \
|
||||
--prefix=${PREFIX} \
|
||||
@ -90,11 +83,7 @@ CFLAGS+= -O6 -fomit-frame-pointer
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= OPTIM='${OPTIM}'
|
||||
.if defined(OPENSSL_RSAREF)
|
||||
CONFIGURE_ENV+= EXTRA_SSL_LIBS="-L${OPENSSLLIB} -lRSAglue -L${LOCALBASE}/lib -lrsaref"
|
||||
.else
|
||||
CONFIGURE_ENV+= EXTRA_SSL_LIBS="-L${OPENSSLLIB} -L${LOCALBASE}/lib"
|
||||
.endif
|
||||
|
||||
MAN1= dbmmanage.1 htdigest.1 htpasswd.1
|
||||
MAN8= ab.8 httpsdctl.8 apxs.8 httpsd.8 logresolve.8 rotatelogs.8
|
||||
|
@ -11,7 +11,7 @@ CATEGORIES= www
|
||||
MASTER_SITES= ftp://lynx.isc.org/current/
|
||||
DISTNAME= lynx2.8.3rel.1
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -11,6 +11,6 @@ MASTERDIR= ${.CURDIR}/../../www/w3m
|
||||
PKGDIR= ${.CURDIR}/pkg
|
||||
PLIST= ${MASTERDIR}/pkg/PLIST
|
||||
|
||||
USE_OPENSSL= RSA
|
||||
USE_OPENSSL= YES
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -48,9 +48,6 @@ SSL_LIBS= -L${OPENSSLLIB} -lssl -lcrypto
|
||||
|
||||
SED_CMD+= -e "s,undef USE_SSL,define USE_SSL,g" \
|
||||
-e "s,undef USE_SSL_VERIFY, define USE_SSL_VERIFY,g"
|
||||
.if defined(OPENSSL_RSAREF)
|
||||
EXTRA_SSL_LIBS= -lRSAglue -lrsaref
|
||||
.endif
|
||||
MAKE_FLAGS+= DEFS="${SSL_CFLAGS} -I${LOCALBASE}/include" \
|
||||
LIBS="${SSL_LIBS} ${EXTRA_SSL_LIBS} -L${LOCALBASE}/lib"
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user