diff options
Diffstat (limited to 'dns')
137 files changed, 579 insertions, 2725 deletions
diff --git a/dns/Makefile b/dns/Makefile index 3717716f6067..b1e013013a45 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -7,7 +7,6 @@ SUBDIR += axfr2acl SUBDIR += bind-tools SUBDIR += bind9-devel - SUBDIR += bind916 SUBDIR += bind918 SUBDIR += bindgraph SUBDIR += blocky @@ -67,7 +66,6 @@ SUBDIR += dynip SUBDIR += encrypted-dns-server SUBDIR += fastresolve - SUBDIR += firedns SUBDIR += flamethrower SUBDIR += fpdns SUBDIR += gdnsd2 @@ -100,6 +98,9 @@ SUBDIR += libnspsl SUBDIR += libpsl SUBDIR += linux-c7-libasyncns + SUBDIR += linux-rl9-libasyncns + SUBDIR += linux-rl9-libidn2 + SUBDIR += linux-rl9-libpsl SUBDIR += lua-resty-dns SUBDIR += luaunbound SUBDIR += mDNSResponder_nss diff --git a/dns/acme-dns/Makefile b/dns/acme-dns/Makefile index 321afb75856d..ad09bc3fe328 100644 --- a/dns/acme-dns/Makefile +++ b/dns/acme-dns/Makefile @@ -1,7 +1,7 @@ PORTNAME= acme-dns DISTVERSIONPREFIX= v DISTVERSION= 1.0 -PORTREVISION= 15 +PORTREVISION= 16 PORTEPOCH= 1 CATEGORIES= dns diff --git a/dns/adsuck/Makefile b/dns/adsuck/Makefile index 821664a5a645..41e3344fdd7f 100644 --- a/dns/adsuck/Makefile +++ b/dns/adsuck/Makefile @@ -10,6 +10,9 @@ MAINTAINER= phil@philpep.org COMMENT= DNS relay for ad blocking WWW= http://opensource.conformal.com/wiki/Adsuck +DEPRECATED= Obsolete, no longer relevant +EXPIRATION_DATE=2024-05-31 + LICENSE= ISCL LIB_DEPENDS+= libevent.so:devel/libevent \ diff --git a/dns/amass/Makefile b/dns/amass/Makefile index 179978d705b1..28289b3f1463 100644 --- a/dns/amass/Makefile +++ b/dns/amass/Makefile @@ -1,7 +1,7 @@ PORTNAME= amass DISTVERSIONPREFIX= v DISTVERSION= 4.2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org diff --git a/dns/bind-tools/pkg-plist b/dns/bind-tools/pkg-plist index ac953e9d63f3..e52b15a2013f 100644 --- a/dns/bind-tools/pkg-plist +++ b/dns/bind-tools/pkg-plist @@ -10,6 +10,7 @@ bin/dnssec-revoke bin/dnssec-settime bin/dnssec-signzone bin/dnssec-verify +%%DNSTAP%%bin/dnstap-read bin/host bin/mdig bin/named-rrchecker @@ -17,19 +18,19 @@ bin/nsec3hash bin/nslookup bin/nsupdate lib/bind-tools/libbind9.so -lib/bind-tools/libbind9-9.18.26.so +lib/bind-tools/libbind9-9.18.27.so lib/bind-tools/libdns.so -lib/bind-tools/libdns-9.18.26.so +lib/bind-tools/libdns-9.18.27.so lib/bind-tools/libirs.so -lib/bind-tools/libirs-9.18.26.so +lib/bind-tools/libirs-9.18.27.so lib/bind-tools/libisc.so -lib/bind-tools/libisc-9.18.26.so +lib/bind-tools/libisc-9.18.27.so lib/bind-tools/libisccc.so -lib/bind-tools/libisccc-9.18.26.so +lib/bind-tools/libisccc-9.18.27.so lib/bind-tools/libisccfg.so -lib/bind-tools/libisccfg-9.18.26.so +lib/bind-tools/libisccfg-9.18.27.so lib/bind-tools/libns.so -lib/bind-tools/libns-9.18.26.so +lib/bind-tools/libns-9.18.27.so share/man/man1/arpaname.1.gz share/man/man1/delv.1.gz share/man/man1/dig.1.gz @@ -42,7 +43,7 @@ share/man/man1/dnssec-revoke.1.gz share/man/man1/dnssec-settime.1.gz share/man/man1/dnssec-signzone.1.gz share/man/man1/dnssec-verify.1.gz -@comment share/man/man1/dnstap-read.1.gz +%%DNSTAP%%share/man/man1/dnstap-read.1.gz share/man/man1/host.1.gz share/man/man1/mdig.1.gz @comment share/man/man1/named-checkconf.1.gz diff --git a/dns/bind-tools/pkg-plist-devel b/dns/bind-tools/pkg-plist-devel index 66f73650ac47..97364a9ada9b 100644 --- a/dns/bind-tools/pkg-plist-devel +++ b/dns/bind-tools/pkg-plist-devel @@ -6,30 +6,28 @@ bin/dnssec-dsfromkey bin/dnssec-importkey bin/dnssec-keyfromlabel bin/dnssec-keygen +bin/dnssec-ksr bin/dnssec-revoke bin/dnssec-settime bin/dnssec-signzone bin/dnssec-verify +%%DNSTAP%%bin/dnstap-read bin/host bin/mdig bin/named-rrchecker bin/nsec3hash bin/nslookup bin/nsupdate -lib/bind-tools/libbind9.so -lib/bind-tools/libbind9-9.19.3-dev.so +lib/bind-tools/libdns-9.19.24.so lib/bind-tools/libdns.so -lib/bind-tools/libdns-9.19.3-dev.so -lib/bind-tools/libirs.so -lib/bind-tools/libirs-9.19.3-dev.so +lib/bind-tools/libisc-9.19.24.so lib/bind-tools/libisc.so -lib/bind-tools/libisc-9.19.3-dev.so +lib/bind-tools/libisccc-9.19.24.so lib/bind-tools/libisccc.so -lib/bind-tools/libisccc-9.19.3-dev.so +lib/bind-tools/libisccfg-9.19.24.so lib/bind-tools/libisccfg.so -lib/bind-tools/libisccfg-9.19.3-dev.so +lib/bind-tools/libns-9.19.24.so lib/bind-tools/libns.so -lib/bind-tools/libns-9.19.3-dev.so share/man/man1/arpaname.1.gz share/man/man1/delv.1.gz share/man/man1/dig.1.gz @@ -38,18 +36,18 @@ share/man/man1/dnssec-dsfromkey.1.gz share/man/man1/dnssec-importkey.1.gz share/man/man1/dnssec-keyfromlabel.1.gz share/man/man1/dnssec-keygen.1.gz +share/man/man1/dnssec-ksr.1.gz share/man/man1/dnssec-revoke.1.gz share/man/man1/dnssec-settime.1.gz share/man/man1/dnssec-signzone.1.gz share/man/man1/dnssec-verify.1.gz -@comment share/man/man1/dnstap-read.1.gz +%%DNSTAP%%share/man/man1/dnstap-read.1.gz share/man/man1/host.1.gz share/man/man1/mdig.1.gz @comment share/man/man1/named-checkconf.1.gz @comment share/man/man1/named-checkzone.1.gz @comment share/man/man1/named-compilezone.1.gz @comment share/man/man1/named-journalprint.1.gz -@comment share/man/man1/named-nzd2nzf.1.gz share/man/man1/named-rrchecker.1.gz share/man/man1/nsec3hash.1.gz share/man/man1/nslookup.1.gz diff --git a/dns/bind9-devel/Makefile b/dns/bind9-devel/Makefile index 15de05084a85..8ad053470db7 100644 --- a/dns/bind9-devel/Makefile +++ b/dns/bind9-devel/Makefile @@ -1,27 +1,23 @@ # pkg-help formatted with fmt 59 63 PORTNAME= bind -PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/} +DISTVERSION= 9.19.24 .if defined(BIND_TOOLS_SLAVE) # dns/bind-tools here -PORTREVISION= 2 +PORTREVISION= 1 .else # XXX: correct version # dns/bind9xx here -PORTREVISION= 2 +PORTREVISION= 1 .endif CATEGORIES= dns net -# XXX: put the ISC master_site -#MASTER_SITES= ISC/bind9/${ISCVERSION} -MASTER_SITES= LOCAL/mat/bind +MASTER_SITES= ISC/bind9/${DISTVERSION} .if defined(BIND_TOOLS_SLAVE) PKGNAMESUFFIX= -tools .else # XXX: correct SUFFIX. PKGNAMESUFFIX= 9-devel .endif -# XXX: correct DISTNAME. -#DISTNAME= ${PORTNAME}-${ISCVERSION} MAINTAINER= mat@FreeBSD.org WWW= https://www.isc.org/bind/ @@ -41,35 +37,25 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libuv.so:devel/libuv \ libnghttp2.so:www/libnghttp2 \ + liburcu.so:sysutils/liburcu \ libxml2.so:textproc/libxml2 .if !defined(BIND_TOOLS_SLAVE) RUN_DEPENDS= bind-tools>0:dns/bind-tools .endif -# XXX: remove tar:bz2 -USES= autoreconf compiler:c11 cpe libedit libtool pkgconfig ssl tar:bz2 -# ISC releases things like 9.8.0-P1, which our versioning doesn't like -ISCVERSION= 9.19.3.2022.06.16 -# XXX: Remove gitlab -USE_GITLAB= yes -GL_SITE= https://gitlab.isc.org -GL_ACCOUNT= isc-projects -GL_PROJECT= bind9 -GL_TAGNAME= 84854b3f22b885ba4cfbf34697de4fbed1cad0a2 +USES= autoreconf compiler:c11 cpe libedit libtool pkgconfig ssl tar:xz CPE_VENDOR= isc -CPE_VERSION= ${ISCVERSION:C/-.*//} -.if ${ISCVERSION:M*-*} -CPE_UPDATE= ${ISCVERSION:C/.*-//:tl} +CPE_VERSION= ${DISTVERSION:C/-.*//} +.if ${DISTVERSION:M*-*} +CPE_UPDATE= ${DISTVERSION:C/.*-//:tl} .endif GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share -CONFIGURE_ARGS= --disable-linux-caps \ - --localstatedir=/var \ +CONFIGURE_ARGS= --localstatedir=/var \ --sysconfdir=${ETCDIR} \ - --with-dlopen=yes \ --with-libxml2 \ --with-openssl=${OPENSSLBASE} \ --enable-dnsrps \ @@ -104,7 +90,7 @@ OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE .if defined(BIND_TOOLS_SLAVE) -OPTIONS_EXCLUDE= DNSTAP DOCS GEOIP LMDB \ +OPTIONS_EXCLUDE= DOCS GEOIP LMDB \ OVERRIDECACHE QUERYTRACE START_LATE \ TCP_FASTOPEN .endif # BIND_TOOLS_SLAVE @@ -189,6 +175,10 @@ USE_PERL5= build BUILD_DEPENDS+= cmocka>0:sysutils/cmocka .endif +.if !${PORT_OPTIONS:MDOCS} +CONFIGURE_ENV+= ac_cv_path_SPHINX_BUILD= +.endif + .include <bsd.port.pre.mk> .if ${SSL_DEFAULT} == base @@ -197,10 +187,7 @@ SUB_LIST+= ENGINES=/usr/lib/engines SUB_LIST+= ENGINES=${LOCALBASE}/lib/engines .endif -# XXX: Remove first REINPLACE_CMD post-patch: - @${REINPLACE_CMD} -e '/^m4_define(\[bind_SRCID/s/\[m4.*\]/${GL_TAGNAME}/' \ - ${WRKSRC}/configure.ac .for FILE in check/named-checkconf.rst named/named.rst nsupdate/nsupdate.rst \ rndc/rndc.rst @${REINPLACE_CMD} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \ @@ -223,10 +210,6 @@ post-install: ${INSTALL_DATA} ${FILESDIR}/localhost-reverse.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.dist.sample ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.local.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.local.dist.sample - ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \ - ${STAGEDIR}${ETCDIR}/rndc.conf.sample -# FIXME: this is strange. - @${RM} -rf ${STAGEDIR}/wrkdirs post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm diff --git a/dns/bind9-devel/distinfo b/dns/bind9-devel/distinfo index 44b8c8e1fc90..41c5231ca84b 100644 --- a/dns/bind9-devel/distinfo +++ b/dns/bind9-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1655710077 -SHA256 (isc-projects-bind9-84854b3f22b885ba4cfbf34697de4fbed1cad0a2_GL0.tar.gz) = 2675272288171b0c5240f533b13f9169754dc363df6b9fcea5ac56c93a53dda4 -SIZE (isc-projects-bind9-84854b3f22b885ba4cfbf34697de4fbed1cad0a2_GL0.tar.gz) = 6452017 +TIMESTAMP = 1715967036 +SHA256 (bind-9.19.24.tar.xz) = d00eeece9134407a91add4ca768ab534fda857ed94803cea29c26df93032269c +SIZE (bind-9.19.24.tar.xz) = 5744796 diff --git a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl index 5ee5822278c9..ab6ddafc62ee 100644 --- a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl +++ b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl @@ -1,8 +1,8 @@ Add the override-cache-ttl feature. ---- bin/named/config.c.orig 2022-06-10 05:54:30 UTC +--- bin/named/config.c.orig 2024-05-03 07:23:29 UTC +++ bin/named/config.c -@@ -181,6 +181,7 @@ options {\n\ +@@ -179,6 +179,7 @@ options {\n\ notify-source *;\n\ notify-source-v6 *;\n\ nsec3-test-zone no;\n\ @@ -10,9 +10,9 @@ Add the override-cache-ttl feature. parental-source *;\n\ parental-source-v6 *;\n\ provide-ixfr true;\n\ ---- bin/named/server.c.orig 2022-06-10 05:54:30 UTC +--- bin/named/server.c.orig 2024-05-03 07:23:29 UTC +++ bin/named/server.c -@@ -4521,6 +4521,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl +@@ -4478,6 +4478,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl } obj = NULL; @@ -24,9 +24,22 @@ Add the override-cache-ttl feature. result = named_config_get(maps, "max-cache-ttl", &obj); INSIST(result == ISC_R_SUCCESS); view->maxcachettl = cfg_obj_asduration(obj); ---- lib/dns/include/dns/view.h.orig 2022-06-10 05:54:30 UTC +--- doc/arm/reference.rst.orig 2024-05-03 07:23:29 UTC ++++ doc/arm/reference.rst +@@ -4264,6 +4264,10 @@ Tuning + cannot exceed 7 days and is silently truncated to 7 days if set to a + greater value. + ++.. namedconf:statement:: override-cache-ttl ++ ++ Enforce the configure cache TTL override. ++ + .. namedconf:statement:: max-cache-ttl + :tags: server + :short: Specifies the maximum time (in seconds) that the server caches ordinary (positive) answers. +--- lib/dns/include/dns/view.h.orig 2024-05-03 07:23:29 UTC +++ lib/dns/include/dns/view.h -@@ -149,6 +149,7 @@ struct dns_view { +@@ -151,6 +151,7 @@ struct dns_view { bool requestnsid; bool sendcookie; dns_ttl_t maxcachettl; @@ -34,9 +47,9 @@ Add the override-cache-ttl feature. dns_ttl_t maxncachettl; dns_ttl_t mincachettl; dns_ttl_t minncachettl; ---- lib/dns/resolver.c.orig 2022-06-10 05:54:30 UTC +--- lib/dns/resolver.c.orig 2024-05-03 07:23:29 UTC +++ lib/dns/resolver.c -@@ -6126,6 +6126,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes +@@ -5850,6 +5850,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes } /* @@ -49,9 +62,9 @@ Add the override-cache-ttl feature. * Enforce the configure maximum cache TTL. */ if (rdataset->ttl > res->view->maxcachettl) { ---- lib/isccfg/namedconf.c.orig 2022-06-10 05:54:30 UTC +--- lib/isccfg/namedconf.c.orig 2024-05-03 07:23:29 UTC +++ lib/isccfg/namedconf.c -@@ -2093,6 +2093,7 @@ static cfg_clausedef_t view_clauses[] = { +@@ -2145,6 +2145,7 @@ static cfg_clausedef_t view_clauses[] = { #endif /* ifdef HAVE_LMDB */ { "max-acache-size", NULL, CFG_CLAUSEFLAG_ANCIENT }, { "max-cache-size", &cfg_type_sizeorpercent, 0 }, diff --git a/dns/bind9-devel/files/extrapatch-bind-tools b/dns/bind9-devel/files/extrapatch-bind-tools index 886edecf59fb..0416f8b80b37 100644 --- a/dns/bind9-devel/files/extrapatch-bind-tools +++ b/dns/bind9-devel/files/extrapatch-bind-tools @@ -1,22 +1,21 @@ Only select the "tools" part of bind for building. ---- Makefile.am.orig 2022-06-10 05:54:30 UTC +--- Makefile.am.orig 2023-12-02 10:13:03 UTC +++ Makefile.am -@@ -12,8 +12,6 @@ CLEANFILES = bind.keys.h - bind.keys.h: bind.keys Makefile - ${PERL} ${top_srcdir}/util/bindkeys.pl ${top_srcdir}/bind.keys > $@ - --dist_sysconf_DATA = bind.keys -- +@@ -17,7 +17,6 @@ bind.keys.h: bind.keys Makefile .PHONY: doc EXTRA_DIST = \ ---- bin/Makefile.am.orig 2022-06-10 05:54:30 UTC +- bind.keys \ + util/bindkeys.pl \ + util/dtrace.sh \ + contrib \ +--- bin/Makefile.am.orig 2023-12-01 14:21:34 UTC +++ bin/Makefile.am @@ -1 +1 @@ -SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen tests plugins +SUBDIRS = dig delv dnssec tools nsupdate ---- bin/tools/Makefile.am.orig 2022-06-10 05:54:30 UTC +--- bin/tools/Makefile.am.orig 2023-12-01 14:21:34 UTC +++ bin/tools/Makefile.am @@ -11,7 +11,6 @@ LDADD += \ bin_PROGRAMS = \ diff --git a/dns/bind9-devel/files/extrapatch-no-bind-tools b/dns/bind9-devel/files/extrapatch-no-bind-tools index d53088bec0f4..9a168202eb50 100644 --- a/dns/bind9-devel/files/extrapatch-no-bind-tools +++ b/dns/bind9-devel/files/extrapatch-no-bind-tools @@ -1,13 +1,13 @@ Exclude the "tools" from building and installing. ---- bin/Makefile.am.orig 2021-09-17 07:10:48 UTC +--- bin/Makefile.am.orig 2024-05-03 07:23:28 UTC +++ bin/Makefile.am @@ -1 +1 @@ -SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen tests plugins +SUBDIRS = named rndc tools check confgen tests plugins ---- bin/tools/Makefile.am.orig 2021-09-17 07:10:48 UTC +--- bin/tools/Makefile.am.orig 2024-05-03 07:23:29 UTC +++ bin/tools/Makefile.am -@@ -9,11 +9,7 @@ LDADD += \ +@@ -9,29 +9,10 @@ LDADD += \ $(LIBISC_LIBS) bin_PROGRAMS = \ @@ -20,3 +20,21 @@ Exclude the "tools" from building and installing. arpaname_LDADD = \ $(LIBISC_LIBS) +- +-if HAVE_DNSTAP +-bin_PROGRAMS += \ +- dnstap-read +- +-dnstap_read_CPPFLAGS = \ +- $(AM_CPPFLAGS) \ +- $(DNSTAP_CFLAGS) \ +- -I$(top_builddir)/lib/dns +- +-dnstap_read_LDADD = \ +- $(LIBDNS_LIBS) \ +- $(LIBISC_LIBS) \ +- $(DNSTAP_LIBS) +-endif + + if HAVE_LMDB + bin_PROGRAMS += \ diff --git a/dns/bind9-devel/files/named.root b/dns/bind9-devel/files/named.root index 6f15474277e1..77cf1e35c5bb 100644 --- a/dns/bind9-devel/files/named.root +++ b/dns/bind9-devel/files/named.root @@ -8,9 +8,9 @@ ; file /domain/named.cache ; on server FTP.INTERNIC.NET ; -OR- RS.INTERNIC.NET -; -; last update: November 16, 2017 -; related version of root zone: 2017111601 +; +; last update: January 24, 2024 +; related version of root zone: 2024012401 ; ; FORMERLY NS.INTERNIC.NET ; @@ -21,8 +21,8 @@ A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:ba3e::2:30 ; FORMERLY NS1.ISI.EDU ; . 3600000 NS B.ROOT-SERVERS.NET. -B.ROOT-SERVERS.NET. 3600000 A 199.9.14.201 -B.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:200::b +B.ROOT-SERVERS.NET. 3600000 A 170.247.170.2 +B.ROOT-SERVERS.NET. 3600000 AAAA 2801:1b8:10::b ; ; FORMERLY C.PSI.NET ; diff --git a/dns/bind9-devel/files/patch-bin_named_include_named_globals.h b/dns/bind9-devel/files/patch-bin_named_include_named_globals.h index 6b9d61afe30c..e0b4c90941ad 100644 --- a/dns/bind9-devel/files/patch-bin_named_include_named_globals.h +++ b/dns/bind9-devel/files/patch-bin_named_include_named_globals.h @@ -1,8 +1,8 @@ We reference the pid file as being run/named/pid everywere else. ---- bin/named/include/named/globals.h.orig 2021-09-17 07:10:48 UTC +--- bin/named/include/named/globals.h.orig 2023-12-01 14:21:34 UTC +++ bin/named/include/named/globals.h -@@ -133,7 +133,7 @@ EXTERN bool named_g_forcelock INIT(false); +@@ -121,7 +121,7 @@ EXTERN const char *named_g_defaultsessionkeyfile INIT( #if NAMED_RUN_PID_DIR EXTERN const char *named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR "/run/named/" diff --git a/dns/bind9-devel/pkg-plist b/dns/bind9-devel/pkg-plist index 1497d3df4270..b4fc3d1d90e6 100644 --- a/dns/bind9-devel/pkg-plist +++ b/dns/bind9-devel/pkg-plist @@ -1,4 +1,3 @@ -%%DNSTAP%%bin/dnstap-read bin/named-checkconf bin/named-checkzone bin/named-compilezone @@ -6,15 +5,11 @@ bin/named-journalprint %%LMDB%%bin/named-nzd2nzf @sample etc/mtree/BIND.chroot.dist.sample @sample etc/mtree/BIND.chroot.local.dist.sample -%%ETCDIR%%/bind.keys +@sample %%ETCDIR%%/named.conf.sample +%%ETCDIR%%/named.root %%ETCDIR%%/primary/empty.db %%ETCDIR%%/primary/localhost-forward.db %%ETCDIR%%/primary/localhost-reverse.db -@sample %%ETCDIR%%/named.conf.sample -%%ETCDIR%%/named.root -%%ETCDIR%%/rndc.conf.sample -include/bind9/check.h -include/bind9/getaddresses.h include/dns/acl.h include/dns/adb.h include/dns/badcache.h @@ -44,7 +39,6 @@ include/dns/ecs.h include/dns/edns.h include/dns/enumclass.h include/dns/enumtype.h -include/dns/events.h include/dns/fixedname.h include/dns/forward.h include/dns/geoip.h @@ -55,6 +49,7 @@ include/dns/kasp.h include/dns/keydata.h include/dns/keyflags.h include/dns/keymgr.h +include/dns/keystore.h include/dns/keytable.h include/dns/keyvalues.h include/dns/librpz.h @@ -63,6 +58,7 @@ include/dns/master.h include/dns/masterdump.h include/dns/message.h include/dns/name.h +include/dns/nametree.h include/dns/ncache.h include/dns/nsec.h include/dns/nsec3.h @@ -71,6 +67,7 @@ include/dns/opcode.h include/dns/order.h include/dns/peer.h include/dns/private.h +include/dns/qp.h include/dns/rbt.h include/dns/rcode.h include/dns/rdata.h @@ -81,6 +78,7 @@ include/dns/rdatasetiter.h include/dns/rdataslab.h include/dns/rdatastruct.h include/dns/rdatatype.h +include/dns/remote.h include/dns/request.h include/dns/resolver.h include/dns/result.h @@ -88,7 +86,6 @@ include/dns/rootns.h include/dns/rpz.h include/dns/rriterator.h include/dns/rrl.h -include/dns/sdb.h include/dns/sdlz.h include/dns/secalg.h include/dns/secproto.h @@ -97,8 +94,8 @@ include/dns/ssu.h include/dns/stats.h include/dns/time.h include/dns/tkey.h +include/dns/trace.h include/dns/transport.h -include/dns/tsec.h include/dns/tsig.h include/dns/ttl.h include/dns/types.h @@ -113,48 +110,47 @@ include/dns/zt.h include/dst/dst.h include/dst/gssapi.h include/irs/resconf.h -include/isc/aes.h -include/isc/align.h -include/isc/app.h +include/isc/ascii.h include/isc/assertions.h -include/isc/astack.h +include/isc/async.h include/isc/atomic.h include/isc/attributes.h include/isc/backtrace.h include/isc/barrier.h include/isc/base32.h include/isc/base64.h -include/isc/bind9.h include/isc/buffer.h -include/isc/cmocka.h include/isc/commandline.h include/isc/condition.h include/isc/counter.h include/isc/crc64.h -include/isc/deprecated.h include/isc/dir.h +include/isc/dnsstream.h include/isc/endian.h +include/isc/entropy.h include/isc/errno.h include/isc/error.h -include/isc/event.h -include/isc/eventclass.h include/isc/file.h +include/isc/fips.h include/isc/formatcheck.h -include/isc/fsaccess.h include/isc/fuzz.h -include/isc/glob.h +include/isc/getaddresses.h include/isc/hash.h +include/isc/hashmap.h include/isc/heap.h include/isc/hex.h +include/isc/histo.h include/isc/hmac.h include/isc/ht.h include/isc/httpd.h include/isc/interfaceiter.h include/isc/iterated_hash.h +include/isc/job.h include/isc/lang.h include/isc/lex.h include/isc/list.h include/isc/log.h +include/isc/loop.h include/isc/magic.h include/isc/managers.h include/isc/md.h @@ -164,16 +160,16 @@ include/isc/mutex.h include/isc/mutexblock.h include/isc/net.h include/isc/netaddr.h -include/isc/netdb.h include/isc/netmgr.h include/isc/netscope.h include/isc/nonce.h -include/isc/offset.h include/isc/once.h include/isc/os.h +include/isc/overflow.h include/isc/parseint.h +include/isc/pause.h include/isc/portset.h -include/isc/print.h +include/isc/proxy2.h include/isc/quota.h include/isc/radix.h include/isc/random.h @@ -181,38 +177,39 @@ include/isc/ratelimiter.h include/isc/refcount.h include/isc/regex.h include/isc/region.h -include/isc/resource.h include/isc/result.h include/isc/rwlock.h include/isc/safe.h include/isc/serial.h +include/isc/signal.h include/isc/siphash.h include/isc/sockaddr.h -include/isc/stat.h +include/isc/spinlock.h include/isc/stats.h -include/isc/stdatomic.h include/isc/stdio.h include/isc/stdtime.h include/isc/strerr.h include/isc/string.h include/isc/symtab.h include/isc/syslog.h -include/isc/task.h include/isc/thread.h +include/isc/tid.h include/isc/time.h include/isc/timer.h include/isc/tls.h include/isc/tm.h include/isc/types.h +include/isc/urcu.h include/isc/url.h include/isc/utf8.h include/isc/util.h include/isc/uv.h +include/isc/work.h +include/isc/xml.h include/isccc/alist.h include/isccc/base64.h include/isccc/cc.h include/isccc/ccmsg.h -include/isccc/events.h include/isccc/sexpr.h include/isccc/symtab.h include/isccc/symtype.h @@ -220,12 +217,13 @@ include/isccc/types.h include/isccc/util.h include/isccfg/aclconf.h include/isccfg/cfg.h +include/isccfg/check.h +include/isccfg/duration.h include/isccfg/grammar.h include/isccfg/kaspconf.h include/isccfg/log.h include/isccfg/namedconf.h include/ns/client.h -include/ns/events.h include/ns/hooks.h include/ns/interfacemgr.h include/ns/listenlist.h @@ -240,20 +238,16 @@ include/ns/update.h include/ns/xfrout.h lib/bind/filter-a.so lib/bind/filter-aaaa.so -lib/libbind9.so -lib/libbind9-9.19.3-dev.so +lib/libdns-9.19.24.so lib/libdns.so -lib/libdns-9.19.3-dev.so -lib/libirs.so -lib/libirs-9.19.3-dev.so +lib/libisc-9.19.24.so lib/libisc.so -lib/libisc-9.19.3-dev.so +lib/libisccc-9.19.24.so lib/libisccc.so -lib/libisccc-9.19.3-dev.so +lib/libisccfg-9.19.24.so lib/libisccfg.so -lib/libisccfg-9.19.3-dev.so +lib/libns-9.19.24.so lib/libns.so -lib/libns-9.19.3-dev.so @comment share/man/man1/arpaname.1.gz @comment share/man/man1/delv.1.gz @comment share/man/man1/dig.1.gz @@ -262,11 +256,12 @@ lib/libns-9.19.3-dev.so @comment share/man/man1/dnssec-importkey.1.gz @comment share/man/man1/dnssec-keyfromlabel.1.gz @comment share/man/man1/dnssec-keygen.1.gz +@comment share/man/man1/dnssec-ksr.1.gz @comment share/man/man1/dnssec-revoke.1.gz @comment share/man/man1/dnssec-settime.1.gz @comment share/man/man1/dnssec-signzone.1.gz @comment share/man/man1/dnssec-verify.1.gz -%%DNSTAP%%share/man/man1/dnstap-read.1.gz +@comment share/man/man1/dnstap-read.1.gz @comment share/man/man1/host.1.gz @comment share/man/man1/mdig.1.gz share/man/man1/named-checkconf.1.gz diff --git a/dns/bind916/Makefile b/dns/bind916/Makefile deleted file mode 100644 index 89e72f532b6b..000000000000 --- a/dns/bind916/Makefile +++ /dev/null @@ -1,227 +0,0 @@ -# pkg-help formatted with fmt 59 63 - -PORTNAME= bind -DISTVERSION= 9.16.50 -PORTREVISION= 1 -CATEGORIES= dns net -MASTER_SITES= ISC/bind9/${DISTVERSION} -PKGNAMESUFFIX= 916 -DISTNAME= ${PORTNAME}-${DISTVERSION} - -MAINTAINER= mat@FreeBSD.org -COMMENT= BIND DNS suite with updated DNSSEC and DNS64 -WWW= https://www.isc.org/bind/ - -DEPRECATED= End of life, please migrate to a newer version of BIND9 -EXPIRATION_DATE= 2024-04-30 - -LICENSE= MPL20 -LICENSE_FILE= ${WRKSRC}/LICENSE - -LIB_DEPENDS= libuv.so:devel/libuv \ - libxml2.so:textproc/libxml2 -RUN_DEPENDS= bind-tools>0:dns/bind-tools - -USES= compiler:c11 cpe libedit pkgconfig ssl tar:xz - -CPE_VENDOR= isc -CPE_VERSION= ${DISTVERSION:C/-.*//} -.if ${DISTVERSION:M*-*} -CPE_UPDATE= ${DISTVERSION:C/.*-//:tl} -.endif - -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share -CONFIGURE_ARGS= --disable-linux-caps \ - --localstatedir=/var \ - --sysconfdir=${ETCDIR} \ - --with-dlopen=yes \ - --without-python \ - --with-libxml2 \ - --with-openssl=${OPENSSLBASE} \ - --with-readline="-L${LOCALBASE}/lib -ledit" -ETCDIR= ${PREFIX}/etc/namedb - -USE_RC_SUBR= named -SUB_FILES= named.conf pkg-message - -PORTDOCS= * - -CONFLICTS= bind9[0-9][0-9] bind9-devel - -MAKE_JOBS_UNSAFE= yes - -OPTIONS_DEFAULT= DLZ_FILESYSTEM GSSAPI_NONE IDN JSON LMDB \ - TCP_FASTOPEN DNSTAP -OPTIONS_DEFINE= DNSTAP DOCS FIXED_RRSET GEOIP IDN JSON LARGE_FILE LMDB \ - OVERRIDECACHE PORTREVISION QUERYTRACE \ - START_LATE TCP_FASTOPEN - -OPTIONS_RADIO= CRYPTO -OPTIONS_RADIO_CRYPTO= NATIVE_PKCS11 - -OPTIONS_GROUP= DLZ -OPTIONS_GROUP_DLZ= DLZ_BDB DLZ_FILESYSTEM DLZ_LDAP DLZ_MYSQL \ - DLZ_POSTGRESQL DLZ_STUB - -OPTIONS_SINGLE= GSSAPI -OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE - -OPTIONS_SUB= yes - -CRYPTO_DESC= Choose which crypto engine to use -DLZ_BDB_DESC= DLZ BDB driver -DLZ_DESC= Dynamically Loadable Zones -DLZ_FILESYSTEM_DESC= DLZ filesystem driver -DLZ_LDAP_DESC= DLZ LDAP driver -DLZ_MYSQL_DESC= DLZ MySQL driver (no threading) -DLZ_POSTGRESQL_DESC= DLZ Postgres driver -DLZ_STUB_DESC= DLZ stub driver -DNSTAP_DESC= Provides fast passive logging of DNS messages -FIXED_RRSET_DESC= Enable fixed rrset ordering -GSSAPI_BASE_DESC= Using Heimdal in base (nsupdate is broken) -GSSAPI_HEIMDAL_DESC= Using security/heimdal (nsupdate is broken) -GSSAPI_MIT_DESC= Using security/krb5 -GSSAPI_NONE_DESC= Disable -LARGE_FILE_DESC= 64-bit file support -LMDB_DESC= Use LMDB for zone management -OVERRIDECACHE_DESC= Use the override-cache patch -NATIVE_PKCS11_DESC= Use PKCS\#11 native API (**READ HELP**) -PORTREVISION_DESC= Show PORTREVISION in the version string -QUERYTRACE_DESC= Enable the very verbose query tracelogging -START_LATE_DESC= Start BIND late in the boot process (see help) -TCP_FASTOPEN_DESC= RFC 7413 support - -DLZ_BDB_CONFIGURE_ON= --with-dlz-bdb=yes -DLZ_BDB_USES= bdb - -DLZ_FILESYSTEM_CONFIGURE_ON= --with-dlz-filesystem=yes - -DLZ_LDAP_CONFIGURE_ON= --with-dlz-ldap=yes -DLZ_LDAP_USES= ldap - -DLZ_MYSQL_CONFIGURE_ON= --with-dlz-mysql=yes -DLZ_MYSQL_USES= mysql - -DLZ_POSTGRESQL_CONFIGURE_ON= --with-dlz-postgres=yes -DLZ_POSTGRESQL_USES= pgsql - -DLZ_STUB_CONFIGURE_ON= --with-dlz-stub=yes - -DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ - ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} -DOCS_USES= python:env - -DNSTAP_CONFIGURE_ENABLE= dnstap -DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ - libprotobuf-c.so:devel/protobuf-c - -FIXED_RRSET_CONFIGURE_ENABLE= fixed-rrset - -GEOIP_CONFIGURE_ENABLE= geoip -GEOIP_CONFIGURE_WITH= maxminddb -GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb - -GSSAPI_BASE_CONFIGURE_ON= --with-gssapi=${GSSAPIBASEDIR} \ - ${GSSAPI_CONFIGURE_ARGS} -GSSAPI_BASE_USES= gssapi - -GSSAPI_HEIMDAL_CONFIGURE_ON= --with-gssapi=${GSSAPIBASEDIR} \ - ${GSSAPI_CONFIGURE_ARGS} -GSSAPI_HEIMDAL_USES= gssapi:heimdal - -GSSAPI_MIT_CONFIGURE_ON= --with-gssapi=${GSSAPIBASEDIR} \ - ${GSSAPI_CONFIGURE_ARGS} -GSSAPI_MIT_USES= gssapi:mit - -GSSAPI_NONE_CONFIGURE_ON= --without-gssapi - -IDN_CONFIGURE_OFF= --without-libidn2 -IDN_CONFIGURE_ON= ${ICONV_CONFIGURE_BASE} \ - --with-libidn2=${LOCALBASE} -IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 -IDN_USES= iconv - -JSON_CONFIGURE_WITH= json-c -JSON_LIB_DEPENDS= libjson-c.so:devel/json-c -JSON_LDFLAGS= -L${LOCALBASE}/lib -ljson-c - -LARGE_FILE_CONFIGURE_ENABLE= largefile - -LMDB_CONFIGURE_WITH= lmdb=${LOCALBASE} -LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb - -OVERRIDECACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl - -NATIVE_PKCS11_CONFIGURE_ENABLE= native-pkcs11 - -QUERYTRACE_CONFIGURE_ENABLE= querytrace - -START_LATE_SUB_LIST= NAMED_BEFORE="LOGIN" \ - NAMED_REQUIRE="SERVERS cleanvar" -START_LATE_SUB_LIST_OFF= NAMED_BEFORE="SERVERS" \ - NAMED_REQUIRE="NETWORKING ldconfig syslogd" - -TCP_FASTOPEN_CONFIGURE_ENABLE= tcp-fastopen - -.include <bsd.port.options.mk> - -.if defined(WITH_DEBUG) -CONFIGURE_ARGS+= --enable-developer \ - --enable-symtable -USES+= perl5 -USE_PERL5= build -BUILD_DEPENDS+= cmocka>0:sysutils/cmocka -.else -CONFIGURE_ARGS+= --disable-symtable -.endif - -.include <bsd.port.pre.mk> - -.if ${SSL_DEFAULT} == base -SUB_LIST+= ENGINES=/usr/lib/engines -.else -SUB_LIST+= ENGINES=${LOCALBASE}/lib/engines -.endif - -post-patch: -.for FILE in named-checkconf.8 named.8 named.conf.5 nsupdate.1 \ - rndc.8 - @${REINPLACE_CMD} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \ - -e 's#/etc/rndc.conf#${ETCDIR}/rndc.conf#g' \ - -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \ - ${WRKSRC}/doc/man/${FILE}in -.endfor - -. if ${PORTREVISION:N0} -post-patch-PORTREVISION-on: - @${REINPLACE_CMD} -e '/EXTENSIONS/s#=$$#=_${PORTREVISION}#' \ - ${WRKSRC}/version -. endif - -post-build-DOCS-on: - cd ${WRKSRC}/doc/arm && ${MAKE} html - -post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree - ${MKDIR} ${STAGEDIR}${ETCDIR} -. for i in dynamic master slave working - @${MKDIR} ${STAGEDIR}${ETCDIR}/$i -. endfor - ${INSTALL_DATA} ${WRKDIR}/named.conf ${STAGEDIR}${ETCDIR}/named.conf.sample - ${INSTALL_DATA} ${FILESDIR}/named.root ${STAGEDIR}${ETCDIR} - ${INSTALL_DATA} ${FILESDIR}/empty.db ${STAGEDIR}${ETCDIR}/master - ${INSTALL_DATA} ${FILESDIR}/localhost-forward.db ${STAGEDIR}${ETCDIR}/master - ${INSTALL_DATA} ${FILESDIR}/localhost-reverse.db ${STAGEDIR}${ETCDIR}/master - ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.dist.sample - ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.local.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.local.dist.sample - ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \ - ${STAGEDIR}${ETCDIR}/rndc.conf.sample - -post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm - ${INSTALL_DATA} ${WRKSRC}/CHANGES* ${WRKSRC}/HISTORY.md \ - ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/doc/arm/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/arm - -.include <bsd.port.post.mk> diff --git a/dns/bind916/distinfo b/dns/bind916/distinfo deleted file mode 100644 index fa4268e146f3..000000000000 --- a/dns/bind916/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1713682578 -SHA256 (bind-9.16.50.tar.xz) = 816dbaa3c115019f30fcebd9e8ef8f7637f4adde91c79daa099b035255a15795 -SIZE (bind-9.16.50.tar.xz) = 5134620 diff --git a/dns/bind916/files/BIND.chroot.dist b/dns/bind916/files/BIND.chroot.dist deleted file mode 100644 index 5616dd712f6b..000000000000 --- a/dns/bind916/files/BIND.chroot.dist +++ /dev/null @@ -1,24 +0,0 @@ -# mtree -deU -f files/BIND.chroot.dist -p tmp -# mtree -cjnb -k uname,gname,mode -p tmp - -/set type=file uname=root gname=wheel mode=0755 -. type=dir - dev type=dir mode=0555 - .. - etc type=dir - .. - tmp type=dir mode=01777 - .. -/set type=file uname=bind gname=bind mode=0755 - var type=dir uname=root gname=wheel - dump type=dir - .. - log type=dir - .. - run type=dir - named type=dir - .. - .. - stats type=dir - .. - .. diff --git a/dns/bind916/files/BIND.chroot.local.dist b/dns/bind916/files/BIND.chroot.local.dist deleted file mode 100644 index 81fca3df322c..000000000000 --- a/dns/bind916/files/BIND.chroot.local.dist +++ /dev/null @@ -1,18 +0,0 @@ -# mtree -deU -f files/BIND.etc.dist -p tmp -# mtree -cjnb -k uname,gname,mode -p tmp - -/set type=file uname=root gname=wheel mode=0755 -. type=dir - etc type=dir -/set type=file uname=bind gname=wheel mode=0755 - namedb type=dir uname=root - dynamic type=dir - .. - master type=dir uname=root - .. - slave type=dir - .. - working type=dir - .. - .. - .. diff --git a/dns/bind916/files/bind-v9.16.0-tcp_quota_fix.patch b/dns/bind916/files/bind-v9.16.0-tcp_quota_fix.patch deleted file mode 100644 index bad95dddc192..000000000000 --- a/dns/bind916/files/bind-v9.16.0-tcp_quota_fix.patch +++ /dev/null @@ -1,341 +0,0 @@ -diff --git a/lib/isc/netmgr/netmgr-int.h b/lib/isc/netmgr/netmgr-int.h -index ae83f943d3..c85065f39d 100644 ---- a/lib/isc/netmgr/netmgr-int.h -+++ b/lib/isc/netmgr/netmgr-int.h -@@ -356,7 +356,16 @@ struct isc_nmsocket { - */ - isc_quota_t *quota; - isc_quota_t *pquota; -- bool overquota; -+ -+ /*% -+ * How many connections we have not accepted due to quota? -+ * When we close a connection we need to accept a new one. -+ */ -+ int overquota; -+ /*% -+ * How many active connections we have? -+ */ -+ int conns; - - /*% - * Socket statistics -diff --git a/lib/isc/netmgr/netmgr.c b/lib/isc/netmgr/netmgr.c -index f4361575cc..26728c1ba6 100644 ---- a/lib/isc/netmgr/netmgr.c -+++ b/lib/isc/netmgr/netmgr.c -@@ -727,6 +727,11 @@ nmsocket_cleanup(isc_nmsocket_t *sock, bool dofree) - for (int i = 0; i < sock->nchildren; i++) { - if (!atomic_load(&sock->children[i].destroying)) { - nmsocket_cleanup(&sock->children[i], false); -+ if (sock->statsindex != NULL) { -+ isc__nm_decstats( -+ sock->mgr, -+ sock->statsindex[STATID_ACTIVE]); -+ } - } - } - -@@ -738,6 +743,9 @@ nmsocket_cleanup(isc_nmsocket_t *sock, bool dofree) - sock->children = NULL; - sock->nchildren = 0; - } -+ if (sock->statsindex != NULL) { -+ isc__nm_decstats(sock->mgr, sock->statsindex[STATID_ACTIVE]); -+ } - - if (sock->tcphandle != NULL) { - isc_nmhandle_unref(sock->tcphandle); -@@ -854,8 +862,6 @@ isc__nmsocket_prep_destroy(isc_nmsocket_t *sock) - if (sock->children != NULL) { - for (int i = 0; i < sock->nchildren; i++) { - atomic_store(&sock->children[i].active, false); -- isc__nm_decstats(sock->mgr, -- sock->statsindex[STATID_ACTIVE]); - } - } - -diff --git a/lib/isc/netmgr/tcp.c b/lib/isc/netmgr/tcp.c -index a83fede0d2..58ffd3c404 100644 ---- a/lib/isc/netmgr/tcp.c -+++ b/lib/isc/netmgr/tcp.c -@@ -26,12 +26,28 @@ - #include <isc/region.h> - #include <isc/result.h> - #include <isc/sockaddr.h> -+#include <isc/stdtime.h> - #include <isc/thread.h> - #include <isc/util.h> - - #include "netmgr-int.h" - #include "uv-compat.h" - -+static atomic_uint_fast32_t last_tcpquota_log = ATOMIC_VAR_INIT(0); -+ -+static bool -+can_log_tcp_quota() { -+ isc_stdtime_t now, last; -+ -+ isc_stdtime_get(&now); -+ last = atomic_exchange_relaxed(&last_tcpquota_log, now); -+ if (now != last) { -+ return (true); -+ } -+ -+ return (false); -+} -+ - static int - tcp_connect_direct(isc_nmsocket_t *sock, isc__nm_uvreq_t *req); - -@@ -668,9 +684,6 @@ read_cb(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf) - } - - isc__nm_free_uvbuf(sock, buf); -- if (sock->quota) { -- isc_quota_detach(&sock->quota); -- } - - /* - * This might happen if the inner socket is closing. It means that -@@ -699,6 +712,7 @@ accept_connection(isc_nmsocket_t *ssock) - struct sockaddr_storage ss; - isc_sockaddr_t local; - int r; -+ bool overquota = false; - - REQUIRE(VALID_NMSOCK(ssock)); - REQUIRE(ssock->tid == isc_nm_tid()); -@@ -711,10 +725,25 @@ accept_connection(isc_nmsocket_t *ssock) - - if (ssock->pquota != NULL) { - result = isc_quota_attach(ssock->pquota, "a); -+ -+ /* -+ * We share the quota between all TCP sockets. Others -+ * may have used up all the quota slots, in which case -+ * this socket could starve. So we only fail here if we -+ * already had at least one active connection on this -+ * socket. This guarantees that we'll maintain some level -+ * of service while over quota, and will resume normal -+ * service when the quota comes back down. -+ */ - if (result != ISC_R_SUCCESS) { -- isc__nm_incstats(ssock->mgr, -- ssock->statsindex[STATID_ACCEPTFAIL]); -- return (result); -+ ssock->overquota++; -+ overquota = true; -+ if (ssock->conns > 0) { -+ isc__nm_incstats( -+ ssock->mgr, -+ ssock->statsindex[STATID_ACCEPTFAIL]); -+ return (result); -+ } - } - } - -@@ -761,6 +790,7 @@ accept_connection(isc_nmsocket_t *ssock) - } - - isc_nmsocket_attach(ssock, &csock->server); -+ ssock->conns++; - - handle = isc__nmhandle_get(csock, NULL, &local); - -@@ -779,6 +809,9 @@ error: - if (csock->quota != NULL) { - isc_quota_detach(&csock->quota); - } -+ if (overquota) { -+ ssock->overquota--; -+ } - /* We need to detach it properly to make sure uv_close is called. */ - isc_nmsocket_detach(&csock); - return (result); -@@ -793,14 +826,14 @@ tcp_connection_cb(uv_stream_t *server, int status) - UNUSED(status); - - result = accept_connection(ssock); -- if (result != ISC_R_SUCCESS) { -- if (result == ISC_R_QUOTA || result == ISC_R_SOFTQUOTA) { -- ssock->overquota = true; -+ if (result != ISC_R_SUCCESS && result != ISC_R_NOCONN) { -+ if ((result != ISC_R_QUOTA && result != ISC_R_SOFTQUOTA) || -+ can_log_tcp_quota()) { -+ isc_log_write(isc_lctx, ISC_LOGCATEGORY_GENERAL, -+ ISC_LOGMODULE_NETMGR, ISC_LOG_ERROR, -+ "TCP connection failed: %s", -+ isc_result_totext(result)); - } -- isc_log_write(isc_lctx, ISC_LOGCATEGORY_GENERAL, -- ISC_LOGMODULE_NETMGR, ISC_LOG_ERROR, -- "TCP connection failed: %s", -- isc_result_totext(result)); - } - } - -@@ -936,17 +969,27 @@ tcp_close_direct(isc_nmsocket_t *sock) - REQUIRE(VALID_NMSOCK(sock)); - REQUIRE(sock->tid == isc_nm_tid()); - REQUIRE(sock->type == isc_nm_tcpsocket); -+ isc_nmsocket_t *ssock = sock->server; - - if (sock->quota != NULL) { -- isc_nmsocket_t *ssock = sock->server; -- - isc_quota_detach(&sock->quota); -- -- if (ssock->overquota) { -+ } -+ if (ssock != NULL) { -+ ssock->conns--; -+ while (ssock->conns == 0 && ssock->overquota > 0) { -+ ssock->overquota--; - isc_result_t result = accept_connection(ssock); -- if (result != ISC_R_QUOTA && -- result != ISC_R_SOFTQUOTA) { -- ssock->overquota = false; -+ if (result == ISC_R_SUCCESS || result == ISC_R_NOCONN) { -+ continue; -+ } -+ if ((result != ISC_R_QUOTA && -+ result != ISC_R_SOFTQUOTA) || -+ can_log_tcp_quota()) { -+ isc_log_write(isc_lctx, ISC_LOGCATEGORY_GENERAL, -+ ISC_LOGMODULE_NETMGR, -+ ISC_LOG_ERROR, -+ "TCP connection failed: %s", -+ isc_result_totext(result)); - } - } - } -diff --git a/lib/isc/netmgr/tcpdns.c b/lib/isc/netmgr/tcpdns.c -index e384b73be9..f89eb359af 100644 ---- a/lib/isc/netmgr/tcpdns.c -+++ b/lib/isc/netmgr/tcpdns.c -@@ -43,6 +43,9 @@ dnslisten_readcb(isc_nmhandle_t *handle, isc_region_t *region, void *arg); - static void - resume_processing(void *arg); - -+static void -+tcpdns_close_direct(isc_nmsocket_t *sock); -+ - static inline size_t - dnslen(unsigned char *base) - { -@@ -82,7 +85,6 @@ timer_close_cb(uv_handle_t *handle) - { - isc_nmsocket_t *sock = (isc_nmsocket_t *)uv_handle_get_data(handle); - INSIST(VALID_NMSOCK(sock)); -- atomic_store(&sock->closed, true); - isc_nmsocket_detach(&sock); - } - -@@ -94,9 +96,7 @@ dnstcp_readtimeout(uv_timer_t *timer) - - REQUIRE(VALID_NMSOCK(sock)); - REQUIRE(sock->tid == isc_nm_tid()); -- -- isc_nmsocket_detach(&sock->outer); -- uv_close((uv_handle_t *)&sock->timer, timer_close_cb); -+ tcpdns_close_direct(sock); - } - - /* -@@ -252,7 +252,9 @@ dnslisten_readcb(isc_nmhandle_t *handle, isc_region_t *region, void *arg) - * We have a packet: stop timeout timers - */ - atomic_store(&dnssock->outer->processing, true); -- uv_timer_stop(&dnssock->timer); -+ if (dnssock->timer_initialized) { -+ uv_timer_stop(&dnssock->timer); -+ } - - if (atomic_load(&dnssock->sequential)) { - /* -@@ -399,8 +401,10 @@ resume_processing(void *arg) - if (atomic_load(&sock->ah) == 0) { - /* Nothing is active; sockets can timeout now */ - atomic_store(&sock->outer->processing, false); -- uv_timer_start(&sock->timer, dnstcp_readtimeout, -- sock->read_timeout, 0); -+ if (sock->timer_initialized) { -+ uv_timer_start(&sock->timer, dnstcp_readtimeout, -+ sock->read_timeout, 0); -+ } - } - - /* -@@ -413,7 +417,9 @@ resume_processing(void *arg) - result = processbuffer(sock, &handle); - if (result == ISC_R_SUCCESS) { - atomic_store(&sock->outer->processing, true); -- uv_timer_stop(&sock->timer); -+ if (sock->timer_initialized) { -+ uv_timer_stop(&sock->timer); -+ } - isc_nmhandle_unref(handle); - } else if (sock->outer != NULL) { - isc_nm_resumeread(sock->outer); -@@ -441,7 +447,9 @@ resume_processing(void *arg) - break; - } - -- uv_timer_stop(&sock->timer); -+ if (sock->timer_initialized) { -+ uv_timer_stop(&sock->timer); -+ } - atomic_store(&sock->outer->processing, true); - isc_nmhandle_unref(dnshandle); - } while (atomic_load(&sock->ah) < TCPDNS_CLIENTS_PER_CONN); -@@ -507,18 +515,29 @@ static void - tcpdns_close_direct(isc_nmsocket_t *sock) - { - REQUIRE(sock->tid == isc_nm_tid()); -- if (sock->outer != NULL) { -- sock->outer->rcb.recv = NULL; -- isc_nmsocket_detach(&sock->outer); -- } -- if (sock->listener != NULL) { -- isc_nmsocket_detach(&sock->listener); -- } - /* We don't need atomics here, it's all in single network thread */ - if (sock->timer_initialized) { -+ /* -+ * We need to fire the timer callback to clean it up, -+ * it will then call us again (via detach) so that we -+ * can finally close the socket. -+ */ - sock->timer_initialized = false; - uv_timer_stop(&sock->timer); - uv_close((uv_handle_t *)&sock->timer, timer_close_cb); -+ } else { -+ /* -+ * At this point we're certain that there are no external -+ * references, we can close everything. -+ */ -+ if (sock->outer != NULL) { -+ sock->outer->rcb.recv = NULL; -+ isc_nmsocket_detach(&sock->outer); -+ } -+ if (sock->listener != NULL) { -+ isc_nmsocket_detach(&sock->listener); -+ } -+ atomic_store(&sock->closed, true); - } - } - -diff --git a/lib/isc/netmgr/uverr2result.c b/lib/isc/netmgr/uverr2result.c -index b6a8065e3e..9781454ca6 100644 ---- a/lib/isc/netmgr/uverr2result.c -+++ b/lib/isc/netmgr/uverr2result.c -@@ -38,6 +38,8 @@ isc___nm_uverr2result(int uverr, bool dolog, const char *file, - return (ISC_R_INVALIDFILE); - case UV_ENOENT: - return (ISC_R_FILENOTFOUND); -+ case UV_EAGAIN: -+ return (ISC_R_NOCONN); - case UV_EACCES: - case UV_EPERM: - return (ISC_R_NOPERM); diff --git a/dns/bind916/files/empty.db b/dns/bind916/files/empty.db deleted file mode 100644 index 30870e74342f..000000000000 --- a/dns/bind916/files/empty.db +++ /dev/null @@ -1,8 +0,0 @@ -$TTL 3h -@ SOA @ nobody.localhost. 42 1d 12h 1w 3h - ; Serial, Refresh, Retry, Expire, Neg. cache TTL - -@ NS @ - -; Silence a BIND warning -@ A 127.0.0.1 diff --git a/dns/bind916/files/extrapatch-bind-min-override-ttl b/dns/bind916/files/extrapatch-bind-min-override-ttl deleted file mode 100644 index f6f2dc707250..000000000000 --- a/dns/bind916/files/extrapatch-bind-min-override-ttl +++ /dev/null @@ -1,61 +0,0 @@ -Add the override-cache-ttl feature. - ---- bin/named/config.c.orig 2024-04-03 12:48:29 UTC -+++ bin/named/config.c -@@ -177,6 +177,7 @@ options {\n\ - notify-source *;\n\ - notify-source-v6 *;\n\ - nsec3-test-zone no;\n\ -+ override-cache-ttl 0; /* do not override */\n\ - parental-source *;\n\ - parental-source-v6 *;\n\ - provide-ixfr true;\n\ ---- bin/named/server.c.orig 2024-04-03 12:48:29 UTC -+++ bin/named/server.c -@@ -4449,6 +4449,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl - } - - obj = NULL; -+ result = named_config_get(maps, "override-cache-ttl", &obj); -+ INSIST(result == ISC_R_SUCCESS); -+ view->overridecachettl = cfg_obj_asduration(obj); -+ -+ obj = NULL; - result = named_config_get(maps, "max-cache-ttl", &obj); - INSIST(result == ISC_R_SUCCESS); - view->maxcachettl = cfg_obj_asduration(obj); ---- lib/dns/include/dns/view.h.orig 2024-04-03 12:48:29 UTC -+++ lib/dns/include/dns/view.h -@@ -154,6 +154,7 @@ struct dns_view { - bool requestnsid; - bool sendcookie; - dns_ttl_t maxcachettl; -+ dns_ttl_t overridecachettl; - dns_ttl_t maxncachettl; - dns_ttl_t mincachettl; - dns_ttl_t minncachettl; ---- lib/dns/resolver.c.orig 2024-04-03 12:48:29 UTC -+++ lib/dns/resolver.c -@@ -6494,6 +6494,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes - } - - /* -+ * Enforce the configure cache TTL override. -+ */ -+ if (res->view->overridecachettl) -+ rdataset->ttl = res->view->overridecachettl; -+ -+ /* - * Enforce the configure maximum cache TTL. - */ - if (rdataset->ttl > res->view->maxcachettl) { ---- lib/isccfg/namedconf.c.orig 2024-04-03 12:48:29 UTC -+++ lib/isccfg/namedconf.c -@@ -2054,6 +2054,7 @@ static cfg_clausedef_t view_clauses[] = { - #endif /* ifdef HAVE_LMDB */ - { "max-acache-size", &cfg_type_sizenodefault, CFG_CLAUSEFLAG_OBSOLETE }, - { "max-cache-size", &cfg_type_sizeorpercent, 0 }, -+ { "override-cache-ttl", &cfg_type_duration, 0 }, - { "max-cache-ttl", &cfg_type_duration, 0 }, - { "max-clients-per-query", &cfg_type_uint32, 0 }, - { "max-ncache-ttl", &cfg_type_duration, 0 }, diff --git a/dns/bind916/files/localhost-forward.db b/dns/bind916/files/localhost-forward.db deleted file mode 100644 index fdd2e9ce4bee..000000000000 --- a/dns/bind916/files/localhost-forward.db +++ /dev/null @@ -1,8 +0,0 @@ -$TTL 3h -localhost. SOA localhost. nobody.localhost. 42 1d 12h 1w 3h - ; Serial, Refresh, Retry, Expire, Neg. cache TTL - - NS localhost. - - A 127.0.0.1 - AAAA ::1 diff --git a/dns/bind916/files/localhost-reverse.db b/dns/bind916/files/localhost-reverse.db deleted file mode 100644 index 376e94fa94a8..000000000000 --- a/dns/bind916/files/localhost-reverse.db +++ /dev/null @@ -1,10 +0,0 @@ -$TTL 3h -@ SOA localhost. nobody.localhost. 42 1d 12h 1w 3h - ; Serial, Refresh, Retry, Expire, Neg. cache TTL - - NS localhost. - -1.0.0 PTR localhost. - -1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR localhost. - diff --git a/dns/bind916/files/named.conf.in b/dns/bind916/files/named.conf.in deleted file mode 100644 index c3a367fd23ee..000000000000 --- a/dns/bind916/files/named.conf.in +++ /dev/null @@ -1,378 +0,0 @@ -// Refer to the named.conf(5) and named(8) man pages, and the documentation -// in /usr/local/share/doc/bind for more details. -// -// If you are going to set up an authoritative server, make sure you -// understand the hairy details of how DNS works. Even with -// simple mistakes, you can break connectivity for affected parties, -// or cause huge amounts of useless Internet traffic. - -options { - // All file and path names are relative to the chroot directory, - // if any, and should be fully qualified. - directory "%%ETCDIR%%/working"; - pid-file "/var/run/named/pid"; - dump-file "/var/dump/named_dump.db"; - statistics-file "/var/stats/named.stats"; - -// If named is being used only as a local resolver, this is a safe default. -// For named to be accessible to the network, comment this option, specify -// the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; - -// If you have IPv6 enabled on this system, uncomment this option for -// use as a local resolver. To give access to the network, specify -// an IPv6 address, or the keyword "any". -// listen-on-v6 { ::1; }; - -// These zones are already covered by the empty zones listed below. -// If you remove the related empty zones below, comment these lines out. - disable-empty-zone "255.255.255.255.IN-ADDR.ARPA"; - disable-empty-zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA"; - disable-empty-zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA"; - -// If you've got a DNS server around at your upstream provider, enter -// its IP address here, and enable the line below. This will make you -// benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* - forwarders { - 127.0.0.1; - }; -*/ - -// If the 'forwarders' clause is not empty the default is to 'forward first' -// which will fall back to sending a query from your local server if the name -// servers in 'forwarders' do not have the answer. Alternatively you can -// force your name server to never initiate queries of its own by enabling the -// following line: -// forward only; - -// If you wish to have forwarding configured automatically based on -// the entries in /etc/resolv.conf, uncomment the following line and -// set named_auto_forward=yes in /etc/rc.conf. You can also enable -// named_auto_forward_only (the effect of which is described above). -// include "%%ETCDIR%%/auto_forward.conf"; - - /* - Modern versions of BIND use a random UDP port for each outgoing - query by default in order to dramatically reduce the possibility - of cache poisoning. All users are strongly encouraged to utilize - this feature, and to configure their firewalls to accommodate it. - - AS A LAST RESORT in order to get around a restrictive firewall - policy you can try enabling the option below. Use of this option - will significantly reduce your ability to withstand cache poisoning - attacks, and should be avoided if at all possible. - - Replace NNNNN in the example with a number between 49160 and 65530. - */ - // query-source address * port NNNNN; -}; - -// If you enable a local name server, don't forget to enter 127.0.0.1 -// first in your /etc/resolv.conf so this server will be queried. -// Also, make sure to enable it in /etc/rc.conf. - -// The traditional root hints mechanism. Use this, OR the slave zones below. -zone "." { type hint; file "%%ETCDIR%%/named.root"; }; - -/* Slaving the following zones from the root name servers has some - significant advantages: - 1. Faster local resolution for your users - 2. No spurious traffic will be sent from your network to the roots - 3. Greater resilience to any potential root server failure/DDoS - - On the other hand, this method requires more monitoring than the - hints file to be sure that an unexpected failure mode has not - incapacitated your server. Name servers that are serving a lot - of clients will benefit more from this approach than individual - hosts. Use with caution. - - To use this mechanism, uncomment the entries below, and comment - the hint zone above. - - As documented at http://dns.icann.org/services/axfr/ these zones: - "." (the root), ARPA, IN-ADDR.ARPA, IP6.ARPA, and a few others - are available for AXFR from these servers on IPv4 and IPv6: - xfr.lax.dns.icann.org, xfr.cjr.dns.icann.org -*/ -/* -zone "." { - type slave; - file "%%ETCDIR%%/slave/root.slave"; - masters { - 192.0.32.132; // lax.xfr.dns.icann.org - 2620:0:2d0:202::132; // lax.xfr.dns.icann.org - 192.0.47.132; // iad.xfr.dns.icann.org - 2620:0:2830:202::132; // iad.xfr.dns.icann.org - }; - notify no; -}; -zone "arpa" { - type slave; - file "%%ETCDIR%%/slave/arpa.slave"; - masters { - 192.0.32.132; // lax.xfr.dns.icann.org - 2620:0:2d0:202::132; // lax.xfr.dns.icann.org - 192.0.47.132; // iad.xfr.dns.icann.org - 2620:0:2830:202::132; // iad.xfr.dns.icann.org - }; - notify no; -}; -zone "in-addr.arpa" { - type slave; - file "%%ETCDIR%%/slave/in-addr.arpa.slave"; - masters { - 192.0.32.132; // lax.xfr.dns.icann.org - 2620:0:2d0:202::132; // lax.xfr.dns.icann.org - 192.0.47.132; // iad.xfr.dns.icann.org - 2620:0:2830:202::132; // iad.xfr.dns.icann.org - }; - notify no; -}; -zone "ip6.arpa" { - type slave; - file "%%ETCDIR%%/slave/ip6.arpa.slave"; - masters { - 192.0.32.132; // lax.xfr.dns.icann.org - 2620:0:2d0:202::132; // lax.xfr.dns.icann.org - 192.0.47.132; // iad.xfr.dns.icann.org - 2620:0:2830:202::132; // iad.xfr.dns.icann.org - }; - notify no; -}; -*/ - -/* Serving the following zones locally will prevent any queries - for these zones leaving your network and going to the root - name servers. This has two significant advantages: - 1. Faster local resolution for your users - 2. No spurious traffic will be sent from your network to the roots -*/ -// RFCs 1912, 5735 and 6303 (and BCP 32 for localhost) -zone "localhost" { type master; file "%%ETCDIR%%/master/localhost-forward.db"; }; -zone "127.in-addr.arpa" { type master; file "%%ETCDIR%%/master/localhost-reverse.db"; }; -zone "255.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// RFC 1912-style zone for IPv6 localhost address (RFC 6303) -zone "0.ip6.arpa" { type master; file "%%ETCDIR%%/master/localhost-reverse.db"; }; - -// "This" Network (RFCs 1912, 5735 and 6303) -zone "0.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// Private Use Networks (RFCs 1918, 5735 and 6303) -zone "10.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "16.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "17.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "18.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "19.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "20.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "21.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "22.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "23.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "24.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "25.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "26.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "27.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "28.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "29.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "30.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "31.172.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "168.192.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// Shared Address Space (RFC 6598) -zone "64.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "65.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "66.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "67.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "68.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "69.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "70.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "71.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "72.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "73.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "74.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "75.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "76.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "77.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "78.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "79.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "80.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "81.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "82.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "83.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "84.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "85.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "86.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "87.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "88.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "89.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "90.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "91.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "92.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "93.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "94.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "95.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "96.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "97.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "98.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "99.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "100.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "101.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "102.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "103.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "104.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "105.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "106.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "107.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "108.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "109.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "110.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "111.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "112.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "113.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "114.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "115.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "116.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "117.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "118.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "119.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "120.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "121.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "122.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "123.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "124.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "125.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "126.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "127.100.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// Link-local/APIPA (RFCs 3927, 5735 and 6303) -zone "254.169.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// IETF protocol assignments (RFCs 5735 and 5736) -zone "0.0.192.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// TEST-NET-[1-3] for Documentation (RFCs 5735, 5737 and 6303) -zone "2.0.192.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "100.51.198.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "113.0.203.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// IPv6 Example Range for Documentation (RFCs 3849 and 6303) -zone "8.b.d.0.1.0.0.2.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// Router Benchmark Testing (RFCs 2544 and 5735) -zone "18.198.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "19.198.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// IANA Reserved - Old Class E Space (RFC 5735) -zone "240.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "241.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "242.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "243.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "244.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "245.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "246.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "247.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "248.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "249.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "250.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "251.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "252.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "253.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "254.in-addr.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// IPv6 Unassigned Addresses (RFC 4291) -zone "1.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "3.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "4.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "5.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "6.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "7.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "8.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "9.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "a.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "b.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "c.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "d.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "e.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "0.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "1.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "2.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "3.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "4.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "5.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "6.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "7.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "8.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "9.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "a.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "b.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "0.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "1.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "2.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "3.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "4.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "5.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "6.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "7.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// IPv6 ULA (RFCs 4193 and 6303) -zone "c.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "d.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// IPv6 Link Local (RFCs 4291 and 6303) -zone "8.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "9.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "a.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "b.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// IPv6 Deprecated Site-Local Addresses (RFCs 3879 and 6303) -zone "c.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "d.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "e.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; -zone "f.e.f.ip6.arpa" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// IP6.INT is Deprecated (RFC 4159) -zone "ip6.int" { type master; file "%%ETCDIR%%/master/empty.db"; }; - -// NB: Do not use the IP addresses below, they are faked, and only -// serve demonstration/documentation purposes! -// -// Example slave zone config entries. It can be convenient to become -// a slave at least for the zone your own domain is in. Ask -// your network administrator for the IP address of the responsible -// master name server. -// -// Do not forget to include the reverse lookup zone! -// This is named after the first bytes of the IP address, in reverse -// order, with ".IN-ADDR.ARPA" appended, or ".IP6.ARPA" for IPv6. -// -// Before starting to set up a master zone, make sure you fully -// understand how DNS and BIND work. There are sometimes -// non-obvious pitfalls. Setting up a slave zone is usually simpler. -// -// NB: Don't blindly enable the examples below. :-) Use actual names -// and addresses instead. - -/* An example dynamic zone -key "exampleorgkey" { - algorithm hmac-md5; - secret "sf87HJqjkqh8ac87a02lla=="; -}; -zone "example.org" { - type master; - allow-update { - key "exampleorgkey"; - }; - file "%%ETCDIR%%/dynamic/example.org"; -}; -*/ - -/* Example of a slave reverse zone -zone "1.168.192.in-addr.arpa" { - type slave; - file "%%ETCDIR%%/slave/1.168.192.in-addr.arpa"; - masters { - 192.168.1.1; - }; -}; -*/ diff --git a/dns/bind916/files/named.in b/dns/bind916/files/named.in deleted file mode 100644 index 6e225efe0733..000000000000 --- a/dns/bind916/files/named.in +++ /dev/null @@ -1,464 +0,0 @@ -#!/bin/sh - -# PROVIDE: named -# REQUIRE: %%NAMED_REQUIRE%% -# BEFORE: %%NAMED_BEFORE%% -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable BIND: -# named_enable (bool): Run named, the DNS server (or NO). -# named_program (str): Path to named, if you want a different one. -# named_conf (str): Path to the configuration file -# named_flags (str): Use this for flags OTHER than -u and -c -# named_uid (str): User to run named as -# named_chrootdir (str): Chroot directory (or "" not to auto-chroot it) -# Historically, was /var/named -# named_chroot_autoupdate (bool): Automatically install/update chrooted -# components of named. -# named_symlink_enable (bool): Symlink the chrooted pid file -# named_wait (bool): Wait for working name service before exiting -# named_wait_host (str): Hostname to check if named_wait is enabled -# named_auto_forward (str): Set up forwarders from /etc/resolv.conf -# named_auto_forward_only (str): Do "forward only" instead of "forward first" -%%NATIVE_PKCS11%%# named_pkcs11_engine (str): Path to the PKCS#11 library to use. -# - -. /etc/rc.subr - -name=named -desc="named BIND startup script" -rcvar=named_enable - -load_rc_config ${name} - -extra_commands=reload - -start_precmd=named_prestart -start_postcmd=named_poststart -reload_cmd=named_reload -stop_cmd=named_stop -stop_postcmd=named_poststop - -named_enable=${named_enable:-"NO"} -named_program=${named_program:-"%%PREFIX%%/sbin/named"} -named_conf=${named_conf:-"%%ETCDIR%%/named.conf"} -named_flags=${named_flags:-""} -named_uid=${named_uid:-"bind"} -named_chrootdir=${named_chrootdir:-""} -named_chroot_autoupdate=${named_chroot_autoupdate:-"YES"} -named_symlink_enable=${named_symlink_enable:-"YES"} -named_wait=${named_wait:-"NO"} -named_wait_host=${named_wait_host:-"localhost"} -named_auto_forward=${named_auto_forward:-"NO"} -named_auto_forward_only=${named_auto_forward_only:-"NO"} -%%NATIVE_PKCS11%%named_pkcs11_engine=${named_pkcs11_engine:-""} - -# Not configuration variables but having them here keeps rclint happy -required_dirs="${named_chrootdir}" -_named_confdirroot="${named_conf%/*}" -_named_confdir="${named_chrootdir}${_named_confdirroot}" -_named_program_root="${named_program%/sbin/named}" -_openssl_engines="%%ENGINES%%" - -# Needed if named.conf and rndc.conf are moved or if rndc.conf is used -rndc_conf=${rndc_conf:-"$_named_confdir/rndc.conf"} -rndc_key=${rndc_key:-"$_named_confdir/rndc.key"} - -# If running in a chroot cage, ensure that the appropriate files -# exist inside the cage, as well as helper symlinks into the cage -# from outside. -# -# As this is called after the is_running and required_dir checks -# are made in run_rc_command(), we can safely assume ${named_chrootdir} -# exists and named isn't running at this point (unless forcestart -# is used). -# -chroot_autoupdate() -{ - local file - - # If it's the first time around, fiddle with things and move the - # current configuration to the chroot. - if [ -d ${_named_confdirroot} -a ! -d ${_named_confdir} ]; then - warn "named chroot: Moving current configuration in the chroot!" - install -d ${_named_confdir%/*} - mv ${_named_confdirroot} ${_named_confdir} - fi - - # Create (or update) the chroot directory structure - # - if [ -r %%PREFIX%%/etc/mtree/BIND.chroot.dist ]; then - mtree -deU -f %%PREFIX%%/etc/mtree/BIND.chroot.dist \ - -p ${named_chrootdir} - else - warn "%%PREFIX%%/etc/mtree/BIND.chroot.dist missing," - warn "${named_chrootdir} directory structure not updated" - fi - if [ -r %%PREFIX%%/etc/mtree/BIND.chroot.local.dist ]; then - mkdir -p ${named_chrootdir}%%PREFIX%% - mtree -deU -f %%PREFIX%%/etc/mtree/BIND.chroot.local.dist \ - -p ${named_chrootdir}%%PREFIX%% - else - warn "%%PREFIX%%/etc/mtree/BIND.chroot.local.dist missing," - warn "${named_chrootdir}%%PREFIX%% directory structure not updated" - fi - - # Create (or update) the configuration directory symlink - # - if [ ! -L "${_named_confdirroot}" ]; then - if [ -d "${_named_confdirroot}" ]; then - warn "named chroot: ${_named_confdirroot} is a directory!" - elif [ -e "${_named_confdirroot}" ]; then - warn "named chroot: ${_named_confdirroot} exists!" - else - ln -s ${_named_confdir} ${_named_confdirroot} - fi - else - # Make sure it points to the right place. - ln -shf ${_named_confdir} ${_named_confdirroot} - fi - - # Mount a devfs in the chroot directory if needed - # - if [ `${SYSCTL_N} security.jail.jailed` -eq 0 ]; then - umount ${named_chrootdir}/dev 2>/dev/null - devfs_domount ${named_chrootdir}/dev devfsrules_hide_all - devfs -m ${named_chrootdir}/dev rule apply path null unhide - devfs -m ${named_chrootdir}/dev rule apply path random unhide - else - if [ -c ${named_chrootdir}/dev/null -a \ - -c ${named_chrootdir}/dev/random ]; then - info "named chroot: using pre-mounted devfs." - else - err 1 "named chroot: devfs cannot be mounted from " \ - "within a jail. Thus a chrooted named cannot " \ - "be run from within a jail. Either mount the " \ - "devfs with null and random from the host, or " \ - "run named without chrooting it, set " \ - "named_chrootdir=\"\" in /etc/rc.conf." - fi - fi - - # The OpenSSL engines and BIND9 plugins should be present in the - # chroot, named loads them after chrooting. - null_mount_or_copy ${_openssl_engines} - null_mount_or_copy %%PREFIX%%/lib/named - - # Copy and/or update key files to the chroot /etc - # - for file in localtime protocols services; do - if [ -r /etc/${file} ] && \ - ! cmp -s /etc/${file} "${named_chrootdir}/etc/${file}"; then - cp -p /etc/${file} "${named_chrootdir}/etc/${file}" - fi - done -} - -# Make symlinks to the correct pid file -# -make_symlinks() -{ - checkyesno named_symlink_enable && - ln -fs "${named_chrootdir}${pidfile}" ${pidfile} && - ln -fs "${named_chrootdir}${sessionkeyfile}" ${sessionkeyfile} -} - -named_poststart() -{ - make_symlinks - - if checkyesno named_wait; then - until ${_named_program_root}/bin/host ${named_wait_host} >/dev/null 2>&1; do - echo " Waiting for nameserver to resolve ${named_wait_host}" - sleep 1 - done - fi -} - -named_reload() -{ - # This is a one line function, but ${named_program} is not defined early - # enough to be there when the reload_cmd variable is defined up there. - rndc reload -} - -find_pidfile() -{ - if get_pidfile_from_conf pid-file ${named_conf}; then - pidfile="${_pidfile_from_conf}" - else - pidfile="/var/run/named/pid" - fi -} - -find_sessionkeyfile() -{ - if get_pidfile_from_conf session-keyfile ${named_conf}; then - sessionkeyfile="${_pidfile_from_conf}" - else - sessionkeyfile="/var/run/named/session.key" - fi -} - -named_stop() -{ - find_pidfile - - # This duplicates an undesirably large amount of code from the stop - # routine in rc.subr in order to use rndc to shut down the process, - # and to give it a second chance in case rndc fails. - rc_pid=$(check_pidfile ${pidfile} ${command}) - if [ -z "${rc_pid}" ]; then - [ -n "${rc_fast}" ] && return 0 - _run_rc_notrunning - return 1 - fi - echo 'Stopping named.' - if rndc stop; then - wait_for_pids ${rc_pid} - else - echo -n 'rndc failed, trying kill: ' - kill -TERM ${rc_pid} - wait_for_pids ${rc_pid} - fi -} - -named_poststop() -{ - if [ -n "${named_chrootdir}" ]; then - null_umount %%PREFIX%%/lib/named - null_umount ${_openssl_engines} - if [ -c ${named_chrootdir}/dev/null ]; then - # unmount /dev - if [ `${SYSCTL_N} security.jail.jailed` -eq 0 ]; then - umount ${named_chrootdir}/dev 2>/dev/null || true - else - warn "named chroot:" \ - "cannot unmount devfs from inside jail!" - fi - fi - fi -} - -can_mount() -{ - local kld - kld=$1 - if ! load_kld $kld; then - return 1 - fi - if [ `${SYSCTL_N} security.jail.jailed` -eq 0 ] || - [ `${SYSCTL_N} security.jail.mount_allowed` -eq 1 ] || - [ `${SYSCTL_N} security.jail.mount_${kld}_allowed` -eq 1 ] ; then - return 0 - fi - return 1 -} - -null_mount_or_copy() -{ - local dir - dir=$1 - - if [ -d ${dir} ]; then - mkdir -p ${named_chrootdir}${dir} - if can_mount nullfs ; then - mount -t nullfs ${dir} ${named_chrootdir}${dir} - else - warn "named chroot: cannot nullfs mount OpenSSL" \ - "engines into the chroot, will copy the shared" \ - "libraries instead." - cp -f ${dir}/*.so ${named_chrootdir}${dir} - fi - fi -} - -null_umount() -{ - local dir - dir=$1 - - if [ -d ${dir} ]; then - if can_mount nullfs; then - umount ${named_chrootdir}${dir} - fi - fi -} - -create_file() -{ - if [ -e "$1" ]; then - unlink $1 - fi - install -o root -g wheel -m 0644 /dev/null $1 -} - -rndc() -{ - if [ -z "${rndc_flags}" ]; then - if [ -s "${rndc_conf}" ] ; then - rndc_flags="-c ${rndc_conf}" - elif [ -s "${rndc_key}" ] ; then - rndc_flags="-k ${rndc_key}" - else - rndc_flags="" - fi - fi - - ${_named_program_root}/sbin/rndc ${rndc_flags} "$@" -} - -named_prestart() -{ - # Is the user using a sandbox? - # - if [ -n "${named_chrootdir}" ]; then - rc_flags="${rc_flags} -t ${named_chrootdir}" - checkyesno named_chroot_autoupdate && chroot_autoupdate - - case "${altlog_proglist}" in - *named*) - ;; - *) - warn 'Using chroot without setting altlog_proglist, logging may not' - warn 'work correctly. Run sysrc altlog_proglist+=named' - ;; - esac - else - named_symlink_enable=NO - fi - - find_pidfile - find_sessionkeyfile - - if [ -n "${named_pidfile}" ]; then - warn 'named_pidfile: now determined from the conf file' - fi - - if [ -n "${named_sessionkeyfile}" ]; then - warn 'named_sessionkeyfile: now determined from the conf file' - fi - - piddir=`/usr/bin/dirname ${pidfile}` - if [ ! -d ${piddir} ]; then - install -d -o ${named_uid} -g ${named_uid} ${piddir} - fi - - sessionkeydir=`/usr/bin/dirname ${sessionkeyfile}` - if [ ! -d ${sessionkeydir} ]; then - install -d -o ${named_uid} -g ${named_uid} ${sessionkeydir} - fi - - command_args="-u ${named_uid:=root} -c ${named_conf} ${command_args}" - -%%NATIVE_PKCS11%% if [ -z "${named_pkcs11_engine}"]; then -%%NATIVE_PKCS11%% err 3 "named_pkcs11_engine has to be set to the PKCS#11 engine's library you want to use" -%%NATIVE_PKCS11%% elif [ ! -f ${named_pkcs11_engine} ]; then -%%NATIVE_PKCS11%% err 3 "named_pkcs11_engine the PKCS#11 engine's library you want to use doesn't exist" -%%NATIVE_PKCS11%% else -%%NATIVE_PKCS11%% mkdir -p ${named_chrootdir}${named_pkcs11_engine%/*} -%%NATIVE_PKCS11%% cp -p ${named_pkcs11_engine} ${named_chrootdir}${named_pkcs11_engine} -%%NATIVE_PKCS11%% command_args="-E ${named_pkcs11_engine} ${command_args}" -%%NATIVE_PKCS11%% fi - - local line nsip firstns - - # Create an rndc.key file for the user if none exists - # - confgen_command="${_named_program_root}/sbin/rndc-confgen -a -b256 -u ${named_uid} \ - -c ${_named_confdir}/rndc.key" - if [ -s "${_named_confdir}/rndc.conf" ]; then - unset confgen_command - fi - if [ -s "${_named_confdir}/rndc.key" ]; then - case `stat -f%Su ${_named_confdir}/rndc.key` in - root|${named_uid}) ;; - *) ${confgen_command} ;; - esac - else - ${confgen_command} - fi - - local checkconf - - checkconf="${_named_program_root}/sbin/named-checkconf" - if ! checkyesno named_chroot_autoupdate && [ -n "${named_chrootdir}" ]; then - checkconf="${checkconf} -t ${named_chrootdir}" - fi - - # Create a forwarder configuration based on /etc/resolv.conf - if checkyesno named_auto_forward; then - if [ ! -s /etc/resolv.conf ]; then - warn "named_auto_forward enabled, but no /etc/resolv.conf" - - # Empty the file in case it is included in named.conf - [ -s "${_named_confdir}/auto_forward.conf" ] && - create_file ${_named_confdir}/auto_forward.conf - - ${checkconf} ${named_conf} || - err 3 'named-checkconf for ${named_conf} failed' - return - fi - - create_file /var/run/naf-resolv.conf - create_file /var/run/auto_forward.conf - - echo ' forwarders {' > /var/run/auto_forward.conf - - while read line; do - case "${line}" in - 'nameserver '*|'nameserver '*) - nsip=${line##nameserver[ ]} - - if [ -z "${firstns}" ]; then - if [ ! "${nsip}" = '127.0.0.1' ]; then - echo 'nameserver 127.0.0.1' - echo " ${nsip};" >> /var/run/auto_forward.conf - fi - - firstns=1 - else - [ "${nsip}" = '127.0.0.1' ] && continue - echo " ${nsip};" >> /var/run/auto_forward.conf - fi - ;; - esac - - echo ${line} - done < /etc/resolv.conf > /var/run/naf-resolv.conf - - echo ' };' >> /var/run/auto_forward.conf - echo '' >> /var/run/auto_forward.conf - if checkyesno named_auto_forward_only; then - echo " forward only;" >> /var/run/auto_forward.conf - else - echo " forward first;" >> /var/run/auto_forward.conf - fi - - if cmp -s /etc/resolv.conf /var/run/naf-resolv.conf; then - unlink /var/run/naf-resolv.conf - else - [ -e /etc/resolv.conf ] && unlink /etc/resolv.conf - mv /var/run/naf-resolv.conf /etc/resolv.conf - fi - - if cmp -s ${_named_confdir}/auto_forward.conf \ - /var/run/auto_forward.conf; then - unlink /var/run/auto_forward.conf - else - [ -e "${_named_confdir}/auto_forward.conf" ] && - unlink ${_named_confdir}/auto_forward.conf - mv /var/run/auto_forward.conf \ - ${_named_confdir}/auto_forward.conf - fi - else - # Empty the file in case it is included in named.conf - [ -s "${_named_confdir}/auto_forward.conf" ] && - create_file ${_named_confdir}/auto_forward.conf - fi - - ${checkconf} ${named_conf} || err 3 "named-checkconf for ${named_conf} failed" -} - -run_rc_command "$1" diff --git a/dns/bind916/files/named.root b/dns/bind916/files/named.root deleted file mode 100644 index 77cf1e35c5bb..000000000000 --- a/dns/bind916/files/named.root +++ /dev/null @@ -1,92 +0,0 @@ -; This file holds the information on root name servers needed to -; initialize cache of Internet domain name servers -; (e.g. reference this file in the "cache . <file>" -; configuration file of BIND domain name servers). -; -; This file is made available by InterNIC -; under anonymous FTP as -; file /domain/named.cache -; on server FTP.INTERNIC.NET -; -OR- RS.INTERNIC.NET -; -; last update: January 24, 2024 -; related version of root zone: 2024012401 -; -; FORMERLY NS.INTERNIC.NET -; -. 3600000 NS A.ROOT-SERVERS.NET. -A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4 -A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:ba3e::2:30 -; -; FORMERLY NS1.ISI.EDU -; -. 3600000 NS B.ROOT-SERVERS.NET. -B.ROOT-SERVERS.NET. 3600000 A 170.247.170.2 -B.ROOT-SERVERS.NET. 3600000 AAAA 2801:1b8:10::b -; -; FORMERLY C.PSI.NET -; -. 3600000 NS C.ROOT-SERVERS.NET. -C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12 -C.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2::c -; -; FORMERLY TERP.UMD.EDU -; -. 3600000 NS D.ROOT-SERVERS.NET. -D.ROOT-SERVERS.NET. 3600000 A 199.7.91.13 -D.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2d::d -; -; FORMERLY NS.NASA.GOV -; -. 3600000 NS E.ROOT-SERVERS.NET. -E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10 -E.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:a8::e -; -; FORMERLY NS.ISC.ORG -; -. 3600000 NS F.ROOT-SERVERS.NET. -F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241 -F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2f::f -; -; FORMERLY NS.NIC.DDN.MIL -; -. 3600000 NS G.ROOT-SERVERS.NET. -G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4 -G.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:12::d0d -; -; FORMERLY AOS.ARL.ARMY.MIL -; -. 3600000 NS H.ROOT-SERVERS.NET. -H.ROOT-SERVERS.NET. 3600000 A 198.97.190.53 -H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::53 -; -; FORMERLY NIC.NORDU.NET -; -. 3600000 NS I.ROOT-SERVERS.NET. -I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17 -I.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fe::53 -; -; OPERATED BY VERISIGN, INC. -; -. 3600000 NS J.ROOT-SERVERS.NET. -J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30 -J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:c27::2:30 -; -; OPERATED BY RIPE NCC -; -. 3600000 NS K.ROOT-SERVERS.NET. -K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129 -K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fd::1 -; -; OPERATED BY ICANN -; -. 3600000 NS L.ROOT-SERVERS.NET. -L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42 -L.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:9f::42 -; -; OPERATED BY WIDE -; -. 3600000 NS M.ROOT-SERVERS.NET. -M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33 -M.ROOT-SERVERS.NET. 3600000 AAAA 2001:dc3::35 -; End of file diff --git a/dns/bind916/files/patch-bin_named_include_named_globals.h b/dns/bind916/files/patch-bin_named_include_named_globals.h deleted file mode 100644 index 69cafb3c70fa..000000000000 --- a/dns/bind916/files/patch-bin_named_include_named_globals.h +++ /dev/null @@ -1,13 +0,0 @@ -We reference the pid file as being run/named/pid everywere else. - ---- bin/named/include/named/globals.h.orig 2022-01-12 13:50:10 UTC -+++ bin/named/include/named/globals.h -@@ -129,7 +129,7 @@ EXTERN bool named_g_forcelock INIT(false); - - #if NAMED_RUN_PID_DIR - EXTERN const char *named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR "/run/named/" -- "named.pid"); -+ "pid"); - #else /* if NAMED_RUN_PID_DIR */ - EXTERN const char *named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR "/run/" - "named.pid"); diff --git a/dns/bind916/files/patch-bin_tests_system_dlzexternal_Makefile.in b/dns/bind916/files/patch-bin_tests_system_dlzexternal_Makefile.in deleted file mode 100644 index 0a6aaf7927cf..000000000000 --- a/dns/bind916/files/patch-bin_tests_system_dlzexternal_Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ -BIND9 seems to be abusing LDFLAGS here, and it breaks our linker. - ---- bin/tests/system/dlzexternal/Makefile.in.orig 2022-01-12 13:50:10 UTC -+++ bin/tests/system/dlzexternal/Makefile.in -@@ -37,7 +37,7 @@ OBJS = - @BIND9_MAKE_RULES@ - - CFLAGS = @CFLAGS@ @SO_CFLAGS@ --SO_LDFLAGS = @LDFLAGS@ @SO_LDFLAGS@ -+SO_LDFLAGS = @SO_LDFLAGS@ - - driver.@SO@: ${SO_OBJS} - ${LIBTOOL_MODE_LINK} @SO_LD@ ${SO_LDFLAGS} -o $@ driver.@O@ diff --git a/dns/bind916/files/patch-configure b/dns/bind916/files/patch-configure deleted file mode 100644 index e65c7ecaff08..000000000000 --- a/dns/bind916/files/patch-configure +++ /dev/null @@ -1,92 +0,0 @@ -Fixup gssapi and db detection. - ---- configure.orig 2023-03-06 13:03:49 UTC -+++ configure -@@ -18104,27 +18104,9 @@ done - # problems start to show up. - saved_libs="$LIBS" - for TRY_LIBS in \ -- "-lgssapi_krb5" \ -- "-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err" \ -- "-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv" \ -- "-lgssapi" \ -- "-lgssapi -lkrb5 -ldes -lcrypt -lasn1 -lroken -lcom_err" \ -- "-lgssapi -lkrb5 -lcrypt -lasn1 -lroken -lcom_err" \ -- "-lgssapi -lkrb5 -lgssapi_krb5 -lcrypt -lasn1 -lroken -lcom_err" \ -- "-lgssapi -lkrb5 -lhx509 -lcrypt -lasn1 -lroken -lcom_err" \ -- "-lgss -lkrb5" -+ "$($KRB5CONFIG gssapi --libs)"; \ - do -- # Note that this does not include $saved_libs, because -- # on FreeBSD machines this configure script has added -- # -L/usr/local/lib to LIBS, which can make the -- # -lgssapi_krb5 test succeed with shared libraries even -- # when you are trying to build with KTH in /usr/lib. -- if test "/usr" = "$use_gssapi" -- then -- LIBS="$TRY_LIBS $ISC_OPENSSL_LIBS" -- else -- LIBS="-L$use_gssapi/lib $TRY_LIBS $ISC_OPENSSL_LIBS" -- fi -+ LIBS="$TRY_LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking linking as $TRY_LIBS" >&5 - $as_echo_n "checking linking as $TRY_LIBS... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -@@ -18167,47 +18149,7 @@ $as_echo "no" >&6; } ;; - no) as_fn_error $? "could not determine proper GSSAPI linkage" "$LINENO" 5 ;; - esac - -- # -- # XXXDCL Major kludge. Tries to cope with KTH in /usr/lib -- # but MIT in /usr/local/lib and trying to build with KTH. -- # /usr/local/lib can end up earlier on the link lines. -- # Like most kludges, this one is not only inelegant it -- # is also likely to be the wrong thing to do at least as -- # many times as it is the right thing. Something better -- # needs to be done. -- # -- if test "/usr" = "$use_gssapi" -a \ -- -f /usr/local/lib/libkrb5.a; then -- FIX_KTH_VS_MIT=yes -- fi -- -- case "$FIX_KTH_VS_MIT" in -- yes) -- case "$enable_static_linking" in -- yes) gssapi_lib_suffix=".a" ;; -- *) gssapi_lib_suffix=".so" ;; -- esac -- -- for lib in $LIBS; do -- case $lib in -- -L*) -- ;; -- -l*) -- new_lib=`echo $lib | -- sed -e s%^-l%$use_gssapi/lib/lib% \ -- -e s%$%$gssapi_lib_suffix%` -- NEW_LIBS="$NEW_LIBS $new_lib" -- ;; -- *) -- as_fn_error $? "KTH vs MIT Kerberos confusion!" "$LINENO" 5 -- ;; -- esac -- done -- LIBS="$NEW_LIBS" -- ;; -- esac -- -- DST_GSSAPI_INC="-I$use_gssapi/include" -+ DST_GSSAPI_INC="$($KRB5CONFIG gssapi --cflags)" - DNS_GSSAPI_LIBS="$LIBS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using GSSAPI from $use_gssapi/lib and $use_gssapi/include" >&5 -@@ -23668,7 +23610,7 @@ $as_echo "" >&6; } - # Check other locations for includes. - # Order is important (sigh). - -- bdb_incdirs="/db53 /db51 /db48 /db47 /db46 /db45 /db44 /db43 /db42 /db41 /db4 /db" -+ bdb_incdirs="/db6 /db5 /db48" - # include a blank element first - for d in "" $bdb_incdirs - do diff --git a/dns/bind916/files/patch-no-bind-tools b/dns/bind916/files/patch-no-bind-tools deleted file mode 100644 index 76bfcc3d0385..000000000000 --- a/dns/bind916/files/patch-no-bind-tools +++ /dev/null @@ -1,46 +0,0 @@ -Exclude the "tools" from building and installing. - ---- bin/Makefile.in.orig 2022-01-12 13:50:10 UTC -+++ bin/Makefile.in -@@ -13,8 +13,8 @@ srcdir = @srcdir@ - VPATH = @srcdir@ - top_srcdir = @top_srcdir@ - --SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \ -- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests -+SUBDIRS = named rndc tools check confgen \ -+ @NZD_TOOLS@ @PKCS11_TOOLS@ plugins tests - TARGETS = - - @BIND9_MAKE_RULES@ ---- bin/tools/Makefile.in.orig 2022-01-12 13:50:10 UTC -+++ bin/tools/Makefile.in -@@ -45,10 +45,7 @@ SUBDIRS = - - DNSTAPTARGETS = dnstap-read@EXEEXT@ - NZDTARGETS = named-nzd2nzf@EXEEXT@ --TARGETS = arpaname@EXEEXT@ named-journalprint@EXEEXT@ \ -- named-rrchecker@EXEEXT@ nsec3hash@EXEEXT@ \ -- mdig@EXEEXT@ \ -- @DNSTAPTARGETS@ @NZDTARGETS@ -+TARGETS = @DNSTAPTARGETS@ @NZDTARGETS@ - - DNSTAPSRCS = dnstap-read.c - NZDSRCS = named-nzd2nzf.c -@@ -105,16 +102,6 @@ dnstap: - ${DESTDIR}${bindir} - - install:: ${TARGETS} installdirs @DNSTAP@ @NZD_TOOLS@ -- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} arpaname@EXEEXT@ \ -- ${DESTDIR}${bindir} -- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-journalprint@EXEEXT@ \ -- ${DESTDIR}${sbindir} -- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-rrchecker@EXEEXT@ \ -- ${DESTDIR}${bindir} -- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsec3hash@EXEEXT@ \ -- ${DESTDIR}${sbindir} -- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} mdig@EXEEXT@ \ -- ${DESTDIR}${bindir} - - uninstall:: - ${LIBTOOL_MODE_UNINSTALL} rm -f \ diff --git a/dns/bind916/files/pkg-message.in b/dns/bind916/files/pkg-message.in deleted file mode 100644 index 1150a96522ff..000000000000 --- a/dns/bind916/files/pkg-message.in +++ /dev/null @@ -1,22 +0,0 @@ -[ -{ -# %!fmt 59 63 - message: <<EOT -BIND requires configuration of rndc, including a "secret" -key. The easiest, and most secure way to configure rndc is -to run 'rndc-confgen -a' to generate the proper conf file, -with a new random key, and appropriate file permissions. - -The %%PREFIX%%/etc/rc.d/named script will do that for you. - -If using syslog to log the BIND9 activity, and using a -chroot'ed installation, you will need to tell syslog to install -a log socket in the BIND9 chroot by running: - - # sysrc altlog_proglist+=named - -And then restarting syslogd with: service syslogd restart -EOT - type: install -} -] diff --git a/dns/bind916/pkg-descr b/dns/bind916/pkg-descr deleted file mode 100644 index 0563e65ca320..000000000000 --- a/dns/bind916/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -BIND version 9 is a major rewrite of nearly all aspects of the underlying BIND -architecture. Some of the important features of BIND 9 are: - -DNS Security: DNSSEC (signed zones), TSIG (signed DNS requests) -IP version 6: Answers DNS queries on IPv6 sockets, IPv6 resource records (AAAA) - Experimental IPv6 Resolver Library -DNS Protocol Enhancements: IXFR, DDNS, Notify, EDNS0 - Improved standards conformance -Views: One server process can provide multiple "views" of the DNS namespace, - e.g. an "inside" view to certain clients, and an "outside" view to others. -Multiprocessor Support - -See the CHANGES file for more information on new features. diff --git a/dns/bind916/pkg-help b/dns/bind916/pkg-help deleted file mode 100644 index aa85330b21d7..000000000000 --- a/dns/bind916/pkg-help +++ /dev/null @@ -1,30 +0,0 @@ - NATIVE_PKCS11 -When using the NATIVE_PKCS11 option, BIND will use the PKCS#11 -engine specified by the named_pkcss11_engine variable in -/etc/rc.conf for *all* crypto operations. - -This is primarily intended to be used in an authoritative -case. - -If BIND is also operating as a validating resolver, -NATIVE_PKCS11 should not be used, because the HSM will be -used for all crypto, including DNSSEC validations, and the -HSM is likely to be slower than the CPU for this purpose. -Additionally, the HSM might not support all of the PKCS#11 -API functions needed for signature verification. - - - GOST -If using a chrooted instance of BIND on FreeBSD 8.x and 9.x, -the OpenSSL engines MUST be accessible from within the chroot. -If BIND is chrooted in /var/named, this can be achieved by -either copying content of /usr/local/lib/engines into -/var/named/usr/local/lib/engines, or by creating that directory -and adding this line to /etc/fstab: -/usr/local/lib/engines /var/named/usr/local/lib/engines nullfs ro 0 0 - - - START_LATE -Most of the time, BIND needs to start early in the boot -process. Enable this if BIND starts too early for you and -you need it to start later. diff --git a/dns/bind916/pkg-plist b/dns/bind916/pkg-plist deleted file mode 100644 index 441fe6862ec7..000000000000 --- a/dns/bind916/pkg-plist +++ /dev/null @@ -1,331 +0,0 @@ -%%DNSTAP%%bin/dnstap-read -@sample etc/mtree/BIND.chroot.dist.sample -@sample etc/mtree/BIND.chroot.local.dist.sample -%%ETCDIR%%/bind.keys -%%ETCDIR%%/master/empty.db -%%ETCDIR%%/master/localhost-forward.db -%%ETCDIR%%/master/localhost-reverse.db -@sample %%ETCDIR%%/named.conf.sample -%%ETCDIR%%/named.root -%%ETCDIR%%/rndc.conf.sample -include/bind9/check.h -include/bind9/getaddresses.h -include/bind9/version.h -include/dns/acl.h -include/dns/adb.h -include/dns/badcache.h -include/dns/bit.h -include/dns/byaddr.h -include/dns/cache.h -include/dns/callbacks.h -include/dns/catz.h -include/dns/cert.h -include/dns/client.h -include/dns/clientinfo.h -include/dns/compress.h -include/dns/db.h -include/dns/dbiterator.h -include/dns/dbtable.h -include/dns/diff.h -include/dns/dispatch.h -include/dns/dlz.h -include/dns/dlz_dlopen.h -include/dns/dns64.h -include/dns/dnsrps.h -include/dns/dnssec.h -include/dns/dnstap.h -include/dns/ds.h -include/dns/dsdigest.h -include/dns/dyndb.h -include/dns/ecdb.h -include/dns/ecs.h -include/dns/edns.h -include/dns/enumclass.h -include/dns/enumtype.h -include/dns/events.h -include/dns/fixedname.h -include/dns/forward.h -include/dns/geoip.h -include/dns/ipkeylist.h -include/dns/iptable.h -include/dns/journal.h -include/dns/kasp.h -include/dns/keydata.h -include/dns/keyflags.h -include/dns/keymgr.h -include/dns/keytable.h -include/dns/keyvalues.h -include/dns/lib.h -include/dns/librpz.h -%%LMDB%%include/dns/lmdb.h -include/dns/log.h -include/dns/lookup.h -include/dns/master.h -include/dns/masterdump.h -include/dns/message.h -include/dns/name.h -include/dns/ncache.h -include/dns/nsec.h -include/dns/nsec3.h -include/dns/nta.h -include/dns/opcode.h -include/dns/order.h -include/dns/peer.h -include/dns/portlist.h -include/dns/private.h -include/dns/rbt.h -include/dns/rcode.h -include/dns/rdata.h -include/dns/rdataclass.h -include/dns/rdatalist.h -include/dns/rdataset.h -include/dns/rdatasetiter.h -include/dns/rdataslab.h -include/dns/rdatastruct.h -include/dns/rdatatype.h -include/dns/request.h -include/dns/resolver.h -include/dns/result.h -include/dns/rootns.h -include/dns/rpz.h -include/dns/rriterator.h -include/dns/rrl.h -include/dns/sdb.h -include/dns/sdlz.h -include/dns/secalg.h -include/dns/secproto.h -include/dns/soa.h -include/dns/ssu.h -include/dns/stats.h -include/dns/tcpmsg.h -include/dns/time.h -include/dns/timer.h -include/dns/tkey.h -include/dns/tsec.h -include/dns/tsig.h -include/dns/ttl.h -include/dns/types.h -include/dns/update.h -include/dns/validator.h -include/dns/version.h -include/dns/view.h -include/dns/xfrin.h -include/dns/zone.h -include/dns/zonekey.h -include/dns/zoneverify.h -include/dns/zt.h -include/dst/dst.h -include/dst/gssapi.h -include/dst/result.h -include/irs/context.h -include/irs/dnsconf.h -include/irs/netdb.h -include/irs/platform.h -include/irs/resconf.h -include/irs/types.h -include/irs/version.h -include/isc/aes.h -include/isc/align.h -include/isc/app.h -include/isc/assertions.h -include/isc/astack.h -include/isc/atomic.h -include/isc/backtrace.h -include/isc/barrier.h -include/isc/base32.h -include/isc/base64.h -include/isc/bind9.h -include/isc/buffer.h -include/isc/bufferlist.h -include/isc/cmocka.h -include/isc/commandline.h -include/isc/condition.h -include/isc/counter.h -include/isc/crc64.h -include/isc/deprecated.h -include/isc/dir.h -include/isc/endian.h -include/isc/errno.h -include/isc/error.h -include/isc/event.h -include/isc/eventclass.h -include/isc/file.h -include/isc/formatcheck.h -include/isc/fsaccess.h -include/isc/fuzz.h -include/isc/hash.h -include/isc/heap.h -include/isc/hex.h -include/isc/hmac.h -include/isc/ht.h -include/isc/httpd.h -include/isc/interfaceiter.h -include/isc/iterated_hash.h -include/isc/lang.h -include/isc/lex.h -include/isc/lfsr.h -include/isc/lib.h -include/isc/likely.h -include/isc/list.h -include/isc/log.h -include/isc/magic.h -include/isc/managers.h -include/isc/md.h -include/isc/mem.h -include/isc/meminfo.h -include/isc/mutex.h -include/isc/mutexblock.h -include/isc/net.h -include/isc/netaddr.h -include/isc/netdb.h -include/isc/netmgr.h -include/isc/netscope.h -include/isc/nonce.h -include/isc/offset.h -include/isc/once.h -include/isc/os.h -include/isc/parseint.h -include/isc/platform.h -include/isc/pool.h -include/isc/portset.h -include/isc/print.h -include/isc/quota.h -include/isc/radix.h -include/isc/random.h -include/isc/ratelimiter.h -include/isc/refcount.h -include/isc/regex.h -include/isc/region.h -include/isc/resource.h -include/isc/result.h -include/isc/resultclass.h -include/isc/rwlock.h -include/isc/safe.h -include/isc/serial.h -include/isc/siphash.h -include/isc/sockaddr.h -include/isc/socket.h -include/isc/stat.h -include/isc/stats.h -include/isc/stdatomic.h -include/isc/stdio.h -include/isc/stdtime.h -include/isc/strerr.h -include/isc/string.h -include/isc/symtab.h -include/isc/syslog.h -include/isc/task.h -include/isc/taskpool.h -include/isc/thread.h -include/isc/time.h -include/isc/timer.h -include/isc/tm.h -include/isc/types.h -include/isc/url.h -include/isc/utf8.h -include/isc/util.h -include/isc/version.h -include/isccc/alist.h -include/isccc/base64.h -include/isccc/cc.h -include/isccc/ccmsg.h -include/isccc/events.h -include/isccc/result.h -include/isccc/sexpr.h -include/isccc/symtab.h -include/isccc/symtype.h -include/isccc/types.h -include/isccc/util.h -include/isccc/version.h -include/isccfg/aclconf.h -include/isccfg/cfg.h -include/isccfg/dnsconf.h -include/isccfg/grammar.h -include/isccfg/kaspconf.h -include/isccfg/log.h -include/isccfg/namedconf.h -include/isccfg/version.h -include/ns/client.h -include/ns/hooks.h -include/ns/interfacemgr.h -include/ns/lib.h -include/ns/listenlist.h -include/ns/log.h -include/ns/notify.h -include/ns/query.h -include/ns/server.h -include/ns/sortlist.h -include/ns/stats.h -include/ns/types.h -include/ns/update.h -include/ns/version.h -include/ns/xfrout.h -include/pk11/constants.h -include/pk11/internal.h -include/pk11/pk11.h -include/pk11/result.h -include/pk11/site.h -include/pkcs11/pkcs11.h -lib/libbind9.a -lib/libdns.a -lib/libirs.a -lib/libisc.a -lib/libisccc.a -lib/libisccfg.a -lib/libns.a -lib/named/filter-aaaa.so -@comment share/man/man1/arpaname.1.gz -@comment share/man/man1/delv.1.gz -@comment share/man/man1/dig.1.gz -%%DNSTAP%%share/man/man1/dnstap-read.1.gz -@comment share/man/man1/host.1.gz -@comment share/man/man1/mdig.1.gz -@comment share/man/man1/named-rrchecker.1.gz -@comment share/man/man1/nslookup.1.gz -@comment share/man/man1/nsupdate.1.gz -share/man/man5/named.conf.5.gz -share/man/man5/rndc.conf.5.gz -share/man/man8/ddns-confgen.8.gz -@comment share/man/man8/dnssec-cds.8.gz -@comment share/man/man8/dnssec-checkds.8.gz -@comment share/man/man8/dnssec-coverage.8.gz -@comment share/man/man8/dnssec-dsfromkey.8.gz -@comment share/man/man8/dnssec-importkey.8.gz -@comment share/man/man8/dnssec-keyfromlabel.8.gz -@comment share/man/man8/dnssec-keygen.8.gz -@comment share/man/man8/dnssec-keymgr.8.gz -@comment share/man/man8/dnssec-revoke.8.gz -@comment share/man/man8/dnssec-settime.8.gz -@comment share/man/man8/dnssec-signzone.8.gz -@comment share/man/man8/dnssec-verify.8.gz -share/man/man8/filter-aaaa.8.gz -share/man/man8/named-checkconf.8.gz -share/man/man8/named-checkzone.8.gz -share/man/man8/named-compilezone.8.gz -@comment share/man/man8/named-journalprint.8.gz -%%LMDB%%share/man/man8/named-nzd2nzf.8.gz -share/man/man8/named.8.gz -@comment share/man/man8/nsec3hash.8.gz -%%NATIVE_PKCS11%%share/man/man8/pkcs11-destroy.8.gz -%%NATIVE_PKCS11%%share/man/man8/pkcs11-keygen.8.gz -%%NATIVE_PKCS11%%share/man/man8/pkcs11-list.8.gz -%%NATIVE_PKCS11%%share/man/man8/pkcs11-tokens.8.gz -share/man/man8/rndc-confgen.8.gz -share/man/man8/rndc.8.gz -share/man/man8/tsig-keygen.8.gz -sbin/ddns-confgen -sbin/named -sbin/named-checkconf -sbin/named-checkzone -sbin/named-compilezone -%%LMDB%%sbin/named-nzd2nzf -%%NATIVE_PKCS11%%sbin/pkcs11-destroy -%%NATIVE_PKCS11%%sbin/pkcs11-keygen -%%NATIVE_PKCS11%%sbin/pkcs11-list -%%NATIVE_PKCS11%%sbin/pkcs11-tokens -sbin/rndc -sbin/rndc-confgen -sbin/tsig-keygen -@dir(bind,bind,) %%ETCDIR%%/dynamic -@dir(bind,bind,) %%ETCDIR%%/slave -@dir(bind,bind,) %%ETCDIR%%/working diff --git a/dns/bind918/Makefile b/dns/bind918/Makefile index d093babefdc6..ae5040d95a5c 100644 --- a/dns/bind918/Makefile +++ b/dns/bind918/Makefile @@ -1,13 +1,13 @@ # pkg-help formatted with fmt 59 63 PORTNAME= bind -DISTVERSION= 9.18.26 +DISTVERSION= 9.18.27 .if defined(BIND_TOOLS_SLAVE) # dns/bind-tools here -PORTREVISION= 0 +PORTREVISION= 1 .else # dns/bind918 here -PORTREVISION= 0 +PORTREVISION= 1 .endif CATEGORIES= dns net MASTER_SITES= ISC/bind9/${DISTVERSION} @@ -72,7 +72,7 @@ EXTRA_PATCHES= ${PATCHDIR}/extrapatch-no-bind-tools PORTDOCS= * -CONFLICTS= bind911 bind916 bind9-devel +CONFLICTS= bind916 bind9-devel .endif # BIND_TOOLS_SLAVE MAKE_JOBS_UNSAFE= yes @@ -87,7 +87,7 @@ OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE .if defined(BIND_TOOLS_SLAVE) -OPTIONS_EXCLUDE= DNSTAP DOCS GEOIP LMDB \ +OPTIONS_EXCLUDE= DOCS GEOIP LMDB \ OVERRIDECACHE QUERYTRACE START_LATE \ TCP_FASTOPEN .endif # BIND_TOOLS_SLAVE diff --git a/dns/bind918/distinfo b/dns/bind918/distinfo index d47edab06953..edb54efdb509 100644 --- a/dns/bind918/distinfo +++ b/dns/bind918/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713682828 -SHA256 (bind-9.18.26.tar.xz) = 75ffee52731e9604c849b658df29e927f1c4f01d5a71ea3ebcbeb63702cb6651 -SIZE (bind-9.18.26.tar.xz) = 5519432 +TIMESTAMP = 1715885469 +SHA256 (bind-9.18.27.tar.xz) = ea3f3d8cfa2f6ae78c8722751d008f54bc17a3aed2be3f7399eb7bf5f4cda8f1 +SIZE (bind-9.18.27.tar.xz) = 5524000 diff --git a/dns/bind918/files/extrapatch-no-bind-tools b/dns/bind918/files/extrapatch-no-bind-tools index d53088bec0f4..a79c4832e4de 100644 --- a/dns/bind918/files/extrapatch-no-bind-tools +++ b/dns/bind918/files/extrapatch-no-bind-tools @@ -20,3 +20,25 @@ Exclude the "tools" from building and installing. arpaname_LDADD = \ $(LIBISC_LIBS) +@@ -27,21 +23,6 @@ + $(LIBISCCFG_LIBS) \ + $(LIBDNS_LIBS) \ + $(LIBISC_LIBS) +- +-if HAVE_DNSTAP +-bin_PROGRAMS += \ +- dnstap-read +- +-dnstap_read_CPPFLAGS = \ +- $(AM_CPPFLAGS) \ +- $(DNSTAP_CFLAGS) \ +- -I$(top_builddir)/lib/dns +- +-dnstap_read_LDADD = \ +- $(LIBDNS_LIBS) \ +- $(LIBISC_LIBS) \ +- $(DNSTAP_LIBS) +-endif + + if HAVE_LMDB + bin_PROGRAMS += \ diff --git a/dns/bind918/pkg-plist b/dns/bind918/pkg-plist index 21deb99a906d..7c461391dea3 100644 --- a/dns/bind918/pkg-plist +++ b/dns/bind918/pkg-plist @@ -1,4 +1,3 @@ -%%DNSTAP%%bin/dnstap-read bin/named-checkconf bin/named-checkzone bin/named-compilezone @@ -241,19 +240,19 @@ include/ns/xfrout.h lib/bind/filter-a.so lib/bind/filter-aaaa.so lib/libbind9.so -lib/libbind9-9.18.26.so +lib/libbind9-9.18.27.so lib/libdns.so -lib/libdns-9.18.26.so +lib/libdns-9.18.27.so lib/libirs.so -lib/libirs-9.18.26.so +lib/libirs-9.18.27.so lib/libisc.so -lib/libisc-9.18.26.so +lib/libisc-9.18.27.so lib/libisccc.so -lib/libisccc-9.18.26.so +lib/libisccc-9.18.27.so lib/libisccfg.so -lib/libisccfg-9.18.26.so +lib/libisccfg-9.18.27.so lib/libns.so -lib/libns-9.18.26.so +lib/libns-9.18.27.so @comment share/man/man1/arpaname.1.gz @comment share/man/man1/delv.1.gz @comment share/man/man1/dig.1.gz @@ -266,7 +265,7 @@ lib/libns-9.18.26.so @comment share/man/man1/dnssec-settime.1.gz @comment share/man/man1/dnssec-signzone.1.gz @comment share/man/man1/dnssec-verify.1.gz -%%DNSTAP%%share/man/man1/dnstap-read.1.gz +@comment share/man/man1/dnstap-read.1.gz @comment share/man/man1/host.1.gz @comment share/man/man1/mdig.1.gz share/man/man1/named-checkconf.1.gz diff --git a/dns/blocky/Makefile b/dns/blocky/Makefile index 53533c611345..4789ed883eb9 100644 --- a/dns/blocky/Makefile +++ b/dns/blocky/Makefile @@ -1,7 +1,7 @@ PORTNAME= blocky DISTVERSIONPREFIX= v DISTVERSION= 0.23 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= dns MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod DISTFILES= go.mod:gomod diff --git a/dns/cli53/Makefile b/dns/cli53/Makefile index 144721d771a8..07a345dafad6 100644 --- a/dns/cli53/Makefile +++ b/dns/cli53/Makefile @@ -1,6 +1,6 @@ PORTNAME= cli53 DISTVERSION= 0.8.22 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= dns MAINTAINER= meta@FreeBSD.org diff --git a/dns/coredns/Makefile b/dns/coredns/Makefile index 030ff145dd34..ae59f3ec4fe4 100644 --- a/dns/coredns/Makefile +++ b/dns/coredns/Makefile @@ -1,7 +1,7 @@ PORTNAME= coredns DISTVERSIONPREFIX= v -DISTVERSION= 1.11.2 -PORTREVISION= 2 +DISTVERSION= 1.11.3 +PORTREVISION= 1 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org diff --git a/dns/coredns/distinfo b/dns/coredns/distinfo index 7eb8633d9af6..83aeaee65c6d 100644 --- a/dns/coredns/distinfo +++ b/dns/coredns/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1709932958 -SHA256 (go/dns_coredns/coredns-v1.11.2/v1.11.2.mod) = 912e8529fd9c78c04eab231b934895984424ba5fa0bc669e00c29577b9ea901b -SIZE (go/dns_coredns/coredns-v1.11.2/v1.11.2.mod) = 6992 -SHA256 (go/dns_coredns/coredns-v1.11.2/v1.11.2.zip) = 6f5ee3fb97f706ec2f9efe9e42b57e806bb6f5a69537fc2d30ea1856214884d1 -SIZE (go/dns_coredns/coredns-v1.11.2/v1.11.2.zip) = 1031530 +TIMESTAMP = 1714942421 +SHA256 (go/dns_coredns/coredns-v1.11.3/v1.11.3.mod) = e2346bf5489e12ac68a1759f87419b88f8f18b96a66d8f719ec269c3ad5d8232 +SIZE (go/dns_coredns/coredns-v1.11.3/v1.11.3.mod) = 6691 +SHA256 (go/dns_coredns/coredns-v1.11.3/v1.11.3.zip) = a6c3383d9bc7425e2155ddf27f632f5556bef7a6b4e6e7db5667273d491a5638 +SIZE (go/dns_coredns/coredns-v1.11.3/v1.11.3.zip) = 1034058 diff --git a/dns/crossip/Makefile b/dns/crossip/Makefile index f4c815f3397b..f95367353fcb 100644 --- a/dns/crossip/Makefile +++ b/dns/crossip/Makefile @@ -8,6 +8,9 @@ MAINTAINER= dan@algenta.com COMMENT= Java DNS update client for the ThatIP protocol WWW= https://www.thatip.com/ +DEPRECATED= Obsolete, use dns/dnsmax-perl +EXPIRATION_DATE=2024-05-31 + LICENSE= GPLv2 USES= zip diff --git a/dns/curvedns/Makefile b/dns/curvedns/Makefile index 04842744cbf2..9d17c3d17886 100644 --- a/dns/curvedns/Makefile +++ b/dns/curvedns/Makefile @@ -1,12 +1,15 @@ PORTNAME= curvedns PORTVERSION= 0.88.b -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= dns MAINTAINER= vsevolod@FreeBSD.org COMMENT= Forwarder adding DNSCurve to an authoritative nameserver WWW= https://curvedns.on2it.net/ +DEPRECATED= Protocol never gained traction and is superseded by DoT and DoH +EXPIRATION_DATE=2024-05-31 + LIB_DEPENDS= libev.so:devel/libev \ libsodium.so:security/libsodium RUN_DEPENDS= setuidgid:sysutils/daemontools diff --git a/dns/dnrd/Makefile b/dns/dnrd/Makefile index b2fd07aeeab9..82f524fa4d77 100644 --- a/dns/dnrd/Makefile +++ b/dns/dnrd/Makefile @@ -11,6 +11,9 @@ WWW= https://dnrd.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +DEPRECATED= Abandonware, last release in 2007 and last activity in 2010. Consider using Unbound, dns/dnsmasq or dns/blocky +EXPIRATION_DATE=2024-05-31 + USES= cpe gmake USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes diff --git a/dns/dnscontrol/Makefile b/dns/dnscontrol/Makefile index 5f07c376f86e..b06b04f968a0 100644 --- a/dns/dnscontrol/Makefile +++ b/dns/dnscontrol/Makefile @@ -1,7 +1,6 @@ PORTNAME= dnscontrol DISTVERSIONPREFIX=v -DISTVERSION= 4.9.0 -PORTREVISION= 1 +DISTVERSION= 4.11.0 CATEGORIES= dns MAINTAINER= decke@FreeBSD.org diff --git a/dns/dnscontrol/distinfo b/dns/dnscontrol/distinfo index a74e31403b28..00ebae25a6ee 100644 --- a/dns/dnscontrol/distinfo +++ b/dns/dnscontrol/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1712591047 -SHA256 (go/dns_dnscontrol/dnscontrol-v4.9.0/v4.9.0.mod) = 1c360d548eb13bd30c654f91a655e303255ac501b5b68c414119b9a56bd3823b -SIZE (go/dns_dnscontrol/dnscontrol-v4.9.0/v4.9.0.mod) = 7604 -SHA256 (go/dns_dnscontrol/dnscontrol-v4.9.0/v4.9.0.zip) = 5679d00bb461668f4ee0a5e406a2b7f6054af7c0eaa19e7b9ee642f19c4cd2ab -SIZE (go/dns_dnscontrol/dnscontrol-v4.9.0/v4.9.0.zip) = 5428591 +TIMESTAMP = 1716143756 +SHA256 (go/dns_dnscontrol/dnscontrol-v4.11.0/v4.11.0.mod) = 7a50bdde0a60a2deca4be5bd3511d977d25d65a1bb3ce80835bee8de17839ed7 +SIZE (go/dns_dnscontrol/dnscontrol-v4.11.0/v4.11.0.mod) = 7649 +SHA256 (go/dns_dnscontrol/dnscontrol-v4.11.0/v4.11.0.zip) = 875bd1be7de9f11f27b8c10dfdba54e863b307d85c4bc2b2f4a74e1b25898239 +SIZE (go/dns_dnscontrol/dnscontrol-v4.11.0/v4.11.0.zip) = 5443517 diff --git a/dns/dnscrypt-proxy2/Makefile b/dns/dnscrypt-proxy2/Makefile index 758935c5f0d0..013dc65bc77d 100644 --- a/dns/dnscrypt-proxy2/Makefile +++ b/dns/dnscrypt-proxy2/Makefile @@ -1,6 +1,6 @@ PORTNAME= dnscrypt-proxy PORTVERSION= 2.1.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= dns security PKGNAMESUFFIX= 2 diff --git a/dns/dnscrypt-wrapper/Makefile b/dns/dnscrypt-wrapper/Makefile index acc34f699d20..2d6d49ce09b1 100644 --- a/dns/dnscrypt-wrapper/Makefile +++ b/dns/dnscrypt-wrapper/Makefile @@ -1,7 +1,7 @@ PORTNAME= dnscrypt-wrapper PORTVERSION= 0.4.2 DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MAINTAINER= freebsd@toyingwithfate.com diff --git a/dns/dnsdist/Makefile b/dns/dnsdist/Makefile index 1c3dee8e4206..0836216a5b16 100644 --- a/dns/dnsdist/Makefile +++ b/dns/dnsdist/Makefile @@ -1,5 +1,6 @@ PORTNAME= dnsdist -DISTVERSION= 1.9.3 +DISTVERSION= 1.9.4 +PORTREVISION= 1 CATEGORIES= dns net MASTER_SITES= https://downloads.powerdns.com/releases/ diff --git a/dns/dnsdist/distinfo b/dns/dnsdist/distinfo index 656cd642f775..724d6806d1a7 100644 --- a/dns/dnsdist/distinfo +++ b/dns/dnsdist/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1712317299 -SHA256 (dnsdist-1.9.3.tar.bz2) = f05b68806dc6c4d207b1fadb7ec715c3e0d28d893a8b3b92d58297c4ceb56c3f -SIZE (dnsdist-1.9.3.tar.bz2) = 1577027 +TIMESTAMP = 1715595818 +SHA256 (dnsdist-1.9.4.tar.bz2) = 297d3a3751af4650665c9d3890a1d5a7a0467175f2c8607d0d5980e3fd67ef14 +SIZE (dnsdist-1.9.4.tar.bz2) = 1591994 diff --git a/dns/dnsforwarder/Makefile b/dns/dnsforwarder/Makefile index 60770e6596d6..eb25b7e22351 100644 --- a/dns/dnsforwarder/Makefile +++ b/dns/dnsforwarder/Makefile @@ -10,6 +10,10 @@ WWW= https://github.com/holmium/dnsforwarder LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE +BROKEN= Unfetchable +DEPRECATED= Abandoned, upstream repo is removed +EXPIRATION_DATE=2024-05-31 + LIB_DEPENDS= libcurl.so:ftp/curl USES= localbase diff --git a/dns/dnsjit/Makefile b/dns/dnsjit/Makefile index 453432ccf5d8..ea4aad513cee 100644 --- a/dns/dnsjit/Makefile +++ b/dns/dnsjit/Makefile @@ -1,8 +1,7 @@ PORTNAME= dnsjit -DISTVERSIONPREFIX= v -DISTVERSION= 1.2.3 -PORTREVISION= 1 +DISTVERSION= 1.3.0 CATEGORIES= dns net +MASTER_SITES= https://www.dns-oarc.net/files/${PORTNAME}/ MAINTAINER= freebsd@dns.company COMMENT= Engine for capturing, parsing and replaying DNS @@ -14,16 +13,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libck.so:devel/concurrencykit \ libgnutls.so:security/gnutls \ liblmdb.so:databases/lmdb \ - libpcap.so:net/libpcap \ liblz4.so:archivers/liblz4 \ libzstd.so:archivers/zstd - # Mind PR 262976 about libpcap -USES= autoreconf libtool luajit pkgconfig -USE_GITHUB= yes -GH_ACCOUNT= DNS-OARC +USES= libtool localbase luajit pkgconfig -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes + +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share OPTIONS_DEFINE= EXAMPLES diff --git a/dns/dnsjit/distinfo b/dns/dnsjit/distinfo index 57788bd33d6e..430d17a00abf 100644 --- a/dns/dnsjit/distinfo +++ b/dns/dnsjit/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1649074208 -SHA256 (DNS-OARC-dnsjit-v1.2.3_GH0.tar.gz) = c7f83e02a068cbc75d1b43939fbf4135afce095a774eb1f02a4dc68a38ad21e7 -SIZE (DNS-OARC-dnsjit-v1.2.3_GH0.tar.gz) = 187468 -SHA256 (4346a4859b1ff21f74cc4ae7c79ba6af07a5774f.patch) = ea9a467e072e7aeddc2d27a9dbd2435e23d7bbba4f0f12bf10e5e9330655e39d -SIZE (4346a4859b1ff21f74cc4ae7c79ba6af07a5774f.patch) = 1555 +TIMESTAMP = 1712529519 +SHA256 (dnsjit-1.3.0.tar.gz) = 88b7728d39ec5657a0c0154ec8950ebb9a817159330fc9cf1ecc17d081ee7b89 +SIZE (dnsjit-1.3.0.tar.gz) = 539876 diff --git a/dns/dnsjit/pkg-plist b/dns/dnsjit/pkg-plist index c51925827745..ed073318305f 100644 --- a/dns/dnsjit/pkg-plist +++ b/dns/dnsjit/pkg-plist @@ -146,11 +146,11 @@ share/man/man3/dnsjit.output.tcpcli.3.gz share/man/man3/dnsjit.output.tlscli.3.gz share/man/man3/dnsjit.output.udpcli.3.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/capture.lua -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count-pkts-per-ip.lua %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpdns-qr.lua %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpdns.lua %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpdns2pcap.lua %%PORTEXAMPLES%%%%EXAMPLESDIR%%/filter_rcode.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcap2tcpdns.lua %%PORTEXAMPLES%%%%EXAMPLESDIR%%/qr-multi-pcap-state.lua %%PORTEXAMPLES%%%%EXAMPLESDIR%%/readme.lua %%PORTEXAMPLES%%%%EXAMPLESDIR%%/replay.lua diff --git a/dns/dnstable-convert/Makefile b/dns/dnstable-convert/Makefile index 742e0fa6c357..e3474a4b1815 100644 --- a/dns/dnstable-convert/Makefile +++ b/dns/dnstable-convert/Makefile @@ -1,6 +1,6 @@ PORTNAME= dnstable-convert PORTVERSION= 0.12.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= dns MASTER_SITES= FARSIGHT LOCAL/truckman/farsight diff --git a/dns/dnsviz/Makefile b/dns/dnsviz/Makefile index 325eface8b6d..6104a778e562 100644 --- a/dns/dnsviz/Makefile +++ b/dns/dnsviz/Makefile @@ -1,6 +1,6 @@ PORTNAME= dnsviz PORTVERSION= 0.9.4 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX=v CATEGORIES= dns diff --git a/dns/dnsx/Makefile b/dns/dnsx/Makefile index b67c7076574d..416002a928f8 100644 --- a/dns/dnsx/Makefile +++ b/dns/dnsx/Makefile @@ -1,7 +1,7 @@ PORTNAME= dnsx DISTVERSIONPREFIX= v DISTVERSION= 1.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MAINTAINER= dutra@FreeBSD.org diff --git a/dns/dog/Makefile b/dns/dog/Makefile index f8a53f7f24d0..a10eb4ef5123 100644 --- a/dns/dog/Makefile +++ b/dns/dog/Makefile @@ -1,7 +1,7 @@ PORTNAME= dog DISTVERSIONPREFIX= v DISTVERSION= 0.1.0 -PORTREVISION= 32 +PORTREVISION= 33 CATEGORIES= dns net MAINTAINER= lcook@FreeBSD.org diff --git a/dns/doggo/Makefile b/dns/doggo/Makefile index 8e24ec3db7c1..686031637fc7 100644 --- a/dns/doggo/Makefile +++ b/dns/doggo/Makefile @@ -1,7 +1,7 @@ PORTNAME= doggo DISTVERSIONPREFIX= v DISTVERSION= 0.5.7 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= dns diff --git a/dns/doh-proxy/Makefile b/dns/doh-proxy/Makefile index e7d4ca04f5b8..a45ee2190a46 100644 --- a/dns/doh-proxy/Makefile +++ b/dns/doh-proxy/Makefile @@ -1,6 +1,6 @@ PORTNAME= doh-proxy DISTVERSION= 0.9.8 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= dns MASTER_SITES= CRATESIO DISTFILES= ${CARGO_DIST_SUBDIR}/${DISTNAME}${CARGO_CRATE_EXT} diff --git a/dns/encrypted-dns-server/Makefile b/dns/encrypted-dns-server/Makefile index b5dfbea6eae1..956f32a9d5e6 100644 --- a/dns/encrypted-dns-server/Makefile +++ b/dns/encrypted-dns-server/Makefile @@ -1,6 +1,6 @@ PORTNAME= encrypted-dns-server DISTVERSION= 0.9.6 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= dns MAINTAINER= felix@userspace.com.au diff --git a/dns/firedns/Makefile b/dns/firedns/Makefile deleted file mode 100644 index 08c272cf1668..000000000000 --- a/dns/firedns/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -PORTNAME= firedns -PORTVERSION= 0.9.12 -PORTREVISION= 1 -CATEGORIES= dns devel -MASTER_SITES= https://BSDforge.com/projects/source/dns/firedns/ \ - http://www.firestuff.org/projects/ \ - http://www.wa.apana.org.au/~dean/sources/ \ - ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/ - -MAINTAINER= dean@odyssey.apana.org.au -COMMENT= C library for handling asynchronous DNS queries -WWW= https://www.firestuff.org/ - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/GPL - -DEPRECATED= Abandonware, upstream is gone and last release in 2004 and it also depends on unfetchable misc/firestring. Consider dns/c-ares -EXPIRATION_DATE=2024-04-30 - -BUILD_DEPENDS= ${LOCALBASE}/include/firestring.h:misc/firestring - -USES= tar:bzip2 -HAS_CONFIGURE= yes -CONFIGURE_ENV= MANDIR="${PREFIX}/share/man" -USE_LDCONFIG= yes - -WRKSRC= ${WRKDIR}/${PORTNAME} - -pre-configure: - @-${RM} ${WRKSRC}/firemake/*.orig - -.include <bsd.port.mk> diff --git a/dns/firedns/distinfo b/dns/firedns/distinfo deleted file mode 100644 index b656c2a1a9d7..000000000000 --- a/dns/firedns/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (firedns-0.9.12.tar.bz2) = ca422e9514dd55ab9bdcf8dded7b10251e88d811d44386378973e02ef95876d2 -SIZE (firedns-0.9.12.tar.bz2) = 96535 diff --git a/dns/firedns/files/patch-firemake__binaries b/dns/firedns/files/patch-firemake__binaries deleted file mode 100644 index b162dbb9099e..000000000000 --- a/dns/firedns/files/patch-firemake__binaries +++ /dev/null @@ -1,38 +0,0 @@ ---- firemake/binaries.orig 2014-05-20 14:42:24.803606033 +0800 -+++ firemake/binaries 2014-05-20 14:43:27.873622908 +0800 -@@ -55,9 +55,9 @@ case $PHASE in - disp " skipping $BINARY" - else - dispn " $BINARY..." -- $ECHO " $INSTALL $BINARY \$(BINDIR) $INSTALL_USER $INSTALL_GROUP 0755" -+ $ECHO " $INSTALL $BINARY \$(DESTDIR)\$(BINDIR) $INSTALL_USER $INSTALL_GROUP 0755" - if test "$STRIP" != ""; then -- $ECHO " $STRIP \$(BINDIR)/$BINARY" -+ $ECHO " $STRIP \$(DESTDIR)\$(BINDIR)/$BINARY" - fi - disp "done" - fi -@@ -68,9 +68,9 @@ case $PHASE in - disp " skipping $BINARY" - else - dispn " $BINARY..." -- $ECHO " $INSTALL $BINARY \$(SBINDIR) $INSTALL_USER $INSTALL_GROUP 0755" -+ $ECHO " $INSTALL $BINARY \$(DESTDIR)\$(SBINDIR) $INSTALL_USER $INSTALL_GROUP 0755" - if test "$STRIP" != ""; then -- $ECHO " $STRIP \$(SBINDIR)/$BINARY" -+ $ECHO " $STRIP \$(DESTDIR)\$(SBINDIR)/$BINARY" - fi - disp "done" - fi -@@ -81,9 +81,9 @@ case $PHASE in - disp " skipping $BINARY" - else - dispn " $BINARY..." -- $ECHO " $INSTALL $BINARY \$(BINDIR) $INSTALL_USER $INSTALL_GROUP 4755" -+ $ECHO " $INSTALL $BINARY \$(DESTDIR)\$(BINDIR) $INSTALL_USER $INSTALL_GROUP 4755" - if test "$STRIP" != ""; then -- $ECHO " $STRIP \$(BINDIR)/$BINARY" -+ $ECHO " $STRIP \$(DESTDIR)\$(BINDIR)/$BINARY" - fi - disp "done" - fi diff --git a/dns/firedns/files/patch-firemake__headers b/dns/firedns/files/patch-firemake__headers deleted file mode 100644 index 8ff3fd26289b..000000000000 --- a/dns/firedns/files/patch-firemake__headers +++ /dev/null @@ -1,11 +0,0 @@ ---- firemake/headers.orig 2014-05-20 14:43:33.135642364 +0800 -+++ firemake/headers 2014-05-20 14:43:44.118599465 +0800 -@@ -16,7 +16,7 @@ case $PHASE in - $ECHO "install_headers:" - - for HEADER in $HEADERS; do -- $ECHO " $INSTALL $HEADER \$(INCLUDEDIR) $INSTALL_USER $INSTALL_GROUP 0644" -+ $ECHO " $INSTALL $HEADER \$(DESTDIR)\$(INCLUDEDIR) $INSTALL_USER $INSTALL_GROUP 0644" - done - $ECHO - diff --git a/dns/firedns/files/patch-firemake__man b/dns/firedns/files/patch-firemake__man deleted file mode 100644 index b30a02896ab9..000000000000 --- a/dns/firedns/files/patch-firemake__man +++ /dev/null @@ -1,56 +0,0 @@ ---- firemake/man.orig 2014-05-20 14:45:41.801589832 +0800 -+++ firemake/man 2014-05-20 14:46:24.364609956 +0800 -@@ -38,7 +38,7 @@ case $PHASE in - if test "$MAN1" != ""; then - dispn " Section 1..." - for MAN in $MAN1; do -- $ECHO " $INSTALL $MAN \$(MANDIR)/man1 $INSTALL_USER $INSTALL_GROUP 0644" -+ $ECHO " $INSTALL $MAN \$(DESTDIR)\$(MANDIR)/man1 $INSTALL_USER $INSTALL_GROUP 0644" - done - disp "done" - fi -@@ -46,7 +46,7 @@ case $PHASE in - if test "$MAN3" != ""; then - dispn " Section 3..." - for MAN in $MAN3; do -- $ECHO " $INSTALL $MAN \$(MANDIR)/man3 $INSTALL_USER $INSTALL_GROUP 0644" -+ $ECHO " $INSTALL $MAN \$(DESTDIR)\$(MANDIR)/man3 $INSTALL_USER $INSTALL_GROUP 0644" - done - disp "done" - fi -@@ -54,7 +54,7 @@ case $PHASE in - if test "$MAN5" != ""; then - dispn " Section 5..." - for MAN in $MAN5; do -- $ECHO " $INSTALL $MAN \$(MANDIR)/man5 $INSTALL_USER $INSTALL_GROUP 0644" -+ $ECHO " $INSTALL $MAN \$(DESTDIR)\$(MANDIR)/man5 $INSTALL_USER $INSTALL_GROUP 0644" - done - disp "done" - fi -@@ -62,7 +62,7 @@ case $PHASE in - if test "$MAN6" != ""; then - dispn " Section 6..." - for MAN in $MAN6; do -- $ECHO " $INSTALL $MAN \$(MANDIR)/man6 $INSTALL_USER $INSTALL_GROUP 0644" -+ $ECHO " $INSTALL $MAN \$(DESTDIR)\$(MANDIR)/man6 $INSTALL_USER $INSTALL_GROUP 0644" - done - disp "done" - fi -@@ -70,7 +70,7 @@ case $PHASE in - if test "$MAN7" != ""; then - dispn " Section 7..." - for MAN in $MAN7; do -- $ECHO " $INSTALL $MAN \$(MANDIR)/man7 $INSTALL_USER $INSTALL_GROUP 0644" -+ $ECHO " $INSTALL $MAN \$(DESTDIR)\$(MANDIR)/man7 $INSTALL_USER $INSTALL_GROUP 0644" - done - disp "done" - fi -@@ -78,7 +78,7 @@ case $PHASE in - if test "$MAN8" != ""; then - dispn " Section 8..." - for MAN in $MAN8; do -- $ECHO " $INSTALL $MAN \$(MANDIR)/man8 $INSTALL_USER $INSTALL_GROUP 0644" -+ $ECHO " $INSTALL $MAN \$(DESTDIR)\$(MANDIR)/man8 $INSTALL_USER $INSTALL_GROUP 0644" - done - disp "done" - fi diff --git a/dns/firedns/files/patch-firemake_libraries b/dns/firedns/files/patch-firemake_libraries deleted file mode 100644 index 095dc938fef8..000000000000 --- a/dns/firedns/files/patch-firemake_libraries +++ /dev/null @@ -1,17 +0,0 @@ ---- firemake/libraries.orig 2004-02-13 08:22:48.000000000 +0800 -+++ firemake/libraries 2014-05-20 14:49:41.365576865 +0800 -@@ -98,10 +98,10 @@ case $PHASE in - $ECHO "install_libraries: $LIBRARYLIST" - for LIBRARY in $LIBRARIES; do - dispn " $LIBRARY..." -- $ECHO " $INSTALL ${LIBRARY}.a \$(LIBDIR) $INSTALL_USER $INSTALL_GROUP 0755" -- $ECHO " $INSTALL ${LIBRARY}.so.$VERSION \$(LIBDIR) $INSTALL_USER $INSTALL_GROUP 0755" -- $ECHO " ln -sf ${LIBRARY}.so.$VERSION \$(LIBDIR)/${LIBRARY}.so.$VERSION2" -- $ECHO " ln -sf ${LIBRARY}.so.$VERSION \$(LIBDIR)/${LIBRARY}.so" -+ $ECHO " $INSTALL ${LIBRARY}.a \$(DESTDIR)\$(LIBDIR) $INSTALL_USER $INSTALL_GROUP 0755" -+ $ECHO " $INSTALL ${LIBRARY}.so.$VERSION \$(DESTDIR)\$(LIBDIR) $INSTALL_USER $INSTALL_GROUP 0755" -+ $ECHO " ln -sf ${LIBRARY}.so.$VERSION \$(DESTDIR)\$(LIBDIR)/${LIBRARY}.so.0" -+ $ECHO " ln -sf ${LIBRARY}.so.$VERSION \$(DESTDIR)\$(LIBDIR)/${LIBRARY}.so" - disp "done" - done - $ECHO diff --git a/dns/firedns/files/patch-firemake_makefiletop b/dns/firedns/files/patch-firemake_makefiletop deleted file mode 100644 index 4c81690cf9bb..000000000000 --- a/dns/firedns/files/patch-firemake_makefiletop +++ /dev/null @@ -1,11 +0,0 @@ ---- firemake/makefiletop.orig Tue Jan 27 02:16:48 2004 -+++ firemake/makefiletop Tue Jan 27 02:16:58 2004 -@@ -3,7 +3,7 @@ - #require make - #phase makefile - dispn "Writing Makefile top entries..." --if test "$MAKE_CONDSET" = "y"; then -+if test "$MAKE_CONDSET" = "never"; then - $ECHO "PREFIX ?= $FM_PREFIX" - - if test "$FM_MANDIRSTRICT" = "y"; then diff --git a/dns/firedns/pkg-descr b/dns/firedns/pkg-descr deleted file mode 100644 index 2edd8f2ca6af..000000000000 --- a/dns/firedns/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -libfiredns is a library for handling asynchronous DNS -requests. It provides a very simple interface for sending -requests and parsing reponses, as well as low-timeout -blocking functions. libfiredns functions have much lower -timeouts than the stock functions and tend to be faster -because they send requests to all configured system -nameservers at the same time. diff --git a/dns/firedns/pkg-plist b/dns/firedns/pkg-plist deleted file mode 100644 index 8752e2c24181..000000000000 --- a/dns/firedns/pkg-plist +++ /dev/null @@ -1,62 +0,0 @@ -bin/fdnscname -bin/fdnsip -bin/fdnsip6 -bin/fdnsip6list -bin/fdnsiplist -bin/fdnsmx -bin/fdnsmxalist -bin/fdnsmxlist -bin/fdnsname -bin/fdnsnamep -bin/fdnsspf1 -bin/fdnstxt -bin/fdnstxtlist -include/firedns.h -lib/libfiredns.a -lib/libfiredns.so -lib/libfiredns.so.0 -lib/libfiredns.so.0.9.12 -share/man/man1/fdnscname.1.gz -share/man/man1/fdnsip.1.gz -share/man/man1/fdnsip6.1.gz -share/man/man1/fdnsip6list.1.gz -share/man/man1/fdnsiplist.1.gz -share/man/man1/fdnsmx.1.gz -share/man/man1/fdnsmxalist.1.gz -share/man/man1/fdnsmxlist.1.gz -share/man/man1/fdnsname.1.gz -share/man/man1/fdnsnamep.1.gz -share/man/man1/fdnsspf1.1.gz -share/man/man1/fdnstxt.1.gz -share/man/man1/fdnstxtlist.1.gz -share/man/man3/firedns_aton4.3.gz -share/man/man3/firedns_aton6.3.gz -share/man/man3/firedns_dnsbl_lookup.3.gz -share/man/man3/firedns_free_mxalist.3.gz -share/man/man3/firedns_getcname.3.gz -share/man/man3/firedns_getip4.3.gz -share/man/man3/firedns_getip4list.3.gz -share/man/man3/firedns_getip6.3.gz -share/man/man3/firedns_getip6list.3.gz -share/man/man3/firedns_getmx.3.gz -share/man/man3/firedns_getmxlist.3.gz -share/man/man3/firedns_getname4.3.gz -share/man/man3/firedns_getname6.3.gz -share/man/man3/firedns_getresult.3.gz -share/man/man3/firedns_gettxt.3.gz -share/man/man3/firedns_gettxtlist.3.gz -share/man/man3/firedns_ntoa4.3.gz -share/man/man3/firedns_ntoa6.3.gz -share/man/man3/firedns_resolvecname.3.gz -share/man/man3/firedns_resolveip4.3.gz -share/man/man3/firedns_resolveip4list.3.gz -share/man/man3/firedns_resolveip6.3.gz -share/man/man3/firedns_resolveip6list.3.gz -share/man/man3/firedns_resolvemx.3.gz -share/man/man3/firedns_resolvemxalist.3.gz -share/man/man3/firedns_resolvemxlist.3.gz -share/man/man3/firedns_resolvename4.3.gz -share/man/man3/firedns_resolvename6.3.gz -share/man/man3/firedns_resolvetxt.3.gz -share/man/man3/firedns_resolvetxtlist.3.gz -share/man/man3/libfiredns.3.gz diff --git a/dns/gdnsd3/Makefile b/dns/gdnsd3/Makefile index ccf6fb326ebe..a7b4b5fc0142 100644 --- a/dns/gdnsd3/Makefile +++ b/dns/gdnsd3/Makefile @@ -1,6 +1,6 @@ PORTNAME= gdnsd PORTVERSION= 3.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= https://github.com/gdnsd/gdnsd/releases/download/v${PORTVERSION}/ \ ZI \ diff --git a/dns/getdns/Makefile b/dns/getdns/Makefile index ea08480fdd29..a922a60570d8 100644 --- a/dns/getdns/Makefile +++ b/dns/getdns/Makefile @@ -1,6 +1,6 @@ PORTNAME= getdns PORTVERSION= 1.5.2 -PORTREVISION= 5 +PORTREVISION= 7 CATEGORIES= dns MASTER_SITES= https://getdnsapi.net/dist/ \ ZI \ diff --git a/dns/godns/Makefile b/dns/godns/Makefile index 2def06950add..82194bb3ab2b 100644 --- a/dns/godns/Makefile +++ b/dns/godns/Makefile @@ -1,7 +1,7 @@ PORTNAME= godns DISTVERSIONPREFIX= v -DISTVERSION= 3.0.7 -PORTREVISION= 3 +DISTVERSION= 3.1.6 +PORTREVISION= 1 CATEGORIES= dns MAINTAINER= diizzy@FreeBSD.org @@ -21,6 +21,7 @@ GO_TARGET= ./cmd/${PORTNAME} GH_TUPLE= \ alexcesaro:quotedprintable:2caba252f4dc:alexcesaro_quotedprintable/vendor/gopkg.in/alexcesaro/quotedprintable.v3 \ + andybalholm:brotli:v1.0.5:andybalholm_brotli/vendor/github.com/andybalholm/brotli \ bitly:go-simplejson:v0.5.0:bitly_go_simplejson/vendor/github.com/bitly/go-simplejson \ bmizerany:assert:b7ed37b82869:bmizerany_assert/vendor/github.com/bmizerany/assert \ bwmarrin:discordgo:v0.27.1:bwmarrin_discordgo/vendor/github.com/bwmarrin/discordgo \ @@ -31,28 +32,35 @@ GH_TUPLE= \ go-ini:ini:v1.67.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ go-resty:resty:v2.7.0:go_resty_resty_v2/vendor/github.com/go-resty/resty/v2 \ go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ + gofiber:fiber:v2.52.1:gofiber_fiber_v2/vendor/github.com/gofiber/fiber/v2 \ golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \ - golang:crypto:v0.17.0:golang_crypto/vendor/golang.org/x/crypto \ + golang:crypto:v0.21.0:golang_crypto/vendor/golang.org/x/crypto \ golang:mod:v0.10.0:golang_mod/vendor/golang.org/x/mod \ - golang:net:v0.17.0:golang_net/vendor/golang.org/x/net \ + golang:net:v0.23.0:golang_net/vendor/golang.org/x/net \ golang:oauth2:v0.7.0:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.5.3:golang_protobuf/vendor/github.com/golang/protobuf \ - golang:sys:v0.15.0:golang_sys/vendor/golang.org/x/sys \ + golang:sys:v0.18.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \ golang:tools:v0.8.0:golang_tools/vendor/golang.org/x/tools \ - google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \ + google:uuid:v1.5.0:google_uuid/vendor/github.com/google/uuid \ gorilla:websocket:v1.5.0:gorilla_websocket/vendor/github.com/gorilla/websocket \ json-iterator:go:v1.1.12:json_iterator_go/vendor/github.com/json-iterator/go \ + klauspost:compress:v1.17.0:klauspost_compress/vendor/github.com/klauspost/compress \ kr:pretty:v0.3.1:kr_pretty/vendor/github.com/kr/pretty \ linode:linodego:v1.16.1:linode_linodego/vendor/github.com/linode/linodego \ mattn:go-colorable:v0.1.13:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ - mattn:go-isatty:v0.0.18:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ + mattn:go-isatty:v0.0.20:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ + mattn:go-runewidth:v0.0.15:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ miekg:dns:v1.1.53:miekg_dns/vendor/github.com/miekg/dns \ modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \ modern-go:reflect2:v1.0.2:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \ ovh:go-ovh:v1.4.1:ovh_go_ovh/vendor/github.com/ovh/go-ovh \ - protocolbuffers:protobuf-go:v1.30.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ - sirupsen:logrus:v1.9.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus + protocolbuffers:protobuf-go:v1.33.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ + rivo:uniseg:v0.2.0:rivo_uniseg/vendor/github.com/rivo/uniseg \ + sirupsen:logrus:v1.9.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ + valyala:bytebufferpool:v1.0.0:valyala_bytebufferpool/vendor/github.com/valyala/bytebufferpool \ + valyala:fasthttp:v1.51.0:valyala_fasthttp/vendor/github.com/valyala/fasthttp \ + valyala:tcplisten:v1.0.0:valyala_tcplisten/vendor/github.com/valyala/tcplisten SUB_FILES= pkg-message @@ -61,6 +69,8 @@ post-patch: ${PATCH_WRKSRC}/cmd/godns/godns.go @${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|g' \ ${PATCH_WRKSRC}/cmd/godns/godns.go + ${MKDIR} ${PATCH_WRKSRC}/internal/server/out + ${TOUCH} ${PATCH_WRKSRC}/internal/server/out/index.html post-install: ${INSTALL_DATA} ${FILESDIR}/godns-config.json.sample ${STAGEDIR}${PREFIX}/etc diff --git a/dns/godns/distinfo b/dns/godns/distinfo index d1f82091e3f1..2c4bd490eb75 100644 --- a/dns/godns/distinfo +++ b/dns/godns/distinfo @@ -1,8 +1,10 @@ -TIMESTAMP = 1707046579 -SHA256 (TimothyYe-godns-v3.0.7_GH0.tar.gz) = 6d438a4de824fc4a41179dedc7a29cb54bf106c306658188f7b11df09f88e6d6 -SIZE (TimothyYe-godns-v3.0.7_GH0.tar.gz) = 328913 +TIMESTAMP = 1714814523 +SHA256 (TimothyYe-godns-v3.1.6_GH0.tar.gz) = 5202f637ef6f4c8d382412b45d2d5420779bdea422ed6fbde85edcc15964c655 +SIZE (TimothyYe-godns-v3.1.6_GH0.tar.gz) = 654025 SHA256 (alexcesaro-quotedprintable-2caba252f4dc_GH0.tar.gz) = 1a314d172f499342a97996e30ae1731b2e923e17031734d7350927458f544efb SIZE (alexcesaro-quotedprintable-2caba252f4dc_GH0.tar.gz) = 10425 +SHA256 (andybalholm-brotli-v1.0.5_GH0.tar.gz) = 3a10ffe88b56cad3ecf4660750ef3fa0fd8511b06d3c302a5ef18b9c2a361c05 +SIZE (andybalholm-brotli-v1.0.5_GH0.tar.gz) = 1818063 SHA256 (bitly-go-simplejson-v0.5.0_GH0.tar.gz) = 44196c95263e74277372319e5a6cb7f53b29ef7ddab8c7fed6ce6fc80144d465 SIZE (bitly-go-simplejson-v0.5.0_GH0.tar.gz) = 5994 SHA256 (bmizerany-assert-b7ed37b82869_GH0.tar.gz) = f7dc11f10c5e52a94c836e15e7aff05ad4afba7436f66e5f4506806627c4635e @@ -23,38 +25,44 @@ SHA256 (go-resty-resty-v2.7.0_GH0.tar.gz) = 9afa2ab22afb81b4ff7275f5a2cb055b1bf3 SIZE (go-resty-resty-v2.7.0_GH0.tar.gz) = 2644943 SHA256 (go-yaml-yaml-v3.0.1_GH0.tar.gz) = cf05411540d3e6ef8f1fd88434b34f94cedaceb540329031d80e23b74540c4e5 SIZE (go-yaml-yaml-v3.0.1_GH0.tar.gz) = 91173 +SHA256 (gofiber-fiber-v2.52.1_GH0.tar.gz) = fb40888ebdcca0e1176c28384377cd5489e7a7bbb69f5479105c97b605cf6e4f +SIZE (gofiber-fiber-v2.52.1_GH0.tar.gz) = 763835 SHA256 (golang-appengine-v1.6.7_GH0.tar.gz) = c623d81235f7c9699e299b328191d813337dd57dcc800d7afdb5130e8c321a8f SIZE (golang-appengine-v1.6.7_GH0.tar.gz) = 333007 -SHA256 (golang-crypto-v0.17.0_GH0.tar.gz) = a921c84634495d0d6fe25d81ff0cc7bd1e045865ffe95a7e329cd6f7eceaef6d -SIZE (golang-crypto-v0.17.0_GH0.tar.gz) = 1809419 +SHA256 (golang-crypto-v0.21.0_GH0.tar.gz) = 4c65ea22c4b0bc7380b4213a294698c517fe3378e0edd30c4d2b6cf7f12fc8bd +SIZE (golang-crypto-v0.21.0_GH0.tar.gz) = 1810887 SHA256 (golang-mod-v0.10.0_GH0.tar.gz) = 3d944a6ee2d258713636400930d0d5913a71a861d8efd00b51b97e8d19b487ba SIZE (golang-mod-v0.10.0_GH0.tar.gz) = 120380 -SHA256 (golang-net-v0.17.0_GH0.tar.gz) = 8cbbc0df17599834c9f547d802045b279724a3931f3cdb92c02d141214fd80c4 -SIZE (golang-net-v0.17.0_GH0.tar.gz) = 1456230 +SHA256 (golang-net-v0.23.0_GH0.tar.gz) = 5d1aeb0051277e79fa692947079dc50ddc284dc0403b22c85692b97060ab4953 +SIZE (golang-net-v0.23.0_GH0.tar.gz) = 1508997 SHA256 (golang-oauth2-v0.7.0_GH0.tar.gz) = 18407271b525c12d53d1264f13e04ed83b250b0fe78da96b4eabd687a79de260 SIZE (golang-oauth2-v0.7.0_GH0.tar.gz) = 87761 SHA256 (golang-protobuf-v1.5.3_GH0.tar.gz) = 48457a6a9e8c78a7556ff5ff4a4c77d7df9bf70e882491ee0f3f1ff06db2bfaa SIZE (golang-protobuf-v1.5.3_GH0.tar.gz) = 171822 -SHA256 (golang-sys-v0.15.0_GH0.tar.gz) = b0bc04c5a1d1ae7c5962e66f19def881b5ab2191cc08cce5021fe7e952ed5484 -SIZE (golang-sys-v0.15.0_GH0.tar.gz) = 1443508 +SHA256 (golang-sys-v0.18.0_GH0.tar.gz) = cee1944ab655ddf7eab6301e15cb6d01fdd6cd0a0f0b5896050ee60b124e084c +SIZE (golang-sys-v0.18.0_GH0.tar.gz) = 1448211 SHA256 (golang-text-v0.14.0_GH0.tar.gz) = c80295e75bda599d17ccf74038139b0957b9915fae4e60d8b46f89454ef171a0 SIZE (golang-text-v0.14.0_GH0.tar.gz) = 8974094 SHA256 (golang-tools-v0.8.0_GH0.tar.gz) = 83277ab2b9590c472d5127d49757fbb44d45e1518c1f59eac7d0d8898b1970e6 SIZE (golang-tools-v0.8.0_GH0.tar.gz) = 3399590 -SHA256 (google-uuid-v1.3.0_GH0.tar.gz) = 7f7f37c47980e0afcc178a9ffc390bec29ed2371919b4c07658eb01791a7f921 -SIZE (google-uuid-v1.3.0_GH0.tar.gz) = 16210 +SHA256 (google-uuid-v1.5.0_GH0.tar.gz) = afe279d4dd27276356267f28835d1840da0ae3eb890e571b0183c01a375167fa +SIZE (google-uuid-v1.5.0_GH0.tar.gz) = 20042 SHA256 (gorilla-websocket-v1.5.0_GH0.tar.gz) = 5d86f9e1c76ff7ceca0747f78b79864fbaec9d440f4fdb03197466e5102a86b0 SIZE (gorilla-websocket-v1.5.0_GH0.tar.gz) = 54155 SHA256 (json-iterator-go-v1.1.12_GH0.tar.gz) = ff70e539fd919da757a2f3a530a053e7577cb4d7e2824fc1058d3abbefbb523e SIZE (json-iterator-go-v1.1.12_GH0.tar.gz) = 84307 +SHA256 (klauspost-compress-v1.17.0_GH0.tar.gz) = 171582ff71acfaa7aa5030d2f86fbec26594f87597a3ee8f51e078185c34d645 +SIZE (klauspost-compress-v1.17.0_GH0.tar.gz) = 37966139 SHA256 (kr-pretty-v0.3.1_GH0.tar.gz) = e6fa7db2708320e66a1645bf6b234e524e73f4163ca0519b8608616e48f5d206 SIZE (kr-pretty-v0.3.1_GH0.tar.gz) = 10227 SHA256 (linode-linodego-v1.16.1_GH0.tar.gz) = 505244a8c76c2ba806bb5843ef97eaee1a0215769e4beed8d92649ae88a7b902 SIZE (linode-linodego-v1.16.1_GH0.tar.gz) = 428705 SHA256 (mattn-go-colorable-v0.1.13_GH0.tar.gz) = c3b62c76d365906bba9aa9d9ec048fd33a2a5742299d6482a08e7466d4c52d77 SIZE (mattn-go-colorable-v0.1.13_GH0.tar.gz) = 9762 -SHA256 (mattn-go-isatty-v0.0.18_GH0.tar.gz) = 5b59235986f7a917559181ff814f83f610928b444f290bed733c3f2f900b803d -SIZE (mattn-go-isatty-v0.0.18_GH0.tar.gz) = 4675 +SHA256 (mattn-go-isatty-v0.0.20_GH0.tar.gz) = 18fc42a278e60fb7a1dffa72f20539ae88d0e292db55b513ef514b7d369883a6 +SIZE (mattn-go-isatty-v0.0.20_GH0.tar.gz) = 4713 +SHA256 (mattn-go-runewidth-v0.0.15_GH0.tar.gz) = 44a5d37bd7119a9d288d7ff61cf3b4d42c2902c66b0d94136d41d2eb3cf2ba85 +SIZE (mattn-go-runewidth-v0.0.15_GH0.tar.gz) = 18284 SHA256 (miekg-dns-v1.1.53_GH0.tar.gz) = 4f75b864cdbfed2c86aa6ba69a5064b84ac1317aaacd5a43c144104dff830f0a SIZE (miekg-dns-v1.1.53_GH0.tar.gz) = 209036 SHA256 (modern-go-concurrent-bacd9c7ef1dd_GH0.tar.gz) = d673e902118a6ece63198dc7e0961e904d0410f142726df0936ec1a52035a60f @@ -63,7 +71,15 @@ SHA256 (modern-go-reflect2-v1.0.2_GH0.tar.gz) = eab313f24c09d512f004d489aeed0d0a SIZE (modern-go-reflect2-v1.0.2_GH0.tar.gz) = 14030 SHA256 (ovh-go-ovh-v1.4.1_GH0.tar.gz) = 6a8beedbd7486572a268974a3a95a9d8f28df1673af6a7fae814de4319acd786 SIZE (ovh-go-ovh-v1.4.1_GH0.tar.gz) = 20810 -SHA256 (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 3279a16ec3bdd7c53fe1599134de298ed90d9f3b6ec1c1eb5f3b76ba5aaa9f0c -SIZE (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 1298988 +SHA256 (protocolbuffers-protobuf-go-v1.33.0_GH0.tar.gz) = 21661d7634e3f783b015b93ceafc0261f2f02a270799bac871602c3a2172cfbe +SIZE (protocolbuffers-protobuf-go-v1.33.0_GH0.tar.gz) = 1482410 +SHA256 (rivo-uniseg-v0.2.0_GH0.tar.gz) = 3ad738b5c9162ede110d75b23564b6e40e52dd9150ebbced402f4f70be106197 +SIZE (rivo-uniseg-v0.2.0_GH0.tar.gz) = 44036 SHA256 (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 12446ed9eb96573c2aae4df2db81900a65bfd21d2ce92efde7201614e42134f7 SIZE (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 49098 +SHA256 (valyala-bytebufferpool-v1.0.0_GH0.tar.gz) = 089013e3429ebe7fd2bc3527f003bf3f3f639891e5d8ba6a56010e3671465e1f +SIZE (valyala-bytebufferpool-v1.0.0_GH0.tar.gz) = 5025 +SHA256 (valyala-fasthttp-v1.51.0_GH0.tar.gz) = d40d7730935d1a5cca2f1a0f9e47f05b0cd05235a04415764eeb3360b2a012fe +SIZE (valyala-fasthttp-v1.51.0_GH0.tar.gz) = 246042 +SHA256 (valyala-tcplisten-v1.0.0_GH0.tar.gz) = d498f56664dc4cdfa4a2efea2382450f16cc2df89e99fc2834a0003b9d14a6e6 +SIZE (valyala-tcplisten-v1.0.0_GH0.tar.gz) = 4616 diff --git a/dns/godns/files/patch-cmd_godns_godns.go b/dns/godns/files/patch-cmd_godns_godns.go index 8a91be96a9b3..ac8c2ee99908 100644 --- a/dns/godns/files/patch-cmd_godns_godns.go +++ b/dns/godns/files/patch-cmd_godns_godns.go @@ -1,16 +1,16 @@ ---- cmd/godns/godns.go.orig 2024-02-04 03:14:27 UTC +--- cmd/godns/godns.go.orig 2024-04-28 13:36:13 UTC +++ cmd/godns/godns.go -@@ -22,11 +22,11 @@ var ( - +@@ -23,11 +23,11 @@ var ( var ( config settings.Settings + optAddr = flag.String("a", ":9000", "Specify the address to listen on") - optConf = flag.String("c", "./config.json", "Specify a config file") + optConf = flag.String("c", "%%PREFIX%%/etc/godns-config.json", "Specify a config file") optHelp = flag.Bool("h", false, "Show help") // Version is current version of GoDNS. -- Version = "0.1" +- Version = "v0.1" + Version = "%%DISTVERSION%%" ) - func init() { + func main() { diff --git a/dns/godns/files/pkg-message.in b/dns/godns/files/pkg-message.in index af66ace952b9..068486296b86 100644 --- a/dns/godns/files/pkg-message.in +++ b/dns/godns/files/pkg-message.in @@ -8,11 +8,13 @@ %%PREFIX%%/etc/godns-config.json.sample If you're testing out your setup be aware that GoDNS will refuse - to run if you've disabled external ip address lookup and your - local interface uses a private ip address. + to run if you've disabled external ip address lookup and local + interface uses a private ip address. Logfile is located at /var/log/godns/godns.log + Due to dependency of npm the "Web Panel"/Web UI isn't available + For more documentation visit https://github.com/TimothyYe/godns EOM } diff --git a/dns/hesiod/Makefile b/dns/hesiod/Makefile index 79597e749bb5..28e4febde7d2 100644 --- a/dns/hesiod/Makefile +++ b/dns/hesiod/Makefile @@ -1,6 +1,6 @@ PORTNAME= hesiod PORTVERSION= 3.2.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= dns MASTER_SITES= https://BSDforge.com/projects/source/dns/hesiod/ diff --git a/dns/kf6-kdnssd/distinfo b/dns/kf6-kdnssd/distinfo index d4eb67a942df..df0eedca00d9 100644 --- a/dns/kf6-kdnssd/distinfo +++ b/dns/kf6-kdnssd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713022597 -SHA256 (KDE/frameworks/6.1.0/kdnssd-6.1.0.tar.xz) = 3b981f7a69f265ed331346f56d4030d31bbdf1d936f62c276c7e333b3b67b712 -SIZE (KDE/frameworks/6.1.0/kdnssd-6.1.0.tar.xz) = 2277964 +TIMESTAMP = 1714804802 +SHA256 (KDE/frameworks/6.2.0/kdnssd-6.2.0.tar.xz) = 509011367c11c3b17034d743ea6934951a6fc525b9527d18c38af81f60b08f45 +SIZE (KDE/frameworks/6.2.0/kdnssd-6.2.0.tar.xz) = 2268984 diff --git a/dns/libidn/Makefile b/dns/libidn/Makefile index 38582d69e1cb..bf5b679a1d68 100644 --- a/dns/libidn/Makefile +++ b/dns/libidn/Makefile @@ -1,6 +1,5 @@ PORTNAME= libidn -DISTVERSION= 1.38 -PORTREVISION= 1 +DISTVERSION= 1.42 CATEGORIES= dns MASTER_SITES= GNU @@ -28,7 +27,7 @@ OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes -NLS_USES= gettext +NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-install-DOCS-on: diff --git a/dns/libidn/distinfo b/dns/libidn/distinfo index ccc0e9c31e0f..4946236ded67 100644 --- a/dns/libidn/distinfo +++ b/dns/libidn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1628506982 -SHA256 (libidn-1.38.tar.gz) = de00b840f757cd3bb14dd9a20d5936473235ddcba06d4bc2da804654b8bbf0f6 -SIZE (libidn-1.38.tar.gz) = 2681263 +TIMESTAMP = 1714586709 +SHA256 (libidn-1.42.tar.gz) = d6c199dcd806e4fe279360cb4b08349a0d39560ed548ffd1ccadda8cdecb4723 +SIZE (libidn-1.42.tar.gz) = 2653078 diff --git a/dns/libidn/files/patch-doc__libidn.texi b/dns/libidn/files/patch-doc__libidn.texi index 1429f7c14011..5ed1bf65e567 100644 --- a/dns/libidn/files/patch-doc__libidn.texi +++ b/dns/libidn/files/patch-doc__libidn.texi @@ -1,6 +1,6 @@ ---- doc/libidn.texi.orig Thu Jan 22 20:48:25 2004 -+++ doc/libidn.texi Thu Jan 22 20:48:45 2004 -@@ -1271,8 +1271,7 @@ +--- doc/libidn.texi.orig 2024-01-12 22:30:50 UTC ++++ doc/libidn.texi +@@ -1518,8 +1518,7 @@ Accessing a specific StringPrep profile directly: Accessing a specific StringPrep profile directly: @example diff --git a/dns/libidn/pkg-plist b/dns/libidn/pkg-plist index 3ab525abd4a3..f55da5756a85 100644 --- a/dns/libidn/pkg-plist +++ b/dns/libidn/pkg-plist @@ -10,7 +10,7 @@ share/info/libidn-components.png lib/libidn.a lib/libidn.so lib/libidn.so.12 -lib/libidn.so.12.6.3 +lib/libidn.so.12.6.5 libdata/pkgconfig/libidn.pc share/man/man1/idn.1.gz share/man/man3/idn_free.3.gz @@ -77,6 +77,8 @@ share/emacs/site-lisp/punycode.el %%NLS%%share/locale/id/LC_MESSAGES/libidn.mo %%NLS%%share/locale/it/LC_MESSAGES/libidn.mo %%NLS%%share/locale/ja/LC_MESSAGES/libidn.mo +%%NLS%%share/locale/ka/LC_MESSAGES/libidn.mo +%%NLS%%share/locale/ko/LC_MESSAGES/libidn.mo %%NLS%%share/locale/nl/LC_MESSAGES/libidn.mo %%NLS%%share/locale/pl/LC_MESSAGES/libidn.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/libidn.mo diff --git a/dns/libpsl/Makefile b/dns/libpsl/Makefile index df203e3ef298..5eaf42f27196 100644 --- a/dns/libpsl/Makefile +++ b/dns/libpsl/Makefile @@ -1,5 +1,6 @@ PORTNAME= libpsl PORTVERSION= 0.21.5 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= https://github.com/rockdaboot/libpsl/releases/download/${PORTVERSION}/ diff --git a/dns/linux-rl9-libasyncns/Makefile b/dns/linux-rl9-libasyncns/Makefile new file mode 100644 index 000000000000..0860dcc177e5 --- /dev/null +++ b/dns/linux-rl9-libasyncns/Makefile @@ -0,0 +1,20 @@ +PORTNAME= libasyncns +PORTVERSION= 0.8 +DISTVERSIONSUFFIX= -22.el9 +CATEGORIES= dns devel linux + +MAINTAINER= emulation@FreeBSD.org +COMMENT= Library for executing DNS queries (Rocky Linux ${LINUX_DIST_VER}) +WWW= https://0pointer.de/lennart/projects/libasyncns/ + +LICENSE= LGPL21+ + +USES= linux:rl9 +USE_LDCONFIG= yes +USE_LINUX_RPM= yes + +CONFLICTS= linux-c7-${PORTNAME} + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.mk> diff --git a/dns/linux-rl9-libasyncns/distinfo b/dns/linux-rl9-libasyncns/distinfo new file mode 100644 index 000000000000..902eb10694e1 --- /dev/null +++ b/dns/linux-rl9-libasyncns/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1686569002 +SHA256 (rocky/l/libasyncns-0.8-22.el9.aarch64.rpm) = da01cd83ff27aaee4dd3a7d4f5401af18ca1b973fbbc27d78fe3fa5d93475a77 +SIZE (rocky/l/libasyncns-0.8-22.el9.aarch64.rpm) = 29752 +SHA256 (rocky/l/libasyncns-0.8-22.el9.x86_64.rpm) = c4e0f32330d3eba8546a9f8b92952f1cd461d09a92cd7d80751d16338acee6c7 +SIZE (rocky/l/libasyncns-0.8-22.el9.x86_64.rpm) = 30122 +SHA256 (rocky/l/libasyncns-0.8-22.el9.src.rpm) = 9b2338b8a316d1c04f6dd7525ca3be59db18a32a7cb4c5f500bcaa3accc60e1b +SIZE (rocky/l/libasyncns-0.8-22.el9.src.rpm) = 350332 diff --git a/dns/linux-rl9-libasyncns/pkg-descr b/dns/linux-rl9-libasyncns/pkg-descr new file mode 100644 index 000000000000..9522fd2e4b67 --- /dev/null +++ b/dns/linux-rl9-libasyncns/pkg-descr @@ -0,0 +1,18 @@ +libasyncns is a C library for Linux/Unix for executing name service queries +asynchronously. It is an asynchronous wrapper around getaddrinfo(3), +getnameinfo(3), res_query(3) and res_search(3) from libc and libresolv. + +In contrast to GNU's asynchronous name resolving API getaddrinfo_a(), +libasyncns does not make use of UNIX signals for reporting completion of name +queries. Instead, the API exports a standard UNIX file descriptor which may be +integerated cleanly into custom main loops. + +In contrast to asynchronous DNS resolving libraries like libdenise, skadns, +adns, libasyncns is just an asynchronous wrapper around the libc's synchronous +getaddrinfo() API, which has the advantage of allowing name resolution using +techniques like Multicast DNS, LDAP or NIS using standard libc NSS (Name +Service Switch) modules. libasyncns is compatible with IPv6 if the underlying +libc is. + +libasyncns is very tiny, consisting of just one header and one source file. It +has no dependencies besides libc. diff --git a/dns/linux-rl9-libasyncns/pkg-plist.aarch64 b/dns/linux-rl9-libasyncns/pkg-plist.aarch64 new file mode 100644 index 000000000000..ed9054ee69d3 --- /dev/null +++ b/dns/linux-rl9-libasyncns/pkg-plist.aarch64 @@ -0,0 +1,5 @@ +usr/lib/.build-id/51/6bca9c83fde60a36e070bc0e6a94b976b23732 +usr/lib64/libasyncns.so.0 +usr/lib64/libasyncns.so.0.3.1 +%%PORTDOCS%%usr/share/doc/libasyncns/LICENSE +%%PORTDOCS%%usr/share/doc/libasyncns/README diff --git a/dns/linux-rl9-libasyncns/pkg-plist.amd64 b/dns/linux-rl9-libasyncns/pkg-plist.amd64 new file mode 100644 index 000000000000..8e3afbe47177 --- /dev/null +++ b/dns/linux-rl9-libasyncns/pkg-plist.amd64 @@ -0,0 +1,5 @@ +usr/lib/.build-id/d6/85d0e66130608bd559ea5f9674fa6f211d20b1 +usr/lib64/libasyncns.so.0 +usr/lib64/libasyncns.so.0.3.1 +%%PORTDOCS%%usr/share/doc/libasyncns/LICENSE +%%PORTDOCS%%usr/share/doc/libasyncns/README diff --git a/dns/linux-rl9-libidn2/Makefile b/dns/linux-rl9-libidn2/Makefile new file mode 100644 index 000000000000..02c750c5acc4 --- /dev/null +++ b/dns/linux-rl9-libidn2/Makefile @@ -0,0 +1,24 @@ +PORTNAME= libidn2 +PORTVERSION= 2.3.0 +DISTVERSIONSUFFIX= -7.el9 +CATEGORIES= dns devel linux + +MAINTAINER= emulation@FreeBSD.org +COMMENT= Implementation of IDNA2008 internationalized domain names (Rocky Linux ${LINUX_DIST_VER}) +WWW= https://www.gnu.org/software/libidn/\#libidn2 \ + https://gitlab.com/libidn/libidn2 + +LICENSE= GPLv3 + +USES= linux:rl9 +USE_LDCONFIG= yes +USE_LINUX= libunistring +USE_LINUX_RPM= yes + +DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr +DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX} + +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes + +.include <bsd.port.mk> diff --git a/dns/linux-rl9-libidn2/distinfo b/dns/linux-rl9-libidn2/distinfo new file mode 100644 index 000000000000..7cfdd2c325fa --- /dev/null +++ b/dns/linux-rl9-libidn2/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1707751024 +SHA256 (rocky/l/libidn2-2.3.0-7.el9.aarch64.rpm) = 0832f2067447fb0485ba5220919a926694930006f19e098694e5274d56b6aadc +SIZE (rocky/l/libidn2-2.3.0-7.el9.aarch64.rpm) = 98237 +SHA256 (rocky/l/libidn2-2.3.0-7.el9.x86_64.rpm) = be32d8ba7ff8cf790c15d89c5ea18747d7fcc0126782a0e80f15901bb9889b31 +SIZE (rocky/l/libidn2-2.3.0-7.el9.x86_64.rpm) = 97676 +SHA256 (rocky/l/libidn2-2.3.0-7.el9.src.rpm) = 21ef568f9cc36acde355d6d21eabd79f0a04c98251061d732e0985400e3c5d86 +SIZE (rocky/l/libidn2-2.3.0-7.el9.src.rpm) = 2212034 diff --git a/dns/linux-rl9-libidn2/pkg-plist.aarch64 b/dns/linux-rl9-libidn2/pkg-plist.aarch64 new file mode 100644 index 000000000000..f89251f18afc --- /dev/null +++ b/dns/linux-rl9-libidn2/pkg-plist.aarch64 @@ -0,0 +1,33 @@ +usr/lib/.build-id/17/0c4dbb99ab8f6f025f8b820459fc7f50fb29c0 +usr/lib64/libidn2.so.0 +usr/lib64/libidn2.so.0.3.7 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README.md +usr/share/licenses/libidn2/COPYING +usr/share/licenses/libidn2/COPYING.LESSERv3 +usr/share/licenses/libidn2/COPYING.unicode +usr/share/licenses/libidn2/COPYINGv2 +%%NLS%%usr/share/locale/cs/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/da/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/de/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/eo/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/es/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/fi/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/fr/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/fur/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/hr/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/hu/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/id/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/it/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/ja/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/nl/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/pl/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/pt_BR/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/ro/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/ru/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/sr/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/sv/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/uk/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/vi/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/zh_CN/LC_MESSAGES/libidn2.mo diff --git a/dns/linux-rl9-libidn2/pkg-plist.amd64 b/dns/linux-rl9-libidn2/pkg-plist.amd64 new file mode 100644 index 000000000000..0dff4751ed40 --- /dev/null +++ b/dns/linux-rl9-libidn2/pkg-plist.amd64 @@ -0,0 +1,33 @@ +usr/lib/.build-id/53/5678a6714fd1af72a590f0170f395fad63c33c +usr/lib64/libidn2.so.0 +usr/lib64/libidn2.so.0.3.7 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README.md +usr/share/licenses/libidn2/COPYING +usr/share/licenses/libidn2/COPYING.LESSERv3 +usr/share/licenses/libidn2/COPYING.unicode +usr/share/licenses/libidn2/COPYINGv2 +%%NLS%%usr/share/locale/cs/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/da/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/de/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/eo/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/es/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/fi/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/fr/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/fur/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/hr/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/hu/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/id/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/it/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/ja/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/nl/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/pl/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/pt_BR/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/ro/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/ru/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/sr/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/sv/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/uk/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/vi/LC_MESSAGES/libidn2.mo +%%NLS%%usr/share/locale/zh_CN/LC_MESSAGES/libidn2.mo diff --git a/dns/linux-rl9-libpsl/Makefile b/dns/linux-rl9-libpsl/Makefile new file mode 100644 index 000000000000..5c3dfdc798eb --- /dev/null +++ b/dns/linux-rl9-libpsl/Makefile @@ -0,0 +1,19 @@ +PORTNAME= libpsl +PORTVERSION= 0.21.1 +DISTVERSIONSUFFIX= -5.el9 +CATEGORIES= dns devel linux + +MAINTAINER= emulation@FreeBSD.org +COMMENT= C library to handle the Public Suffix List (Rocky Linux ${LINUX_DIST_VER}) +WWW= https://github.com/rockdaboot/libpsl + +LICENSE= MIT + +USES= linux:rl9 +USE_LDCONFIG= yes +USE_LINUX= icu +USE_LINUX_RPM= yes + +DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr + +.include <bsd.port.mk> diff --git a/dns/linux-rl9-libpsl/distinfo b/dns/linux-rl9-libpsl/distinfo new file mode 100644 index 000000000000..5fb31529c9e6 --- /dev/null +++ b/dns/linux-rl9-libpsl/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1707752265 +SHA256 (rocky/l/libpsl-0.21.1-5.el9.aarch64.rpm) = 3c7d57a0adafb76ddcf588e41326bcb0b33fd7c6cbf2044450288a289e47ab25 +SIZE (rocky/l/libpsl-0.21.1-5.el9.aarch64.rpm) = 64676 +SHA256 (rocky/l/libpsl-0.21.1-5.el9.x86_64.rpm) = 30553c652451362ebf346a98ff45fa2417dc25a9a644401b4d86d9000c0346a9 +SIZE (rocky/l/libpsl-0.21.1-5.el9.x86_64.rpm) = 64862 +SHA256 (rocky/l/libpsl-0.21.1-5.el9.src.rpm) = 7183b90fbeed67673d13f685436b52c3b4336f9d38677bd9dfc9d700221df4bd +SIZE (rocky/l/libpsl-0.21.1-5.el9.src.rpm) = 9158628 diff --git a/dns/linux-rl9-libpsl/pkg-plist.aarch64 b/dns/linux-rl9-libpsl/pkg-plist.aarch64 new file mode 100644 index 000000000000..10d6d211c09f --- /dev/null +++ b/dns/linux-rl9-libpsl/pkg-plist.aarch64 @@ -0,0 +1,4 @@ +usr/lib/.build-id/c9/1969376b488f6b3cde8ec7cfaf4acaa23ef9ee +usr/lib64/libpsl.so.5 +usr/lib64/libpsl.so.5.3.3 +usr/share/licenses/libpsl/COPYING diff --git a/dns/linux-rl9-libpsl/pkg-plist.amd64 b/dns/linux-rl9-libpsl/pkg-plist.amd64 new file mode 100644 index 000000000000..e14d2016b32e --- /dev/null +++ b/dns/linux-rl9-libpsl/pkg-plist.amd64 @@ -0,0 +1,4 @@ +usr/lib/.build-id/c5/2a16b50ad6c038be84dbaf49e28c049efb8eee +usr/lib64/libpsl.so.5 +usr/lib64/libpsl.so.5.3.3 +usr/share/licenses/libpsl/COPYING diff --git a/dns/luaunbound/Makefile b/dns/luaunbound/Makefile index ab019d0f68cf..1d509845647d 100644 --- a/dns/luaunbound/Makefile +++ b/dns/luaunbound/Makefile @@ -1,6 +1,6 @@ PORTNAME= luaunbound DISTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 5 CATEGORIES= dns MASTER_SITES= https://code.zash.se/dl/luaunbound/ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} diff --git a/dns/mosdns/Makefile b/dns/mosdns/Makefile index c1cf9f792d25..45e745e1e024 100644 --- a/dns/mosdns/Makefile +++ b/dns/mosdns/Makefile @@ -1,7 +1,7 @@ PORTNAME= mosdns DISTVERSIONPREFIX= v DISTVERSION= 5.3.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org diff --git a/dns/nextdns/Makefile b/dns/nextdns/Makefile index a8c4167b9bfa..69624055b419 100644 --- a/dns/nextdns/Makefile +++ b/dns/nextdns/Makefile @@ -1,7 +1,7 @@ PORTNAME= nextdns PORTVERSION= 1.42.0 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= dns security MAINTAINER= rs@nextdns.io diff --git a/dns/p5-DNS-nsdiff/Makefile b/dns/p5-DNS-nsdiff/Makefile index d681c0a8f0f9..5bae866e9989 100644 --- a/dns/p5-DNS-nsdiff/Makefile +++ b/dns/p5-DNS-nsdiff/Makefile @@ -14,14 +14,12 @@ LICENSE_COMB= dual RUN_DEPENDS= nsupdate:dns/bind-tools OPTIONS_RADIO= BIND -OPTIONS_RADIO_BIND= BIND916 BIND918 BINDDEVEL +OPTIONS_RADIO_BIND= BIND918 BINDDEVEL OPTIONS_DEFAULT= BIND918 -BIND916_DESC= Use Bind 9.16 for named-compilezone BIND918_DESC= Use Bind 9.18 for named-compilezone BINDDEVEL_DESC= Use Bind 9-devel for named-compilezone -BIND916_RUN_DEPENDS= named-compilezone:dns/bind916 BIND918_RUN_DEPENDS= named-compilezone:dns/bind918 BINDDEVEL_RUN_DEPENDS= named-compilezone:dns/bind9-devel diff --git a/dns/p5-Mozilla-PublicSuffix/Makefile b/dns/p5-Mozilla-PublicSuffix/Makefile index 27498ed23673..92595ac17163 100644 --- a/dns/p5-Mozilla-PublicSuffix/Makefile +++ b/dns/p5-Mozilla-PublicSuffix/Makefile @@ -1,7 +1,7 @@ PORTNAME= Mozilla-PublicSuffix PORTVERSION= 1.0.6 DISTVERSIONPREFIX= v -PORTREVISION= 25 +PORTREVISION= 26 CATEGORIES= dns perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/dns/p5-Net-DNS-SEC/Makefile b/dns/p5-Net-DNS-SEC/Makefile index 5e3d728e20a5..fc34650ad0a7 100644 --- a/dns/p5-Net-DNS-SEC/Makefile +++ b/dns/p5-Net-DNS-SEC/Makefile @@ -1,5 +1,5 @@ PORTNAME= Net-DNS-SEC -PORTVERSION= 1.23 +PORTVERSION= 1.24 CATEGORIES= dns perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/dns/p5-Net-DNS-SEC/distinfo b/dns/p5-Net-DNS-SEC/distinfo index 82dbd7034dce..923b547efad4 100644 --- a/dns/p5-Net-DNS-SEC/distinfo +++ b/dns/p5-Net-DNS-SEC/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1699774516 -SHA256 (Net-DNS-SEC-1.23.tar.gz) = 3281a6a620665280dcfd517f9b9b64501df993b1b78afe2ff8a05f488c388590 -SIZE (Net-DNS-SEC-1.23.tar.gz) = 45143 +TIMESTAMP = 1715842636 +SHA256 (Net-DNS-SEC-1.24.tar.gz) = e700e785b1d12426c30a0eb54ba5a51204676468f5e85244001d7dcad70bb41e +SIZE (Net-DNS-SEC-1.24.tar.gz) = 45765 diff --git a/dns/p5-Net-DNS/Makefile b/dns/p5-Net-DNS/Makefile index 1a9822f2796a..1f00ffeeb07f 100644 --- a/dns/p5-Net-DNS/Makefile +++ b/dns/p5-Net-DNS/Makefile @@ -1,5 +1,5 @@ PORTNAME= Net-DNS -PORTVERSION= 1.44 +PORTVERSION= 1.45 PORTEPOCH= 1 CATEGORIES= dns net perl5 MASTER_SITES= CPAN diff --git a/dns/p5-Net-DNS/distinfo b/dns/p5-Net-DNS/distinfo index 1d33d11cd20f..0d99be599de4 100644 --- a/dns/p5-Net-DNS/distinfo +++ b/dns/p5-Net-DNS/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708449042 -SHA256 (Net-DNS-1.44.tar.gz) = 13d7edc4b8cea0132147faac3571f6b3c71d1d0cfd844c530c5a044f4a3ec31e -SIZE (Net-DNS-1.44.tar.gz) = 261966 +TIMESTAMP = 1715842634 +SHA256 (Net-DNS-1.45.tar.gz) = 39f4b82ffe822f4d28691f6c4260f6f1fe6b5a09b546b56dd2410c21b38c1380 +SIZE (Net-DNS-1.45.tar.gz) = 260858 diff --git a/dns/p5-Net-LibIDN/Makefile b/dns/p5-Net-LibIDN/Makefile index 2dceedb19d88..92c6e5d8fa1d 100644 --- a/dns/p5-Net-LibIDN/Makefile +++ b/dns/p5-Net-LibIDN/Makefile @@ -1,6 +1,6 @@ PORTNAME= Net-LibIDN PORTVERSION= 0.12 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= dns perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile index 7ffda63da9e1..d21f4c64da99 100644 --- a/dns/powerdns-recursor/Makefile +++ b/dns/powerdns-recursor/Makefile @@ -1,5 +1,5 @@ PORTNAME= recursor -DISTVERSION= 5.0.3 +DISTVERSION= 5.0.5 CATEGORIES= dns MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- diff --git a/dns/powerdns-recursor/distinfo b/dns/powerdns-recursor/distinfo index 62d03b354f37..00653cff7496 100644 --- a/dns/powerdns-recursor/distinfo +++ b/dns/powerdns-recursor/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1709817341 -SHA256 (pdns-recursor-5.0.3.tar.bz2) = 01d170a2850eb2aca501d6838a3444136589980d5cb2c2b53392b76459e38c07 -SIZE (pdns-recursor-5.0.3.tar.bz2) = 1682741 +TIMESTAMP = 1715680252 +SHA256 (pdns-recursor-5.0.5.tar.bz2) = 02b9f053db64b32bd76ce6656cb35772c1d07a21fe0345ec13adb6f0fcfbf9ce +SIZE (pdns-recursor-5.0.5.tar.bz2) = 1658574 SHA256 (rust/crates/cc-1.0.84.crate) = 0f8e7c90afad890484a21653d08b6e209ae34770fb5ee298f9c699fcc1e5c856 SIZE (rust/crates/cc-1.0.84.crate) = 74922 SHA256 (rust/crates/codespan-reporting-0.11.1.crate) = 3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile index e2e2d5c2abc3..8d73a44a3e99 100644 --- a/dns/powerdns/Makefile +++ b/dns/powerdns/Makefile @@ -4,6 +4,9 @@ CATEGORIES= dns MASTER_SITES= https://downloads.powerdns.com/releases/ DISTNAME= pdns-${DISTVERSION} +PATCH_SITES= https://github.com/PowerDNS/pdns/commit/ +PATCHFILES= c6b1e59f3b413493551910a7d0a3e9206d488599.patch:-p1 + MAINTAINER= tremere@cainites.net COMMENT= Advanced DNS server with multiple backends including SQL WWW= https://www.powerdns.com/auth.html diff --git a/dns/powerdns/distinfo b/dns/powerdns/distinfo index ede00fe71048..c78c0982bac7 100644 --- a/dns/powerdns/distinfo +++ b/dns/powerdns/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1710517194 +TIMESTAMP = 1715262617 SHA256 (pdns-4.9.0.tar.bz2) = fe1d5433c88446ed70d931605c6ec377da99839c4e151b90b71aa211bd6eea92 SIZE (pdns-4.9.0.tar.bz2) = 1364768 +SHA256 (c6b1e59f3b413493551910a7d0a3e9206d488599.patch) = d83d7c359e3d4fad8fe21f649f37d449cfda3739894a755d021897218c8189eb +SIZE (c6b1e59f3b413493551910a7d0a3e9206d488599.patch) = 1290 diff --git a/dns/prometheus-dnssec-exporter/Makefile b/dns/prometheus-dnssec-exporter/Makefile index 275d3461b50a..6b97360a1867 100644 --- a/dns/prometheus-dnssec-exporter/Makefile +++ b/dns/prometheus-dnssec-exporter/Makefile @@ -1,6 +1,6 @@ PORTNAME= prometheus-dnssec-exporter DISTVERSION= g20220925 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= dns MAINTAINER= philip@FreeBSD.org diff --git a/dns/public_suffix_list/Makefile b/dns/public_suffix_list/Makefile index 12cf30b2cfca..c8ea4ccdc4da 100644 --- a/dns/public_suffix_list/Makefile +++ b/dns/public_suffix_list/Makefile @@ -1,5 +1,5 @@ PORTNAME= public_suffix_list -PORTVERSION= 20240328 +PORTVERSION= 20240430 CATEGORIES= dns MAINTAINER= sunpoet@FreeBSD.org @@ -10,7 +10,8 @@ WWW= https://publicsuffix.org/ \ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE -SLAVEDIRS= dns/p5-Mozilla-PublicSuffix dns/py-publicsuffix dns/py-publicsuffix2 dns/py-publicsuffixlist dns/rubygem-public_suffix dns/rubygem-public_suffix_service www/py-adblock +#SLAVEDIRS= dns/p5-Mozilla-PublicSuffix dns/py-publicsuffix dns/py-publicsuffix2 dns/py-publicsuffixlist dns/rubygem-public_suffix dns/rubygem-public_suffix_service www/py-adblock +SLAVEDIRS= dns/p5-Mozilla-PublicSuffix dns/py-publicsuffix dns/py-publicsuffix2 dns/rubygem-public_suffix dns/rubygem-public_suffix_service www/py-adblock NO_ARCH= yes NO_BUILD= yes @@ -21,7 +22,7 @@ PORTDATA= public_suffix_list.dat \ USE_GITHUB= yes GH_ACCOUNT= publicsuffix GH_PROJECT= list -GH_TAGNAME= 353cc62 +GH_TAGNAME= deb22f3 do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/ diff --git a/dns/public_suffix_list/distinfo b/dns/public_suffix_list/distinfo index 6b1dd608b080..b03bcb5bc431 100644 --- a/dns/public_suffix_list/distinfo +++ b/dns/public_suffix_list/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1712084462 -SHA256 (publicsuffix-list-20240328-353cc62_GH0.tar.gz) = 8ff13d832963e7d58b1524374b3c0da8945819eca974f80dd91c74a01c8dd25a -SIZE (publicsuffix-list-20240328-353cc62_GH0.tar.gz) = 118015 +TIMESTAMP = 1715842528 +SHA256 (publicsuffix-list-20240430-deb22f3_GH0.tar.gz) = 4c840519daf86cc1947880472e4e106c8dff085862af3f5ec58cfae462909c07 +SIZE (publicsuffix-list-20240430-deb22f3_GH0.tar.gz) = 118630 diff --git a/dns/py-dns-crawler/Makefile b/dns/py-dns-crawler/Makefile index c212f499b5df..1d65e57ccc5e 100644 --- a/dns/py-dns-crawler/Makefile +++ b/dns/py-dns-crawler/Makefile @@ -1,5 +1,6 @@ PORTNAME= dns-crawler PORTVERSION= 1.6.3 +PORTREVISION= 1 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,7 +13,7 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=41:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-git-versioning>=0<2:devel/py-setuptools-git-versioning@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-git-versioning>=0:devel/py-setuptools-git-versioning@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cert-human>=1.0.7:security/py-cert-human@${PY_FLAVOR} \ diff --git a/dns/py-dns-crawler/files/patch-pyproject.toml b/dns/py-dns-crawler/files/patch-pyproject.toml new file mode 100644 index 000000000000..138b802801c3 --- /dev/null +++ b/dns/py-dns-crawler/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2024-03-12 11:50:34 UTC ++++ pyproject.toml +@@ -26,7 +26,7 @@ line-length = 120 + line-length = 120 + + [build-system] +-requires = ["setuptools>=41", "wheel", "setuptools-git-versioning<2"] ++requires = ["setuptools>=41", "wheel", "setuptools-git-versioning"] + build-backend = "setuptools.build_meta" + + [tool.setuptools-git-versioning] diff --git a/dns/py-dnslib/Makefile b/dns/py-dnslib/Makefile index 78d80d595396..b507da01fe03 100644 --- a/dns/py-dnslib/Makefile +++ b/dns/py-dnslib/Makefile @@ -1,5 +1,6 @@ PORTNAME= dnslib PORTVERSION= 0.9.24 +PORTREVISION= 1 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,8 +12,11 @@ WWW= https://github.com/paulc/dnslib LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/dns/py-idna_ssl/Makefile b/dns/py-idna_ssl/Makefile index 59246927644c..2404a705fb2d 100644 --- a/dns/py-idna_ssl/Makefile +++ b/dns/py-idna_ssl/Makefile @@ -1,5 +1,6 @@ PORTNAME= idna_ssl PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,6 +13,8 @@ WWW= https://github.com/aio-libs/idna-ssl LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=2.3:www/py-aiohttp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ @@ -19,7 +22,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=2.3:www/py-aiohttp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/dns/py-localzone/Makefile b/dns/py-localzone/Makefile index 4405c39251a3..7e6588aee12f 100644 --- a/dns/py-localzone/Makefile +++ b/dns/py-localzone/Makefile @@ -1,5 +1,6 @@ PORTNAME= localzone PORTVERSION= 0.9.8 +PORTREVISION= 1 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,10 +12,12 @@ WWW= https://github.com/ags-slc/localzone LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=0,1:dns/py-dnspython@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/dns/py-publicsuffix/Makefile b/dns/py-publicsuffix/Makefile index a90fb704f00f..132e13213eab 100644 --- a/dns/py-publicsuffix/Makefile +++ b/dns/py-publicsuffix/Makefile @@ -1,6 +1,6 @@ PORTNAME= publicsuffix PORTVERSION= 1.1.0 -PORTREVISION= 73 +PORTREVISION= 74 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/dns/py-publicsuffix2/Makefile b/dns/py-publicsuffix2/Makefile index d9a0090823bb..ea381b8846e3 100644 --- a/dns/py-publicsuffix2/Makefile +++ b/dns/py-publicsuffix2/Makefile @@ -1,6 +1,6 @@ PORTNAME= publicsuffix2 PORTVERSION= 2.20191221 -PORTREVISION= 47 +PORTREVISION= 48 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/dns/py-publicsuffixlist/Makefile b/dns/py-publicsuffixlist/Makefile index db29f932d9d1..74ece218cb4d 100644 --- a/dns/py-publicsuffixlist/Makefile +++ b/dns/py-publicsuffixlist/Makefile @@ -1,5 +1,5 @@ PORTNAME= publicsuffixlist -PORTVERSION= 0.10.0.20240420 +PORTVERSION= 0.10.0.20240515 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/dns/py-publicsuffixlist/distinfo b/dns/py-publicsuffixlist/distinfo index 56da976f6ede..291929f4a6f0 100644 --- a/dns/py-publicsuffixlist/distinfo +++ b/dns/py-publicsuffixlist/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713624710 -SHA256 (publicsuffixlist-0.10.0.20240420.tar.gz) = b3cc4f91eb3fc4595e8ea7ce94c64e3cb98d2bdd9ed932cad7c5199afdff6ba2 -SIZE (publicsuffixlist-0.10.0.20240420.tar.gz) = 101205 +TIMESTAMP = 1716142134 +SHA256 (publicsuffixlist-0.10.0.20240515.tar.gz) = d0195ba9e7d80e3611216bf95208d34489c3d76975c06a7e9e7c09044e6f6d7b +SIZE (publicsuffixlist-0.10.0.20240515.tar.gz) = 101789 diff --git a/dns/q-dns/Makefile b/dns/q-dns/Makefile index 15c999e6eb56..0cab03bea673 100644 --- a/dns/q-dns/Makefile +++ b/dns/q-dns/Makefile @@ -1,7 +1,6 @@ PORTNAME= q-dns DISTVERSIONPREFIX= v -DISTVERSION= 0.17.0 -PORTREVISION= 3 +DISTVERSION= 0.19.2 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org diff --git a/dns/q-dns/distinfo b/dns/q-dns/distinfo index 14381d1e65a1..9cdc9a3df81b 100644 --- a/dns/q-dns/distinfo +++ b/dns/q-dns/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1702973307 -SHA256 (go/dns_q-dns/q-dns-v0.17.0/v0.17.0.mod) = 3b47a0347310dbfbf37c49c9e595d21c9499fc2347af6e8e320c09ca3c2c91b3 -SIZE (go/dns_q-dns/q-dns-v0.17.0/v0.17.0.mod) = 1691 -SHA256 (go/dns_q-dns/q-dns-v0.17.0/v0.17.0.zip) = 843c05ac2369436e2e11f0f036312aa2ea23a1442367945ff14528319ae180c8 -SIZE (go/dns_q-dns/q-dns-v0.17.0/v0.17.0.zip) = 402979 +TIMESTAMP = 1713938727 +SHA256 (go/dns_q-dns/q-dns-v0.19.2/v0.19.2.mod) = da438df62be9301a7fb3bd4c9426f58f5e4e3b070896a9dd045696b78eded08e +SIZE (go/dns_q-dns/q-dns-v0.19.2/v0.19.2.mod) = 1846 +SHA256 (go/dns_q-dns/q-dns-v0.19.2/v0.19.2.zip) = 5b3900282f3b76505d0a0a56b59511b5867cfdae38da33e534c1ee5c4a14cf49 +SIZE (go/dns_q-dns/q-dns-v0.19.2/v0.19.2.zip) = 403599 diff --git a/dns/rdap/Makefile b/dns/rdap/Makefile index 85426109a2d8..e7809c808569 100644 --- a/dns/rdap/Makefile +++ b/dns/rdap/Makefile @@ -1,7 +1,7 @@ PORTNAME= rdap DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MAINTAINER= pi@FreeBSD.org diff --git a/dns/rubygem-google-apis-dns_v1/Makefile b/dns/rubygem-google-apis-dns_v1/Makefile index 3aa90515683f..f2d1fd66d482 100644 --- a/dns/rubygem-google-apis-dns_v1/Makefile +++ b/dns/rubygem-google-apis-dns_v1/Makefile @@ -1,5 +1,5 @@ PORTNAME= google-apis-dns_v1 -PORTVERSION= 0.40.0 +PORTVERSION= 0.41.0 CATEGORIES= dns rubygems MASTER_SITES= RG diff --git a/dns/rubygem-google-apis-dns_v1/distinfo b/dns/rubygem-google-apis-dns_v1/distinfo index 42514609f43e..53da46eeaba0 100644 --- a/dns/rubygem-google-apis-dns_v1/distinfo +++ b/dns/rubygem-google-apis-dns_v1/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1710712720 -SHA256 (rubygem/google-apis-dns_v1-0.40.0.gem) = 6fa11802fb1871e74662e62c1bc1fae0504becc79d1def81a3e7987ee8fe7ecf -SIZE (rubygem/google-apis-dns_v1-0.40.0.gem) = 38912 +TIMESTAMP = 1715843742 +SHA256 (rubygem/google-apis-dns_v1-0.41.0.gem) = e165c7a4bab59410c2b06fc05b90cbf84639db0cb737b001f6534654fa148036 +SIZE (rubygem/google-apis-dns_v1-0.41.0.gem) = 38400 diff --git a/dns/rubygem-idn-ruby/Makefile b/dns/rubygem-idn-ruby/Makefile index 7140112dce0f..494fbf4462d7 100644 --- a/dns/rubygem-idn-ruby/Makefile +++ b/dns/rubygem-idn-ruby/Makefile @@ -1,5 +1,6 @@ PORTNAME= idn-ruby PORTVERSION= 0.1.5 +PORTREVISION= 1 CATEGORIES= dns rubygems MASTER_SITES= RG diff --git a/dns/rubygem-public_suffix/Makefile b/dns/rubygem-public_suffix/Makefile index 94adcc064f0a..8c9b8c0d6320 100644 --- a/dns/rubygem-public_suffix/Makefile +++ b/dns/rubygem-public_suffix/Makefile @@ -1,5 +1,6 @@ PORTNAME= public_suffix PORTVERSION= 5.0.5 +PORTREVISION= 1 CATEGORIES= dns rubygems MASTER_SITES= RG diff --git a/dns/rubygem-public_suffix_service/Makefile b/dns/rubygem-public_suffix_service/Makefile index 0556dac51b86..491eab38474c 100644 --- a/dns/rubygem-public_suffix_service/Makefile +++ b/dns/rubygem-public_suffix_service/Makefile @@ -1,6 +1,6 @@ PORTNAME= public_suffix_service PORTVERSION= 0.9.1 -PORTREVISION= 85 +PORTREVISION= 86 CATEGORIES= dns rubygems MASTER_SITES= RG diff --git a/dns/subfinder/Makefile b/dns/subfinder/Makefile index d3bf6e37935e..828774b604ec 100644 --- a/dns/subfinder/Makefile +++ b/dns/subfinder/Makefile @@ -1,7 +1,7 @@ PORTNAME= subfinder DISTVERSIONPREFIX= v DISTVERSION= 2.6.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile index d44f32a56335..1ef45194cd9b 100644 --- a/dns/unbound/Makefile +++ b/dns/unbound/Makefile @@ -1,5 +1,6 @@ PORTNAME= unbound -DISTVERSION= 1.19.3 +DISTVERSION= 1.20.0 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= https://www.nlnetlabs.nl/downloads/unbound/ diff --git a/dns/unbound/distinfo b/dns/unbound/distinfo index e562c6066e68..7a61b168b589 100644 --- a/dns/unbound/distinfo +++ b/dns/unbound/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1710413556 -SHA256 (unbound-1.19.3.tar.gz) = 3ae322be7dc2f831603e4b0391435533ad5861c2322e34a76006a9fb65eb56b9 -SIZE (unbound-1.19.3.tar.gz) = 6338685 +TIMESTAMP = 1715159567 +SHA256 (unbound-1.20.0.tar.gz) = 56b4ceed33639522000fd96775576ddf8782bb3617610715d7f1e777c5ec1dbf +SIZE (unbound-1.20.0.tar.gz) = 6550938 diff --git a/dns/unbound/pkg-plist b/dns/unbound/pkg-plist index d4ba63f60c07..bbe22da63634 100644 --- a/dns/unbound/pkg-plist +++ b/dns/unbound/pkg-plist @@ -5,7 +5,7 @@ libdata/pkgconfig/libunbound.pc lib/libunbound.a lib/libunbound.so lib/libunbound.so.8 -lib/libunbound.so.8.1.26 +lib/libunbound.so.8.1.27 %%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/unbound.py %%PYTHON%%%%PYTHON_SITELIBDIR%%/unboundmodule.py diff --git a/dns/yandex-ddns/Makefile b/dns/yandex-ddns/Makefile index 18987f6e1d0c..394b122bdaa5 100644 --- a/dns/yandex-ddns/Makefile +++ b/dns/yandex-ddns/Makefile @@ -1,6 +1,6 @@ PORTNAME= yandex-ddns DISTVERSION= g20200613 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= dns MAINTAINER= ports@FreeBSD.org diff --git a/dns/zdns/Makefile b/dns/zdns/Makefile index 084a7d56db64..b5ab0b244910 100644 --- a/dns/zdns/Makefile +++ b/dns/zdns/Makefile @@ -1,7 +1,7 @@ PORTNAME= zdns DISTVERSIONPREFIX= v DISTVERSION= 1.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org |