CVS commit: src/external/bsd/unbound

2024-02-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 17 18:31:19 UTC 2024

Modified Files:
src/external/bsd/unbound/dist: config.guess config.sub
src/external/bsd/unbound/dist/libunbound: unbound.h
src/external/bsd/unbound/dist/services: authzone.c
src/external/bsd/unbound/dist/util: netevent.c
src/external/bsd/unbound/include: config.h
src/external/bsd/unbound/lib/libunbound: Makefile shlib_version
Removed Files:
src/external/bsd/unbound/dist/testcode: mini_tpkg.sh
src/external/bsd/unbound/dist/testdata: ede_cache_snoop_noth_auth.rpl
serve_expired_servfail.rpl subnet_prefetch_with_client_ecs.crpl
src/external/bsd/unbound/dist/testdata/dnscrypt_cert.tdir: precheck.sh
src/external/bsd/unbound/dist/testdata/dnscrypt_cert_chacha.tdir:
precheck.sh
src/external/bsd/unbound/dist/testdata/ede.tdir/bogus: clean.sh

Log Message:
merge differences between 1.16.3 and 1.19.1


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/unbound/dist/config.guess
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/unbound/dist/config.sub
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/unbound/dist/libunbound/unbound.h
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/unbound/dist/services/authzone.c
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testcode/mini_tpkg.sh
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/ede_cache_snoop_noth_auth.rpl \
src/external/bsd/unbound/dist/testdata/subnet_prefetch_with_client_ecs.crpl
cvs rdiff -u -r1.1.1.2 -r0 \
src/external/bsd/unbound/dist/testdata/serve_expired_servfail.rpl
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/dnscrypt_cert.tdir/precheck.sh
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/dnscrypt_cert_chacha.tdir/precheck.sh
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/ede.tdir/bogus/clean.sh
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/unbound/dist/util/netevent.c
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/unbound/include/config.h
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/unbound/lib/libunbound/Makefile
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/unbound/lib/libunbound/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/dist/config.guess
diff -u src/external/bsd/unbound/dist/config.guess:1.7 src/external/bsd/unbound/dist/config.guess:1.8
--- src/external/bsd/unbound/dist/config.guess:1.7	Sat Sep 24 14:11:42 2022
+++ src/external/bsd/unbound/dist/config.guess	Sat Feb 17 13:31:17 2024
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright 1992-2022 Free Software Foundation, Inc.
+#   Copyright 1992-2024 Free Software Foundation, Inc.
 
 # shellcheck disable=SC2006,SC2268 # see below for rationale
 
-timestamp='2022-08-01'
+timestamp='2024-01-01'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -47,7 +47,7 @@ me=`echo "$0" | sed -e 's,.*/,,'`
 usage="\
 Usage: $0 [OPTION]
 
-Output the configuration name of the system \`$me' is run on.
+Output the configuration name of the system '$me' is run on.
 
 Options:
   -h, --help print this help, then exit
@@ -60,13 +60,13 @@ version="\
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright 1992-2022 Free Software Foundation, Inc.
+Copyright 1992-2024 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
 
 help="
-Try \`$me --help' for more information."
+Try '$me --help' for more information."
 
 # Parse command line
 while test $# -gt 0 ; do
@@ -102,8 +102,8 @@ GUESS=
 # temporary files to be created and, as you can see below, it is a
 # headache to deal with in a portable fashion.
 
-# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
-# use `HOST_CC' if defined, but it is deprecated.
+# Historically, 'CC_FOR_BUILD' used to be named 'HOST_CC'. We still
+# use 'HOST_CC' if defined, but it is deprecated.
 
 # Portable tmp directory creation inspired by the Autoconf team.
 
