aboutsummaryrefslogtreecommitdiff
path: root/dns/pdnsd
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-12 14:01:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-12 14:01:02 +0000
commitc0215b50872d2d37f529e9cb3bfa9e644a9bc296 (patch)
tree35e12215c18b77c69331f16a11d0902b5b0dba7f /dns/pdnsd
parent5cc2cd131a63ef71af71b518bb09662af41e9197 (diff)
downloadports-c0215b50872d2d37f529e9cb3bfa9e644a9bc296.tar.gz
ports-c0215b50872d2d37f529e9cb3bfa9e644a9bc296.zip
Notes
Diffstat (limited to 'dns/pdnsd')
-rw-r--r--dns/pdnsd/Makefile17
-rw-r--r--dns/pdnsd/distinfo3
-rw-r--r--dns/pdnsd/pkg-descr2
-rw-r--r--dns/pdnsd/pkg-plist8
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 <bsd.port.mk>
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 <roman@xpert.com>
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