From c0215b50872d2d37f529e9cb3bfa9e644a9bc296 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 12 Feb 2004 14:01:02 +0000 Subject: [PATCH] - Update to 1.1.10 PR: ports/62666 Submitted by: hrs Approved by: maintainer --- dns/pdnsd/Makefile | 17 ++++++++++++++--- dns/pdnsd/distinfo | 3 ++- dns/pdnsd/pkg-descr | 2 +- dns/pdnsd/pkg-plist | 8 ++++++++ 4 files changed, 25 insertions(+), 5 deletions(-) diff --git a/dns/pdnsd/Makefile b/dns/pdnsd/Makefile index 63ba0d2debca..4360615c38b2 100644 --- a/dns/pdnsd/Makefile +++ b/dns/pdnsd/Makefile @@ -6,24 +6,35 @@ # PORTNAME= pdnsd -PORTVERSION= 1.1.7a +PORTVERSION= 1.1.10 CATEGORIES= dns -MASTER_SITES= http://home.t-online.de/home/Moestl/ +MASTER_SITES= http://www.phys.uu.nl/~rombouts/pdnsd/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-par MAINTAINER= roman@xpert.com COMMENT= Caching (permanently, writes to disk on exit) DNS proxy-server GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-cachedir=${PDNSDB} +USE_GMAKE= yes +CONFIGURE_ARGS= --with-cachedir=${PDNSDB} \ + --enable-ipv6 +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAN8= pdnsd-ctl.8 PDNSDB= /var/db/pdnsd +DOCSRCDIR= ${WRKSRC}/doc +DOC_FILES= html/dl.html html/doc.html html/faq.html html/index.html +DOC_FILES+= txt/faq.txt txt/intro.txt txt/manual.txt post-install: @${MKDIR} ${PREFIX}/etc/rc.d @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pdnsd.sh > ${PREFIX}/etc/rc.d/pdnsd.sh @${CHMOD} 750 ${PREFIX}/etc/rc.d/pdnsd.sh +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${DOCSDIR} +.endif @${CAT} ${PKGMESSAGE} .include diff --git a/dns/pdnsd/distinfo b/dns/pdnsd/distinfo index 7c17be369b86..d7c62ceb6368 100644 --- a/dns/pdnsd/distinfo +++ b/dns/pdnsd/distinfo @@ -1 +1,2 @@ -MD5 (pdnsd-1.1.7a.tar.gz) = 96ef0f6708a14215c57ca89240b5e7ae +MD5 (pdnsd-1.1.10-par.tar.gz) = 11c5bcc40590fc3bcf6256f8248d6536 +SIZE (pdnsd-1.1.10-par.tar.gz) = 287338 diff --git a/dns/pdnsd/pkg-descr b/dns/pdnsd/pkg-descr index 610db2a00fdb..c008a1854cd4 100644 --- a/dns/pdnsd/pkg-descr +++ b/dns/pdnsd/pkg-descr @@ -15,6 +15,6 @@ querying several servers at the same time so that very slow or unavailable servers will not block the answer for one timeout interval. Since version 1.0.0, pdnsd has full IPv6 support. -WWW: http://home.t-online.de/home/Moestl/ +WWW: http://www.phys.uu.nl/~rombouts/pdnsd.html Roman Shterenzon diff --git a/dns/pdnsd/pkg-plist b/dns/pdnsd/pkg-plist index 9b6802dbc753..fb7feb235392 100644 --- a/dns/pdnsd/pkg-plist +++ b/dns/pdnsd/pkg-plist @@ -2,4 +2,12 @@ etc/pdnsd.conf.sample etc/rc.d/pdnsd.sh sbin/pdnsd sbin/pdnsd-ctl +%%PORTDOCS%%%%DOCSDIR%%/dl.html +%%PORTDOCS%%%%DOCSDIR%%/doc.html +%%PORTDOCS%%%%DOCSDIR%%/faq.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/faq.txt +%%PORTDOCS%%%%DOCSDIR%%/intro.txt +%%PORTDOCS%%%%DOCSDIR%%/manual.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% @unexec rm -rf /var/db/pdnsd