ports/57495: It is not possible to build port dns/bind9 due to the bug with USE_OPENSSL

Andrey Beresovsky and at rsu.ru
Thu Oct 2 13:10:13 UTC 2003


>Number:         57495
>Category:       ports
>Synopsis:       It is not possible to build port dns/bind9 due to the bug with USE_OPENSSL
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 02 06:10:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Beresovsky
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Rostov State University
>Environment:
System: FreeBSD 5.1-CURRENT


	
>Description:
USE_OPENSSL should be defined before inclusion of bsd.port.pre.mk. Currently port on systems without 
base openssl is broken because OPENSSLBASE is not defined. Attached patch should solve this problem.
In fact I think it would be better to make openssl support user definable. I suppose '.if ${OSVERSION} >= 400014'
is not needed any more. I would appreciate having WITH_OPENSSL as an option for this port but this should be 
decided by maintainer.
>How-To-Repeat:
	
>Fix:
--- Makefile.orig       Thu Oct  2 15:30:27 2003
+++ Makefile    Thu Oct  2 16:58:07 2003
@@ -29,11 +29,14 @@
 CONFIGURE_ARGS=        --localstatedir=/var --disable-linux-caps --disable-threads \
                --with-randomdev=/dev/random

+USE_OPENSSL=   yes
+
 .include <bsd.port.pre.mk>

 .if ${OSVERSION} >= 400014
-USE_OPENSSL=   yes
 CONFIGURE_ARGS+=       --with-openssl=${OPENSSLBASE}
+.else
+CONFIGURE_ARGS+=        --with-openssl=no
 .endif

 .if defined(PORT_REPLACES_BASE_BIND9)

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list