Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 1999 10:48:27 +0200 (EET)
From:      martti.kuparinen@ericsson.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10484: SOLUTION for ports/security/stunnel problems
Message-ID:  <199903080848.KAA45454@ws70.research.zopps.fi>

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

>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




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