From owner-freebsd-ports Tue Aug 17 19:52: 9 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 6A11414EC5 for ; Tue, 17 Aug 1999 19:52:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA97098; Tue, 17 Aug 1999 19:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from server.mindstep.com (cr480472-a.slnt1.on.wave.home.com [24.112.33.138]) by hub.freebsd.org (Postfix) with SMTP id 9524F14C33 for ; Tue, 17 Aug 1999 19:46:33 -0700 (PDT) (envelope-from patrick@server.mindstep.com) Received: (qmail 58575 invoked by alias); 18 Aug 1999 02:45:57 -0000 Received: (qmail 58571 invoked by uid 0); 18 Aug 1999 02:45:56 -0000 Message-Id: <19990818024556.58570.qmail@server.mindstep.com> Date: 18 Aug 1999 02:45:56 -0000 From: patrick@server.mindstep.com To: freefall-gnats@server.mindstep.com Cc: martti.kuparinen@ericsson.com X-Send-Pr-Version: 3.110 Subject: ports/13216: stunnel does not build from the port collection Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 13216 >Category: ports >Synopsis: stunnel does not build from the port collection >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 17 19:50:02 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Patrick Bihan-Faou >Release: freebsd-3.2-STABLE >Organization: MindStep Corporation >Environment: System: FreeBSD penpro.local.mindstep.com 3.2-STABLE FreeBSD 3.2-STABLE #14: Wed Jul 28 12:13:59 EDT 1999 serge@penpro.local.mindstep.com:/usr/src/sys/compile/PENPRO i386 Current version of the stunnel port (checked-out on August 17, 1999) >Description: The autoconf script generates a makefile with an incorrect order for the openSSL libraries. This prevents the port from linking properly. >How-To-Repeat: cd /usr/ports/security/stunnel make >Fix: The following patch corrects the autoconf script (configure.in) from the source distribution and re-runs autoconf. This also means that for now this port depends on autoconf being installed (this is verified by the patched port Makefile). diff -ruN stunnel.orig/Makefile stunnel/Makefile --- stunnel.orig/Makefile Tue Aug 17 22:38:08 1999 +++ stunnel/Makefile Tue Aug 17 17:06:47 1999 @@ -18,7 +18,8 @@ BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl \ ${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl \ - ${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl + ${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl \ + autoconf:${PORTSDIR}/devel/autoconf:install RUN_DEPENDS= openssl:${PORTSDIR}/security/openssl .if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES @@ -31,6 +32,9 @@ cert: @(cd ${WRKSRC}; make cert) + +post-patch: + @(cd ${WRKSRC}; autoconf) post-build: @${ECHO} "" diff -ruN stunnel.orig/patches/patch-aa stunnel/patches/patch-aa --- stunnel.orig/patches/patch-aa Wed Dec 31 19:00:00 1969 +++ stunnel/patches/patch-aa Tue Aug 17 17:01:32 1999 @@ -0,0 +1,11 @@ +--- configure.in.orig Wed Jun 9 10:57:32 1999 ++++ configure.in Tue Aug 17 16:58:58 1999 +@@ -50,7 +50,7 @@ + + AC_MSG_CHECKING([for RSAref library]) + saved_LIBS="$LIBS" +-LIBS="-lRSAglue -lrsaref $saved_LIBS" ++LIBS="$saved_LIBS -lRSAglue -lrsaref" + AC_TRY_LINK([], [], + [AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)]; LIBS="$saved_LIBS") >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message