On Mon, Nov 20 2017, Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote: > Hi, > > a long overdue update to the latest release. Test reports > welcome^Wneeded. ;)
Updated patch for 2.6.3, published today. knot doesn't use thread-local storage any more, but COMPILER = ports-gcc is still needed at least on arm. Add ports-clang while here. Index: Makefile =================================================================== RCS file: /d/cvs/ports/net/knot/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- Makefile 20 Nov 2017 14:27:32 -0000 1.22 +++ Makefile 24 Nov 2017 15:01:28 -0000 @@ -2,12 +2,11 @@ COMMENT = authoritative DNS server -DISTNAME = knot-2.4.5 -REVISION = 2 +DISTNAME = knot-2.6.3 SHARED_LIBS += zscanner 1.0 # .1.0 -SHARED_LIBS += knot 1.1 # .5.0 -SHARED_LIBS += dnssec 0.0 # .3.0 +SHARED_LIBS += knot 2.0 # .7.0 +SHARED_LIBS += dnssec 1.0 # .5.0 CATEGORIES = net @@ -19,22 +18,26 @@ MAINTAINER = Pierre Emeriaud <petrus.lt # GPLv3+ PERMIT_PACKAGE_CDROM = Yes -WANTLIB += c curses edit ffi gmp gnutls hogweed iconv idn idn2 -WANTLIB += intl jansson m nettle p11-kit pthread tasn1 unistring -WANTLIB += urcu urcu-common z +WANTLIB += c curses edit ffi gmp gnutls hogweed iconv idn2 intl +WANTLIB += m nettle p11-kit pthread tasn1 unistring urcu urcu-common +WANTLIB += z MASTER_SITES = https://secure.nic.cz/files/knot-dns/ EXTRACT_SUFX = .tar.xz -# Needs TLS emulation, and atomic builtins on arm -COMPILER = base-clang ports-gcc +# atomics +COMPILER = base-clang ports-gcc ports-clang COMPILER_LANGS = c +MODULES = lang/python +# XXX pykeymgr requires py-lmdb (python-lmdb) +MODPY_RUNDEP = No +MODPY_ADJ_FILES = src/utils/pykeymgr/pykeymgr.in + BUILD_DEPENDS = devel/bison LIB_DEPENDS = devel/gettext \ - devel/libidn \ + devel/libidn2 \ devel/liburcu \ - devel/jansson \ security/gnutls CONFIGURE_STYLE = gnu Index: distinfo =================================================================== RCS file: /d/cvs/ports/net/knot/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo 29 Jun 2017 17:10:06 -0000 1.8 +++ distinfo 24 Nov 2017 14:56:21 -0000 @@ -1,2 +1,2 @@ -SHA256 (knot-2.4.5.tar.xz) = h86MzINRHFofTq3T8BIvL1rob7aOm3LwcAxvU0C6lcs= -SIZE (knot-2.4.5.tar.xz) = 1111536 +SHA256 (knot-2.6.3.tar.xz) = L7J6QAaGX8Eoc8utxbSocOxl0yk6KElywDFSIoKYd5A= +SIZE (knot-2.6.3.tar.xz) = 1112408 Index: patches/patch-src_libknot_lookup_h =================================================================== RCS file: patches/patch-src_libknot_lookup_h diff -N patches/patch-src_libknot_lookup_h --- patches/patch-src_libknot_lookup_h 1 Jun 2017 13:42:01 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-src_libknot_lookup_h,v 1.1 2017/06/01 13:42:01 jca Exp $ -Index: src/libknot/lookup.h ---- src/libknot/lookup.h.orig -+++ src/libknot/lookup.h -@@ -25,6 +25,7 @@ - #pragma once - - #include <string.h> -+#include <strings.h> - - /*! - * \brief A general purpose lookup table. Index: pkg/PLIST =================================================================== RCS file: /d/cvs/ports/net/knot/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 1 Jun 2017 13:42:01 -0000 1.3 +++ pkg/PLIST 24 Nov 2017 14:53:18 -0000 @@ -12,20 +12,18 @@ include/dnssec/binary.h include/dnssec/crypto.h include/dnssec/dnssec.h include/dnssec/error.h -include/dnssec/event.h -include/dnssec/kasp.h include/dnssec/key.h include/dnssec/keyid.h -include/dnssec/keystate.h include/dnssec/keystore.h include/dnssec/keytag.h -include/dnssec/keyusage.h include/dnssec/list.h include/dnssec/nsec.h include/dnssec/random.h include/dnssec/sign.h include/dnssec/tsig.h include/dnssec/version.h +include/knot/ +include/knot/module.h include/libknot/ include/libknot/attribute.h include/libknot/binary.h @@ -75,6 +73,11 @@ include/libknot/rrtype/txt.h include/libknot/tsig-op.h include/libknot/tsig.h include/libknot/version.h +include/libknot/yparser/ +include/libknot/yparser/yparser.h +include/libknot/yparser/ypformat.h +include/libknot/yparser/ypschema.h +include/libknot/yparser/yptrafo.h include/zscanner/ include/zscanner/error.h include/zscanner/scanner.h @@ -88,14 +91,13 @@ lib/libknot.la lib/libzscanner.a lib/libzscanner.la @lib lib/libzscanner.so.${LIBzscanner_VERSION} +lib/pkgconfig/knotd.pc lib/pkgconfig/libdnssec.pc lib/pkgconfig/libknot.pc lib/pkgconfig/libzscanner.pc -@bin libexec/knot1to2 @man man/man1/kdig.1 @man man/man1/khost.1 @man man/man1/kjournalprint.1 -@man man/man1/knot1to2.1 @man man/man1/knsec3hash.1 @man man/man1/knsupdate.1 @man man/man1/kzonecheck.1 @@ -103,9 +105,11 @@ lib/pkgconfig/libzscanner.pc @man man/man8/keymgr.8 @man man/man8/knotc.8 @man man/man8/knotd.8 +@man man/man8/pykeymgr.8 @bin sbin/keymgr @bin sbin/knotc @bin sbin/knotd +sbin/pykeymgr share/examples/knot/ @sample ${SYSCONFDIR}/knot/ share/examples/knot/example.com.zone -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE