From owner-freebsd-ports Mon Mar 8 1: 0:43 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 29BAB14E8B for ; Mon, 8 Mar 1999 01:00:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id BAA49602; Mon, 8 Mar 1999 01:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from server.research.zopps.fi (ws66.research.zopps.fi [195.165.196.66]) by hub.freebsd.org (Postfix) with ESMTP id 640B514BE9 for ; Mon, 8 Mar 1999 00:50:44 -0800 (PST) (envelope-from martti@research.zopps.fi) Received: from ws70.research.zopps.fi (ws70.research.zopps.fi [195.165.196.70]) by server.research.zopps.fi (8.9.2/8.8.8) with ESMTP id KAA81695 for ; Mon, 8 Mar 1999 10:48:58 +0200 (EET) (envelope-from martti.kuparinen) Received: (from martti@localhost) by ws70.research.zopps.fi (8.9.2/8.8.8) id KAA45454; Mon, 8 Mar 1999 10:48:27 +0200 (EET) (envelope-from martti@smtp.research.zopps.fi) Message-Id: <199903080848.KAA45454@ws70.research.zopps.fi> Date: Mon, 8 Mar 1999 10:48:27 +0200 (EET) From: martti.kuparinen@ericsson.com Reply-To: martti.kuparinen@ericsson.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/10484: SOLUTION for ports/security/stunnel problems Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10484 >Category: ports >Synopsis: stunnel won't compile when "USA_RESIDENT=NO" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 8 01:00:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Martti Kuparinen >Release: FreeBSD 3.1-RELEASE i386 >Organization: Oy L M Ericsson Ab >Environment: FreeBSD ws70 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Tue Mar 2 10:19:29 EET 1999 root@ws70:/usr/src/sys/compile/WS70 i386 >Description: ports/security/stunnel won't compile on machines with "USA_RESIDENT=NO" as security/rsaref may not be installed (because the world != USA :-). The following patch makes sure rsaref is installed even if it was not installed by the SSLeay-0.9.0b port. >How-To-Repeat: # setenv USA_RESIDENT NO # cd /usr/ports/security/stunnel # make install [...] ===> Installing for SSLeay-0.9.0b [...] ===> Building for stunnel-2.1 cc -c -O -pipe -Wall -I/usr/local/include stunnel.c cc -s -o stunnel stunnel.o -L/usr/local/lib -lssl -lcrypto -lRSAglue -lrsaref /usr/libexec/elf/ld: cannot open -lrsaref: No such file or directory *** Error code 1 >Fix: Apply the following patch: *** security/stunnel/Makefile.orig Thu Feb 4 07:32:35 1999 --- security/stunnel/Makefile Mon Mar 8 10:39:36 EET 1999 *************** *** 15,21 **** MAINTAINER= martti.kuparinen@ericsson.com ! BUILD_DEPENDS= ssleay:${PORTSDIR}/security/SSLeay \ ${PREFIX}/lib/libssl.a:${PORTSDIR}/security/SSLeay \ ${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/SSLeay RUN_DEPENDS= ssleay:${PORTSDIR}/security/SSLeay --- 15,22 ---- MAINTAINER= martti.kuparinen@ericsson.com ! BUILD_DEPENDS= ${PREFIX}/lib/librsaref.a:${PORTSDIR}/security/rsaref \ ! ssleay:${PORTSDIR}/security/SSLeay \ ${PREFIX}/lib/libssl.a:${PORTSDIR}/security/SSLeay \ ${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/SSLeay RUN_DEPENDS= ssleay:${PORTSDIR}/security/SSLeay >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message