summaryrefslogtreecommitdiff
path: root/net/djbdns
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2009-01-19 10:27:31 +0000
committersketch <sketch@pkgsrc.org>2009-01-19 10:27:31 +0000
commitae75a2a7ad13ad4e33d2c6891750d57116a238e6 (patch)
tree1ddb02142c8285f0a0a8704013f6c6fa2ee83c7f /net/djbdns
parentdf951fa19031ceb0cc173b72b42721684a10f69e (diff)
downloadpkgsrc-ae75a2a7ad13ad4e33d2c6891750d57116a238e6.tar.gz
Add djbdns-cachestats option, show cache hits/misses in stats output.
Diffstat (limited to 'net/djbdns')
-rw-r--r--net/djbdns/Makefile4
-rw-r--r--net/djbdns/distinfo5
-rw-r--r--net/djbdns/options.mk11
3 files changed, 15 insertions, 5 deletions
diff --git a/net/djbdns/Makefile b/net/djbdns/Makefile
index bed33afcaa7..4fa2fbbcf34 100644
--- a/net/djbdns/Makefile
+++ b/net/djbdns/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2008/02/19 21:12:06 schmonz Exp $
+# $NetBSD: Makefile,v 1.56 2009/01/19 10:27:31 sketch Exp $
DISTNAME= djbdns-1.05
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= net
MASTER_SITES= http://cr.yp.to/djbdns/ ftp://cr.yp.to/djbdns/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES}
diff --git a/net/djbdns/distinfo b/net/djbdns/distinfo
index a633b7529e1..5816dec0619 100644
--- a/net/djbdns/distinfo
+++ b/net/djbdns/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2005/04/09 22:39:44 schmonz Exp $
+$NetBSD: distinfo,v 1.16 2009/01/19 10:27:31 sketch Exp $
SHA1 (djbdns-1.05.tar.gz) = 2efdb3a039d0c548f40936aa9cb30829e0ce8c3d
RMD160 (djbdns-1.05.tar.gz) = a832cbfd93e4ccec6a565492a4ee0b3c1b4b68ed
@@ -12,6 +12,9 @@ Size (djbdns-1.05-ipv6.diff.bz2) = 7306 bytes
SHA1 (djbdns-1.05-ignoreip2.patch) = ec4281a6864bd044a84fbfcaaf42baa6b003976d
RMD160 (djbdns-1.05-ignoreip2.patch) = bf8a0d38ae7bfb09a8ab2a04600680613db10aaa
Size (djbdns-1.05-ignoreip2.patch) = 3890 bytes
+SHA1 (djbdns-cachestats.patch) = ab0b2835140768d89159d5564534d39520d7f403
+RMD160 (djbdns-cachestats.patch) = e09994d84573e781ce18b59f909f8bd013de5d8e
+Size (djbdns-cachestats.patch) = 2341 bytes
SHA1 (tinydns64.diff) = 5a06ba9968ddd905ef69ce036bdc9d18bb738982
RMD160 (tinydns64.diff) = 7eb8ea387731385576fb1c933c18e0957477c3e0
Size (tinydns64.diff) = 1537 bytes
diff --git a/net/djbdns/options.mk b/net/djbdns/options.mk
index 2e4cdb2cc8e..38c10164155 100644
--- a/net/djbdns/options.mk
+++ b/net/djbdns/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.10 2006/07/27 18:48:03 jlam Exp $
+# $NetBSD: options.mk,v 1.11 2009/01/19 10:27:31 sketch Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.djbdns
-PKG_SUPPORTED_OPTIONS+= inet6 djbdns-ignoreip2 djbdns-tinydns64
+PKG_SUPPORTED_OPTIONS+= inet6 djbdns-cachestats djbdns-ignoreip2 djbdns-tinydns64
.if ${MACHINE_ARCH} == "sparc64" || \
${MACHINE_ARCH} == "alpha" || \
@@ -19,6 +19,13 @@ PATCH_DIST_STRIP.${IPV6_PATCH}= -p1
PLIST_SRC+= ${PKGDIR}/PLIST.inet6
.endif
+.if !empty(PKG_OPTIONS:Mdjbdns-cachestats)
+CACHESTATS_PATCH= djbdns-cachestats.patch
+PATCHFILES+= ${CACHESTATS_PATCH}
+SITES.${CACHESTATS_PATCH}= http://romana.now.ie/software/
+PATCH_DIST_STRIP.${CACHESTATS_PATCH}= -p1
+.endif
+
.if !empty(PKG_OPTIONS:Mdjbdns-ignoreip2)
IGNOREIP2_PATCH= djbdns-1.05-ignoreip2.patch
PATCHFILES+= ${IGNOREIP2_PATCH}