View | Details | Raw Unified | Return to bug 246317
Collapse All | Expand All

(-)dns/sqldjbdns/Makefile (+54 lines)
Line 0 Link Here
1
# Created by: Radim Kolar
2
# $FreeBSD$
3
4
PORTNAME=	sqldjbdns
5
PORTVERSION=	0.74
6
CATEGORIES=	dns
7
MASTER_SITES=	https://cr.yp.to/djbdns/:dj \
8
		https://gitlab.com/${GL_ACCOUNT}/${PORTNAME}/-/jobs/${GL_JOB}/artifacts/raw/:gl
9
DISTFILES=	djbdns-1.05.tar.gz:dj ${PORTNAME}-${PORTVERSION}.tar.gz:gl
10
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	DJB DNS server with PostgreSQL backend
13
14
LICENSE=	GPLv2
15
16
RUN_DEPENDS=	setuidgid:sysutils/daemontools
17
18
USES=		pgsql
19
GL_ACCOUNT=	hsn10
20
GL_JOB=		544486632
21
22
OPTIONS_DEFINE=	DOCS
23
24
PORTDOCS=	ANNOUNCEMENT STATUS pgsqldns.html NEWS TODO README \
25
		pgsqldns-conf.html sqldns.html pgsqldns-schema.html
26
DJ_SRC=		${WRKDIR}/djbdns-1.05
27
ALL_TARGET=	default
28
MAKE_JOBS_UNSAFE=	yes
29
PLIST_FILES=	bin/dnsbench bin/pgsqldns bin/pgsqldns-conf bin/pgsqldnscache \
30
		share/examples/${PORTNAME}/create.sql
31
PLIST_DIRS=	share/examples/${PORTNAME}
32
33
post-configure:
34
		${CP} -R ${DJ_SRC} ${WRKSRC}/djbdns-1.05
35
		${PATCH} < ${WRKSRC}/djbdns-1.05.patch -d ${WRKSRC}/djbdns-1.05
36
		${MV} ${WRKSRC}/sqldns-schema.html ${WRKSRC}/pgsqldns-schema.html
37
38
do-install:
39
		cd ${WRKSRC} && ${MAKE} install_prefix=${STAGEDIR} PREFIX=${PREFIX} install
40
41
post-install:
42
		${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
43
		${INSTALL_DATA}  ${WRKSRC}/create.sql ${STAGEDIR}${EXAMPLESDIR}
44
.for b in dnsbench pgsqldns pgsqldns-conf pgsqldnscache
45
		${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$b
46
.endfor
47
48
do-install-DOCS-on:
49
		${MKDIR} ${STAGEDIR}${DOCSDIR}
50
.for i in ${PORTDOCS}
51
		${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
52
.endfor
53
54
.include <bsd.port.mk>
(-)dns/sqldjbdns/distinfo (+5 lines)
Line 0 Link Here
1
TIMESTAMP = 1588955470
2
SHA256 (djbdns-1.05.tar.gz) = 3ccd826a02f3cde39be088e1fc6aed9fd57756b8f970de5dc99fcd2d92536b48
3
SIZE (djbdns-1.05.tar.gz) = 85648
4
SHA256 (sqldjbdns-0.74.tar.gz) = 333ed74a766f0a6abf1048ad8e1480284fb89d42b8979c5ebef82f8b34a49c67
5
SIZE (sqldjbdns-0.74.tar.gz) = 34237
(-)dns/sqldjbdns/pkg-descr (+8 lines)
Line 0 Link Here
1
Sqldjbdns is an authoritative DNS server that pulls its data directly
2
from a set of SQL tables.  It supports fully dynamic A, MX, TXT, and PTR
3
records, and run-time configurable static NS and SOA records.  It also
4
supports schedule expiry and introduction of records.
5
6
This package also includes dnscache with PostgreSQL backend.
7
8
WWW: https://gitlab.com/hsn10/sqldjbdns

Return to bug 246317