Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/dns/knot/Makefile 381230 2015-03-13 20:04:21Z pawel $ |
2 |
# $FreeBSD: head/dns/knot/Makefile 381230 2015-03-13 20:04:21Z pawel $ |
3 |
|
3 |
|
4 |
PORTNAME= knot |
4 |
PORTNAME= knot |
5 |
PORTVERSION= 1.6.2 |
5 |
PORTVERSION= 1.6.3 |
6 |
CATEGORIES= dns ipv6 |
6 |
CATEGORIES= dns ipv6 |
7 |
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ |
7 |
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ |
8 |
http://dns-lab.com/downloads/knot-dns/ |
8 |
http://dns-lab.com/downloads/knot-dns/ |
Lines 20-44
Link Here
|
20 |
|
20 |
|
21 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
22 |
|
22 |
|
23 |
USE_OPENSSL= yes |
|
|
24 |
WITH_OPENSSL_PORT= yes |
25 |
|
26 |
INSTALL_TARGET= install-strip |
23 |
INSTALL_TARGET= install-strip |
27 |
|
24 |
|
28 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
29 |
|
26 |
|
|
|
27 |
CONFIGURE_ARGS+= --with-gnu-ld |
30 |
CONFIGURE_ARGS+= --with-storage=/var/db/knot |
28 |
CONFIGURE_ARGS+= --with-storage=/var/db/knot |
31 |
CONFIGURE_ARGS+= --with-rundir=/var/run/knot |
29 |
CONFIGURE_ARGS+= --with-rundir=/var/run/knot |
32 |
|
30 |
|
33 |
OPTIONS_DEFINE= FASTPARSER IDNA |
31 |
OPTIONS_DEFINE= DNSTAP FASTPARSER GOST IDNA LMDB |
|
|
32 |
OPTIONS_SINGLE= SSL |
33 |
OPTIONS_SINGLE_SSL= LIBRESSL OPENSSL |
34 |
OPTIONS_DEFAULT= GOST OPENSSL |
35 |
|
36 |
DNSTAP_DESC= dnstap support (see dnstap.info) |
37 |
DNSTAP_CONFIGURE_ENABLE= dnstap |
38 |
DNSTAP_LIB_DEPENDS= libfstrm.so:${PORTSDIR}/devel/fstrm \ |
39 |
libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c |
34 |
|
40 |
|
|
|
41 |
FASTPARSER_DESC= Fast zone parser (demanding compilation) |
35 |
FASTPARSER_CONFIGURE_ENABLE= fastparser |
42 |
FASTPARSER_CONFIGURE_ENABLE= fastparser |
36 |
FASTPARSER_DESC= Fast zone parser (demanding compilation) |
|
|
37 |
|
43 |
|
38 |
IDNA_CONFIGURE_WITH= libidn |
44 |
GOST_DESC= Enable GOST ciphers (requires OpenSSL >= 1.0.0) |
|
|
45 |
|
39 |
IDNA_DESC= IDN support in knot utilities |
46 |
IDNA_DESC= IDN support in knot utilities |
|
|
47 |
IDNA_CONFIGURE_WITH= libidn |
40 |
IDNA_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn |
48 |
IDNA_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn |
41 |
|
49 |
|
|
|
50 |
LMDB_DESC= LMDB backend |
51 |
LMDB_CONFIGURE_ENABLE= lmdb |
52 |
LMDB_LIB_DEPENDS= liblmdb.so:${PORTSDIR}/databases/lmdb |
53 |
|
54 |
SSL_DESC= DNSSEC support using: |
55 |
|
56 |
LIBRESSL_DESC= LibreSSL (experimental) |
57 |
LIBRESSL_LIB_DEPENDS= libressl.so:${PORTSDIR}/security/libressl |
58 |
|
59 |
OPENSSL_DESC= OpenSSL (default) |
60 |
OPENSSL_USE= OPENSSL=yes |
61 |
OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} |
62 |
|
63 |
.include <bsd.port.options.mk> |
64 |
|
65 |
.if ${PORT_OPTIONS:MLIBRESSL} && ${PORT_OPTIONS:MGOST} |
66 |
IGNORE= the (not impossible) combination of LibreSSL and GOST is not implemented (yet). Either disable GOST or use OpenSSL |
67 |
.endif |
68 |
|
69 |
.if ${PORT_OPTIONS:MOPENSSL} && ${PORT_OPTIONS:MGOST} && ${OSVERSION} < 1000015 |
70 |
WITH_OPENSSL_PORT= yes |
71 |
.endif |
72 |
|
42 |
SUB_FILES= pkg-message |
73 |
SUB_FILES= pkg-message |
43 |
|
74 |
|
44 |
USE_RC_SUBR= ${PORTNAME} |
75 |
USE_RC_SUBR= ${PORTNAME} |