diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-22 04:06:34 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-22 04:06:34 +0000 |
commit | 68ebd6bea3d0578ab04e1b4d74a445a6ee62ee30 (patch) | |
tree | 4015c3516538aa8fb9feb6f2c58c7604244cd60a /dns/sqldjbdns | |
parent | New port: mail/policyd Implements SPF for postfix, as a policy daemon (diff) |
[NEW PORT] dns/sqldjbdns: DJB dns server with PostgreSQL backend
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
PR: ports/71345
Submitted by: Radim Kolar <hsn@netmag.cz>
Notes
Notes:
svn path=/head/; revision=124779
Diffstat (limited to 'dns/sqldjbdns')
-rw-r--r-- | dns/sqldjbdns/Makefile | 43 | ||||
-rw-r--r-- | dns/sqldjbdns/distinfo | 2 | ||||
-rw-r--r-- | dns/sqldjbdns/pkg-descr | 8 |
3 files changed, 53 insertions, 0 deletions
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 |