@@ -155,6 +155,9 @@ Linux|GNU|GNU/*)
 
 	set_cc_for_build
 	cat <<-EOF > "$dummy.c"
+	#if defined(__ANDROID__)
+	LIBC=android
+	#else
 	#include 
 	#if defined(__UCLIBC__)
 	LIBC=uclibc
@@ -162,6 +165,8 @@ Linux|GNU|GNU/*)
 	LIBC=dietlibc
 	#elif defined(__GLIBC__)
 	LIBC=gnu
+	#elif defined(__LLVM_LIBC__)
+	LIBC=llvm
 	#else
 	#include 
 	/* First heuristic to detect musl libc.  */
@@ -169,6 +174,7 @@ Linux|GNU|GNU/*)
 	LIBC=musl
 	#endif
 	#endif
+	#endif
 	EOF
 	cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
 	eval "$cc_set_libc"
@@ -459,7 +465,7 

CVS commit: src/external/bsd/unbound

2024-02-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 17 18:31:19 UTC 2024

Modified Files:
src/external/bsd/unbound/dist: config.guess config.sub
src/external/bsd/unbound/dist/libunbound: unbound.h
src/external/bsd/unbound/dist/services: authzone.c
src/external/bsd/unbound/dist/util: netevent.c
src/external/bsd/unbound/include: config.h
src/external/bsd/unbound/lib/libunbound: Makefile shlib_version
Removed Files:
src/external/bsd/unbound/dist/testcode: mini_tpkg.sh
src/external/bsd/unbound/dist/testdata: ede_cache_snoop_noth_auth.rpl
serve_expired_servfail.rpl subnet_prefetch_with_client_ecs.crpl
src/external/bsd/unbound/dist/testdata/dnscrypt_cert.tdir: precheck.sh
src/external/bsd/unbound/dist/testdata/dnscrypt_cert_chacha.tdir:
precheck.sh
src/external/bsd/unbound/dist/testdata/ede.tdir/bogus: clean.sh

Log Message:
merge differences between 1.16.3 and 1.19.1


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/unbound/dist/config.guess
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/unbound/dist/config.sub
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/unbound/dist/libunbound/unbound.h
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/unbound/dist/services/authzone.c
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testcode/mini_tpkg.sh
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/ede_cache_snoop_noth_auth.rpl \
src/external/bsd/unbound/dist/testdata/subnet_prefetch_with_client_ecs.crpl
cvs rdiff -u -r1.1.1.2 -r0 \
src/external/bsd/unbound/dist/testdata/serve_expired_servfail.rpl
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/dnscrypt_cert.tdir/precheck.sh
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/dnscrypt_cert_chacha.tdir/precheck.sh
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/ede.tdir/bogus/clean.sh
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/unbound/dist/util/netevent.c
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/unbound/include/config.h
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/unbound/lib/libunbound/Makefile
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/unbound/lib/libunbound/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/unbound/include

2023-05-23 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue May 23 20:07:21 UTC 2023

Modified Files:
src/external/bsd/unbound/include: config.h

Log Message:
Set PID path back to "/var/run/unbound.pid" so rc scripts work again.

Ok: Christos Zoulas

PR bin/57242 unbound rc.d script does not work with chrooted unbound


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/unbound/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/include/config.h
diff -u src/external/bsd/unbound/include/config.h:1.10 src/external/bsd/unbound/include/config.h:1.11
--- src/external/bsd/unbound/include/config.h:1.10	Sat Sep 24 18:11:43 2022
+++ src/external/bsd/unbound/include/config.h	Tue May 23 20:07:21 2023
@@ -773,7 +773,7 @@
 #define PACKAGE_VERSION "1.16.3"
 
 /* default pidfile location */
-#define PIDFILE CHROOT_DIR "/var/run/unbound.pid"
+#define PIDFILE "/var/run/unbound.pid"
 
 /* Define to necessary symbol if this constant uses a non-standard name on
your system. */



CVS commit: src/external/bsd/unbound/include

2023-05-23 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue May 23 20:07:21 UTC 2023

Modified Files:
src/external/bsd/unbound/include: config.h

