Commit graph

289 commits

Author SHA1 Message Date
Petr Špaček
4418f199b6 Update BIND version to 9.18.27-dev 2024-04-04 21:14:50 +02:00
Michał Kępień
22e7942509
Update BIND version to 9.18.26-dev 2024-03-13 09:55:18 +01:00
Michał Kępień
5e3d4ade06
Update BIND version to 9.18.25-dev 2024-02-11 11:05:50 +01:00
Michał Kępień
301ac411fb
Update BIND version to 9.18.24-dev 2024-01-15 15:46:01 +01:00
Michal Nowak
52e432008e Update BIND version to 9.18.23-dev 2024-01-08 12:57:56 +01:00
Tom Krizek
1f93aecde3 Update BIND version to 9.18.22-dev 2023-12-08 15:55:30 +01:00
Petr Špaček
9a2665efde Update BIND version to 9.18.21-dev 2023-11-10 14:04:03 +01:00
Tom Krizek
a28529c11d
Use prereq.sh for rpzrecurse system test
(cherry picked from commit 0538b7e0da)
2023-09-20 10:32:11 +02:00
Tom Krizek
3fb1f2e851
Use prereq.sh for serve-stale system test
(cherry picked from commit c3abedc0a2)
2023-09-20 10:32:11 +02:00
Tom Krizek
27c3e576fd
Use prereq.sh for chain system test
(cherry picked from commit 5d9a09c086)
2023-09-20 10:32:11 +02:00
Tom Krizek
697041ae93
Use prereq.sh for xfer system test
(cherry picked from commit 587129b4c0)
2023-09-20 10:32:11 +02:00
Tom Krizek
cefa09ada5
Use prereq.sh for statschannel system test
(cherry picked from commit 27281955af)
2023-09-20 10:32:11 +02:00
Michal Nowak
a0d8c44bf7 Update BIND version to 9.18.20-dev 2023-09-12 09:36:39 +02:00
Michał Kępień
bda09d3602
Update BIND version to 9.18.19-dev 2023-08-07 10:26:29 +02:00
Tom Krizek
77271086a2 Update BIND version to 9.18.18-dev 2023-07-10 15:39:37 +02:00
Michal Nowak
af92f44561
Update BIND version to 9.18.17-dev 2023-06-12 16:32:22 +02:00
Ondřej Surý
6b6076c882
Remove obsolete epoll/kqueue/devpoll configure options
Since we don't use networking directly but rather via libuv, these
configure options were no-op.  Remove the configure checks for epoll
(Linux), kqueue (BSDs) and /dev/poll (Solaris).

(cherry picked from commit 051f3d612f)
2023-05-29 07:58:03 +02:00
Tom Krizek
ac1e7eb40d
Invoke pytest runner from run.sh
Utilize developers' muscle memory to incentivize using the pytest runner
instead of the legacy one. The script also serves as basic examples of
how to run the pyest command to achieve the same results as the legacy
runner.

Invoking pytest directly should be the end goal, since it offers many
potentially useful options (refer to pytest --help).

(cherry picked from commit 4dbe8e5347)

(also manually added a additional run.sh -> legacy.run.sh renames)
2023-05-23 17:41:33 +02:00
Michał Kępień
9c09313bc9
Update BIND version to 9.18.16-dev 2023-05-10 10:41:42 +02:00
Petr Špaček
ae77ab4ca5
Update BIND version to 9.18.15-dev 2023-04-14 10:45:38 +02:00
Tom Krizek
8016e471d8
Update BIND version to 9.18.14-dev 2023-03-07 14:49:39 +01:00
Michal Nowak
e48b6dfc61 BIND 9.18.12
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEIz+ZTe/bbr1Q+/5RJKPoRjruXlYFAmPc7jgACgkQJKPoRjru
 Xlb/bQ/+JEQ7B2jvP3D3Q5s58cmofBboqtMY/KxYD4kYI8IHUZBedAUN+Oud2cV1
 QjHyklztrJATtbt0puWLwfb1bPbInBaQEhrMQML0S3qPeLovvYcojq8Fq42+17Rp
 AU8EwHodeFDkXbAMxgbs/5+kgHockFLl4S5H6rc/jz9oj8mJN1Paqk2RC3wBJHNQ
 05JikAVxNE58QAr50jenuf2bBHflhGC9JTm+dtt7o97k9LhNGrxKUfIwI8DhkuGh
 ca7bdWxGdd3OyfTGvP21FyjlD1VdAGcbnLJlJE8c1f+Hdrc1U9TNJY7gM3y2Z6gD
 57alUzqBYXXIM/efUGoTpbvX2l2SUBpMyBIBVdx+EumhQpLUAmmNKGU0bFkk+Vht
 ayzyKo8vksZsT6FKlQNOGedP/q17jz+UwBQ3KlIhS3shGJ1PfH/jDKlnRs69Ju2I
 jmImtUf1ddLACquXz8OKXPHMrKXaKBbp5Fd6kPAo58ho5JHzogBMdk5P6rdmb7PP
 X0LO5AVaCPL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.18.12
2023-02-16 17:40:52 +01:00
Petr Špaček
596c6f4cf7
Remove pregenerated manpages from the repo
We don't need them in the repo, it's sufficient if we pregenerate them
while preparing the tarball.  That way we don't have overhead while
modifying them but they are still available for installations without
Sphinx.

I assume that this will make rebases and cherry-picks across branches
easier, with less trial and error churn required in the CI.

It's implemented in the way that we build the manpages only when we
either have pregenerated pages available at the configure time or
sphinx-build is installed and working.

(cherry picked from commit 9110465194)
2023-02-10 12:03:56 +01:00
Ondřej Surý
3368e5f231 Avoid libuv 1.35 and 1.36 that have broken recvmmsg implementation
The implementation of UDP recvmmsg in libuv 1.35 and 1.36 is
incomplete and could cause assertion failure under certain
circumstances.

Modify the configure and runtime checks to report a fatal error when
trying to compile or run with the affected versions.

(cherry picked from commit 251f411fc3)
2023-02-09 22:10:46 +01:00
Michal Nowak
226e35887f
Update BIND version to 9.18.13-dev 2023-02-07 11:12:21 +01:00
Michal Nowak
99783f9a5e
Update BIND version for release 2023-02-03 12:19:48 +01:00
Tom Krizek
c8b4ca8e3a Update docs to reflect 9.18 has become ESV 2023-02-03 10:00:20 +01:00
Michał Kępień
ef97bf534d Add DNSRPS builds to pairwise testing
The --enable-dnsrps-dl switch for ./configure enables preparing a
DNSRPS-enabled build of BIND 9 that is not directly linked against a
DNSRPS provider library (dlopen() at runtime is used instead).  Employ
this switch to test DNSRPS-enabled builds in the pairwise testing job in
GitLab CI.

(cherry picked from commit e688ca5316)
2023-02-01 11:26:31 +01:00
Michał Kępień
6d89ad302b Update BIND version to 9.18.12-dev 2023-01-13 15:40:27 +01:00
Ondřej Surý
6906b42cdd Prefer the pthread_barrier implementation over uv_barrier
Prefer the pthread_barrier implementation on platforms where it is
available over uv_barrier implementation.  This also solves the problem
with thread sanitizer builds on macOS that doesn't have pthread barrier.

(cherry picked from commit d07c4a98da)
2023-01-11 10:21:39 +00:00
Tom Krizek
4d79f073b6
Update BIND version to 9.18.11-dev 2022-12-13 17:02:03 +01:00
Petr Špaček
0d78be7057 Fix configure --disable-doh help text
This is technically fixup for 2bb454182b.

Related: !4926
(cherry picked from commit 5ec272007d)
2022-12-08 10:17:32 +00:00
Michał Kępień
1f1c012a5f Update BIND version to 9.18.10-dev 2022-11-08 13:23:20 +01:00
Ondřej Surý
a4341b4338
Don't enforce jemalloc on NetBSD
The NetBSD system allocator is in fact based on the jemalloc, but it
doesn't export the extended interface, so we can't use that.  Remove
the jemalloc enforcement for the NetBSD.

(cherry picked from commit feea72414b)
2022-10-31 16:15:11 +01:00
Michał Kępień
fd028232f9 Update BIND version to 9.18.9-dev 2022-10-10 23:18:40 +02:00
Mark Andrews
886df1542e Use strnstr implementation from FreeBSD if not provided by OS
(cherry picked from commit 5f07fe8cbb)
2022-10-04 15:33:33 +11:00
Tony Finch
9ec7f4399f A more helpful error when --without-jemalloc is impossible
When jemalloc is the system allocator (on FreeBSD and NetBSD), trying
to build --without-jemalloc caused an obscure compiler error. Instead,
complain at configure time that --without-jemalloc cannot work. (It
needs to remain an error because it is vexing when configure quietly
ignores an explicit direction.)

(cherry picked from commit f0e79458be)
2022-09-27 14:35:29 +01:00
Evan Hunt
369858730a change ISC__BUFFER macros to inline functions
previously, when ISC_BUFFER_USEINLINE was defined, macros were
used to implement isc_buffer primitives (isc_buffer_init(),
isc_buffer_region(), etc). these macros were missing the DbC
assertions for those primitives, which made it possible for
coding errors to go undetected.

