Ondřej Surý
1d92178bec
When --with-python is given to configure, use default search list for python binaries instead of 'yes'
...
(cherry picked from commit 3951cb053b )
2019-01-18 15:15:02 +01:00
Ondřej Surý
4892b52156
Fix the stdatomic #ifdefs to work with older compilers
2018-12-21 09:29:47 +01:00
Evan Hunt
8d698288fb
set the export-dynamic linker flag on linux
...
(cherry picked from commit 4ae085a066 )
2018-11-28 23:38:43 -08:00
Ondřej Surý
6c4b8ee8ee
Fix build-time Python configuration
...
Apply various fixes and tweaks to Python configuration logic implemented
in the "configure" script:
- Prevent PYTHON_INSTALL_DIR, which holds the value passed to the
--with-python-install-dir option, from being set to "unspec" by
default as this breaks installing Python modules when the
--with-python-install-dir option is not used.
- Make the --with-python-install-dir option also work when the Python
interpreter is specified explicitly (using --with-python=<...>).
- Improve contents and placement of error messages.
- Reduce duplication of code checking Python dependencies.
- Use Autoconf macros AS_CASE() and AS_IF() instead of plain shell
code.
- Update comments. Capitalize the word "Python" when referring to the
language itself rather than a specific executable.
(cherry picked from commit ed4c700c33 )
2018-11-27 15:52:40 +01:00
Ondřej Surý
af1c5ef613
Add python3.6 and python3.7 to the search list of python versions
...
(cherry picked from commit da9038e9a0 )
2018-11-27 10:33:33 +01:00
Evan Hunt
2d7235e1f1
warn, rather than failing, if kyua is not present
...
(cherry picked from commit 6cfb2249e1 )
2018-11-16 12:42:39 -08:00
Ondřej Surý
d196b5e493
Remove embedded atf-src and enforce atf >= 0.20 + kyua as execution engine
...
(cherry picked from commit de219b8555 )
2018-11-16 09:17:32 -08:00
Evan Hunt
2ed9b06ab8
remove ATF source code and Atffiles
...
(cherry picked from commit 8c4d50c6bc )
(cherry picked from commit 33f428efda )
2018-11-15 17:52:00 -08:00
Evan Hunt
6295b44ed6
remove ATF from configure
...
(cherry picked from commit efe3c038b1 )
(cherry picked from commit 4f3073de7c )
2018-11-15 17:51:59 -08:00
Mark Andrews
0c738a5673
require cmocka >= 1.0.0
...
(cherry picked from commit f3ff5f63ac )
2018-11-12 18:42:58 +11:00
Ondřej Surý
6b50da7ba8
Use cmocka_set_message_output as test function for cmocka presence
...
(cherry picked from commit 0158c1a4ea )
2018-11-12 17:25:30 +11:00
Ondřej Surý
760e336e89
Set with_cmocka=no by default
...
(cherry picked from commit ed8000f333 )
2018-11-12 00:01:24 -05:00
Mark Andrews
af5a051e4d
check result tables are complete
...
(cherry picked from commit 4f04a79250 )
2018-11-12 15:32:58 +11:00
Ondřej Surý
2dcc521b29
Add --wrap linker option detection
...
(cherry picked from commit 10535d1c79 )
2018-11-12 12:54:59 +11:00
Ondřej Surý
b0745fb156
Integrate cmocka unit testing framework to kyua
...
(cherry picked from commit 07910f0153 )
2018-11-12 12:53:15 +11:00
Ondřej Surý
2079e44fb9
Define PK11_UTIMACO_FLAVOR and add detection code to configure.ac
2018-11-09 00:07:44 +07:00
Ondřej Surý
29601a6e7e
Disable Ed448 algorithm, the implementation in BIND 9 is incomplete and broken
...
(cherry picked from commit 03c7bb9ab3 )
2018-11-08 22:42:52 +07:00
Ondřej Surý
9d15323e24
Add small tweaks to the code to fix compilation when ISC assertions are disabled
...
While implementing the new unit testing framework cmocka, it was found that the
BIND 9 code doesn't compile when assertions are disabled or replaced with any
function (such as mock_assert() from cmocka unit testing framework) that's not
directly recognized as assertion by the compiler.
This made the compiler to complain about blocks of code that was recognized as
unreachable before, but now it isn't.
The changes in this commit include:
* assigns default values to couple of local variables,
* moves some return statements around INSIST assertions,
* adds __builtin_unreachable(); annotations after some INSIST assertions,
* fixes one broken assertion (= instead of ==)
(cherry picked from commit fbd2e47f51 )
(cherry picked from commit b222783ae9 )
2018-11-08 22:00:49 +07:00
Mark Andrews
0768f54fd2
require python to be explicitly disabled
...
(cherry picked from commit bf8746126c )
2018-11-06 16:44:06 +11:00
Ondřej Surý
a586ae7793
Rename configure.in to configure.ac
2018-10-23 10:00:42 +02:00
Petr Menšík
2b91689473
Fix arch-dependent getnameinfo types
...
getnameinfo() parameters are detected by configure. Current glibc uses
socklen_t for BUFLEN and int for flags. Because that parameters are
tested only as fallback, it does detect it different way on 32-bit
system. socklen_t is compatible with size_t type on these systems.
Try all variants with int flags, use unsigned flags as last resort.
(cherry picked from commit b427dcce83 )
2018-10-03 16:36:14 +10:00
Evan Hunt
ee8cb1b480
report "$CC --version" output as part of the configure summary
...
(cherry picked from commit a6f43574a0 )
2018-09-10 10:03:30 -07:00
Ondřej Surý
bfc6a25f2d
Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants
...
(cherry picked from commit 64fe6bbaf2 )
(cherry picked from commit c863a076ae )
2018-08-10 15:20:57 +02:00
Ondřej Surý
68c739d321
Check for C99 compatible compiler
...
(cherry picked from commit 9e493798c6 )
(cherry picked from commit ee22f606ae )
2018-08-10 11:42:43 +02:00
Mark Andrews
32b37f761c
add /opt/local/share/xsl/docbook-xsl-nons to the places to look for manpages/docbook.xsl under macports
...
(cherry picked from commit 7425252207 )
2018-08-02 14:09:32 +10:00
Evan Hunt
a1690b24bc
prepare 9.11.4rc1
2018-06-21 18:54:43 +02:00
Ondřej Surý
ff4b8c29d9
Fix extra ] in configure.in
...
(cherry picked from commit 35d2dbb9f5 )
(cherry picked from commit 30b308e2e3 )
2018-05-03 21:44:36 +02:00
Ondřej Surý
f3414c74ec
Add support for LibreSSL 2.7
...
(cherry picked from commit 29ff62a149 )
2018-05-03 14:27:33 +02:00
Ondřej Surý
31e5ceeea7
Print information about LIBIDN2 in Configuration summary ( Closes : #163 )
...
(cherry picked from commit 8da5e5290f )
2018-04-05 12:05:59 +02:00
Petr Menšík
3b2294c56a
Remove -lidn2 from exported LIBS. Do not propagate it from isc-config.sh --libs isc.
...
(cherry picked from commit 21c2871667 )
2018-04-05 12:05:57 +02:00
Ondřej Surý
9e2d1ddf22
Remove obsolete OpenSSL version check
...
(cherry picked from commit e9571d29af )
2018-03-17 14:31:47 +00:00
Ondřej Surý
c085286822
Simplify the libidn2 configure checks
...
(cherry picked from commit 76c05a71fc )
2018-03-17 13:36:33 +00:00
Evan Hunt
941946cf14
remove lib/tests as nothing uses it anymore
...
(cherry picked from commit d132f73497 )
(cherry picked from commit d35f62434a )
2018-03-09 15:48:32 -08:00
Evan Hunt
57a5820dcc
migrate t_dst signature test to lib/dns/tests/dst_test
...
(cherry picked from commit a4ebe83cdb )
(cherry picked from commit 4439c471d1 )
2018-03-09 15:46:53 -08:00
Evan Hunt
d3518e57b1
migrate t_db to lib/dns/tests/db_test
...
(cherry picked from commit f58ac8ada3 )
(cherry picked from commit 56da937399 )
2018-03-09 15:42:07 -08:00
Evan Hunt
b2fef3b438
migrate t_names to lib/dns/tests/name_test
...
(cherry picked from commit 8ecf69ef7b )
(cherry picked from commit aefad99e1e )
2018-03-09 15:40:21 -08:00
Evan Hunt
42fa3932ab
migrate t_rbt to lib/dns/tests/rbt_test
...
(cherry picked from commit 109546cbda )
(cherry picked from commit c505afd183 )
2018-03-09 15:39:42 -08:00
Evan Hunt
38f9cddcad
migrate t_tasks to lib/isc/tests/task_test
...
(cherry picked from commit c6c1e99252 )
(cherry picked from commit 88bfe56876 )
2018-03-09 15:38:53 -08:00
Evan Hunt
5dd25f2285
migrate t_resolver to lib/dns/tests/resolver_test
...
(cherry picked from commit d80825c40b )
(cherry picked from commit 30e157f6e4 )
2018-03-09 15:38:30 -08:00
Evan Hunt
274ee0b425
migrate t_timers to lib/isc/tests/timer_test
...
(cherry picked from commit e2b8699df9 )
(cherry picked from commit efccdad0ea )
2018-03-09 15:37:03 -08:00
Evan Hunt
492e19d6ec
migrate t_atomic to lib/isc/tests/atomic_test
...
(cherry picked from commit 874e2fc70c )
(cherry picked from commit c7fa56e8db )
2018-03-09 15:35:09 -08:00
Evan Hunt
814cd21e22
migrate t_mem to lib/isc/tests/mem_test
...
(cherry picked from commit 979f054702 )
(cherry picked from commit af48544b75 )
2018-03-09 15:34:31 -08:00
Evan Hunt
faedafd2b4
migrate t_net to lib/isc/tests
...
(cherry picked from commit 05b7251d51 )
(cherry picked from commit af0c9b2cee )
2018-03-09 15:33:48 -08:00
Evan Hunt
323e2f7152
migrate t_sockaddr to lib/isc/tests
...
(cherry picked from commit 62f650078a )
(cherry picked from commit fadb93cf43 )
2018-03-09 15:33:01 -08:00
Evan Hunt
c644427b77
remove hashes test (duplicates lib/isc/tests/hash_test)
...
(cherry picked from commit 6ad1a042bc )
(cherry picked from commit e686b9c297 )
2018-03-09 15:32:30 -08:00
Evan Hunt
ae39f25a10
remove master test (duplicates lib/isc/tests/master_test)
...
(cherry picked from commit 6717f31e10 )
(cherry picked from commit 36d08442bc )
2018-03-09 15:32:00 -08:00
Evan Hunt
e062109659
move all optional tests from bin/tests to bin/tests/optional
...
- some of these tests are obsolete and should be cleared up,
others overlap with ATF tests and may be removed later.
for now, let's just tidy up the bin/tests directory by
moving these files down a level.
(cherry picked from commit 344ab0eb7d )
(cherry picked from commit dafdf2c09b )
2018-03-09 15:29:59 -08:00
Ondřej Surý
b02bf3b8a2
Update documentation to remove obsolete bind9-bugs@isc.org email address
...
(cherry picked from commit efc9bc5d8d )
(cherry picked from commit 486e79050f )
2018-03-08 10:40:12 -08:00
Evan Hunt
167fa161d1
parallelize most system tests
...
(cherry picked from commit c032c54dda )
(cherry picked from commit 2b81f322cb )
2018-02-23 13:23:31 -08:00
Mark Andrews
31c7ab4fb3
4811. [bug] Revert api changes to use <isc/buffer.h> inline
...
macros. Provide a alternative mechanism to turn
on the use of inline macros when building BIND.
[RT #46520 ]
(cherry picked from commit a1a5145867 )
2018-01-25 16:42:37 +11:00