public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/
@ 2016-01-06  7:37 Robin H. Johnson
  0 siblings, 0 replies; 7+ messages in thread
From: Robin H. Johnson @ 2016-01-06  7:37 UTC (permalink / raw
  To: gentoo-commits

commit:     2e5d9254e63aae1f4181e063bc8c6b66f51a9678
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  6 00:36:03 2016 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Wed Jan  6 07:37:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e5d9254

net-dns/bind: fix a chroot startup fail.

Package-Manager: portage-2.2.24

 net-dns/bind/files/named.init-r13 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/net-dns/bind/files/named.init-r13 b/net-dns/bind/files/named.init-r13
index a320d34..752338c 100644
--- a/net-dns/bind/files/named.init-r13
+++ b/net-dns/bind/files/named.init-r13
@@ -152,6 +152,10 @@ start() {
 				_mount /usr/share/GeoIP ${CHROOT}/usr/share/GeoIP -o bind
 			fi
 		fi
+
+		# On initial startup, if piddir inside the chroot /var/run/named
+		# Then the .../var/run part might not exist yet
+		checkpath -q -d -o root:root -m 0755 "${piddir}/.."
 	fi
 
 	checkconfig || { eend 1; return 1; }
@@ -160,6 +164,7 @@ start() {
 	_get_pidfile
 	piddir="${PIDFILE%/*}"
 	checkpath -q -d -o root:named -m 0770 "${piddir}" || {
+		eerror "Failed to create PID directory at $piddir"
 		eend 1
 		return 1
 	}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/
@ 2017-01-12 16:00 Christian Ruppert
  0 siblings, 0 replies; 7+ messages in thread
From: Christian Ruppert @ 2017-01-12 16:00 UTC (permalink / raw
  To: gentoo-commits

commit:     cec11b9b3b94bcee4dd8febb373757b74bde5e39
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 12 15:57:04 2017 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 15:59:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec11b9b

net-dns/bind: Update named.cache

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dns/bind/files/named.cache-r3 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-dns/bind/files/named.cache-r3 b/net-dns/bind/files/named.cache-r3
index 805aded..231cb2a 100644
--- a/net-dns/bind/files/named.cache-r3
+++ b/net-dns/bind/files/named.cache-r3
@@ -9,8 +9,8 @@
 ;           on server           FTP.INTERNIC.NET
 ;       -OR-                    RS.INTERNIC.NET
 ;
-;       last update:    August 25, 2016
-;       related version of root zone:   2016082500
+;       last update:    October 20, 2016
+;       related version of root zone:   2016102001
 ;
 ; formerly NS.INTERNIC.NET
 ;
@@ -52,6 +52,7 @@ F.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:2f::f
 ;
 .                        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
 ;


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/
@ 2017-01-12 16:00 Christian Ruppert
  0 siblings, 0 replies; 7+ messages in thread
From: Christian Ruppert @ 2017-01-12 16:00 UTC (permalink / raw
  To: gentoo-commits

commit:     a728b8beb358492faf736aebd00f954f45d6c917
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 12 15:55:30 2017 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 15:59:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a728b8be

net-dns/bind: Cleanup old files

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dns/bind/files/bind-9.10.3_p2-libressl.patch | 110 -----------------------
 net-dns/bind/files/named.cache-r2                |  90 -------------------
 2 files changed, 200 deletions(-)

diff --git a/net-dns/bind/files/bind-9.10.3_p2-libressl.patch b/net-dns/bind/files/bind-9.10.3_p2-libressl.patch
deleted file mode 100644
index a38a70d..00000000
--- a/net-dns/bind/files/bind-9.10.3_p2-libressl.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-Fix LibreSSL compatibility, patches from OpenBSD
-
-http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/net/isc-bind/patches/
-
-http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/net/isc-bind/patches/patch-lib_dns_dst_openssl_h?rev=1.1&content-type=text/plain
-http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/net/isc-bind/patches/patch-lib_dns_openssl_link_c?rev=1.1&content-type=text/plain
-http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/net/isc-bind/patches/patch-lib_dns_openssldh_link_c?rev=1.1&content-type=text/plain
-http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/net/isc-bind/patches/patch-lib_dns_openssldsa_link_c?rev=1.1&content-type=text/plain
-http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/net/isc-bind/patches/patch-lib_dns_opensslrsa_link_c?rev=1.1&content-type=text/plain
-
---- lib/dns/dst_openssl.h.orig	Wed Sep 16 14:00:47 2015
-+++ lib/dns/dst_openssl.h	Wed Sep 16 14:02:42 2015
-@@ -36,7 +36,7 @@
- #define USE_ENGINE 1
- #endif
- 
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- /*
-  * These are new in OpenSSL 1.1.0.  BN_GENCB _cb needs to be declared in
-  * the function like this before the BN_GENCB_new call:
---- lib/dns/openssl_link.c.orig	Wed Sep 16 14:01:23 2015
-+++ lib/dns/openssl_link.c	Wed Sep 16 14:01:46 2015
-@@ -88,7 +88,7 @@ entropy_getpseudo(unsigned char *buf, int num) {
- 	return (result == ISC_R_SUCCESS ? 1 : -1);
- }
- 
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- static void
- entropy_add(const void *buf, int num, double entropy) {
- 	/*
-@@ -121,7 +121,7 @@ lock_callback(int mode, int type, const char *file, in
- 		UNLOCK(&locks[type]);
- }
- 
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- static unsigned long
- id_callback(void) {
- 	return ((unsigned long)isc_thread_self());
-@@ -187,7 +187,7 @@ dst__openssl_init(const char *engine) {
- 	if (result != ISC_R_SUCCESS)
- 		goto cleanup_mutexalloc;
- 	CRYPTO_set_locking_callback(lock_callback);
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- 	CRYPTO_set_id_callback(id_callback);
- #endif
- 
-@@ -287,7 +287,7 @@ dst__openssl_destroy(void) {
- 	CRYPTO_cleanup_all_ex_data();
- #endif
- 	ERR_clear_error();
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- 	ERR_remove_state(0);
- #endif
- 	ERR_free_strings();
---- lib/dns/openssldh_link.c.orig	Wed Sep 16 14:01:23 2015
-+++ lib/dns/openssldh_link.c	Wed Sep 16 14:02:06 2015
-@@ -173,7 +173,7 @@ openssldh_generate(dst_key_t *key, int generator, void
- 	DH *dh = NULL;
- #if OPENSSL_VERSION_NUMBER > 0x00908000L
- 	BN_GENCB *cb;
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- 	BN_GENCB _cb;
- #endif
- 	union {
-@@ -210,7 +210,7 @@ openssldh_generate(dst_key_t *key, int generator, void
- 		if (dh == NULL)
- 			return (dst__openssl_toresult(ISC_R_NOMEMORY));
- 		cb = BN_GENCB_new();
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
- 		if (cb == NULL) {
- 			DH_free(dh);
- 			return (dst__openssl_toresult(ISC_R_NOMEMORY));
---- lib/dns/openssldsa_link.c.orig	Wed Sep 16 14:01:23 2015
-+++ lib/dns/openssldsa_link.c	Wed Sep 16 14:02:22 2015
-@@ -359,7 +359,7 @@ openssldsa_generate(dst_key_t *key, int unused, void (
- 	isc_result_t result;
- #if OPENSSL_VERSION_NUMBER > 0x00908000L
- 	BN_GENCB *cb;
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- 	BN_GENCB _cb;
- #endif
- 	union {
-@@ -383,7 +383,7 @@ openssldsa_generate(dst_key_t *key, int unused, void (
- 	if (dsa == NULL)
- 		return (dst__openssl_toresult(DST_R_OPENSSLFAILURE));
- 	cb = BN_GENCB_new();
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
- 	if (cb == NULL) {
- 		DSA_free(dsa);
- 		return (dst__openssl_toresult(DST_R_OPENSSLFAILURE));
---- lib/dns/opensslrsa_link.c.orig	Wed Sep 16 14:01:23 2015
-+++ lib/dns/opensslrsa_link.c	Wed Sep 16 14:02:31 2015
-@@ -771,7 +771,7 @@ opensslrsa_generate(dst_key_t *key, int exp, void (*ca
- 	} u;
- 	RSA *rsa = RSA_new();
- 	BIGNUM *e = BN_new();
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- 	BN_GENCB _cb;
- #endif
- 	BN_GENCB *cb = BN_GENCB_new();

diff --git a/net-dns/bind/files/named.cache-r2 b/net-dns/bind/files/named.cache-r2
deleted file mode 100644
index 71713d8..00000000
--- a/net-dns/bind/files/named.cache-r2
+++ /dev/null
@@ -1,90 +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:    December 01, 2015
-;       related version of root zone:   2015120100
-;
-; 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     192.228.79.201
-B.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:84::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
-;
-; 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
-;
-; 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:3::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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/
@ 2018-04-13 23:22 Aaron Bauman
  0 siblings, 0 replies; 7+ messages in thread
From: Aaron Bauman @ 2018-04-13 23:22 UTC (permalink / raw
  To: gentoo-commits

commit:     ac8a1328960d08924debbe349ee653e53256a6f8
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Apr  9 08:19:14 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Apr 13 23:21:46 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8a1328

net-dns/bind: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/7908

 .../bind/files/bind-9.11.0_p5-dyndb-dlopen.patch   | 97 ----------------------
 1 file changed, 97 deletions(-)

diff --git a/net-dns/bind/files/bind-9.11.0_p5-dyndb-dlopen.patch b/net-dns/bind/files/bind-9.11.0_p5-dyndb-dlopen.patch
deleted file mode 100644
index 5fc8f3c1889..00000000000
--- a/net-dns/bind/files/bind-9.11.0_p5-dyndb-dlopen.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-From ae903759c205f8a5039458d780c0e0c4442b7291 Mon Sep 17 00:00:00 2001
-From: Mark Andrews <marka@isc.org>
-Date: Tue, 30 May 2017 11:31:34 +1000
-Subject: [PATCH] 4530.   [bug]           "dyndb" is dependent on dlopen
- existing / being                         enabled. [RT #45291]
-
-From aa3a8979bc7eb1596d044eff572b3c35310584fa Mon Sep 17 00:00:00 2001
-From: Mark Andrews <marka@isc.org>
-Date: Tue, 30 May 2017 11:34:37 +1000
-Subject: [PATCH] 4530.   [bug]           "dyndb" is dependent on dlopen
- existing / being                         enabled. [RT #45291]
-
-diff --git a/lib/dns/dyndb.c b/lib/dns/dyndb.c
-index a477508..dec68a7 100644
---- a/lib/dns/dyndb.c
-+++ b/lib/dns/dyndb.c
-@@ -80,7 +80,7 @@ impfind(const char *name) {
- 	return (NULL);
- }
- 
--#if HAVE_DLFCN_H
-+#if HAVE_DLFCN_H && HAVE_DLOPEN
- static isc_result_t
- load_symbol(void *handle, const char *filename,
- 	    const char *symbol_name, void **symbolp)
---- a/bin/named/server.c
-+++ b/bin/named/server.c
-@@ -1496,6 +1496,7 @@ configure_peer(const cfg_obj_t *cpeer, isc_mem_t *mctx, dns_peer_t **peerp) {
- 	return (result);
- }
- 
-+#ifdef HAVE_DLOPEN
- static isc_result_t
- configure_dyndb(const cfg_obj_t *dyndb, isc_mem_t *mctx,
- 		const dns_dyndbctx_t *dctx)
-@@ -1521,6 +1522,7 @@ configure_dyndb(const cfg_obj_t *dyndb, isc_mem_t *mctx,
- 			      name, isc_result_totext(result));
- 	return (result);
- }
-+#endif
- 
- 
- static isc_result_t
-@@ -4669,6 +4671,7 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist,
- 	else
- 		(void)cfg_map_get(config, "dyndb", &dyndb_list);
- 
-+#ifdef HAVE_DLOPEN
- 	for (element = cfg_list_first(dyndb_list);
- 	     element != NULL;
- 	     element = cfg_list_next(element))
-@@ -4686,6 +4689,7 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist,
- 
- 		CHECK(configure_dyndb(dyndb, mctx, dctx));
- 	}
-+#endif
- 
- 	/*
- 	 * Setup automatic empty zones.  If recursion is off then
-diff --git a/lib/bind9/check.c b/lib/bind9/check.c
-index 097dd96..99b995c 100644
---- a/lib/bind9/check.c
-+++ b/lib/bind9/check.c
-@@ -2988,6 +2988,9 @@ check_viewconf(const cfg_obj_t *config, const cfg_obj_t *voptions,
- {
- 	const cfg_obj_t *zones = NULL;
- 	const cfg_obj_t *keys = NULL;
-+#ifndef HAVE_DLOPEN
-+	const cfg_obj_t *dyndb = NULL;
-+#endif
- 	const cfg_listelt_t *element, *element2;
- 	isc_symtab_t *symtab = NULL;
- 	isc_result_t result = ISC_R_SUCCESS;
-@@ -3041,6 +3044,20 @@ check_viewconf(const cfg_obj_t *config, const cfg_obj_t *voptions,
- 			result = ISC_R_FAILURE;
- 	}
- 
-+#ifndef HAVE_DLOPEN
-+	if (voptions != NULL)
-+		(void)cfg_map_get(voptions, "dyndb", &dyndb);
-+	else
-+		(void)cfg_map_get(config, "dyndb", &dyndb);
-+
-+	if (dyndb != NULL) {
-+		cfg_obj_log(dyndb, logctx, ISC_LOG_ERROR,
-+			    "dynamic loading of databases is not supported");
-+		if (tresult != ISC_R_SUCCESS)
-+			result = ISC_R_NOTIMPLEMENTED;
-+	}
-+#endif
-+
- 	/*
- 	 * Check that the response-policy and catalog-zones options
- 	 * refer to zones that exist.
--- 
-2.9.0
-


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/
@ 2021-01-26 10:06 Mikle Kolyada
  0 siblings, 0 replies; 7+ messages in thread
From: Mikle Kolyada @ 2021-01-26 10:06 UTC (permalink / raw
  To: gentoo-commits

commit:     f6f7bed96eeccdf23e006fe89f8c1306877bc8b6
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Jan 26 07:13:11 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 10:06:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f7bed9

net-dns/bind: remove unused patch

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19221
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 net-dns/bind/files/bind-9.16.6-bug-741162.patch | 31 -------------------------
 1 file changed, 31 deletions(-)

diff --git a/net-dns/bind/files/bind-9.16.6-bug-741162.patch b/net-dns/bind/files/bind-9.16.6-bug-741162.patch
deleted file mode 100644
index 9cc030c82b3..00000000000
--- a/net-dns/bind/files/bind-9.16.6-bug-741162.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-commit 56d2cf6f1ef008ab6cb50545af9b1d8a5c1ece81
-Author: Ondřej Surý <ondrej@isc.org>
-Date:   Mon Aug 24 10:15:07 2020 +0200
-
-    Print diagnostics on dns_name_issubdomain() failure in fctx_create()
-    
-    Log diagnostic message when dns_name_issubdomain() in the fctx_create()
-    when the resolver is qname minimizing and forwarding at the same time.
-    
-    (cherry picked from commit 0a22024c270a38a54f0d51621a046b726df158c0)
-
-diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c
-index 8a36693a9a..b37e756c53 100644
---- a/lib/dns/resolver.c
-+++ b/lib/dns/resolver.c
-@@ -5122,7 +5122,14 @@ fctx_create(dns_resolver_t *res, const dns_name_t *name, dns_rdatatype_t type,
- 
- 	log_ns_ttl(fctx, "fctx_create");
- 
--	INSIST(dns_name_issubdomain(&fctx->name, &fctx->domain));
-+	if (!dns_name_issubdomain(&fctx->name, &fctx->domain)) {
-+		dns_name_format(&fctx->domain, buf, sizeof(buf));
-+		UNEXPECTED_ERROR(__FILE__, __LINE__,
-+				 "'%s' is not subdomain of '%s'", fctx->info,
-+				 buf);
-+		result = ISC_R_UNEXPECTED;
-+		goto cleanup_fcount;
-+	}
- 
- 	fctx->qmessage = NULL;
- 	result = dns_message_create(mctx, DNS_MESSAGE_INTENTRENDER,


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/
@ 2024-08-31  7:10 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2024-08-31  7:10 UTC (permalink / raw
  To: gentoo-commits

commit:     261167b216cb2970b23e16aee3d0a76476d1adca
Author:     Eray Aslan <eraya <AT> a21an <DOT> org>
AuthorDate: Sat Jan 29 16:58:11 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 07:10:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=261167b2

net-dns/bind: add dot and doh examples to config file

Bug: https://bugs.gentoo.org/832218
Bug: https://bugs.gentoo.org/930348
Bug: https://bugs.gentoo.org/936568
Bug: https://bugs.gentoo.org/937907
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Eray Aslan <eras <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-dns/bind/files/named.conf-r9 | 42 ++++++++++++++++++++++++++--------------
 1 file changed, 27 insertions(+), 15 deletions(-)

diff --git a/net-dns/bind/files/named.conf-r9 b/net-dns/bind/files/named.conf-r9
index e14996561731..1c805529c855 100644
--- a/net-dns/bind/files/named.conf-r9
+++ b/net-dns/bind/files/named.conf-r9
@@ -1,21 +1,33 @@
+//http local {
+//	endpoints { "/dns-query"; };
+//};
+
 options {
-        directory "/var/cache/bind";
+	directory "/var/cache/bind";
 	pid-file "/run/named/named.pid";
-        listen-on { 127.0.0.1; };
-        listen-on-v6 { ::1; };
-        allow-recursion {
-                none;
-        };
-        allow-transfer {
-                none;
-        };
-        allow-update {
-                none;
-        };
+
+	listen-on { 127.0.0.1; };
+	listen-on-v6 { ::1; };
+	// dns-over-tls
+	listen-on port 853 tls ephemeral { 127.0.0.1; };
+	listen-on-v6 port 853 tls ephemeral { ::1; };
+        // dns-over-https
+	//listen-on port 443 tls ephemeral http local { 127.0.0.1; };
+	//listen-on-v6 port 443 tls ephemeral http local { ::1; };
+
+	allow-recursion {
+		none;
+	};
+	allow-transfer {
+		none;
+	};
+	allow-update {
+		none;
+	};
 };
 
 zone "example.com." {
-        type primary;
-        file "/var/lib/bind/db.example.com";
-        notify explicit;
+	type primary;
+	file "/var/bind/pri/db.example.com";
+	notify explicit;
 };


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/
@ 2024-08-31  7:10 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2024-08-31  7:10 UTC (permalink / raw
  To: gentoo-commits

commit:     39301e95ce662ec2f7feda5aafc9adc32a04901d
Author:     Eray Aslan <eraya <AT> a21an <DOT> org>
AuthorDate: Sat Jan 29 17:01:00 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 07:10:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39301e95

net-dns/bind: whitespace

Bug: https://bugs.gentoo.org/832218
Bug: https://bugs.gentoo.org/930348
Bug: https://bugs.gentoo.org/936568
Bug: https://bugs.gentoo.org/937907
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Eray Aslan <eras <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/24001
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-dns/bind/files/named.conf-r9 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/bind/files/named.conf-r9 b/net-dns/bind/files/named.conf-r9
index 1c805529c855..373a77b96018 100644
--- a/net-dns/bind/files/named.conf-r9
+++ b/net-dns/bind/files/named.conf-r9
@@ -11,7 +11,7 @@ options {
 	// dns-over-tls
 	listen-on port 853 tls ephemeral { 127.0.0.1; };
 	listen-on-v6 port 853 tls ephemeral { ::1; };
-        // dns-over-https
+	// dns-over-https
 	//listen-on port 443 tls ephemeral http local { 127.0.0.1; };
 	//listen-on-v6 port 443 tls ephemeral http local { ::1; };
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-31  7:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-31  7:10 [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-08-31  7:10 Sam James
2021-01-26 10:06 Mikle Kolyada
2018-04-13 23:22 Aaron Bauman
2017-01-12 16:00 Christian Ruppert
2017-01-12 16:00 Christian Ruppert
2016-01-06  7:37 Robin H. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox