head 1.5; access; symbols pkgsrc-2017Q1:1.4.0.48 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.46 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.44 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.42 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.40 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.38 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.36 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.34 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.32 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.30 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.28 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.26 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.24 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.22 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.20 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.18 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.16 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.14 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.12 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.10 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.8 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.4 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.3.0.10 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.8 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.6 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.4 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.2 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.2.0.40 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.38 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.36 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.34 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.32 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.30 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.28 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.26 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.24 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.22 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.20 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.18 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.16 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.14 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.12 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.10 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.8 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.6 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.4 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.2 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.1.0.6 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2017.05.26.15.16.45; author schmonz; state dead; branches; next 1.4; commitid 9Zksw2FtEhSmBUSz; 1.4 date 2011.06.09.00.55.41; author schmonz; state Exp; branches; next 1.3; 1.3 date 2010.03.15.17.31.57; author schmonz; state Exp; branches; next 1.2; 1.2 date 2004.09.01.20.07.35; author schmonz; state dead; branches; next 1.1; 1.1 date 2003.09.24.03.28.14; author schmonz; state Exp; branches; next ; desc @@ 1.5 log @Modernize patch filenames. No functional change intended. @ text @$NetBSD: patch-ad,v 1.4 2011/06/09 00:55:41 schmonz Exp $ DESTDIR support. --- Makefile.orig 2001-02-11 21:11:45.000000000 +0000 +++ Makefile @@@@ -29,6 +29,14 @@@@ auto-str.o: \ compile auto-str.c buffer.h exit.h ./compile auto-str.c +auto_destdir.c: \ +auto-str conf-destdir + ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c + +auto_destdir.o: \ +compile auto_destdir.c + ./compile auto_destdir.c + auto_home.c: \ auto-str conf-home ./auto-str auto_home `head -1 conf-home` > auto_home.c @@@@ -519,16 +527,16 @@@@ compile hier.c auto_home.h ./compile hier.c install: \ -load install.o hier.o auto_home.o buffer.a unix.a byte.a - ./load install hier.o auto_home.o buffer.a unix.a byte.a +load install.o hier.o auto_destdir.o buffer.a unix.a byte.a + ./load install hier.o auto_destdir.o buffer.a unix.a byte.a install.o: \ compile install.c buffer.h strerr.h error.h open.h exit.h ./compile install.c instcheck: \ -load instcheck.o hier.o auto_home.o buffer.a unix.a byte.a - ./load instcheck hier.o auto_home.o buffer.a unix.a byte.a +load instcheck.o hier.o auto_destdir.o buffer.a unix.a byte.a + ./load instcheck hier.o auto_destdir.o buffer.a unix.a byte.a instcheck.o: \ compile instcheck.c strerr.h error.h exit.h @ 1.4 log @Update ipv6 patch. Closes PR pkg/44469 by James A. T. Rice. While here, fix indentation broken in previous and quell pkglint. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2010/03/15 17:31:57 schmonz Exp $ @ 1.3 log @DESTDIR support. @ text @d1 3 a3 1 $NetBSD$ @ 1.2 log @Updated man pages to 20031023. From the changelog: * merge changes from http://cr.yp.to/djbdns/doc.tar.gz into: axfr-get.8, tinydns-data.8. * pickdns-conf.8, pickdns-data.8, pickdns.8: remove. * dnscache-conf.8, rbldns-conf.8, tinydns-conf.8, walldns-conf.8: adapt. * axfrdns-conf.8: new. pkgsrc changes: * Convert to bsd.options.mk. Available options: "ignoreip2 inet6". * Set USE_BUILDLINK3=yes. * Patch to honor PKG_SYSCONFDIR. * As long as we're patching, patch the installer to avoid setting unusual permissions on ${PREFIX} and ${PREFIX}/bin. * Work around the standard djbware errno problem on recent Linux glibc. * Update to the latest pkgsrc djbware RESTRICTED clause. * Remove the third-party logfile formatters (they can go elsewhere if needed). * Take maintainership (suggested by zuntum). Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2003/09/24 03:28:14 schmonz Exp $ d3 5 a7 5 --- query.c.orig Wed Sep 17 11:42:42 2003 +++ query.c @@@@ -13,6 +13,8 @@@@ #include "response.h" #include "query.h" d9 3 a11 1 +extern stralloc ignoreip; d13 19 a31 1 static int flagforwardonly = 0; d33 5 a37 6 void query_forwardonly(void) @@@@ -193,6 +195,7 @@@@ static int doit(struct query *z,int stat int k; int p; int q; + unsigned int ii; d39 2 a40 12 errno = error_io; if (state == 1) goto HAVEPACKET; @@@@ -795,6 +798,9 @@@@ static int doit(struct query *z,int stat pos = dns_packet_copy(buf,len,pos,header,10); if (!pos) goto DIE; if (byte_equal(header + 8,2,"\0\4")) { pos = dns_packet_copy(buf,len,pos,header,4); if (!pos) goto DIE; + if (ignoreip.len) + for(ii = 0; ii < ignoreip.len; ii+= 4) + if (byte_equal(header,4,ignoreip.s+ii)) goto NXDOMAIN; save_data(header,4); log_rr(whichserver,t1,DNS_T_A,header,4,ttl); } @ 1.1 log @Add Russ Nelson's dnscache patch to ignore IP addresses listed in root/ignoreip, in response to Verisign's latest silliness. The behavior of dnscache is unchanged unless you create this file. Bump PKGREVISION. While I'm here, change the "post-patch" target to "do-configure", since that's what it's doing. See for more information about this patch. @ text @d1 1 a1 1 $NetBSD$ @