aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2004-10-13 08:32:24 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2004-10-13 08:32:24 +0000
commit983e24899d96b9f5fbfa7c8a76e23f68b3e232d3 (patch)
tree05fcfef18a73f1a8a45cb5d8e519124214a7648c /dns
parentab16937b7459d99f6f8265ee41b90aa9a353bc86 (diff)
downloadports-983e24899d96b9f5fbfa7c8a76e23f68b3e232d3.tar.gz
ports-983e24899d96b9f5fbfa7c8a76e23f68b3e232d3.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/djbdns-tools/Makefile44
-rw-r--r--dns/djbdns-tools/distinfo2
-rw-r--r--dns/djbdns-tools/pkg-descr10
-rw-r--r--dns/djbdns-tools/pkg-plist12
5 files changed, 69 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 3104c85d364e..dbae6dd30a16 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -16,6 +16,7 @@
SUBDIR += dhid
SUBDIR += dhisd
SUBDIR += djbdns
+ SUBDIR += djbdns-tools
SUBDIR += dlint
SUBDIR += dnrd
SUBDIR += dns_balance
diff --git a/dns/djbdns-tools/Makefile b/dns/djbdns-tools/Makefile
new file mode 100644
index 000000000000..4ccbcd32bd8b
--- /dev/null
+++ b/dns/djbdns-tools/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: djbdns-tools
+# Date created: 2004-09-16
+# Whom: Sergei Kolobov <sergei@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= djbdns
+PORTVERSION= 1.05
+CATEGORIES= dns
+MASTER_SITES= http://cr.yp.to/djbdns/ \
+ ftp://cr.yp.to/djbdns/ \
+ http://smarden.org/pape/djb/manpages/:manpages
+PKGNAMESUFFIX= -tools
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${DISTNAME}-man-20031023.tar.gz:manpages
+
+MAINTAINER= sergei@FreeBSD.org
+COMMENT= Resolver tools from djbdns package
+
+CONFLICTS= djbdns-[0-9]*
+
+PROGRAMS= dnsip dnsipq dnsname dnstxt dnsmx dnsfilter \
+ random-ip dnsqr dnsq dnstrace
+SCRIPTS= dnstracesort
+MAN1= dnsfilter.1 dnsip.1 dnsipq.1 dnsmx.1 dnsname.1 \
+ dnsq.1 dnsqr.1 dnstrace.1 dnstracesort.1 dnstxt.1
+
+ALL_TARGET= it
+
+do-patch:
+ @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ @${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
+ @${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
+
+do-install:
+ @${MKDIR} ${PREFIX}/bin
+ @cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
+ ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
+ @cd ${WRKDIR}/djbdns-man && \
+ ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/dns/djbdns-tools/distinfo b/dns/djbdns-tools/distinfo
new file mode 100644
index 000000000000..19d4bace35b4
--- /dev/null
+++ b/dns/djbdns-tools/distinfo
@@ -0,0 +1,2 @@
+MD5 (djbdns-1.05.tar.gz) = 3147c5cd56832aa3b41955c7a51cbeb2
+MD5 (djbdns-1.05-man-20031023.tar.gz) = 14d7329cff69f604fac607436eb8485e
diff --git a/dns/djbdns-tools/pkg-descr b/dns/djbdns-tools/pkg-descr
new file mode 100644
index 000000000000..67f96b15e6de
--- /dev/null
+++ b/dns/djbdns-tools/pkg-descr
@@ -0,0 +1,10 @@
+This port contains a subset of the DJBDNS package.
+It includes several useful Domain Name System (DNS) tools:
+
+- dnsfilter: a parallel IP-address-to-host-name converter
+- dnsip, dnsipq, dnsname, dnstxt, and dnsmx: simple
+ command-line interfaces to DNS
+- dnsq, dnstrace, dnstracesort: DNS debugging tools
+
+Author: Daniel J. Bernstein <djb@cr.yp.to>
+WWW: http://cr.yp.to/djbdns.html
diff --git a/dns/djbdns-tools/pkg-plist b/dns/djbdns-tools/pkg-plist
new file mode 100644
index 000000000000..8521fd23565d
--- /dev/null
+++ b/dns/djbdns-tools/pkg-plist
@@ -0,0 +1,12 @@
+@comment $FreeBSD$
+bin/dnsfilter
+bin/dnsip
+bin/dnsipq
+bin/dnsmx
+bin/dnsname
+bin/dnsq
+bin/dnsqr
+bin/dnstrace
+bin/dnstracesort
+bin/dnstxt
+bin/random-ip