adding the assertions to the macros caused compiler warnings on
some platforms. therefore, this commit converts the ISC__BUFFER
macros to static inline functions instead, with assertions included,
and eliminates the non-inline implementation from buffer.c.

the --enable-buffer-useinline configure option has been removed.

(cherry picked from commit 1926ddc987)
2022-09-27 00:45:28 -07:00
Michał Kępień
7cea6c4211 Update BIND version to 9.18.8-dev 2022-09-09 19:58:46 +02:00
Michał Kępień
f63ffe40bb Update BIND version to 9.18.7-dev 2022-08-05 06:57:18 +02:00
Michał Kępień
be9c6f44f3 Update BIND version to 9.18.6-dev 2022-07-11 08:51:32 +02:00
Artem Boldariev
5154bac7c5 Add SSL_SESSION_is_resumable() implementation shim
This commit adds SSL_SESSION_is_resumable() implementation if it is
missing.

(cherry picked from commit 35338b4105)
2022-06-15 17:02:45 +03:00
Michał Kępień
cb817234b2 Update BIND version to 9.18.5-dev 2022-06-03 11:03:26 +02:00
Evan Hunt
a67ba6e0b9 Stop the unit tests from running twice
Move the libtest code into a 'libtest' subdirectory and make it
one of the SUBDIRS in the tests Makefile. having it at the top level
required having "." as one of the subdirs, and that caused the
unit tests to be executed twice.

(cherry picked from commit 568f65cc56)
2022-05-31 12:06:00 +02:00
Ondřej Surý
f128a9bcf2 Move all the unit tests to /tests/<libname>/
The unit tests are now using a common base, which means that
lib/dns/tests/ code now has to include lib/isc/include/isc/test.h and
link with lib/isc/test.c and lib/ns/tests has to include both libisc and
libdns parts.

Instead of cross-linking code between the directories, move the
/lib/<foo>/test.c to /tests/<foo>.c and /lib/<foo>/include/<foo>test.h
to /tests/include/tests/<foo>.h and create a single libtest.la
convenience library in /tests/.

At the same time, move the /lib/<foo>/tests/ to /tests/<foo>/ (but keep
it symlinked to the old location) and adjust paths accordingly.  In few
places, we are now using absolute paths instead of relative paths,
because the directory level has changed.  By moving the directories
under the /tests/ directory, the test-related code is kept in a single
place and we can avoid referencing files between libns->libdns->libisc
which is unhealthy because they live in a separate Makefile-space.

In the future, the /bin/tests/ should be merged to /tests/ and symlink
kept, and the /fuzz/ directory moved to /tests/fuzz/.

(cherry picked from commit 2c3b2dabe9)
2022-05-31 12:06:00 +02:00
Ondřej Surý
a50231adc1 Use libuv CFLAGS and LIBS when checking for features
When autoconf was checking for libuv features, the LIBUV_CFLAGS was not
added to CFLAGS and LIBUV_LIBS to LIBS which resulted in false
negatives.

Use AX_SAVE_FLAGS and AX_RESTORE_FLAGS to temporarily add LIBUV_CFLAGS
and LIBUV_LIBS to their respective variables.

(cherry picked from commit f063ee276e)
2022-05-18 21:22:03 +02:00
Mark Andrews
d6b07d2787 Remove extraneous '$' in AS_VAR_COPY([MAXMINDDB_PREFIX], [with_maxminddb])
(cherry picked from commit 686d691fa9)
2022-05-18 05:03:05 +10:00
Michal Nowak
8134aac39c
Update BIND version to 9.18.4-dev 2022-05-11 10:50:38 +02:00
Ondřej Surý
7fef5fc46c Add -Wl,--export-dynamic to standard LDFLAGS if supported
From the ld man page:

  When creating a dynamically linked executable, using the -E option or
  the --export-dynamic option causes the linker to add all symbols to
  the dynamic symbol table.  The dynamic symbol table is the set of
  symbols which are visible from dynamic objects at run time.

This should allow the backtrace(3) to fully resolve the symbols when
creating backtrace on an assertion failure.

(cherry picked from commit b05e20c968)
2022-05-03 21:14:25 +02:00
Artem Boldariev
26feac0c61 Implement shim for SSL_CTX_set1_cert_store() (affects Debian 9)
This commit implements a shim for SSL_CTX_set1_cert_store() for
OpenSSL/LibreSSL versions where it is not available.
2022-04-28 13:39:22 +03:00