mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
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.
This commit is contained in:
parent
b0658eefed
commit
ee238cb338
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107727
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user