aboutsummaryrefslogtreecommitdiff
path: root/net/SSLtelnet
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-08-26 09:14:54 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-08-26 09:14:54 +0000
commitaf4cd62f15f3c88eb30e90957a7ed8b8f6ce2e41 (patch)
tree0fbe29fbd7860b5dc36674738399299f525aa25f /net/SSLtelnet
parent22a6ca156371653a5e5950079f39cbd019f0ff19 (diff)
downloadports-af4cd62f15f3c88eb30e90957a7ed8b8f6ce2e41.tar.gz
ports-af4cd62f15f3c88eb30e90957a7ed8b8f6ce2e41.zip
Notes
Diffstat (limited to 'net/SSLtelnet')
-rw-r--r--net/SSLtelnet/Makefile22
-rw-r--r--net/SSLtelnet/files/Makefile.patch11
2 files changed, 30 insertions, 3 deletions
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