Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2003 15:46:04 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53097: Update net/gnunet (maintainer): Added IPv6 support
Message-ID:  <E19PMyK-00071x-7m@voodoo.oberon.net>
Resent-Message-ID: <200306091350.h59DoJ64053483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53097
>Category:       ports
>Synopsis:       Update net/gnunet (maintainer): Added IPv6 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 09 06:50:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
Update net/gnunet (maintainer): Added IPv6 support

Bump PORTREVISION
Added IPv6 support
Fixed pkg-plist for IPv6 

>How-To-Repeat:
>Fix:
diff -urN gnunet.orig/Makefile gnunet/Makefile
--- gnunet.orig/Makefile	Mon Jun  2 17:37:30 2003
+++ gnunet/Makefile	Mon Jun  9 15:36:14 2003
@@ -8,6 +8,7 @@
 
 PORTNAME=	gnunet
 PORTVERSION=	0.5.4
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GNU} \
 		http://www.ovmj.org/GNUnet/download/
@@ -58,6 +59,14 @@
 CONFIGURE_ARGS+=	--without-bdb
 .endif
 
+.if defined(WITH_IPV6)
+PKGNAMESUFFIX=	-ipv6
+CONFIGURE_ARGS+=	--enable-ipv6
+PLIST_SUB+=	WITH_IPV6=""
+.else
+PLIST_SUB+=	WITH_IPV6="@comment "
+.endif
+
 MAN1=		gnunet-chat.1 gnunet-check.1 gnunet-convert.1 \
 		gnunet-delete.1 gnunet-download.1 gnunet-gtk.1 \
 		gnunet-insert-multi.1 gnunet-insert.1 gnunet-search.1 \
@@ -72,6 +81,7 @@
 	@${ECHO_MSG} "		WITH_TDB=yes		Turn on TDB support"
 	@${ECHO_MSG} "		WITH_BDB41=yes		Turn on Berkely DB library support"
 	@${ECHO_MSG} "		WITH_GDBM=yes		Turn on GNU dbm support"
+	@${ECHO_MSG} "		WITH_IPV6=yes		Turn on to enable IPv6 support"
 	@${ECHO_MSG} ""
 
 post-patch:
diff -urN gnunet.orig/pkg-plist gnunet/pkg-plist
--- gnunet.orig/pkg-plist	Mon May 26 11:17:52 2003
+++ gnunet/pkg-plist	Mon Jun  9 15:32:50 2003
@@ -66,9 +66,15 @@
 lib/libgnunettransport_tcp.la
 lib/libgnunettransport_tcp.so
 lib/libgnunettransport_tcp.so.0
+%%WITH_IPV6%%lib/libgnunettransport_tcp6.la
+%%WITH_IPV6%%lib/libgnunettransport_tcp6.so
+%%WITH_IPV6%%lib/libgnunettransport_tcp6.so.0
 lib/libgnunettransport_udp.la
 lib/libgnunettransport_udp.so
 lib/libgnunettransport_udp.so.0
+%%WITH_IPV6%%lib/libgnunettransport_udp6.la
+%%WITH_IPV6%%lib/libgnunettransport_udp6.so
+%%WITH_IPV6%%lib/libgnunettransport_udp6.so.0
 lib/libgnunetutil.la
 lib/libgnunetutil.so
 lib/libgnunetutil.so.0
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19PMyK-00071x-7m>