Index: dns/sqldjbdns/Makefile =================================================================== --- dns/sqldjbdns/Makefile (nonexistent) +++ dns/sqldjbdns/Makefile (working copy) @@ -0,0 +1,54 @@ +# Created by: Radim Kolar +# $FreeBSD$ + +PORTNAME= sqldjbdns +PORTVERSION= 0.74 +CATEGORIES= dns +MASTER_SITES= https://cr.yp.to/djbdns/:dj \ + https://gitlab.com/${GL_ACCOUNT}/${PORTNAME}/-/jobs/${GL_JOB}/artifacts/raw/:gl +DISTFILES= djbdns-1.05.tar.gz:dj ${PORTNAME}-${PORTVERSION}.tar.gz:gl + +MAINTAINER= ports@FreeBSD.org +COMMENT= DJB DNS server with PostgreSQL backend + +LICENSE= GPLv2 + +RUN_DEPENDS= setuidgid:sysutils/daemontools + +USES= pgsql +GL_ACCOUNT= hsn10 +GL_JOB= 544486632 + +OPTIONS_DEFINE= DOCS + +PORTDOCS= ANNOUNCEMENT STATUS pgsqldns.html NEWS TODO README \ + pgsqldns-conf.html sqldns.html pgsqldns-schema.html +DJ_SRC= ${WRKDIR}/djbdns-1.05 +ALL_TARGET= default +MAKE_JOBS_UNSAFE= yes +PLIST_FILES= bin/dnsbench bin/pgsqldns bin/pgsqldns-conf bin/pgsqldnscache \ + share/examples/${PORTNAME}/create.sql +PLIST_DIRS= share/examples/${PORTNAME} + +post-configure: + ${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 + +do-install: + cd ${WRKSRC} && ${MAKE} install_prefix=${STAGEDIR} PREFIX=${PREFIX} install + +post-install: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/create.sql ${STAGEDIR}${EXAMPLESDIR} +.for b in dnsbench pgsqldns pgsqldns-conf pgsqldnscache + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$b +.endfor + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} +.endfor + +.include Property changes on: dns/sqldjbdns/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: dns/sqldjbdns/distinfo =================================================================== --- dns/sqldjbdns/distinfo (nonexistent) +++ dns/sqldjbdns/distinfo (working copy) @@ -0,0 +1,5 @@ +TIMESTAMP = 1588955470 +SHA256 (djbdns-1.05.tar.gz) = 3ccd826a02f3cde39be088e1fc6aed9fd57756b8f970de5dc99fcd2d92536b48 +SIZE (djbdns-1.05.tar.gz) = 85648 +SHA256 (sqldjbdns-0.74.tar.gz) = 333ed74a766f0a6abf1048ad8e1480284fb89d42b8979c5ebef82f8b34a49c67 +SIZE (sqldjbdns-0.74.tar.gz) = 34237 Property changes on: dns/sqldjbdns/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: dns/sqldjbdns/pkg-descr =================================================================== --- dns/sqldjbdns/pkg-descr (nonexistent) +++ dns/sqldjbdns/pkg-descr (working copy) @@ -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: https://gitlab.com/hsn10/sqldjbdns Property changes on: dns/sqldjbdns/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property