Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 1998 14:45:28 +0900 (JST)
From:      issei@jp.FreeBSD.ORG
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7740: Update ports: net/SSLtelnet
Message-ID:  <199808250545.OAA08554@urd.mikage.t-cnet.or.jp>

next in thread | raw e-mail | index | archive | help

>Number:         7740
>Category:       ports
>Synopsis:       Update ports: net/SSLtelnet
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 24 22:50:00 PDT 1998
>Last-Modified:
>Originator:     Issei Suzuki
>Organization:
A Site under T-CNET
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

	

>Description:

Update ports: net/SSLtelnet

1. The net/SSLtelnet in ports-currnet cannot be compiled with SSLeay library using 
   security/rsaref. If you set USA_RESIDENT=YES in /etc/make.conf and compile SSLeay
   library, you will encounter this problem.

2. Change the maintainer's e-mail address from <issei@t-cnet.or.jp> to
   <issei@jp.FreeBSD.ORG>. Only the address has been changed, the maintainer
   is still the same person.

>How-To-Repeat:

	

>Fix:

Apply this patch to net/SSLtelnet in ports-current.	


diff -urN SSLtelnet.old/Makefile SSLtelnet/Makefile
--- SSLtelnet.old/Makefile	Thu Jun  4 12:58:04 1998
+++ SSLtelnet/Makefile	Wed Jul 22 15:19:01 1998
@@ -1,7 +1,7 @@
 # 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.2 1998/06/04 03:58:04 vanilla Exp $
 
@@ -9,7 +9,23 @@
 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 -urN SSLtelnet.old/files/Makefile.patch SSLtelnet/files/Makefile.patch
--- SSLtelnet.old/files/Makefile.patch	Thu Jan  1 09:00:00 1970
+++ SSLtelnet/files/Makefile.patch	Wed Jul 22 15:24:58 1998
@@ -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
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808250545.OAA08554>