aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-12-22 04:06:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-12-22 04:06:34 +0000
commit68ebd6bea3d0578ab04e1b4d74a445a6ee62ee30 (patch)
tree4015c3516538aa8fb9feb6f2c58c7604244cd60a /dns
parent37215e5368f28cd422d8df19efbc4c727721f890 (diff)
downloadports-68ebd6bea3d0578ab04e1b4d74a445a6ee62ee30.tar.gz
ports-68ebd6bea3d0578ab04e1b4d74a445a6ee62ee30.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/sqldjbdns/Makefile43
-rw-r--r--dns/sqldjbdns/distinfo2
-rw-r--r--dns/sqldjbdns/pkg-descr8
4 files changed, 54 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index a7254afcffa5..e341f96e6d1b 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -75,6 +75,7 @@
SUBDIR += sheerdns
SUBDIR += skadns
SUBDIR += sleuth
+ SUBDIR += sqldjbdns
SUBDIR += staticcharge
SUBDIR += totd
SUBDIR += updatedd
diff --git a/dns/sqldjbdns/Makefile b/dns/sqldjbdns/Makefile
new file mode 100644
index 000000000000..82622c558da1
--- /dev/null
+++ b/dns/sqldjbdns/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: sqldjbdns
+# Date created: 1 Sep 2004
+# Whom: Radim Kolar
+#
+# $FreeBSD$
+#
+
+PORTNAME= sqldjbdns
+PORTVERSION= 0.72
+CATEGORIES= dns
+MASTER_SITES= http://home.tiscali.cz:8080/~cz210552/distfiles/
+
+MAINTAINER= ports@freebsd.org
+COMMENT= DJB dns server with PostgreSQL backend
+
+DJ_PORT?= ${PORTSDIR}/dns/djbdns
+BUILD_DEPENDS= ${NONEXISTENT}:${DJ_PORT}:extract
+LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
+RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools
+
+PORTDOCS= ANNOUNCEMENT STATUS pgsqldns.html NEWS TODO README \
+ pgsqldns-conf.html sqldns.html pgsqldns-schema.html
+DJ_SRC= `cd ${DJ_PORT} && make -V WRKSRC`
+ALL_TARGET= default
+PLIST_FILES= bin/dnsbench bin/pgsqldns bin/pgsqldns-conf bin/pgsqldnscache \
+ share/examples/${PORTNAME}/create.sql
+PLIST_DIRS= share/examples/${PORTNAME}
+
+pre-build:
+ ${CP} -R ${DJ_SRC} ${WRKSRC}/djbdns-1.05
+ ${PATCH} < ${WRKSRC}/djbdns-1.05.patch -d ${WRKSRC}/djbdns-1.05
+ ${MV} ${WRKSRC}/sqldns-schema.html ${WRKSRC}/pgsqldns-schema.html
+
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/create.sql ${EXAMPLESDIR}
+.ifndef NOPORTDOCS
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/dns/sqldjbdns/distinfo b/dns/sqldjbdns/distinfo
new file mode 100644
index 000000000000..9676a2b67b2b
--- /dev/null
+++ b/dns/sqldjbdns/distinfo
@@ -0,0 +1,2 @@
+MD5 (sqldjbdns-0.72.tar.gz) = 308a49c93dd5eb3eb587bed9b00fa4b6
+SIZE (sqldjbdns-0.72.tar.gz) = 28839
diff --git a/dns/sqldjbdns/pkg-descr b/dns/sqldjbdns/pkg-descr
new file mode 100644
index 000000000000..5abeb55639e6
--- /dev/null
+++ b/dns/sqldjbdns/pkg-descr
@@ -0,0 +1,8 @@
+Sqldjbdns is an authoritative DNS server that pulls its data directly
+from a set of SQL tables. It supports fully dynamic A, MX, TXT, and PTR
+records, and run-time configurable static NS and SOA records. It also
+supports schedule expiry and introduction of records.
+
+This package also includes dnscache with PostgreSQL backend.
+
+WWW: http://home.tiscali.cz/~cz210552/sqldns.html