Date: Tue, 8 Jan 2013 12:47:48 GMT From: Dmitry Kazarov <d.y.kazarov@mail.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/175130: update port net/libvncserver Message-ID: <201301081247.r08ClmL5034736@red.freebsd.org> Resent-Message-ID: <201301081250.r08Co0I8070849@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301081247.r08ClmL5034736>