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

Collapse All | Expand All

(-)dns/knot/Makefile (-10 / +29 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 12-22 Link Here
12
12
13
LICENSE=	GPLv3
13
LICENSE=	GPLv3
14
14
15
BUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison \
15
BUILD_DEPENDS=	flex>=2.5.35_1:${PORTSDIR}/textproc/flex
16
		flex>=2.5.35_1:${PORTSDIR}/textproc/flex
17
LIB_DEPENDS=	liburcu.so:${PORTSDIR}/sysutils/liburcu
16
LIB_DEPENDS=	liburcu.so:${PORTSDIR}/sysutils/liburcu
18
17
19
USES=		alias libtool tar:xz
18
CONFLICTS=	knot-devel-1.*
19
20
USES=		alias bison libtool tar:xz
20
21
21
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
22
23
Lines 27-44 Link Here
27
28
28
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
29
30
30
CONFIGURE_ARGS+=	--with-storage=/var/db/knot
31
CONFIGURE_ARGS+=	--with-storage=/var/db/knot \
31
CONFIGURE_ARGS+=	--with-rundir=/var/run/knot
32
			--with-rundir=/var/run/knot \
32
33
			--with-openssl=${OPENSSLBASE}
33
OPTIONS_DEFINE=	FASTPARSER IDNA
34
35
OPTIONS_DEFINE=		DNSTAP FASTPARSER GOST IDNA LMDB
36
37
DNSTAP_DESC=		dnstap support (see dnstap.info)
38
DNSTAP_CONFIGURE_ENABLE=	dnstap
39
DNSTAP_LIB_DEPENDS=	libfstrm.so:${PORTSDIR}/devel/fstrm \
40
			libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c
34
41
42
FASTPARSER_DESC=	Fast zone parser (demanding compilation)
35
FASTPARSER_CONFIGURE_ENABLE=	fastparser
43
FASTPARSER_CONFIGURE_ENABLE=	fastparser
36
FASTPARSER_DESC=		Fast zone parser (demanding compilation)
37
44
38
IDNA_CONFIGURE_WITH=	libidn
45
GOST_DESC=		Enable GOST ciphers (requires OpenSSL >= 1.0.0)
46
39
IDNA_DESC=		IDN support in knot utilities
47
IDNA_DESC=		IDN support in knot utilities
48
IDNA_CONFIGURE_WITH=	libidn
40
IDNA_LIB_DEPENDS=	libidn.so:${PORTSDIR}/dns/libidn
49
IDNA_LIB_DEPENDS=	libidn.so:${PORTSDIR}/dns/libidn
41
50
51
LMDB_DESC=		LMDB backend
52
LMDB_CONFIGURE_ENABLE=	lmdb
53
LMDB_LIB_DEPENDS=	liblmdb.so:${PORTSDIR}/databases/lmdb
54
55
.include <bsd.port.options.mk>
56
57
.if ${PORT_OPTIONS:MGOST} && defined(OPENSSL_PORT) && ${OPENSSL_PORT} == "security/libressl"
58
IGNORE=			the (not impossible) combination of LibreSSL and GOST is not installing correctly. Either don't use GOST or do use OpenSSL
59
.endif
60
42
SUB_FILES=	pkg-message
61
SUB_FILES=	pkg-message
43
62
44
USE_RC_SUBR=	${PORTNAME}
63
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 (-11 / +12 lines)
Lines 1-11 Link Here
1
####################################################################
1
#####################################################################
2
#
2
 #
3
# To start using Knot DNS, you should complete the following tasks:
3
 #        To use Knot DNS complete the following:
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
7
# echo knot_enable=\"YES\" >> /etc/rc.conf
7
 sysrc knot_enable=YES
8
# echo knot_config=\"%%PREFIX%%/etc/knot/knot.conf\" >> /etc/rc.conf
8
 sysrc knot_config=%%ETCDIR%%/knot.conf
9
# %%PREFIX%%/etc/rc.d/knot start
9
 service knot start
10
#
10
 #
11
####################################################################
11
 #####################################################################
12

Return to bug 199298