Log Message:
Set PID path back to "/var/run/unbound.pid" so rc scripts work again.

Ok: Christos Zoulas

PR bin/57242 unbound rc.d script does not work with chrooted unbound


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/unbound/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/unbound/lib/libunbound

2023-05-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May  9 14:31:55 UTC 2023

Modified Files:
src/external/bsd/unbound/lib/libunbound: Makefile

Log Message:
Handle OpenSSL-3.x


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/unbound/lib/libunbound/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/unbound/lib/libunbound

2023-05-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May  9 14:31:55 UTC 2023

Modified Files:
src/external/bsd/unbound/lib/libunbound: Makefile

Log Message:
Handle OpenSSL-3.x


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/unbound/lib/libunbound/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/lib/libunbound/Makefile
diff -u src/external/bsd/unbound/lib/libunbound/Makefile:1.7 src/external/bsd/unbound/lib/libunbound/Makefile:1.8
--- src/external/bsd/unbound/lib/libunbound/Makefile:1.7	Mon Mar 15 16:15:36 2021
+++ src/external/bsd/unbound/lib/libunbound/Makefile	Tue May  9 10:31:55 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/03/15 20:15:36 christos Exp $
+# $NetBSD: Makefile,v 1.8 2023/05/09 14:31:55 christos Exp $
 
 .include 
 
@@ -107,6 +107,9 @@ CLEANFILES+=libunbound.3
 
 libunbound.3: libunbound.3.in __subst
 
+COPTS.keyraw.c+= -Wno-error=deprecated-declarations
+COPTS.net_help.c+= -Wno-error=deprecated-declarations
+
 .include 
 
 # Use the generated files



CVS commit: src/external/bsd/unbound

2022-12-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Dec 21 17:24:08 UTC 2022

Modified Files:
src/external/bsd/unbound: Makefile.inc

Log Message:
Remove unneeded -D_OPENBSD_SOURCE


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/unbound/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/Makefile.inc
diff -u src/external/bsd/unbound/Makefile.inc:1.4 src/external/bsd/unbound/Makefile.inc:1.5
--- src/external/bsd/unbound/Makefile.inc:1.4	Sun Feb  4 03:19:53 2018
+++ src/external/bsd/unbound/Makefile.inc	Wed Dec 21 17:24:08 2022
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.4 2018/02/04 03:19:53 christos Exp $
+# $NetBSD: Makefile.inc,v 1.5 2022/12/21 17:24:08 wiz Exp $
 
 USE_FORT?= yes  # network client/server
 UNBOUND:=${.PARSEDIR}/dist
 
 .PATH: ${UNBOUND}/doc
 
-CPPFLAGS += -D_OPENBSD_SOURCE
-
 DPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libssl
 DPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto
 DPLIBS+= crypt ${NETBSDSRCDIR}/lib/libcrypt



CVS commit: src/external/bsd/unbound

2022-12-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Dec 21 17:24:08 UTC 2022

Modified Files:
src/external/bsd/unbound: Makefile.inc

Log Message:
Remove unneeded -D_OPENBSD_SOURCE


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/unbound/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/unbound

2022-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 24 18:11:43 UTC 2022

Modified Files:
src/external/bsd/unbound/dist: config.guess config.sub
src/external/bsd/unbound/dist/libunbound: unbound.h
src/external/bsd/unbound/dist/services: authzone.c
src/external/bsd/unbound/dist/util: mini_event.c netevent.c
src/external/bsd/unbound/include: config.h
Removed Files:
src/external/bsd/unbound/dist: .travis.yml
src/external/bsd/unbound/dist/.github: FUNDING.yml

