aboutsummaryrefslogtreecommitdiff
path: root/dns/dnrd
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-10-12 01:12:12 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-10-12 01:12:12 +0000
commit665d967bc99e32502898def50483c4a04080e748 (patch)
tree9c0b7c38495737632dbaa29b4980a973311d251c /dns/dnrd
parenta6c8552742627f147eba3a452672dc017e9f22f9 (diff)
downloadports-665d967bc99e32502898def50483c4a04080e748.tar.gz
ports-665d967bc99e32502898def50483c4a04080e748.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>
Notes
Notes: svn path=/head/; revision=118731
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