1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

[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>
This commit is contained in:
Edwin Groothuis 2004-12-22 04:06:34 +00:00
parent 37215e5368
commit 68ebd6bea3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124779
4 changed files with 54 additions and 0 deletions

View File

@ -75,6 +75,7 @@
SUBDIR += sheerdns SUBDIR += sheerdns
SUBDIR += skadns SUBDIR += skadns
SUBDIR += sleuth SUBDIR += sleuth
SUBDIR += sqldjbdns
SUBDIR += staticcharge SUBDIR += staticcharge
SUBDIR += totd SUBDIR += totd
SUBDIR += updatedd SUBDIR += updatedd

43
dns/sqldjbdns/Makefile Normal file
View File

@ -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>

2
dns/sqldjbdns/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (sqldjbdns-0.72.tar.gz) = 308a49c93dd5eb3eb587bed9b00fa4b6
SIZE (sqldjbdns-0.72.tar.gz) = 28839

8
dns/sqldjbdns/pkg-descr Normal file
View File

@ -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