Log Message:
merge conflicts and update configuration between 1.13.1 and 1.16.3


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r0 src/external/bsd/unbound/dist/.travis.yml
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/unbound/dist/config.guess
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/unbound/dist/config.sub
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/unbound/dist/.github/FUNDING.yml
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/unbound/dist/libunbound/unbound.h
cvs rdiff -u -r1.1.1.6 -r1.2 \
src/external/bsd/unbound/dist/services/authzone.c
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/unbound/dist/util/mini_event.c \
src/external/bsd/unbound/dist/util/netevent.c
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/unbound/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/dist/config.guess
diff -u src/external/bsd/unbound/dist/config.guess:1.6 src/external/bsd/unbound/dist/config.guess:1.7
--- src/external/bsd/unbound/dist/config.guess:1.6	Mon Mar 15 16:15:35 2021
+++ src/external/bsd/unbound/dist/config.guess	Sat Sep 24 14:11:42 2022
@@ -1,12 +1,14 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright 1992-2021 Free Software Foundation, Inc.
+#   Copyright 1992-2022 Free Software Foundation, Inc.
 
-timestamp='2021-01-25'
+# shellcheck disable=SC2006,SC2268 # see below for rationale
+
+timestamp='2022-08-01'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but
@@ -32,7 +34,15 @@ timestamp='2021-01-25'
 # Please send patches to .
 
 
-me=$(echo "$0" | sed -e 's,.*/,,')
+# The "shellcheck disable" line above the timestamp inhibits complaints
+# about features and limitations of the classic Bourne shell that were
+# superseded or lifted in POSIX.  However, this script identifies a wide
+# variety of pre-POSIX systems that do not have POSIX shells at all, and
+# even some reasonably current systems (Solaris 10 as case-in-point) still
+# have a pre-POSIX /bin/sh.
+
+
+me=`echo "$0" | sed -e 's,.*/,,'`
 
 usage="\
 Usage: $0 [OPTION]
@@ -50,7 +60,7 @@ version="\
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright 1992-2021 Free Software Foundation, Inc.
+Copyright 1992-2022 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -84,6 +94,9 @@ if test $# != 0; then
   exit 1
 fi
 
+# Just in case it came from the environment.
+GUESS=
+
 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
 # compiler to aid in system detection is discouraged as it requires
 # temporary files to be created and, as you can see below, it is a
