aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDavid Thiel <lx@FreeBSD.org>2012-02-18 00:34:05 +0000
committerDavid Thiel <lx@FreeBSD.org>2012-02-18 00:34:05 +0000
commit859882f486152536f08bafb185af71ffe71f7a1d (patch)
treed0d57b9dbcbf400bd4610a48e77287e5b70ad3fa /dns
parent4e9619a09bb88da5b27e3c37eef6bae3d3f54ef3 (diff)
downloadports-859882f486152536f08bafb185af71ffe71f7a1d.tar.gz
ports-859882f486152536f08bafb185af71ffe71f7a1d.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/djbdns/Makefile26
-rw-r--r--dns/djbdns/distinfo2
2 files changed, 22 insertions, 6 deletions
diff --git a/dns/djbdns/Makefile b/dns/djbdns/Makefile
index f68486d54f35..df7159c87d13 100644
--- a/dns/djbdns/Makefile
+++ b/dns/djbdns/Makefile
@@ -7,14 +7,14 @@
PORTNAME?= djbdns
PORTVERSION?= ${DJBDNS_VER}
-PORTREVISION?= 13
+PORTREVISION?= 14
CATEGORIES?= dns
MASTER_SITES= http://cr.yp.to/djbdns/ \
ftp://cr.yp.to/djbdns/
DISTNAME= djbdns-${DJBDNS_VER}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
-MAINTAINER?= roam@FreeBSD.org
+MAINTAINER?= lx@FreeBSD.org
COMMENT?= A collection of secure and reliable DNS tools
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools \
@@ -26,13 +26,15 @@ OPTIONS= DUMPCACHE "persistent cache for dnscache" off \
JUMBO "jumbo patch by Claudiu Costin" off \
MAN "manual pages by Gerritt Pape" on \
PERSISTENT_MMAP "persistent mmap patch by Lennert Buytenhek" off \
- SRV "SRV record patch by Michael Handler" off
+ SRV "SRV record patch by Michael Handler" off \
+ DNSCURVE "DNSCurve support by Matthew Dempsky" off
.include <bsd.port.pre.mk>
.if defined(WITH_JUMBO)
-.if defined(WITH_IPV6) || defined(WITH_IGNOREIP) || defined(WITH_SRV)
-BROKEN= The jumbo patch currently conflicts with the IPv6, ignoreip2, and SRV patches
+.if defined(WITH_IPV6) || defined(WITH_IGNOREIP) || defined(WITH_SRV) || \
+ defined(WITH_DNSCURVE)
+BROKEN= The jumbo patch currently conflicts with the IPv6, ignoreip2, SRV and DNSCURVE patches
.endif
PATCH_SITES+= http://people.FreeBSD.org/~roam/ports/dns/djbdns/:jumbo \
@@ -99,6 +101,18 @@ PATCHFILES+= srv-patch:srv
PATCH_DIST_STRIP= -p1
.endif
+.if defined(WITH_DNSCURVE)
+.if defined(WITH_IPV6)
+BROKEN= The IPv6 and DNSCurve patches are currently in conflict
+.endif
+PATCH_SITES+= http://shinobi.dempsky.org/~matthew/patches/:dnscurve
+PATCHFILES+= djbdns-dnscurve-20090602.patch:dnscurve
+PATCH_DIST_STRIP= -p1
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+LDFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+BUILD_DEPENDS+= nacl-sha256:${PORTSDIR}/security/nacl
+.endif
+
DJBDNS_VER= 1.05
DJBDNS_V6_VER= test23
@@ -113,7 +127,7 @@ PLIST_SUB+= WITH_IPV6="@comment "
post-patch:
@echo "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
- @echo "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
+ @echo "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
@echo "${PREFIX}" > ${WRKSRC}/conf-home
.if defined(WITH_MAN)
diff --git a/dns/djbdns/distinfo b/dns/djbdns/distinfo
index a9d57da5b569..0beb2721ae6a 100644
--- a/dns/djbdns/distinfo
+++ b/dns/djbdns/distinfo
@@ -14,3 +14,5 @@ SHA256 (tinydns-persistmmap-20040418.patch) = 9c8e685ed628ef80b92611023c09806663
SIZE (tinydns-persistmmap-20040418.patch) = 920
SHA256 (srv-patch) = 779546218b09544493c6ba5e23bc29c33c5d284cfc78ac6fa74fa8e050bb3779
SIZE (srv-patch) = 4508
+SHA256 (djbdns-dnscurve-20090602.patch) = 7efc54bd1981d0eb920de02b97f9b152c57e6add8023c9b82566358dc9525bba
+SIZE (djbdns-dnscurve-20090602.patch) = 26674