View | Details | Raw Unified | Return to bug 248385
Collapse All | Expand All

(-)Makefile (-10 / +30 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	dnsdist
4
PORTNAME=	dnsdist
5
DISTVERSION=	1.4.0
5
DISTVERSION=	1.5.0
6
PORTREVISION=	2
7
CATEGORIES=	dns net
6
CATEGORIES=	dns net
8
MASTER_SITES=	https://downloads.powerdns.com/releases/
7
MASTER_SITES=	https://downloads.powerdns.com/releases/
9
8
Lines 22-29 Link Here
22
		libre2.so:devel/re2 \
21
		libre2.so:devel/re2 \
23
		libsodium.so:security/libsodium
22
		libsodium.so:security/libsodium
24
23
25
USES=		bison:alias compiler:c++14-lang cpe gmake libedit libtool localbase \
24
USES=		bison:alias compiler:c++14-lang cpe gmake libedit libtool \
26
		pkgconfig tar:bz2
25
		localbase pkgconfig tar:bz2
27
USE_RC_SUBR=	dnsdist
26
USE_RC_SUBR=	dnsdist
28
27
29
GNU_CONFIGURE=	yes
28
GNU_CONFIGURE=	yes
Lines 40-53 Link Here
40
USERS=		_dnsdist
39
USERS=		_dnsdist
41
GROUPS=		_dnsdist
40
GROUPS=		_dnsdist
42
41
43
OPTIONS_DEFINE=		DNSTAP LUAJIT SNMP
42
OPTIONS_DEFINE=		DNSTAP SNMP
44
OPTIONS_DEFAULT=	GNUTLS OPENSSL
43
OPTIONS_DEFAULT=	CDB GNUTLS LMDB LUA OPENSSL
44
OPTIONS_GROUP=		KSVOPT
45
OPTIONS_GROUP_KSVOPT=	CDB LMDB
45
OPTIONS_MULTI=		TLS
46
OPTIONS_MULTI=		TLS
46
OPTIONS_MULTI_TLS=	GNUTLS OPENSSL
47
OPTIONS_MULTI_TLS=	GNUTLS OPENSSL
48
OPTIONS_SINGLE=		EXTLUA
49
OPTIONS_SINGLE_EXTLUA=	LUA LUAJIT LUAJITOR
47
50
51
CDB_DESC=	CDB backend
48
DNSTAP_DESC=	dnstap support (see dnstap.info)
52
DNSTAP_DESC=	dnstap support (see dnstap.info)
49
LUAJIT_DESC=	Use LuaJIT instead of Lua
53
KSVOPT_DESC=	Key Value Stores
54
LMDB_DESC=	LMDB backend
55
LUAJITOR_DESC=	Use lang/luajit-openresty
56
LUAJIT_DESC=	Use lang/luajit
57
LUA_DESC=	Use lang/lua
50
58
59
CDB_LIB_DEPENDS=	libcdb.so:databases/tinycdb
60
CDB_CONFIGURE_ON=	CDB_CFLAGS="-I${LOCALBASE}/include" \
61
			CDB_LIBS="-L${LOCALBASE}/lib -lcdb"
62
51
DNSTAP_LIB_DEPENDS=		libfstrm.so:devel/fstrm
63
DNSTAP_LIB_DEPENDS=		libfstrm.so:devel/fstrm
52
DNSTAP_CONFIGURE_ENABLE=	fstrm
64
DNSTAP_CONFIGURE_ENABLE=	fstrm
53
65
Lines 54-64 Link Here
54
GNUTLS_LIB_DEPENDS=		libgnutls.so:security/gnutls
66
GNUTLS_LIB_DEPENDS=		libgnutls.so:security/gnutls
55
GNUTLS_CONFIGURE_ENABLE=	gnutls
67
GNUTLS_CONFIGURE_ENABLE=	gnutls
56
68
57
LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit-openresty
69
LMDB_LIB_DEPENDS=	liblmdb.so:databases/lmdb
58
LUAJIT_USES_OFF=	lua
70
LMDB_CONFIGURE_ON=	--with-lmdb=${LOCALBASE}
59
LUAJIT_CONFIGURE_OFF=	--with-lua=lua-${LUA_VER}
71
LMDB_CONFIGURE_OFF=	--without-lmdb
72
73
LUAJITOR_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit-openresty
74
LUAJITOR_CONFIGURE_ON=	--with-lua=luajit
75
76
LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit
60
LUAJIT_CONFIGURE_ON=	--with-lua=luajit
77
LUAJIT_CONFIGURE_ON=	--with-lua=luajit
61
78
79
LUA_USES=		lua
80
LUA_CONFIGURE_ON=	--with-lua=lua-${LUA_VER}
81
62
OPENSSL_USES=		ssl
82
OPENSSL_USES=		ssl
63
OPENSSL_CONFIGURE_ON=	LIBSSL_CFLAGS=-I${OPENSSLINC} \
83
OPENSSL_CONFIGURE_ON=	LIBSSL_CFLAGS=-I${OPENSSLINC} \
64
			LIBSSL_LIBS="-L${OPENSSLLIB} -lssl"
84
			LIBSSL_LIBS="-L${OPENSSLLIB} -lssl"
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1579127277
1
TIMESTAMP = 1596123185
2
SHA256 (dnsdist-1.4.0.tar.bz2) = a336fa2c3eb381c2464d9d9790014fd6d4505029ed2c1b73ee1dc9115a2f1dc0
2
SHA256 (dnsdist-1.5.0.tar.bz2) = 2c07c4ef0c497f5223909ff181fe3ba7c6016962a2855cffe26b7f3609f27b58
3
SIZE (dnsdist-1.4.0.tar.bz2) = 1044479
3
SIZE (dnsdist-1.5.0.tar.bz2) = 1067645
(-)files/patch-ext_luawrapper_include_LuaContext.hpp (-2 / +2 lines)
Lines 1-6 Link Here
1
--- ext/luawrapper/include/LuaContext.hpp.orig	2018-03-29 15:25:58 UTC
1
--- ext/luawrapper/include/LuaContext.hpp.orig	2018-11-12 08:33:58 UTC
2
+++ ext/luawrapper/include/LuaContext.hpp
2
+++ ext/luawrapper/include/LuaContext.hpp
3
@@ -2635,11 +2635,21 @@ struct LuaContext::Reader<std::string>
3
@@ -2649,11 +2649,21 @@ struct LuaContext::Reader<std::string>
4
     static auto read(lua_State* state, int index)
4
     static auto read(lua_State* state, int index)
5
         -> boost::optional<std::string>
5
         -> boost::optional<std::string>
6
     {
6
     {
(-)pkg-descr (-4 / +27 lines)
Lines 1-6 Link Here
1
dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its
1
dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its goal in life
2
goal in life is to route DNS traffic to the best DNS server,
2
is to route traffic to the best server, delivering top performance to
3
delivering top performance to legitimate users while shunting or
3
legitimate users while shunting or blocking abusive traffic.
4
blocking abusive traffic.
5
4
5
dnsdist is dynamic, its configuration language is Lua and it can be can be
6
changed at runtime, and its statistics can be queried from a console-like
7
interface or an HTTP API.
8
9
dnsdist is used to protect and optimize the DNS traffic of hundreds of millions
10
of internet subscribers.
11
12
 * IPv4, UDP/TCP
13
 * IPv6, UDP/TCP, 100% compliant
14
 * Remotely pollable statistics for real time graphing
15
 * High performance
16
 * SNMP statistics bridge (read only)
17
 * Dynamically route queries to backend servers
18
 * Advanced anti-spoofing measures
19
 * Reconfiguration without downtime
20
 * Kernel based filtering of harmful traffic, rejecting packets at 'line speed'
21
 * Internal Lua-based scripted answer generation
22
 * Question interception, answer reconditioning, NXDOMAIN redirection
23
   - Including 'block lists' and security measures
24
 * Built-in memory efficient cache for increased performance
25
 * Ability to continue serving data from cache for non-responsive backends
26
 * Smart rate limiting per user, per subnet, per domain
27
 * Capable of writing dynamic rules to block harmful traffic
28
6
WWW: https://dnsdist.org/
29
WWW: https://dnsdist.org/

Return to bug 248385