Bug 175130 - update port net/libvncserver
update port net/libvncserver
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Baptiste Daroussin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-08 12:50 UTC by d.y.kazarov
Modified: 2013-03-23 19:30 UTC (History)
0 users

See Also:


Attachments
file.diff (958 bytes, patch)
2013-01-08 12:50 UTC, d.y.kazarov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description d.y.kazarov 2013-01-08 12:50:00 UTC
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.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2013-01-08 12:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bapt

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Baptiste Daroussin freebsd_committer 2013-03-23 19:25:05 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter freebsd_committer 2013-03-23 19:25:13 UTC
Author: bapt
Date: Sat Mar 23 19:25:00 2013
New Revision: 315074
URL: http://svnweb.freebsd.org/changeset/ports/315074

Log:
  Add an ipv6 option
  Fix openssl option
  
  PR:		ports/175130
  Submitted by:	Dmitry Kazarov <d.y.kazarov@mail.ru>

Modified:
  head/net/libvncserver/Makefile

Modified: head/net/libvncserver/Makefile
==============================================================================
--- head/net/libvncserver/Makefile	Sat Mar 23 19:22:07 2013	(r315073)
+++ head/net/libvncserver/Makefile	Sat Mar 23 19:25:00 2013	(r315074)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libvncserver
 PORTVERSION=	0.9.9
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net devel
 MASTER_SITES=	SF
 DISTNAME=	LibVNCServer-${PORTVERSION}
@@ -23,7 +23,7 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--without-x
 
-OPTIONS_DEFINE=	GNUTLS OPENSSL GCRYPT
+OPTIONS_DEFINE=	GNUTLS OPENSSL GCRYPT IPV6
 OPTIONS_DEFAULT=	OPENSSL
 GNUTLS_DESC=	Enable GnuTLS support
 OPENSSL_DESC=	Enable OpenSSL support
@@ -32,7 +32,7 @@ GCRYPT_DESC=	Enable libgcrypt support
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MGNUTLS}
-LIB_DEPENDS+=	gnutls:${PORTSDIR}/security/gnutls
+LIB_DEPENDS+=		gnutls:${PORTSDIR}/security/gnutls
 CONFIGURE_ARGS+=	--with-gnutls
 .else
 CONFIGURE_ARGS+=	--without-gnutls
@@ -40,18 +40,24 @@ CONFIGURE_ARGS+=	--without-gnutls
 
 .if ${PORT_OPTIONS:MOPENSSL}
 USE_OPENSSL=	yes
-CONFIGURE_ARGS=		--with-ssl
+CONFIGURE_ARGS+=	--with-ssl
 .else
 CONFIGURE_ARGS+=	--without-crypto --without-ssl
 .endif
 
 .if ${PORT_OPTIONS:MGCRYPT}
-LIB_DEPENDS+=	gcrypt:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS+=		gcrypt:${PORTSDIR}/security/libgcrypt
 CONFIGURE_ARGS+=	--with-gcrypt
 .else
 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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"