From 665d967bc99e32502898def50483c4a04080e748 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Tue, 12 Oct 2004 01:12:12 +0000 Subject: [PATCH] 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 --- dns/dnrd/Makefile | 10 +++++++++- dns/dnrd/distinfo | 4 ++-- 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