From 99d788c275a3d5e0c7ec88952fd3a4a19d7f2565 Mon Sep 17 00:00:00 2001 From: vanilla Date: Wed, 26 Aug 1998 09:14:54 +0000 Subject: Change maintainer's email address, and add depends with rsaref. PR: ports/7740 Submitted by: maintainer --- net/SSLtelnet/Makefile | 22 +++++++++++++++++++--- net/SSLtelnet/files/Makefile.patch | 11 +++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 net/SSLtelnet/files/Makefile.patch (limited to 'net') diff --git a/net/SSLtelnet/Makefile b/net/SSLtelnet/Makefile index a2dac13a7644..9d7e63a16114 100644 --- a/net/SSLtelnet/Makefile +++ b/net/SSLtelnet/Makefile @@ -1,15 +1,31 @@ # New ports collection makefile for: SSLtelnet # Version required: 0.11 # Date created: Mar 29, 1998 -# Whom: issei@t-cnet.or.jp +# Whom: issei@jp.FreeBSD.ORG # -# $Id: Makefile,v 1.1.1.1 1998/04/11 15:07:05 vanilla Exp $ +# $Id: Makefile,v 1.2 1998/06/04 03:58:04 vanilla Exp $ DISTNAME= SSLtelnet-0.11 CATEGORIES= net security MASTER_SITES= ftp://ftp.psy.uq.oz.au/pub/Crypto/SSLapps/ -MAINTAINER= issei@t-cnet.or.jp +MAINTAINER= issei@jp.FreeBSD.ORG + +.if defined(USA_RESIDENT) && ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO +pre-fetch: + @echo + @echo You must set variable USA_RESIDENT to YES, if you are USA resident + @echo or to NO, if you aren\'t USA resident to build this package. + @echo You must also have installed RSAREF if you are USA resident. + @false +.elif defined(USA_RESIDENT) +.if ${USA_RESIDENT} == YES +LIB_DEPENDS= rsaref\\.2\\.:${PORTSDIR}/security/rsaref + +pre-configure: + ${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/Makefile.patch +.endif +.endif BUILD_DEPENDS= ssleay:${PORTSDIR}/security/SSLeay RUN_DEPENDS= ssleay:${PORTSDIR}/security/SSLeay diff --git a/net/SSLtelnet/files/Makefile.patch b/net/SSLtelnet/files/Makefile.patch new file mode 100644 index 000000000000..d7255681eb5e --- /dev/null +++ b/net/SSLtelnet/files/Makefile.patch @@ -0,0 +1,11 @@ +--- Makefile.orig Wed Jul 22 15:23:12 1998 ++++ Makefile Wed Jul 22 15:24:43 1998 +@@ -98,7 +98,7 @@ + + #BSD386 + CC = gcc -DTERMCAP $(socksflags) +-LDADD = -ltermcap $(sockslib) ++LDADD = -L$(SSLTOP)/lib -lssl -lcrypto -lRSAglue -lrsaref -ltermcap $(sockslib) + + all: + @-mkdir bin 2>/dev/null -- cgit