diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2004-04-20 15:43:03 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2004-04-20 15:43:03 +0000 |
commit | ee238cb338254ce372694f9c5a6dd1b3aa7342cb (patch) | |
tree | e470103738b805ad70847c925481529466daaaa1 /dns/djbdns | |
parent | b0658eefed6f49d6db78187a9fbb2d5bf0d1be37 (diff) | |
download | ports-ee238cb338254ce372694f9c5a6dd1b3aa7342cb.tar.gz ports-ee238cb338254ce372694f9c5a6dd1b3aa7342cb.zip |
Add the WITH_PERSISTENT_MMAP knob to enable Lennert Buytenhek's patch for
tinydns - keep the data.cdb file mmap'd for a second instead of reopening it
on each query.
Notes
Notes:
svn path=/head/; revision=107727
Diffstat (limited to 'dns/djbdns')
-rw-r--r-- | dns/djbdns/Makefile | 9 | ||||
-rw-r--r-- | dns/djbdns/distinfo | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dns/djbdns/Makefile b/dns/djbdns/Makefile index f01689e7d377..0a1cbb01cc6f 100644 --- a/dns/djbdns/Makefile +++ b/dns/djbdns/Makefile @@ -53,6 +53,12 @@ PATCHFILES+= djbdns-1.05-ignoreip2.patch:ignoreip PATCH_DIST_STRIP= -p1 .endif +.if defined(WITH_PERSISTENT_MMAP) +PATCH_SITES+= http://people.FreeBSD.org/~roam/ports/patches/dns/:persistent +PATCHFILES+= tinydns-persistmmap-20040418.patch:persistent +PATCH_DIST_STRIP= -p1 +.endif + DJBDNS_VER= 1.05 DJBDNS_V6_VER= test14 @@ -84,6 +90,9 @@ pre-fetch: @${ECHO} " http://smarden.org/pape/djb/manpages/" @${ECHO} "- WITH_IGNOREIP - build with Russel Nelson's ignoreip2 patch" @${ECHO} " http://tinydns.org/djbdns-1.05-ignoreip2.patch" + @${ECHO} "- WITH_PERSISTENT_MMAP - build with Lennert Buytenhek's persistent mmap" + @${ECHO} " patch for tinydns" + @${ECHO} " http://marc.theaimsgroup.com/?l=djbdns&m=108229203212517&w=2" post-patch: @echo "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc diff --git a/dns/djbdns/distinfo b/dns/djbdns/distinfo index 36fab1295e6f..ddc26220675b 100644 --- a/dns/djbdns/distinfo +++ b/dns/djbdns/distinfo @@ -3,3 +3,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 +MD5 (tinydns-persistmmap-20040418.patch) = c721977364502180f9563b85cecf133b |