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

Collapse All | Expand All

(-)dns/knot/Makefile (-7 / +37 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-28 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
Lines 30-44 Link Here
30
CONFIGURE_ARGS+=	--with-storage=/var/db/knot
27
CONFIGURE_ARGS+=	--with-storage=/var/db/knot
31
CONFIGURE_ARGS+=	--with-rundir=/var/run/knot
28
CONFIGURE_ARGS+=	--with-rundir=/var/run/knot
32
29
33
OPTIONS_DEFINE=	FASTPARSER IDNA
30
OPTIONS_DEFINE=		DNSTAP FASTPARSER GOST IDNA LMDB
31
OPTIONS_SINGLE=		SSL
32
OPTIONS_SINGLE_SSL=	LIBRESSL OPENSSL
33
OPTIONS_DEFAULT=	GOST OPENSSL
34
35
DNSTAP_DESC=		dnstap support (see dnstap.info)
36
DNSTAP_CONFIGURE_ENABLE=	dnstap
37
DNSTAP_LIB_DEPENDS=	libfstrm.so:${PORTSDIR}/devel/fstrm \
38
			libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c
34
39
40
FASTPARSER_DESC=	Fast zone parser (demanding compilation)
35
FASTPARSER_CONFIGURE_ENABLE=	fastparser
41
FASTPARSER_CONFIGURE_ENABLE=	fastparser
36
FASTPARSER_DESC=		Fast zone parser (demanding compilation)
37
42
38
IDNA_CONFIGURE_WITH=	libidn
43
GOST_DESC=		Enable GOST ciphers (requires OpenSSL >= 1.0.0)
44
39
IDNA_DESC=		IDN support in knot utilities
45
IDNA_DESC=		IDN support in knot utilities
46
IDNA_CONFIGURE_WITH=	libidn
40
IDNA_LIB_DEPENDS=	libidn.so:${PORTSDIR}/dns/libidn
47
IDNA_LIB_DEPENDS=	libidn.so:${PORTSDIR}/dns/libidn
41
48
49
LMDB_DESC=		LMDB backend
50
LMDB_CONFIGURE_ENABLE=	lmdb
51
LMDB_LIB_DEPENDS=	liblmdb.so:${PORTSDIR}/databases/lmdb
52
53
SSL_DESC=		DNSSEC support using:
54
55
LIBRESSL_DESC=		LibreSSL (experimental)
56
LIBRESSL_LIB_DEPENDS=	libressl.so:${PORTSDIR}/security/libressl
57
58
OPENSSL_DESC=		OpenSSL (default)
59
OPENSSL_USE=		OPENSSL=yes
60
OPENSSL_CONFIGURE_ON=	--with-openssl=${OPENSSLBASE}
61
62
.include <bsd.port.options.mk>
63
64
.if ${PORT_OPTIONS:MLIBRESSL} && ${PORT_OPTIONS:MGOST}
65
IGNORE=			the (not impossible) combination of LibreSSL and GOST is not implemented (yet). Either disable GOST or use OpenSSL
66
.endif
67
68
.if ${PORT_OPTIONS:MOPENSSL} && ${PORT_OPTIONS:MGOST} && ${OSVERSION} < 1000015
69
WITH_OPENSSL_PORT=	yes
70
.endif
71
42
SUB_FILES=	pkg-message
72
SUB_FILES=	pkg-message
43
73
44
USE_RC_SUBR=	${PORTNAME}
74
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