@@ -102,8 +115,8 @@ set_cc_for_build() {
 # prevent multiple calls if $tmp is already set
 test "$tmp" && return 0
 : "${TMPDIR=/tmp}"
-# shellcheck disable=SC2039
-{ tmp=$( (umask 077 && mktemp -d "$TMPDIR/cgXX") 2>/dev/null) && test -n "$tmp" && test -d "$tmp" ; } ||
+# shellcheck disable=SC2039,SC3028
+{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
 	{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
 	{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
 	{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
@@ -112,7 +125,7 @@ set_cc_for_build() {
 	,,)echo "int x;" > "$dummy.c"
 	   for driver in cc gcc c89 c99 ; do
 		   if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
-		   CC_FOR_BUILD="$driver"
+		   CC_FOR_BUILD=$driver
 		   break
 		   fi
 	   done
@@ -131,12 +144,12 @@ if test -f /.attbin/uname ; then
 	PATH=$PATH:/.attbin ; export PATH
 fi
 
-UNAME_MACHINE=$( (uname -m) 2>/dev/null) || UNAME_MACHINE=unknown
-UNAME_RELEASE=$( (uname -r) 2>/dev/null) || UNAME_RELEASE=unknown
-UNAME_SYSTEM=$( (uname -s) 2>/dev/null) || 

CVS commit: src/external/bsd/unbound

2022-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 24 18:11:43 UTC 2022

Modified Files:
src/external/bsd/unbound/dist: config.guess config.sub
src/external/bsd/unbound/dist/libunbound: unbound.h
src/external/bsd/unbound/dist/services: authzone.c
src/external/bsd/unbound/dist/util: mini_event.c netevent.c
src/external/bsd/unbound/include: config.h
Removed Files:
src/external/bsd/unbound/dist: .travis.yml
src/external/bsd/unbound/dist/.github: FUNDING.yml

Log Message:
merge conflicts and update configuration between 1.13.1 and 1.16.3


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r0 src/external/bsd/unbound/dist/.travis.yml
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/unbound/dist/config.guess
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/unbound/dist/config.sub
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/unbound/dist/.github/FUNDING.yml
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/unbound/dist/libunbound/unbound.h
cvs rdiff -u -r1.1.1.6 -r1.2 \
src/external/bsd/unbound/dist/services/authzone.c
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/unbound/dist/util/mini_event.c \
src/external/bsd/unbound/dist/util/netevent.c
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/unbound/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/external/bsd/unbound/lib/libunbound

2021-01-01 Thread Robert Elz
Date:Fri, 1 Jan 2021 20:38:36 +
From:"Roy Marples" 
Message-ID:  <20210101203836.2cadcf...@cvs.netbsd.org>

  | Modified Files:
  | src/external/bsd/unbound/lib/libunbound: Makefile
  |
  | Log Message:
  | libunbound: Now we use libevent, don't build mini_event or winsock_event.

That changes the ABI of  the library (libunbound) and so at the very
least would require a major version bump.

It also breaks the build.

Please revert, and also (and this applies to *everyone*) please do release
builds BEFORE committing changes which can (even remotely possibly) affect
the rest of the build (which more or less means any change other than to
doc - and even there if any doc is new or deleted).

kre



CVS commit: src/external/bsd/unbound/dist/libunbound

2019-07-10 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Wed Jul 10 13:41:14 UTC 2019

Modified Files:
src/external/bsd/unbound/dist/libunbound: unbound.h

Log Message:
libunbound: set real version in unbound.h


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/bsd/unbound/dist/libunbound/unbound.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/dist/libunbound/unbound.h
diff -u src/external/bsd/unbound/dist/libunbound/unbound.h:1.1.1.4 src/external/bsd/unbound/dist/libunbound/unbound.h:1.2
--- src/external/bsd/unbound/dist/libunbound/unbound.h:1.1.1.4	Sat May 25 21:18:02 2019
+++ src/external/bsd/unbound/dist/libunbound/unbound.h	Wed Jul 10 13:41:14 2019
@@ -102,9 +102,9 @@ extern "C" {
 #endif
 
 /** the version of this header file */
-#define UNBOUND_VERSION_MAJOR @UNBOUND_VERSION_MAJOR@
-#define UNBOUND_VERSION_MINOR @UNBOUND_VERSION_MINOR@
-#define UNBOUND_VERSION_MICRO @UNBOUND_VERSION_MICRO@
+#define UNBOUND_VERSION_MAJOR 1
+#define UNBOUND_VERSION_MINOR 9
+#define UNBOUND_VERSION_MICRO 1
 
 /**
  * The validation context is created to hold the resolver status,



CVS commit: src/external/bsd/unbound/dist/libunbound

2019-07-10 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Wed Jul 10 13:41:14 UTC 2019

Modified Files:
src/external/bsd/unbound/dist/libunbound: unbound.h

Log Message:
libunbound: set real version in unbound.h


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/bsd/unbound/dist/libunbound/unbound.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/unbound/dist/util

2019-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 26 02:49:34 UTC 2019

Modified Files:
src/external/bsd/unbound/dist/util: mini_event.c

Log Message:
fix include order.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 src/external/bsd/unbound/dist/util/mini_event.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/unbound/dist/util

2019-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 26 02:49:34 UTC 2019

Modified Files:
src/external/bsd/unbound/dist/util: mini_event.c

Log Message:
fix include order.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 src/external/bsd/unbound/dist/util/mini_event.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/dist/util/mini_event.c
diff -u src/external/bsd/unbound/dist/util/mini_event.c:1.1.1.3 src/external/bsd/unbound/dist/util/mini_event.c:1.2
--- src/external/bsd/unbound/dist/util/mini_event.c:1.1.1.3	Sat May 25 17:18:03 2019
+++ src/external/bsd/unbound/dist/util/mini_event.c	Sat May 25 22:49:34 2019
@@ -41,11 +41,11 @@
  */
 
 #include "config.h"
-#include "util/mini_event.h"
 #ifdef HAVE_TIME_H
 #include 
 #endif
 #include 
+#include "util/mini_event.h"
 
 #if defined(USE_MINI_EVENT) && !defined(USE_WINSOCK)
 #include 



CVS commit: src/external/bsd/unbound/lib/libunbound

2019-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 26 02:49:12 UTC 2019

Modified Files:
src/external/bsd/unbound/lib/libunbound: Makefile

Log Message:
new files


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/unbound/lib/libunbound/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/lib/libunbound/Makefile
diff -u src/external/bsd/unbound/lib/libunbound/Makefile:1.3 src/external/bsd/unbound/lib/libunbound/Makefile:1.4
--- src/external/bsd/unbound/lib/libunbound/Makefile:1.3	Mon Feb  5 22:05:48 2018
+++ src/external/bsd/unbound/lib/libunbound/Makefile	Sat May 25 22:49:12 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/02/06 03:05:48 christos Exp $
+# $NetBSD: Makefile,v 1.4 2019/05/26 02:49:12 christos Exp $
 
 .include 
 
@@ -33,6 +33,7 @@ dname.c \
 dns.c \
 dns64.c \
 dnstree.c \
+edns.c \
 fptr_wlist.c \
 infra.c \
 iter_delegpt.c \
@@ -77,6 +78,7 @@ rtt.c \
 sbuffer.c \
 slabhash.c \
 str2wire.c \
+tcp_conn_limit.c \
 timehist.c \
 tube.c \
 ub_event_pluggable.c \



CVS commit: src/external/bsd/unbound/include

2019-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 26 02:42:00 UTC 2019

Modified Files:
src/external/bsd/unbound/include: config.h

Log Message:
use explicit_memset()
XXX: fix in autoconf


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/unbound/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/unbound/include

2019-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 26 02:42:00 UTC 2019

Modified Files:
src/external/bsd/unbound/include: config.h

Log Message:
use explicit_memset()
XXX: fix in autoconf


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/unbound/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/include/config.h
diff -u src/external/bsd/unbound/include/config.h:1.5 src/external/bsd/unbound/include/config.h:1.6
--- src/external/bsd/unbound/include/config.h:1.5	Sat May 25 17:31:28 2019
+++ src/external/bsd/unbound/include/config.h	Sat May 25 22:42:00 2019
@@ -1183,8 +1183,9 @@ int isblank(int c);
 #endif
 
 #ifndef HAVE_EXPLICIT_BZERO
-#define explicit_bzero unbound_explicit_bzero
-void explicit_bzero(void* buf, size_t len);
+// #define explicit_bzero unbound_explicit_bzero
+// void explicit_bzero(void* buf, size_t len);
+#define explicit_bzero(a, b) explicit_memset(a, 0, b) 
 #endif
 
 #if defined(HAVE_INET_NTOP) && !HAVE_DECL_INET_NTOP
@@ -1219,7 +1220,6 @@ void *reallocarray(void *ptr, size_t nme
 #  endif
 #endif /* HAVE_LIBRESSL */
 #ifndef HAVE_ARC4RANDOM
-void explicit_bzero(void* buf, size_t len);
 int getentropy(void* buf, size_t len);
 uint32_t arc4random(void);
 void arc4random_buf(void* buf, size_t n);



CVS commit: src/external/bsd/unbound

2019-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 25 21:31:29 UTC 2019

Modified Files:
src/external/bsd/unbound/dist: config.guess config.sub
src/external/bsd/unbound/include: config.h
Removed Files:
src/external/bsd/unbound/dist/testdata/edns_lame.tdir: edns_lame.conf
edns_lame.dsc edns_lame.post edns_lame.pre edns_lame.test
edns_lame.testns
src/external/bsd/unbound/dist/testdata/pylib.tdir: pylib.conf pylib.py
src/external/bsd/unbound/dist/winrc: unbound16.ico unbound48.ico
unbound64.ico unbound64.png
src/external/bsd/unbound/include: config-1.0.h config-1.1.h

Log Message:
merge conflicts


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/unbound/dist/config.guess \
src/external/bsd/unbound/dist/config.sub
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.conf \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.dsc \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.post \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.pre \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.test \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.testns
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/pylib.tdir/pylib.conf \
src/external/bsd/unbound/dist/testdata/pylib.tdir/pylib.py
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/unbound/dist/winrc/unbound16.ico \
src/external/bsd/unbound/dist/winrc/unbound48.ico \
src/external/bsd/unbound/dist/winrc/unbound64.ico \
src/external/bsd/unbound/dist/winrc/unbound64.png
cvs rdiff -u -r1.3 -r0 src/external/bsd/unbound/include/config-1.0.h \
src/external/bsd/unbound/include/config-1.1.h
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/unbound/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/dist/config.guess
diff -u src/external/bsd/unbound/dist/config.guess:1.2 src/external/bsd/unbound/dist/config.guess:1.3
--- src/external/bsd/unbound/dist/config.guess:1.2	Wed Feb  1 04:26:42 2017
+++ src/external/bsd/unbound/dist/config.guess	Sat May 25 17:31:28 2019
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/usr/bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright 1992-2017 Free Software Foundation, Inc.
 
Index: src/external/bsd/unbound/dist/config.sub
diff -u src/external/bsd/unbound/dist/config.sub:1.2 src/external/bsd/unbound/dist/config.sub:1.3
--- src/external/bsd/unbound/dist/config.sub:1.2	Wed Feb  1 04:26:42 2017
+++ src/external/bsd/unbound/dist/config.sub	Sat May 25 17:31:28 2019
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/usr/bin/sh
 # Configuration validation subroutine script.
 #   Copyright 1992-2017 Free Software Foundation, Inc.
 

Index: src/external/bsd/unbound/include/config.h
diff -u src/external/bsd/unbound/include/config.h:1.4 src/external/bsd/unbound/include/config.h:1.5
--- src/external/bsd/unbound/include/config.h:1.4	Mon Feb  5 22:29:57 2018
+++ src/external/bsd/unbound/include/config.h	Sat May 25 17:31:28 2019
@@ -1,6 +1,1302 @@
-#include 
-#if OPENSSL_VERSION_NUMBER >= 0x1010
-#include "config-1.1.h"
+/* config.h.  Generated from config.h.in by configure.  */
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* apply the noreturn attribute to a function that exits the program */
+#define ATTR_NORETURN __attribute__((__noreturn__))
+
+/* apply the weak attribute to a symbol */
+#define ATTR_WEAK __attribute__((__weak__))
+
+/* Directory to chroot to */
+#define CHROOT_DIR "/var/chroot/unbound"
+
+/* Define this to enable client subnet option. */
+/* #undef CLIENT_SUBNET */
+
+/* Do sha512 definitions in config.h */
+/* #undef COMPAT_SHA512 */
+
+/* Pathname to the Unbound configuration file */
+#define CONFIGFILE "/etc/unbound/unbound.conf"
+
+/* Define this if on macOSX10.4-darwin8 and setreuid and setregid do not work
+   */
+/* #undef DARWIN_BROKEN_SETREUID */
+
+/* Whether daemon is deprecated */
+/* #undef DEPRECATED_DAEMON */
+
+/* default dnstap socket path */
+/* #undef DNSTAP_SOCKET_PATH */
+
+/* Define if you want to use debug lock checking (slow). */
+/* #undef ENABLE_LOCK_CHECKS */
+
+/* Define this if you enabled-allsymbols from libunbound to link binaries to
+   it for smaller install size, but the libunbound export table is polluted by
+   internal symbols */
+/* #undef EXPORT_ALL_SYMBOLS */
+
+/* Define to 1 if you have the `accept4' function. */
+#define HAVE_ACCEPT4 1
+
+/* Define to 1 if you have the `arc4random' function. */
+#define HAVE_ARC4RANDOM 1
+
+/* Define to 1 if you have the `arc4random_uniform' function. */
+#define HAVE_ARC4RANDOM_UNIFORM 1
+
+/* Define to 1 if you have the  header file. */
+#define HAVE_ARPA_INET_H 1
+
+/* Whether the C compiler accepts the "format" attribute */

CVS commit: src/external/bsd/unbound

2019-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 25 21:31:29 UTC 2019

Modified Files:
src/external/bsd/unbound/dist: config.guess config.sub
src/external/bsd/unbound/include: config.h
Removed Files:
src/external/bsd/unbound/dist/testdata/edns_lame.tdir: edns_lame.conf
edns_lame.dsc edns_lame.post edns_lame.pre edns_lame.test
edns_lame.testns
src/external/bsd/unbound/dist/testdata/pylib.tdir: pylib.conf pylib.py
src/external/bsd/unbound/dist/winrc: unbound16.ico unbound48.ico
unbound64.ico unbound64.png
src/external/bsd/unbound/include: config-1.0.h config-1.1.h

Log Message:
merge conflicts


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/unbound/dist/config.guess \
src/external/bsd/unbound/dist/config.sub
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.conf \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.dsc \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.post \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.pre \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.test \
src/external/bsd/unbound/dist/testdata/edns_lame.tdir/edns_lame.testns
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/unbound/dist/testdata/pylib.tdir/pylib.conf \
src/external/bsd/unbound/dist/testdata/pylib.tdir/pylib.py
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/unbound/dist/winrc/unbound16.ico \
src/external/bsd/unbound/dist/winrc/unbound48.ico \
src/external/bsd/unbound/dist/winrc/unbound64.ico \
src/external/bsd/unbound/dist/winrc/unbound64.png
cvs rdiff -u -r1.3 -r0 src/external/bsd/unbound/include/config-1.0.h \
src/external/bsd/unbound/include/config-1.1.h
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/unbound/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/external/bsd/unbound/include

2018-02-09 Thread Christos Zoulas
On Feb 9,  9:43am, r...@marples.name (Roy Marples) wrote:
-- Subject: Re: CVS commit: src/external/bsd/unbound/include

| Then please pass correct paths to the method which does the generation.
| Programs in base shouldn't try and use /usr/local by default.

Sorry, I read the diff backwards.

christos


Re: CVS commit: src/external/bsd/unbound/include

2018-02-09 Thread Roy Marples

On 08/02/2018 23:27, Christos Zoulas wrote:

In article <20180206212749.cfcf8f...@cvs.netbsd.org>,
Roy Marples  wrote:

-=-=-=-=-=-

Module Name:src
Committed By:   roy
Date:   Tue Feb  6 21:27:49 UTC 2018

Modified Files:
src/external/bsd/unbound/include: config-1.0.h config-1.1.h

Log Message:
Restore default paths to what they were before prior import.


What are you doing? These are the generated files?!?!?
There is no import involved.


Then please pass correct paths to the method which does the generation.
Programs in base shouldn't try and use /usr/local by default.

Roy


Re: CVS commit: src/external/bsd/unbound/include

2018-02-08 Thread Christos Zoulas
In article <20180206212749.cfcf8f...@cvs.netbsd.org>,
Roy Marples  wrote:
>-=-=-=-=-=-
>
>Module Name:   src
>Committed By:  roy
>Date:  Tue Feb  6 21:27:49 UTC 2018
>
>Modified Files:
>   src/external/bsd/unbound/include: config-1.0.h config-1.1.h
>
>Log Message:
>Restore default paths to what they were before prior import.

What are you doing? These are the generated files?!?!?
There is no import involved.

christos