Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/dns/knot2/Makefile 518954 2019-12-03 17:54:49Z pi $ |
2 |
# $FreeBSD: head/dns/knot2/Makefile 518954 2019-12-03 17:54:49Z pi $ |
3 |
|
3 |
|
4 |
PORTNAME= knot |
4 |
PORTNAME= knot |
5 |
DISTVERSION= 2.9.1 |
5 |
DISTVERSION= 2.9.2 |
6 |
CATEGORIES= dns |
6 |
CATEGORIES= dns |
7 |
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ |
7 |
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ |
8 |
https://dns.company/downloads/knot-dns/ |
8 |
https://dns.company/downloads/knot-dns/ |
Lines 12-37
Link Here
|
12 |
COMMENT?= High performance authoritative-only DNS server |
12 |
COMMENT?= High performance authoritative-only DNS server |
13 |
|
13 |
|
14 |
LICENSE= GPLv3 |
14 |
LICENSE= GPLv3 |
|
|
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
16 |
|
16 |
NOT_FOR_ARCHS= i386 |
17 |
CONFLICTS= knot-1.* knot1-[0-6].* |
17 |
NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 |
|
|
18 |
|
18 |
|
|
|
19 |
BUILD_DEPENDS= autoconf>=2.65:devel/autoconf |
20 |
|
19 |
LIB_DEPENDS= libgnutls.so:security/gnutls \ |
21 |
LIB_DEPENDS= libgnutls.so:security/gnutls \ |
20 |
liblmdb.so:databases/lmdb \ |
22 |
liblmdb.so:databases/lmdb |
21 |
liburcu.so:sysutils/liburcu |
|
|
22 |
|
23 |
|
23 |
CONFLICTS= knot-1.* knot1-[0-6].* |
24 |
USES= alias libtool localbase pkgconfig tar:xz |
24 |
|
25 |
|
25 |
USES= alias compiler:c11 libedit libtool localbase ncurses pkgconfig python tar:xz |
26 |
HAS_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
|
|
27 |
CONFIGURE_ARGS= --enable-recvmmsg=no \ |
27 |
CONFIGURE_ARGS= --enable-recvmmsg=no \ |
28 |
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig |
28 |
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ |
|
|
29 |
--mandir=${MANPREFIX}/man |
29 |
|
30 |
|
30 |
.if !defined(UTILS_ONLY) && !defined(LIB_ONLY) |
31 |
.if !defined(UTILS_ONLY) && !defined(LIB_ONLY) |
31 |
CONFIGURE_ARGS+= --with-rundir=/var/run/knot \ |
32 |
CONFIGURE_ARGS+= --with-rundir=/var/run/knot \ |
32 |
--with-storage=/var/db/knot |
33 |
--with-storage=/var/db/knot |
33 |
USE_RC_SUBR= ${PORTNAME} |
34 |
USE_RC_SUBR= ${PORTNAME} |
34 |
SUB_FILES= pkg-message |
35 |
SUB_FILES= pkg-message |
|
|
36 |
USES+= libedit |
37 |
LIB_DEPENDS+= liburcu.so:sysutils/liburcu |
35 |
.endif |
38 |
.endif |
36 |
|
39 |
|
37 |
.if defined(UTILS_ONLY) || defined(LIB_ONLY) |
40 |
.if defined(UTILS_ONLY) || defined(LIB_ONLY) |
Lines 44-50
Link Here
|
44 |
.endif |
47 |
.endif |
45 |
|
48 |
|
46 |
USE_LDCONFIG= yes |
49 |
USE_LDCONFIG= yes |
47 |
LLD_UNSAFE= yes |
|
|
48 |
INSTALL_TARGET= install-strip |
50 |
INSTALL_TARGET= install-strip |
49 |
|
51 |
|
50 |
USERS= knot |
52 |
USERS= knot |
Lines 75-89
Link Here
|
75 |
# in higher line count. Ideally this bug should be fixed upstream. |
77 |
# in higher line count. Ideally this bug should be fixed upstream. |
76 |
DNSTAP_CPPFLAGS= -I${LOCALBASE}/include |
78 |
DNSTAP_CPPFLAGS= -I${LOCALBASE}/include |
77 |
|
79 |
|
|
|
80 |
DOCS_USES+= python |
81 |
DOCS_CONFIGURE_OFF= --disable-documentation |
82 |
|
78 |
FASTPARSER_DESC= Fast zone parser (demanding compilation) |
83 |
FASTPARSER_DESC= Fast zone parser (demanding compilation) |
79 |
FASTPARSER_CONFIGURE_ENABLE= fastparser |
84 |
FASTPARSER_CONFIGURE_ENABLE= fastparser |
80 |
|
85 |
|
81 |
IDN_CONFIGURE_WITH= libidn |
86 |
IDN_CONFIGURE_WITH= libidn |
|
|
87 |
IDN_CONFIGURE_OFF= --without-libidn |
82 |
IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 |
88 |
IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 |
83 |
|
89 |
|
84 |
MAXMINDDB_DESC= Enable MaxMind for geodb module |
90 |
MAXMINDDB_DESC= Enable MaxMind for geodb module |
85 |
MAXMINDDB_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb |
91 |
MAXMINDDB_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb |
86 |
MAXMINDDB_CONFIGURE_ENABLE= maxminddb |
92 |
MAXMINDDB_CONFIGURE_ENABLE= maxminddb |
|
|
93 |
|
94 |
.include <bsd.port.options.mk> |
95 |
|
96 |
.if ${ARCH} == i386 |
97 |
USES+= autoreconf |
98 |
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-configure.ac |
99 |
.endif |
87 |
|
100 |
|
88 |
post-patch: |
101 |
post-patch: |
89 |
.if !defined(UTILS_ONLY) && !defined(LIB_ONLY) |
102 |
.if !defined(UTILS_ONLY) && !defined(LIB_ONLY) |