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.5 |
4 |
DISTVERSION= 3.0.6 |
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 14-43
Link Here
|
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
15 |
|
16 |
#BUILD_DEPENDS= autoconf>=2.65:devel/autoconf \ |
16 |
#BUILD_DEPENDS= autoconf>=2.65:devel/autoconf \ |
17 |
# gsed:textproc/gsed |
|
|
18 |
BUILD_DEPENDS= gsed:textproc/gsed |
17 |
BUILD_DEPENDS= gsed:textproc/gsed |
19 |
LIB_DEPENDS= libgnutls.so:security/gnutls \ |
18 |
LIB_DEPENDS= libgnutls.so:security/gnutls \ |
20 |
liblmdb.so:databases/lmdb \ |
19 |
liblmdb.so:databases/lmdb \ |
21 |
libnghttp2.so:www/libnghttp2 |
20 |
libnghttp2.so:www/libnghttp2 |
22 |
|
21 |
|
23 |
USES= alias autoreconf libtool localbase pkgconfig tar:xz |
22 |
USES= alias autoreconf libtool localbase pkgconfig tar:xz |
|
|
23 |
USE_LDCONFIG= yes |
24 |
|
24 |
|
25 |
CONFLICTS= knot-1.* knot1-[0-6].* knot2-[0-9].* |
|
|
26 |
|
27 |
HAS_CONFIGURE= yes |
25 |
HAS_CONFIGURE= yes |
28 |
BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed |
|
|
29 |
CONFIGURE_ARGS= --enable-recvmmsg=no \ |
26 |
CONFIGURE_ARGS= --enable-recvmmsg=no \ |
30 |
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ |
27 |
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ |
31 |
--mandir=${MANPREFIX}/man |
28 |
--mandir=${MANPREFIX}/man |
32 |
|
29 |
|
33 |
.if !defined(UTILS_ONLY) && !defined(LIB_ONLY) |
30 |
.if !defined(UTILS_ONLY) && !defined(LIB_ONLY) |
34 |
CONFIGURE_ARGS+= --with-rundir=/var/run/knot \ |
|
|
35 |
--with-storage=/var/db/knot |
36 |
LIB_DEPENDS+= liburcu.so:sysutils/liburcu |
31 |
LIB_DEPENDS+= liburcu.so:sysutils/liburcu |
|
|
32 |
USES+= libedit |
37 |
USE_RC_SUBR= ${PORTNAME} |
33 |
USE_RC_SUBR= ${PORTNAME} |
38 |
#PLIST_FILES= etc/rc.d/${PORTNAME} |
|
|
39 |
SUB_FILES= pkg-message |
34 |
SUB_FILES= pkg-message |
40 |
USES+= libedit |
35 |
CONFIGURE_ARGS+= --with-rundir=/var/run/knot \ |
|
|
36 |
--with-storage=/var/db/knot |
41 |
.endif |
37 |
.endif |
42 |
|
38 |
|
43 |
.if defined(UTILS_ONLY) || defined(LIB_ONLY) |
39 |
.if defined(UTILS_ONLY) || defined(LIB_ONLY) |
Lines 49-57
Link Here
|
49 |
CONFIGURE_ARGS+= --disable-utilities |
45 |
CONFIGURE_ARGS+= --disable-utilities |
50 |
.endif |
46 |
.endif |
51 |
|
47 |
|
52 |
USE_LDCONFIG= yes |
|
|
53 |
INSTALL_TARGET= install-strip |
48 |
INSTALL_TARGET= install-strip |
54 |
|
49 |
|
|
|
50 |
CONFLICTS= knot-1.* knot1-[0-6].* knot2-[0-9].* |
51 |
|
52 |
BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed |
53 |
|
55 |
USERS= knot |
54 |
USERS= knot |
56 |
GROUPS= knot |
55 |
GROUPS= knot |
57 |
SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}" |
56 |
SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}" |
Lines 69-78
Link Here
|
69 |
.endif |
68 |
.endif |
70 |
|
69 |
|
71 |
DNSTAP_DESC= dnstap support (see dnstap.info) |
70 |
DNSTAP_DESC= dnstap support (see dnstap.info) |
72 |
DNSTAP_CONFIGURE_ENABLE= dnstap |
71 |
FASTPARSER_DESC= Fast zone parser (demanding compilation) |
73 |
DNSTAP_CONFIGURE_WITH= module-dnstap=yes |
72 |
MAXMINDDB_DESC= Enable MaxMind for geodb module |
|
|
73 |
|
74 |
DNSTAP_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c \ |
74 |
DNSTAP_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c \ |
75 |
libfstrm.so:devel/fstrm |
75 |
libfstrm.so:devel/fstrm |
|
|
76 |
DNSTAP_CONFIGURE_ENABLE= dnstap |
77 |
DNSTAP_CONFIGURE_WITH= module-dnstap=yes |
76 |
|
78 |
|
77 |
# XXX: because `kdig_CPPFLAGS += $(DNSTAP_CFLAGS)' line is missing from |
79 |
# XXX: because `kdig_CPPFLAGS += $(DNSTAP_CFLAGS)' line is missing from |
78 |
# `src/Makefile.am' file (and thus pre-generated `src/Makefile.in') which |
80 |
# `src/Makefile.am' file (and thus pre-generated `src/Makefile.in') which |
Lines 83-96
Link Here
|
83 |
|
85 |
|
84 |
DOCS_CONFIGURE_OFF= --disable-documentation |
86 |
DOCS_CONFIGURE_OFF= --disable-documentation |
85 |
|
87 |
|
86 |
FASTPARSER_DESC= Fast zone parser (demanding compilation) |
|
|
87 |
FASTPARSER_CONFIGURE_ENABLE= fastparser |
88 |
FASTPARSER_CONFIGURE_ENABLE= fastparser |
88 |
|
89 |
|
89 |
IDN_CONFIGURE_WITH= libidn |
|
|
90 |
IDN_CONFIGURE_OFF= --without-libidn |
91 |
#IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 |
90 |
#IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 |
|
|
91 |
IDN_CONFIGURE_OFF= --without-libidn |
92 |
IDN_CONFIGURE_WITH= libidn |
92 |
|
93 |
|
93 |
MAXMINDDB_DESC= Enable MaxMind for geodb module |
|
|
94 |
MAXMINDDB_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb |
94 |
MAXMINDDB_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb |
95 |
MAXMINDDB_CONFIGURE_ENABLE= maxminddb |
95 |
MAXMINDDB_CONFIGURE_ENABLE= maxminddb |
96 |
|
96 |
|