From tmseck@netcologne.de  Sat Oct  6 12:43:47 2007
Return-Path: <tmseck@netcologne.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7405016A417
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  6 Oct 2007 12:43:47 +0000 (UTC)
	(envelope-from tmseck@netcologne.de)
Received: from smtp3.netcologne.de (smtp3.netcologne.de [194.8.194.66])
	by mx1.freebsd.org (Postfix) with ESMTP id 047DE13C447
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  6 Oct 2007 12:43:46 +0000 (UTC)
	(envelope-from tmseck@netcologne.de)
Received: from laurel.tmseck.homedns.org (xdsl-213-196-221-210.netcologne.de [213.196.221.210])
	by smtp3.netcologne.de (Postfix) with SMTP id 34D9C678B0
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  6 Oct 2007 14:43:45 +0200 (CEST)
Received: (qmail 1028 invoked from network); 6 Oct 2007 12:43:46 -0000
Received: from unknown (HELO hardy.tmseck.homedns.org) (192.168.1.2)
  by 0 with SMTP; 6 Oct 2007 12:43:46 -0000
Received: from hardy.tmseck.homedns.org (localhost [127.0.0.1])
	by hardy.tmseck.homedns.org (8.14.1/8.14.1) with ESMTP id l96ChhtA006644;
	Sat, 6 Oct 2007 14:43:44 +0200 (CEST)
	(envelope-from tmseck@netcologne.de)
Received: (from thomas@localhost)
	by hardy.tmseck.homedns.org (8.14.1/8.14.1/Submit) id l96ChdUf006643;
	Sat, 6 Oct 2007 14:43:39 +0200 (CEST)
	(envelope-from tmseck@netcologne.de)
Message-Id: <200710061243.l96ChdUf006643@hardy.tmseck.homedns.org>
Date: Sat, 6 Oct 2007 14:43:39 +0200 (CEST)
From: Thomas-Martin Seck <tmseck@netcologne.de>
Reply-To: Thomas-Martin Seck <tmseck@netcologne.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [Maintainer] www/dillo-i18n: allow conditional disabling of IPv6 support
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         116973
>Category:       ports
>Synopsis:       [Maintainer] www/dillo-i18n: allow conditional disabling of IPv6 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 06 12:50:02 GMT 2007
>Closed-Date:    Sat Oct 06 13:41:07 GMT 2007
>Last-Modified:  Sat Oct  6 13:50:03 GMT 2007
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of October 6, 2007.

	
>Description:
Implement handling of the global WITHOUT_IPV6 and its local equivalent
WITHOUT_DILLO_IPV6 if one needs to disable IPv6 support.

While at it, remove no longer relevant notes about 4.x and SSL support.
	
>How-To-Repeat:
	
>Fix:
Apply this patch:

Index: Makefile
===================================================================
--- Makefile	(.../www/dillo-i18n)	(revision 1269)
+++ Makefile	(.../local/dillo-i18n)	(revision 1269)
@@ -11,11 +11,8 @@
 # WITHOUT_DILLO_ANTIALIAS:	disable support for antialiased display
 # WITH_DILLO_DLGUI:		enable experimental FLTK2 based gui for file
 # 				downloads
+# WITHOUT_DILLO_IPV6:		disable IPv6 support
 #
-# TODO:
-# SSL support is currently partly broken in this version of the i18n Dillo:
-# On FreeBSD 4 with OpenSSL 0.9.7d, the configure script uses checks that are
-# too strict. On FreeBSD 5 and 6 it seems to work OK.
 
 PORTNAME=	dillo
 PORTVERSION=	${DILLOVERSION}.${I18NVERSION}
@@ -44,7 +41,7 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" \
 		LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS=	--enable-cookies --enable-ipv6 --enable-threaded-dns \
+CONFIGURE_ARGS=	--enable-cookies --enable-threaded-dns \
 		--libdir=${PREFIX}/libexec
 
 CONFLICTS=	dillo-[0-9].[0-9].[0-9]*
@@ -59,8 +56,6 @@
 .endif
 
 .if defined(WITH_DILLO_SSL)
-# Note: the configure script will deactivate SSL support on 4.x systems.
-# This might get fixed someday so I activate this option unconditionally.
 CONFIGURE_ARGS+=	--enable-ssl
 USE_OPENSSL=	yes
 .else
@@ -95,6 +90,10 @@
 CONFIGURE_ARGS+=	--disable-dlgui
 .endif
 
+.if !defined(WITHOUT_DILLO_IPV6) && !defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=	--enable-ipv6
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
 		 s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure
@@ -127,7 +126,11 @@
 	@${ECHO_CMD} "   Set WITH_DILLO_DLGUI=yes in your make environment or on the"
 	@${ECHO_CMD} "   commandline to enable a FLTK2 based gui for download operations."
 .endif
-
+.if !defined(WITHOUT_DILLO_IPV6) && !defined(WITHOUT_IPV6)
 	@${ECHO_CMD} ""
+	@${ECHO_CMD} "   Set WITHOUT_DILLO_IPV6=yes (or WITHOUT_IPV6=yes) in your make"
+	@${ECHO_CMD} "   environment or on the commandline to disable IPv6 support."
+.endif
+	@${ECHO_CMD} ""
 
 .include <bsd.port.mk>
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Sat Oct 6 13:38:50 UTC 2007 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116973 
State-Changed-From-To: open->closed 
State-Changed-By: stefan 
State-Changed-When: Sat Oct 6 13:40:52 UTC 2007 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116973 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/116973: commit references a PR
Date: Sat,  6 Oct 2007 13:40:39 +0000 (UTC)

 stefan      2007-10-06 13:40:33 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/dillo-i18n       Makefile 
   Log:
   Implement handling of the global WITHOUT_IPV6 and its local equivalent
   WITHOUT_DILLO_IPV6 if one needs to disable IPv6 support.
   
   While at it, remove no longer relevant notes about 4.x and SSL support.
   
   PR:             116973
   Submitted by:   maintainer
   
   Revision  Changes    Path
   1.41      +11 -8     ports/www/dillo-i18n/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
