aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>1998-08-26 17:14:54 +0800
committervanilla <vanilla@FreeBSD.org>1998-08-26 17:14:54 +0800
commit99d788c275a3d5e0c7ec88952fd3a4a19d7f2565 (patch)
tree826e432bbd9d3738fd4f2e1d089c80a9ca7fc1ad /net
parentc7d636cf198de7353966b085cf3af33ceedb92b4 (diff)
downloadfreebsd-ports-gnome-99d788c275a3d5e0c7ec88952fd3a4a19d7f2565.tar.gz
freebsd-ports-gnome-99d788c275a3d5e0c7ec88952fd3a4a19d7f2565.tar.zst
freebsd-ports-gnome-99d788c275a3d5e0c7ec88952fd3a4a19d7f2565.zip
Change maintainer's email address, and add depends with rsaref.
PR: ports/7740 Submitted by: maintainer
Diffstat (limited to 'net')
-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