From turbo@conversation.bsdunix.ch  Wed Mar 10 11:00:04 2004
Return-Path: <turbo@conversation.bsdunix.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9471A16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Mar 2004 11:00:04 -0800 (PST)
Received: from conversation.bsdunix.ch (zux187-250.adsl.green.ch [80.254.187.250])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7A28643D31
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Mar 2004 11:00:03 -0800 (PST)
	(envelope-from turbo@conversation.bsdunix.ch)
Received: from conversation.bsdunix.ch (localhost.bsdunix.ch [127.0.0.1])
	by conversation.bsdunix.ch (8.12.9p2/8.12.9) with ESMTP id i2AIxI4q074945
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Mar 2004 19:59:18 +0100 (CET)
	(envelope-from turbo@conversation.bsdunix.ch)
Received: (from turbo@localhost)
	by conversation.bsdunix.ch (8.12.9p2/8.12.9/Submit) id i2AIxHhb074944;
	Wed, 10 Mar 2004 19:59:17 +0100 (CET)
	(envelope-from turbo)
Message-Id: <200403101859.i2AIxHhb074944@conversation.bsdunix.ch>
Date: Wed, 10 Mar 2004 19:59:17 +0100 (CET)
From: Thomas Vogt <thomas@bsdunix.ch>
Reply-To: Thomas Vogt <thomas@bsdunix.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] dns/djbdns: add ignore ips patch option
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         64062
>Category:       ports
>Synopsis:       [patch] dns/djbdns: add ignore ips patch option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 10 11:00:35 PST 2004
>Closed-Date:    Wed Mar 10 23:47:35 PST 2004
>Last-Modified:  Wed Mar 10 23:47:35 PST 2004
>Originator:     Thomas Vogt
>Release:        FreeBSD 4.9-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD conversation.bsdunix.ch 4.9-RELEASE-p3 FreeBSD 4.9-RELEASE-p3 #1: Thu Mar 4 00:32:18 CET 2004 root@conversation.bsdunix.ch:/usr/obj/usr/src/sys/CONVERSATION i386


	
>Description:
This patch change djbdns's dnscache programm so that it will ignore the IP address given in the ignoreip file. 
>How-To-Repeat:
	
>Fix:

--- Makefile.orig	Wed Mar 10 19:43:45 2004
+++ Makefile	Wed Mar 10 19:46:29 2004
@@ -47,6 +47,12 @@
 CFLAGS+=	-DDUMPCACHE
 .endif
 
+.if defined(WITH_IGNORE_IPS)
+PATCH_SITES+=	http://tinydns.org/
+PATCHFILES+=	djbdns-1.05-ignoreip2.patch
+PATCH_DIST_STRIP=	-p1
+.endif
+
 DJBDNS_VER=	1.05
 DJBDNS_V6_VER=	test14
 
@@ -74,6 +80,8 @@
 	@${ECHO} "                            http://www.fefe.de/dns/"
 	@${ECHO} "- WITH_DNSCACHE_DUMPCACHE - build with the persistent cache patch for dnscache"
 	@${ECHO} "                            http://efge.free.fr/djbdns/"
+	@${ECHO} "- WITH_IGNORE_IPS         - build with the ignore ips patch"
+	@${ECHO} "                            http://http://tinydns.org/djbdns-1.05-ignoreip2.patch"
 	@${ECHO} "- WITHOUT_MAN             - do NOT install Gerritt Pape's manual pages"
 	@${ECHO} "                            http://smarden.org/pape/djb/manpages/"
 

--- distinfo.orig	Wed Mar 10 19:43:50 2004
+++ distinfo	Wed Mar 10 19:46:17 2004
@@ -2,3 +2,4 @@
 MD5 (djbdns-1.05-man-20031023.tar.gz) = 14d7329cff69f604fac607436eb8485e
 MD5 (djbdns-1.05-test14.diff.bz2) = 52bec93d7ce6226281082367e49157d3
 MD5 (patch-dnscache-dumpcache-v4.txt) = 61441dec12dd627a7fea7c3059cc2542
+MD5 (djbdns-1.05-ignoreip2.patch) = c032250b209d055847a763c8d9c7e865
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->roam 
Responsible-Changed-By: sergei 
Responsible-Changed-When: Wed Mar 10 14:05:49 PST 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64062 
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Wed Mar 10 23:46:57 PST 2004 
State-Changed-Why:  
Committed a similar fix as tracked by PR ports/56951. 
Still, thanks for your work! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64062 
>Unformatted:
