From owner-svn-ports-head@freebsd.org Sun Jul 21 19:18:08 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1940DBB11C; Sun, 21 Jul 2019 19:18:08 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D92B68C8FD; Sun, 21 Jul 2019 19:18:07 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AD60227F52; Sun, 21 Jul 2019 19:18:07 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6LJI72J000691; Sun, 21 Jul 2019 19:18:07 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6LJI6iQ000687; Sun, 21 Jul 2019 19:18:06 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201907211918.x6LJI6iQ000687@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 21 Jul 2019 19:18:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507063 - in head/dns/knot-resolver: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/dns/knot-resolver: . files X-SVN-Commit-Revision: 507063 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D92B68C8FD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2019 19:18:08 -0000 Author: pi Date: Sun Jul 21 19:18:06 2019 New Revision: 507063 URL: https://svnweb.freebsd.org/changeset/ports/507063 Log: dns/knot-resolver: upgrade 3.2.1 -> 4.1.0 PR: 239261 Submitted by: freebsd@dns.company (maintainer) MFH: 2019Q3 Relnotes: https://www.knot-resolver.cz/2019-07-10-knot-resolver-4.1.0.html https://www.knot-resolver.cz/2019-04-18-knot-resolver-4.0.0.html Security: CVE-2019-10190, CVE-2019-10191 Deleted: head/dns/knot-resolver/files/patch-Makefile Modified: head/dns/knot-resolver/Makefile head/dns/knot-resolver/distinfo head/dns/knot-resolver/files/pkg-message.in head/dns/knot-resolver/pkg-plist Modified: head/dns/knot-resolver/Makefile ============================================================================== --- head/dns/knot-resolver/Makefile Sun Jul 21 18:37:26 2019 (r507062) +++ head/dns/knot-resolver/Makefile Sun Jul 21 19:18:06 2019 (r507063) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= knot-resolver -DISTVERSION= 3.2.1 -PORTREVISION= 4 +DISTVERSION= 4.1.0 CATEGORIES= dns ipv6 MASTER_SITES= https://secure.nic.cz/files/knot-resolver/ \ https://dns.company/downloads/knot-resolver/ @@ -11,7 +10,7 @@ MASTER_SITES= https://secure.nic.cz/files/knot-resolve MAINTAINER= freebsd@dns.company COMMENT= Caching full resolver implementation -LICENSE= GPLv3 +LICENSE= GPLv3+ BUILD_DEPENDS= bash:shells/bash \ git:devel/git @@ -22,25 +21,46 @@ LIB_DEPENDS= libgnutls.so:security/gnutls \ libuv.so:devel/libuv TEST_DEPENDS= cmocka>=1.1.1:sysutils/cmocka -USES= gmake libedit libtool ncurses pkgconfig shebangfix tar:xz - -SHEBANG_FILES= scripts/coverage_env.sh +USES= compiler:c11 compiler:c++11-lang libedit libtool meson \ + ncurses ninja pkgconfig shebangfix tar:xz +USE_CXXSTD= c++11 USE_LDCONFIG= yes +LDFLAGS= -L${LOCALBASE}/lib +SHEBANG_FILES= scripts/bench.sh \ + scripts/build-in-obs.sh \ + scripts/coverage_c_combine.sh \ + scripts/coverage_env.sh \ + scripts/gen-cdefs.sh \ + scripts/get-date.sh \ + scripts/get-scanbuild-args.sh \ + scripts/luacov_gen_empty.sh \ + scripts/make-dev-archive.sh \ + scripts/make-distrofiles.sh \ + scripts/make-doc.sh \ + scripts/make-srpm.sh \ + scripts/run-pylint.sh \ + scripts/test-config.sh \ + scripts/test-integration-prepare.sh \ + scripts/update-root-hints.sh + CONFLICTS= knot-1.* knot1-[0-6].* -MAKE_ARGS+= PREFIX=${LOCALBASE} -MAKE_ARGS+= LIBDIR=${PREFIX}/lib -MAKE_ARGS+= MANDIR=${PREFIX}/man -MAKE_ARGS+= PKGCONFIGDIR=${PREFIX}/libdata/pkgconfig -MAKE_ARGS+= lmdb_CFLAGS=-I${PREFIX}/include lmdb_LIBS=-llmdb +MESON_ARGS= --default-library=static \ + --mandir=${MANPREFIX} \ + --prefix=${LOCALBASE} \ + -Dsystemd=false +#MESON_ARGS+= --libdir=${PREFIX}/lib +#MESON_ARGS+= --pkg-config-path=${PREFIX}/libdata/pkgconfig +#MESON_ARGS+= lmdb_CFLAGS=-I${PREFIX}/include lmdb_LIBS=-llmdb -OPTIONS_DEFINE= DOCS DNSTAP DOXYGEN GO TRUSTANCHOR +OPTIONS_DEFINE= DOCS DNSTAP DOXYGEN GO TRUSTANCHOR +OPTIONS_DEFAULT= DOCS DNSTAP DOXYGEN GO # COOKIES will come return/reworked to reflect IETF dnsop group development #COOKIES_DESC= cookies #COOKIES_LIB_DEPENDS= libnettle.so:security/nettle -#COOKIES_MAKE_ARGS= HAS_nettle=yes +#COOKIES_MAKE_ARGS_ON= HAS_nettle=yes #COOKIES_MAKE_ARGS_OFF= HAS_nettle=no #COOKIES_PLIST_FILES= lib/kdns_modules/cookies.so \ # include/libkres/alg_containers.h \ @@ -54,39 +74,45 @@ DNSTAP_DESC= dnstap support DNSTAP_LIB_DEPENDS= libprotobuf.so:devel/protobuf \ libprotobuf-c.so:devel/protobuf-c \ libfstrm.so:devel/fstrm -DNSTAP_MAKE_ARGS= HAS_libprotobuf-c=yes HAS_libfstrm=yes -DNSTAP_MAKE_ARGS_OFF= HAS_libprotobuf-c=no HAS_libfstrm=no -DNSTAP_PLIST_FILES= lib/kdns_modules/dnstap.so +#DNSTAP_MAKE_ARGS_ON= HAS_libprotobuf-c=yes HAS_libfstrm=yes +#DNSTAP_MAKE_ARGS_OFF= HAS_libprotobuf-c=no HAS_libfstrm=no +DNSTAP_PLIST_FILES= lib/knot-resolver/kres_modules/dnstap.so DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen -DOXYGEN_MAKE_ARGS= HAS_doxygen=yes -DOXYGEN_MAKE_ARGS_OFF= HAS_doxygen=no +#DOXYGEN_MAKE_ARGS_ON= HAS_doxygen=yes +#DOXYGEN_MAKE_ARGS_OFF= HAS_doxygen=no GO_DESC= go GO_USES= go:no_targets -GO_MAKE_ARGS= HAS_go=yes -GO_MAKE_ARGS_OFF= HAS_go=no +GO_BUILD_DEPENDS= go>=1.5:lang/go +#GO_MAKE_ARGS_ON= HAS_go=yes +#GO_MAKE_ARGS_OFF= HAS_go=no TRUSTANCHOR_DESC= Trust anchor bootstrapping and stats TRUSTANCHOR_USES= lua -TRUSTANCHOR_MAKE_ARGS= HAS_ltn12=yes HAS_ssl.https=yes -TRUSTANCHOR_MAKE_ARGS_OFF= HAS_ltn12=no HAS_ssl.https=no +#TRUSTANCHOR_MAKE_ARGS_ON= HAS_ltn12=yes HAS_ssl.https=yes +#TRUSTANCHOR_MAKE_ARGS_OFF= HAS_ltn12=no HAS_ssl.https=no TRUSTANCHOR_BUILD_DEPENDS= ${LUA_PKGNAMEPREFIX}luasocket>=0:net/luasocket \ ${LUA_PKGNAMEPREFIX}luasec>=0:security/luasec .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1120000 -NOT_FOR_ARCHS= i386 -NOT_FOR_ARCHS_REASON_i386= libknot (installed by knot2) is broken on 11.2 at i386 -.endif +# has to be tested if this is still is a bug. +# if so, look in /usr/ports/multimedia/dav1d/Makefile for +# CPU stuff / llvm bug/workaround/solution +#.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1120000 +#NOT_FOR_ARCHS= i386 +#NOT_FOR_ARCHS_REASON_i386= libknot (installed by knot2) is broken on 11.2 at i386 +#.endif USERS= kresd GROUPS= kresd PORTDOCS= AUTHORS COPYING CodingStyle README.md +# check below list. +# libkres shouldn't have versioning anymore... STRIP_TARGETS= sbin/kresd \ sbin/kresc \ lib/libkres.so.7 \ @@ -96,6 +122,8 @@ STRIP_TARGETS= sbin/kresd \ lib/kdns_modules/dnstap.so \ lib/kdns_modules/hints.so \ lib/kdns_modules/stats.so + +pre-install-TEST-on: do-test post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/dns/knot-resolver/distinfo ============================================================================== --- head/dns/knot-resolver/distinfo Sun Jul 21 18:37:26 2019 (r507062) +++ head/dns/knot-resolver/distinfo Sun Jul 21 19:18:06 2019 (r507063) @@ -1,3 +1,3 @@ -TIMESTAMP = 1548257387 -SHA256 (knot-resolver-3.2.1.tar.xz) = d1396888ec3a63f19dccdf2b7dbcb0d16a5d8642766824b47f4c21be90ce362b -SIZE (knot-resolver-3.2.1.tar.xz) = 1765912 +TIMESTAMP = 1563184187 +SHA256 (knot-resolver-4.1.0.tar.xz) = 2fe470f9bb1007667cdd448f758087244b7195a0234c2b100a9beeed0a2d3e68 +SIZE (knot-resolver-4.1.0.tar.xz) = 1766916 Modified: head/dns/knot-resolver/files/pkg-message.in ============================================================================== --- head/dns/knot-resolver/files/pkg-message.in Sun Jul 21 18:37:26 2019 (r507062) +++ head/dns/knot-resolver/files/pkg-message.in Sun Jul 21 19:18:06 2019 (r507063) @@ -2,9 +2,12 @@ Please consult the documentation: - man kresd - - http://knot-resolver.readthedocs.io/en/latest/ + - https://knot-resolver.readthedocs.io/ To run as daemon see: - - http://knot-resolver.readthedocs.io/en/latest/daemon.html + - https://knot-resolver.readthedocs.io/en/latest/daemon.html + + If upgrading: + - https://knot-resolver.readthedocs.io/en/stable/upgrading.html ###################################################################### Modified: head/dns/knot-resolver/pkg-plist ============================================================================== --- head/dns/knot-resolver/pkg-plist Sun Jul 21 18:37:26 2019 (r507062) +++ head/dns/knot-resolver/pkg-plist Sun Jul 21 19:18:06 2019 (r507063) @@ -1,9 +1,7 @@ -%%ETCDIR%%/config.cluster -%%ETCDIR%%/config.isp -%%ETCDIR%%/config.personal -%%ETCDIR%%/config.splitview %%ETCDIR%%/icann-ca.pem +%%ETCDIR%%/kresd.conf %%ETCDIR%%/root.hints +%%ETCDIR%%/root.keys include/libkres/api.h include/libkres/array.h include/libkres/cdb_api.h @@ -28,61 +26,71 @@ include/libkres/ta.h include/libkres/trie.h include/libkres/utils.h include/libkres/zonecut.h -lib/kdns_modules/ahocorasick.so -lib/kdns_modules/basexx.lua -lib/kdns_modules/bogus_log.so -lib/kdns_modules/daf.lua -lib/kdns_modules/daf/daf.js -lib/kdns_modules/detect_time_jump.lua -lib/kdns_modules/detect_time_skew.lua -lib/kdns_modules/dns64.lua -lib/kdns_modules/edns_keepalive.so -lib/kdns_modules/etcd.lua -lib/kdns_modules/experimental_dot_auth.lua -lib/kdns_modules/graphite.lua -lib/kdns_modules/hints.so -lib/kdns_modules/http.lua -lib/kdns_modules/http/LICENSE -lib/kdns_modules/http/bootstrap-theme.min.css -lib/kdns_modules/http/bootstrap.min.css -lib/kdns_modules/http/bootstrap.min.js -lib/kdns_modules/http/d3.js -lib/kdns_modules/http/datamaps.world.min.js -lib/kdns_modules/http/dygraph-combined.js -lib/kdns_modules/http/epoch.css -lib/kdns_modules/http/epoch.js -lib/kdns_modules/http/favicon.ico -lib/kdns_modules/http/glyphicons-halflings-regular.woff2 -lib/kdns_modules/http/jquery.js -lib/kdns_modules/http/kresd.css -lib/kdns_modules/http/kresd.js -lib/kdns_modules/http/main.tpl -lib/kdns_modules/http/selectize.bootstrap3.min.css -lib/kdns_modules/http/selectize.min.css -lib/kdns_modules/http/selectize.min.js -lib/kdns_modules/http/topojson.js -lib/kdns_modules/http_trace.lua -lib/kdns_modules/kres-gen.lua -lib/kdns_modules/kres.lua -lib/kdns_modules/nsid.so -lib/kdns_modules/policy.lua -lib/kdns_modules/predict.lua -lib/kdns_modules/prefill.lua -lib/kdns_modules/priming.lua -lib/kdns_modules/prometheus.lua -lib/kdns_modules/rebinding.lua -lib/kdns_modules/renumber.lua -lib/kdns_modules/serve_stale.lua -lib/kdns_modules/stats.so -lib/kdns_modules/ta_sentinel.lua -lib/kdns_modules/ta_signal_query.lua -lib/kdns_modules/trust_anchors.lua -lib/kdns_modules/view.lua -lib/kdns_modules/workarounds.lua -lib/kdns_modules/zonefile.lua -lib/libkres.so -lib/libkres.so.9 +lib/knot-resolver/ahocorasick.so +lib/knot-resolver/config.lua +lib/knot-resolver/kres-gen.lua +lib/knot-resolver/kres.lua +lib/knot-resolver/kres_modules/bogus_log.so +lib/knot-resolver/kres_modules/daf.lua +lib/knot-resolver/kres_modules/daf/daf.js +lib/knot-resolver/kres_modules/detect_time_jump.lua +lib/knot-resolver/kres_modules/detect_time_skew.lua +lib/knot-resolver/kres_modules/dns64.lua +lib/knot-resolver/kres_modules/edns_keepalive.so +lib/knot-resolver/kres_modules/etcd.lua +lib/knot-resolver/kres_modules/experimental_dot_auth.lua +lib/knot-resolver/kres_modules/graphite.lua +lib/knot-resolver/kres_modules/hints.so +lib/knot-resolver/kres_modules/http.lua +lib/knot-resolver/kres_modules/http/LICENSE +lib/knot-resolver/kres_modules/http/bootstrap-theme.min.css +lib/knot-resolver/kres_modules/http/bootstrap.min.css +lib/knot-resolver/kres_modules/http/bootstrap.min.js +lib/knot-resolver/kres_modules/http/d3.js +lib/knot-resolver/kres_modules/http/datamaps.world.min.js +lib/knot-resolver/kres_modules/http/dygraph.min.js +lib/knot-resolver/kres_modules/http/epoch.css +lib/knot-resolver/kres_modules/http/epoch.js +lib/knot-resolver/kres_modules/http/favicon.ico +lib/knot-resolver/kres_modules/http/glyphicons-halflings-regular.woff2 +lib/knot-resolver/kres_modules/http/jquery.js +lib/knot-resolver/kres_modules/http/kresd.css +lib/knot-resolver/kres_modules/http/kresd.js +lib/knot-resolver/kres_modules/http/main.tpl +lib/knot-resolver/kres_modules/http/selectize.bootstrap3.min.css +lib/knot-resolver/kres_modules/http/selectize.min.css +lib/knot-resolver/kres_modules/http/selectize.min.js +lib/knot-resolver/kres_modules/http/topojson.js +lib/knot-resolver/kres_modules/http_doh.lua +lib/knot-resolver/kres_modules/http_tls_cert.lua +lib/knot-resolver/kres_modules/http_trace.lua +lib/knot-resolver/kres_modules/nsid.so +lib/knot-resolver/kres_modules/policy.lua +lib/knot-resolver/kres_modules/predict.lua +lib/knot-resolver/kres_modules/prefill.lua +lib/knot-resolver/kres_modules/priming.lua +lib/knot-resolver/kres_modules/prometheus.lua +lib/knot-resolver/kres_modules/rebinding.lua +lib/knot-resolver/kres_modules/renumber.lua +lib/knot-resolver/kres_modules/serve_stale.lua +lib/knot-resolver/kres_modules/stats.so +lib/knot-resolver/kres_modules/ta_sentinel.lua +lib/knot-resolver/kres_modules/ta_signal_query.lua +lib/knot-resolver/kres_modules/ta_update.lua +lib/knot-resolver/kres_modules/view.lua +lib/knot-resolver/kres_modules/workarounds.lua +lib/knot-resolver/sandbox.lua +lib/knot-resolver/trust_anchors.lua +lib/knot-resolver/zonefile.lua +lib/libkres.a libdata/pkgconfig/libkres.pc -man/man8/kresd.8.gz +man8/kresd.8 +sbin/kres-cache-gc sbin/kresc sbin/kresd +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/examples/config.cluster +%%PORTDOCS%%%%DOCSDIR%%/examples/config.docker +%%PORTDOCS%%%%DOCSDIR%%/examples/config.isp +%%PORTDOCS%%%%DOCSDIR%%/examples/config.personal +%%PORTDOCS%%%%DOCSDIR%%/examples/config.splitview