aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnrd
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-10-12 09:12:12 +0800
committeredwin <edwin@FreeBSD.org>2004-10-12 09:12:12 +0800
commitde4ae388f4fd2acc72f91383b93c9b76711ee19a (patch)
treea32edd87f807dfd3b1312824bf126110492bda71 /dns/dnrd
parentd5787d437d8e01b44f3fa4d8d8b114ad9686d354 (diff)
downloadfreebsd-ports-gnome-de4ae388f4fd2acc72f91383b93c9b76711ee19a.tar.gz
freebsd-ports-gnome-de4ae388f4fd2acc72f91383b93c9b76711ee19a.tar.zst
freebsd-ports-gnome-de4ae388f4fd2acc72f91383b93c9b76711ee19a.zip
Update port: dnrd [maintainer update]
Update of dnrd. The TCP support is totally broken in previous versions. Even if it should work in this verion it is disabled by default. (The code was so ugly). It can be enabled with WITH_TCP. In this version it is also possible to disable the MASTER file support. So dnrd can be a compiled as proxy only. WITHOUT_MASTER. PR: ports/71770 Submitted by: Natanael Copa <ncopa@users.sourceforge.net>
Diffstat (limited to 'dns/dnrd')
-rw-r--r--dns/dnrd/Makefile10
-rw-r--r--dns/dnrd/distinfo4
2 files changed, 11 insertions, 3 deletions
diff --git a/dns/dnrd/Makefile b/dns/dnrd/Makefile
index b385bc1eb48f..280cf1929b1f 100644
--- a/dns/dnrd/Makefile
+++ b/dns/dnrd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dnrd
-PORTVERSION= 2.14.1
+PORTVERSION= 2.15
CATEGORIES= dns
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dnrd
@@ -23,6 +23,14 @@ CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
MAN8= dnrd.8
+.if defined(WITH_TCP)
+CONFIGURE_ARGS+= --enable-tcp
+.endif
+
+.if defined(WITHOUT_MASTER)
+CONFIGURE_ARGS+= --disable-master
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/etc/dnrd|${PREFIX}/etc/dnrd|g' ${WRKSRC}/doc/dnrd.8 \
${WRKSRC}/doc/master.sample ${WRKSRC}/doc/README-master ${WRKSRC}/src/common.h \
diff --git a/dns/dnrd/distinfo b/dns/dnrd/distinfo
index e046c36f934d..8ea54098603a 100644
--- a/dns/dnrd/distinfo
+++ b/dns/dnrd/distinfo
@@ -1,2 +1,2 @@
-MD5 (dnrd-2.14.1.tar.gz) = cdcc538779bf707617fae10824808b14
-SIZE (dnrd-2.14.1.tar.gz) = 139799
+MD5 (dnrd-2.15.tar.gz) = dcb6d06a66ffd9481e7f123527b90b42
+SIZE (dnrd-2.15.tar.gz) = 140496