mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
5ad4e4b3bb
Bugfixes: * Fixed crash on reload when config contained duplicate zones. * Fixed scheduling of transfers. * Fixed debug message. PR: 173422 Submitted by: Leo Vandewoestijne <freebsd@dns-lab.com> (maintainer) Feature safe: yes
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# Created by: Leo Vandewoestijne <freebsd@dns-lab.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= knot
|
|
PORTVERSION= 1.1.2
|
|
CATEGORIES= dns ipv6
|
|
MASTER_SITES= http://public.nic.cz/files/knot-dns/ \
|
|
http://www.dns-lab.com/downloads/knot-dns/
|
|
|
|
MAINTAINER= freebsd@dns-lab.com
|
|
COMMENT= Knot DNS is a high performance authoritative-only DNS server
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
|
|
flex>=2.5.35_1:${PORTSDIR}/textproc/flex
|
|
LIB_DEPENDS= urcu.1:${PORTSDIR}/sysutils/userspace-rcu
|
|
|
|
.if ${CC} == "clang"
|
|
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-configure
|
|
.endif
|
|
|
|
CONFIGURE_ARGS= --sysconfdir=${ETCDIR}
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
USE_AUTOTOOLS= libtool
|
|
USE_OPENSSL= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
USE_RC_SUBR= ${PORTNAME}d
|
|
|
|
MAN8= knotc.8 knotd.8
|
|
MAN5= knot.conf.5
|
|
|
|
INFO= knot
|
|
|
|
PORTDOCS= AUTHORS ChangeLog CodingStyle COPYING \
|
|
INSTALL KNOWN_ISSUES NEWS README RELNOTES
|
|
|
|
post-install:
|
|
@${MKDIR} ${ETCDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/samples/knot.min.conf ${ETCDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/samples/knot.full.conf ${ETCDIR}
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
|
.endif
|
|
@${CAT} ${WRKDIR}/pkg-message
|
|
|
|
.include <bsd.port.post.mk>
|