Lines 1-7
Link Here
|
1 |
# Created by: Leo Vandewoestijne <freebsd@dns.company> |
1 |
# Created by: Leo Vandewoestijne <freebsd@dns.company> |
2 |
|
2 |
|
3 |
PORTNAME= knot |
3 |
PORTNAME= knot |
4 |
DISTVERSION= 3.0.7 |
4 |
DISTVERSION= 3.0.8 |
5 |
CATEGORIES= dns |
5 |
CATEGORIES= dns |
6 |
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ |
6 |
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ |
7 |
https://dns.company/downloads/knot-dns/ |
7 |
https://dns.company/downloads/knot-dns/ |
Lines 13-31
COMMENT= High performance authoritative-only DNS server
Link Here
|
13 |
LICENSE= GPLv3 |
13 |
LICENSE= GPLv3 |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
15 |
|
16 |
#BUILD_DEPENDS= autoconf>=2.65:devel/autoconf \ |
|
|
17 |
# gsed:textproc/gsed |
18 |
BUILD_DEPENDS= gsed:textproc/gsed |
16 |
BUILD_DEPENDS= gsed:textproc/gsed |
19 |
LIB_DEPENDS= libgnutls.so:security/gnutls \ |
17 |
LIB_DEPENDS= libgnutls.so:security/gnutls \ |
20 |
liblmdb.so:databases/lmdb \ |
18 |
liblmdb.so:databases/lmdb |
21 |
libnghttp2.so:www/libnghttp2 |
|
|
22 |
|
19 |
|
23 |
USES= alias autoreconf libtool localbase pkgconfig tar:xz |
20 |
USES= alias libtool localbase pkgconfig tar:xz |
24 |
|
21 |
USE_LDCONFIG= yes |
25 |
CONFLICTS= knot-1.* knot1-[0-6].* knot2-[0-9].* |
|
|
26 |
|
22 |
|
27 |
HAS_CONFIGURE= yes |
23 |
HAS_CONFIGURE= yes |
28 |
BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed |
|
|
29 |
CONFIGURE_ARGS= --enable-recvmmsg=no \ |
24 |
CONFIGURE_ARGS= --enable-recvmmsg=no \ |
30 |
--mandir=${MANPREFIX}/man \ |
25 |
--mandir=${MANPREFIX}/man \ |
31 |
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig |
26 |
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig |
Lines 35-41
CONFIGURE_ARGS+= --with-rundir=/var/run/knot \
Link Here
|
35 |
--with-storage=/var/db/knot |
30 |
--with-storage=/var/db/knot |
36 |
LIB_DEPENDS+= liburcu.so:sysutils/liburcu |
31 |
LIB_DEPENDS+= liburcu.so:sysutils/liburcu |
37 |
USE_RC_SUBR= ${PORTNAME} |
32 |
USE_RC_SUBR= ${PORTNAME} |
38 |
#PLIST_FILES= etc/rc.d/${PORTNAME} |
|
|
39 |
SUB_FILES= pkg-message |
33 |
SUB_FILES= pkg-message |
40 |
USES+= libedit |
34 |
USES+= libedit |
41 |
.endif |
35 |
.endif |
Lines 49-57
CONFIGURE_ARGS+= --disable-daemon \
Link Here
|
49 |
CONFIGURE_ARGS+= --disable-utilities |
43 |
CONFIGURE_ARGS+= --disable-utilities |
50 |
.endif |
44 |
.endif |
51 |
|
45 |
|
52 |
USE_LDCONFIG= yes |
|
|
53 |
INSTALL_TARGET= install-strip |
46 |
INSTALL_TARGET= install-strip |
54 |
|
47 |
|
|
|
48 |
CONFLICTS= knot-1.* knot1-[0-6].* knot2-[0-9].* |
49 |
|
50 |
BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed |
51 |
|
55 |
USERS= knot |
52 |
USERS= knot |
56 |
GROUPS= knot |
53 |
GROUPS= knot |
57 |
SUB_LIST+= GROUPS="${GROUPS}" \ |
54 |
SUB_LIST+= GROUPS="${GROUPS}" \ |
Lines 62-68
PORTDOCS= COPYING NEWS
Link Here
|
62 |
OPTIONS_DEFINE= DNSTAP DOCS |
59 |
OPTIONS_DEFINE= DNSTAP DOCS |
63 |
|
60 |
|
64 |
.if !defined(LIB_ONLY) |
61 |
.if !defined(LIB_ONLY) |
65 |
OPTIONS_DEFINE+= IDN |
62 |
OPTIONS_DEFINE+= DOH IDN |
|
|
63 |
OPTIONS_DEFAULT+= DOH IDN |
66 |
.endif |
64 |
.endif |
67 |
|
65 |
|
68 |
.if !defined(UTILS_ONLY) && !defined(LIB_ONLY) |
66 |
.if !defined(UTILS_ONLY) && !defined(LIB_ONLY) |
Lines 70-79
OPTIONS_DEFINE+= FASTPARSER MAXMINDDB
Link Here
|
70 |
.endif |
68 |
.endif |
71 |
|
69 |
|
72 |
DNSTAP_DESC= dnstap support (see dnstap.info) |
70 |
DNSTAP_DESC= dnstap support (see dnstap.info) |
73 |
DNSTAP_CONFIGURE_ENABLE= dnstap |
|
|
74 |
DNSTAP_CONFIGURE_WITH= module-dnstap=yes |
75 |
DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ |
71 |
DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ |
76 |
libprotobuf-c.so:devel/protobuf-c |
72 |
libprotobuf-c.so:devel/protobuf-c |
|
|
73 |
DNSTAP_CONFIGURE_ENABLE= dnstap |
74 |
DNSTAP_CONFIGURE_WITH= module-dnstap=yes |
77 |
|
75 |
|
78 |
# XXX: because `kdig_CPPFLAGS += $(DNSTAP_CFLAGS)' line is missing from |
76 |
# XXX: because `kdig_CPPFLAGS += $(DNSTAP_CFLAGS)' line is missing from |
79 |
# `src/Makefile.am' file (and thus pre-generated `src/Makefile.in') which |
77 |
# `src/Makefile.am' file (and thus pre-generated `src/Makefile.in') which |
Lines 84-95
DNSTAP_CPPFLAGS= -I${LOCALBASE}/include
Link Here
|
84 |
|
82 |
|
85 |
DOCS_CONFIGURE_OFF= --disable-documentation |
83 |
DOCS_CONFIGURE_OFF= --disable-documentation |
86 |
|
84 |
|
|
|
85 |
DOH_DESC= DoH support in kdig |
86 |
DOH_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 |
87 |
|
87 |
FASTPARSER_DESC= Fast zone parser (demanding compilation) |
88 |
FASTPARSER_DESC= Fast zone parser (demanding compilation) |
88 |
FASTPARSER_CONFIGURE_ENABLE= fastparser |
89 |
FASTPARSER_CONFIGURE_ENABLE= fastparser |
89 |
|
90 |
|
90 |
IDN_CONFIGURE_WITH= libidn |
91 |
IDN_CONFIGURE_WITH= libidn |
91 |
IDN_CONFIGURE_OFF= --without-libidn |
92 |
IDN_CONFIGURE_OFF= --without-libidn |
92 |
#IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 |
93 |
IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 |
93 |
|
94 |
|
94 |
MAXMINDDB_DESC= Enable MaxMind for geodb module |
95 |
MAXMINDDB_DESC= Enable MaxMind for geodb module |
95 |
MAXMINDDB_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb |
96 |
MAXMINDDB_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb |