From cda9d9b14a963eb6633afc583c58a881feaa33cf Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 6 Feb 2000 22:25:15 +0000 Subject: USE_OPENSSL Assisted by: Jim Bloom --- www/lynx-ssl/Makefile | 18 +++++++----------- www/lynx-ssl/files/patch-aa | 6 +++--- 2 files changed, 10 insertions(+), 14 deletions(-) (limited to 'www/lynx-ssl') diff --git a/www/lynx-ssl/Makefile b/www/lynx-ssl/Makefile index 418366d58f1d..d4045f0c69bc 100644 --- a/www/lynx-ssl/Makefile +++ b/www/lynx-ssl/Makefile @@ -11,9 +11,12 @@ PKGNAME= lynx-ssl-2.8.2.1 CATEGORIES= www MASTER_SITES= http://sol.slcc.edu/lynx/current/ -.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES +USE_OPENSSL= RSA + +.include + +.if defined(OPENSSL_RSAREF) PATCH_SITES= http://www.moxienet.com/lynx/ -EXTRA_SSL_LIBS= "-lRSAglue -lrsaref" .else PATCH_SITES= ftp://ftp.musin.de/unix/ .endif @@ -22,18 +25,11 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= sec@42.org -BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl -LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl \ - ssl.1:${PORTSDIR}/security/openssl - -RESTRICTED= "Contains cryptography" - GNU_CONFIGURE= YES -CFLAGS+= -I${PREFIX}/include/openssl +CFLAGS+= -I${OPENSSLINC}/openssl CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${PREFIX}/etc" \ --enable-nsl-fork MAKEFILE= makefile -MAKE_ENV+= EXTRA_SSL_LIBS=${EXTRA_SSL_LIBS} INSTALL_TARGET= install install-help MAN1= lynx.1 @@ -43,4 +39,4 @@ post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/lynx_help ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/lynx.cfg -.include +.include diff --git a/www/lynx-ssl/files/patch-aa b/www/lynx-ssl/files/patch-aa index 38708c8f2b08..c7cfa0b60d08 100644 --- a/www/lynx-ssl/files/patch-aa +++ b/www/lynx-ssl/files/patch-aa @@ -1,5 +1,5 @@ ---- makefile.in.orig Wed Jun 9 23:24:37 1999 -+++ makefile.in Wed Jun 9 23:26:39 1999 +--- makefile.in.orig Sat Jan 29 23:43:49 2000 ++++ makefile.in Sun Jan 30 00:04:17 2000 @@ -54,7 +54,7 @@ DOCDIR= $(DESTDIR)$(docdir) @@ -15,7 +15,7 @@ # ability to make SSL connections. -SSL_DIR= /usr/local/ssl -SSL_LIBS= -L$(SSL_DIR)/lib -lssl -lcrypto -+SSL_DIR= $(prefix) ++SSL_DIR= $(OPENSSLBASE) +SSL_LIBS= -L$(SSL_DIR)/lib -lssl -lcrypto ${EXTRA_SSL_LIBS} SSL_DEFINES= -I$(SSL_DIR)/include -DUSE_SSL -- cgit v1.2.3