ports/175130: update port net/libvncserver

Dmitry Kazarov d.y.kazarov at mail.ru
Tue Jan 8 12:50:01 UTC 2013


>Number:         175130
>Category:       ports
>Synopsis:       update port net/libvncserver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 08 12:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Kazarov
>Release:        9.1-STABLE
>Organization:
>Environment:
FreeBSD Trudiaga.localdomain 9.1-STABLE FreeBSD 9.1-STABLE #0 r244912: Tue Jan  1 01:52:52 MSK 2013     root at Trudiaga.localdomain:/var/obj/usr/src/sys/GENERIC  amd64
>Description:
1. Line 43 discards previous state of CONFIGURE_ARGS variable:
CONFIGURE_ARGS=         --with-ssl

2. It's necessary to add possibility to disable/enable IPv6 support since some ports incorrectly configure IPv6 listener.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2012-12-31 18:44:47.000000000 +0400
+++ Makefile	2013-01-08 16:31:21.000000000 +0400
@@ -23,11 +23,12 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--without-x
 
-OPTIONS_DEFINE=	GNUTLS OPENSSL GCRYPT
-OPTIONS_DEFAULT=	OPENSSL
+OPTIONS_DEFINE=	GNUTLS OPENSSL GCRYPT IPV6
+OPTIONS_DEFAULT=	OPENSSL IPV6
 GNUTLS_DESC=	Enable GnuTLS support
 OPENSSL_DESC=	Enable OpenSSL support
 GCRYPT_DESC=	Enable libgcrypt support
+IPV6_DESC=	Enable IPv6 support
 
 .include <bsd.port.options.mk>
 
@@ -40,7 +41,7 @@
 
 .if ${PORT_OPTIONS:MOPENSSL}
 USE_OPENSSL=	yes
-CONFIGURE_ARGS=		--with-ssl
+CONFIGURE_ARGS+=	--with-ssl
 .else
 CONFIGURE_ARGS+=	--without-crypto --without-ssl
 .endif
@@ -52,6 +53,12 @@
 CONFIGURE_ARGS+=	--without-gcrypt
 .endif
 
+.if ${PORT_OPTIONS:MIPV6}
+CONFIGURE_ARGS+=	--with-ipv6
+.else
+CONFIGURE_ARGS+=	--without-ipv6
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure


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


More information about the freebsd-ports-bugs mailing list