ports/64062: [patch] dns/djbdns: add ignore ips patch option

Thomas Vogt thomas at bsdunix.ch
Wed Mar 10 19:00:35 UTC 2004


>Number:         64062
>Category:       ports
>Synopsis:       [patch] dns/djbdns: add ignore ips patch option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 10 11:00:35 PST 2004
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list