summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2017-07-28 13:29:40 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2017-07-28 13:29:40 +0000
commit609705dfd9617cee4f62b2cc258d86b0fb7860ef (patch)
tree71770625c226fbd747f2d6e01ff3ffa00a0a9bbd /dns
parentdf705a3277ca7bbb126bcf2a7de846518ed8a762 (diff)
downloadfreebsd-ports-609705dfd9617cee4f62b2cc258d86b0fb7860ef.zip
Update to 1.3.1
New OPTIONS: COOKIES DNSTAP GO STATS PR: 220419 Submitted by: freebsd@dns-lab.com (maintainer)
Diffstat (limited to 'dns')
-rw-r--r--dns/knot-resolver/Makefile32
-rw-r--r--dns/knot-resolver/distinfo6
-rw-r--r--dns/knot-resolver/pkg-plist4
3 files changed, 30 insertions, 12 deletions
diff --git a/dns/knot-resolver/Makefile b/dns/knot-resolver/Makefile
index 0bd28244ffd4..2072ece66b2d 100644
--- a/dns/knot-resolver/Makefile
+++ b/dns/knot-resolver/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= knot-resolver
-PORTVERSION= 1.2.3
+PORTVERSION= 1.3.1
CATEGORIES= dns ipv6
MASTER_SITES= https://secure.nic.cz/files/knot-resolver/ \
https://dns.company/downloads/knot-resolver/
@@ -12,12 +12,11 @@ COMMENT= Caching full resolver implementation
LICENSE= GPLv3
-LIB_DEPENDS= libknot.so:dns/knot2 \
+LIB_DEPENDS= libgnutls.so:security/gnutls \
+ libknot.so:dns/knot2 \
liblmdb.so:databases/lmdb \
libluajit-5.1.so:lang/luajit \
- libuv.so:devel/libuv \
- libgnutls.so:security/gnutls \
- libnettle.so:security/nettle
+ libuv.so:devel/libuv
CONFLICTS= knot-1.* knot1-[0-6].*
@@ -27,26 +26,43 @@ MAKE_ARGS+= MANDIR=${PREFIX}/man
MAKE_ARGS+= PKGCONFIGDIR=${PREFIX}/libdata/pkgconfig
MAKE_ARGS+= lmdb_CFLAGS=-I${PREFIX}/include lmdb_LIBS=-llmdb
-USES= gmake libtool pkgconfig tar:xz
+USES= gmake libedit libtool pkgconfig tar:xz
USE_CSTD= c99
USE_LDCONFIG= yes
-OPTIONS_DEFINE= DOXYGEN MEMCACHED REDIS
-OPTIONS_DEFAULT=
+OPTIONS_DEFINE= COOKIES DNSTAP DOXYGEN GO MEMCACHED REDIS STATS
+
+COOKIES_DESC= cookies
+COOKIES_LIB_DEPENDS= libnettle.so:security/nettle
+
+DNSTAP_DESC= dnstap support
+DNSTAP_LIB_DEPENDS= libprotobuf.so:devel/protobuf \
+ libprotobuf-c.so:devel/protobuf-c \
+ libfstrm.so:devel/fstrm
+
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_MAKE_ARGS= HAS_doxygen=yes
DOXYGEN_MAKE_ARGS_OFF= HAS_doxygen=no
+
+GO_DESC= go
+GO_BUILD_DEPENDS= go>=1.5:lang/go
+
MEMCACHED_DESC= memcached in-memory data-backend
MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached
MEMCACHED_MAKE_ARGS= HAS_libmemcached=yes
MEMCACHED_MAKE_ARGS_OFF= HAS_libmemcached=no
MEMCACHED_PLIST_FILES= lib/kdns_modules/kmemcached.so
+
REDIS_DESC= redis in-memory data-backend
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
REDIS_MAKE_ARGS= HAS_hiredis=yes
REDIS_MAKE_ARGS_OFF= HAS_hiredis=no
REDIS_PLIST_FILES= lib/kdns_modules/redis.so
+STATS_DESC= stats
+STATS_BUILD_DEPENDS= luasocket:net/luasocket \
+ luasec:security/luasec
+
USERS= kresd
GROUPS= kresd
diff --git a/dns/knot-resolver/distinfo b/dns/knot-resolver/distinfo
index bbd4f0fb46c8..4676dfcdc15b 100644
--- a/dns/knot-resolver/distinfo
+++ b/dns/knot-resolver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1487892509
-SHA256 (knot-resolver-1.2.3.tar.xz) = 81a773f182112b4e11935223f900cfbcca8624f2c382b1e39a68d7c3db81c921
-SIZE (knot-resolver-1.2.3.tar.xz) = 1045548
+TIMESTAMP = 1498699706
+SHA256 (knot-resolver-1.3.1.tar.xz) = cc9631fe1a92628e81e74b324a7f70c0b29840d426de05d7d045fdf85ab01117
+SIZE (knot-resolver-1.3.1.tar.xz) = 1074804
diff --git a/dns/knot-resolver/pkg-plist b/dns/knot-resolver/pkg-plist
index aad9ca5bc08f..40ba03983c24 100644
--- a/dns/knot-resolver/pkg-plist
+++ b/dns/knot-resolver/pkg-plist
@@ -66,9 +66,11 @@ lib/kdns_modules/stats.so
lib/kdns_modules/trust_anchors.lua
lib/kdns_modules/version.lua
lib/kdns_modules/view.lua
+lib/kdns_modules/workarounds.lua
lib/kdns_modules/zonefile.lua
lib/libkres.so
-lib/libkres.so.2
+lib/libkres.so.3
libdata/pkgconfig/libkres.pc
man/man8/kresd.8.gz
+sbin/kresc
sbin/kresd