View | Details | Raw Unified | Return to bug 199298 | Differences between
and this patch

Collapse All | Expand All

(-)dns/knot/Makefile (-7 / +38 lines)
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}
(-)dns/knot/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (knot-1.6.2.tar.xz) = 01fe0ae8081992c8b378045e31a2d03452d0ae6d8afaa1905fd767f7e2376ad4
1
SHA256 (knot-1.6.3.tar.xz) = 48da608e29c2c1ef5937eb692f8ef0462ebb50fa7d128478a23e0a9788533e86
2
SIZE (knot-1.6.2.tar.xz) = 782416
2
SIZE (knot-1.6.3.tar.xz) = 785052
(-)dns/knot/files/patch-src_libknot_dnssec_config.h (+11 lines)
Line 0 Link Here
1
--- src/libknot/dnssec/config.h.orig	2015-02-19 09:43:56 UTC
2
+++ src/libknot/dnssec/config.h
3
@@ -40,7 +40,7 @@
4
   #undef KNOT_ENABLE_ECDSA
5
 #endif
6
 
7
-#if !defined(OPENSSL_NO_GOST) && OPENSSL_VERSION_NUMBER >= 0x1000001fL
8
+#if !defined(OPENSSL_NO_GOST) && OPENSSL_VERSION_NUMBER >= 0x1000001fL && !defined(LIBRESSL_VERSION_NUMBER)
9
   #define KNOT_ENABLE_GOST 1
10
 #else
11
   #undef KNOT_ENABLE_GOST
(-)dns/knot/files/pkg-message.in (-1 / +1 lines)
Lines 1-6 Link Here
1
####################################################################
1
####################################################################
2
#
2
#
3
# To start using Knot DNS, you should complete the following tasks:
3
# Complete the following tasks to start using Knot DNS:
4
#
4
#
5
# cp %%ETCDIR%%/knot.sample.conf %%ETCDIR%%/knot.conf
5
# cp %%ETCDIR%%/knot.sample.conf %%ETCDIR%%/knot.conf
6
# $EDITOR %%ETCDIR%%/knot.conf
6
# $EDITOR %%ETCDIR%%/knot.conf

Return to bug 199298