2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00
Commit Graph

594 Commits

Author SHA1 Message Date
Jeremy C. Reed
bf53fbd4e9 [master] change package name to bind10
instead of bind10-devel

also increase the version to today's date stamp (not for "beta")
2012-12-19 10:15:10 -06:00
JINMEI Tatuya
f91f820e56 [2380] removed old loadzone source 2012-12-19 10:53:53 +01:00
JINMEI Tatuya
a51b040470 [2380] removed loadzone/tests/error completely.
see the log for the previous commit for the rationale.
2012-12-19 10:53:26 +01:00
JINMEI Tatuya
2b23275bd5 [2380] replaced old loadzone with the new one.
test parameters were adjusted accordingly.
there are some non trivial adjustments needed for the 'correct' test
cases for the original loadzone:
- completing the origin for some RDATA paramaeters (NS, SOA) does not
  work yet until we complete the RDATA support.  At the moment
  I made them FQDNs with comments
- a few TXT data were actually incorrect in the original tests, which
  caused a seeming regression.  I fixed the test data.
- there was one real bug in the $INCLUDE + origin support.  I'll go
  fix it; right now it fails

The 'error' test cases for the original loadzone also fail, but overall
the intended behavior looked preserved.  Fixing the tests to make it pass
seems to be quite difficult (because log output are different, and
the new loadzone ng is more verbose), so I plan to simply remove these
tests.
2012-12-19 10:52:48 +01:00
JINMEI Tatuya
52f3401fb5 [2380] removed to-be-removed Makefiles from configure.ac.
final cleanup for these obsolete test cases will be done at the end of the
task.  this change helps distcheck at the moment.
2012-12-14 09:58:51 -08:00
JINMEI Tatuya
e7f01efd35 [2380] introduced some initial framework for new loadzone 2012-12-13 19:04:12 -08:00
Jelte Jansen
74a0abe5a6 [master] Merge branch 'trac2445' 2012-12-11 10:56:33 +01:00
Jeremy C. Reed
172e704b66 [master] set DISTCHECK_GTEST_CONFIGURE_FLAG for --with-gtest too
This is for trac #2481. Review via jabber.
2012-12-10 13:41:48 -06:00
Marcin Siodelski
dbf7313f6b [2479] Moved perfdhcp/template folder to perfdhcp/tests/testdata. 2012-12-04 20:29:20 +01:00
Jelte Jansen
a5330334a5 [2445] Create unit tests and fix a few issues
Also updated log's README
2012-12-02 22:25:12 +01:00
Jelte Jansen
43b0ea4216 [master] Merge branch 'trac1044' 2012-11-28 11:17:12 +01:00
Jelte Jansen
ebe0d8a602 [1044] Address review comments
See http://bind10.isc.org/ticket/1044#comment:13
2012-11-22 15:30:18 +01:00
Stephen Morris
d2551c3b2b [2475] Split dhcp files into dhcp and dhcpsrv directories 2012-11-16 11:19:19 +00:00
Jelte Jansen
35491a7585 [1044] Added b10-certgen tool
To verify and update the b10-cmdctl certificate, using a few hardcoded certificate options (cn=localhost, o=BIND10, country=US).

The tool can also be used to update the existing certificate if it has expired (it is only valid for 1 year)
2012-11-15 14:26:46 +01:00
Jeremy C. Reed
d654be880d [master] check for mysql.h not mysql/mysql.h
since mysql directory may already be provided by mysql_config output
and anyways mysql.h is used by the code.
2012-11-14 07:33:55 -06:00
Stephen Morris
4e7a8f7575 [2342] Merge branch 'master' into trac2342
Conflicts:
	doc/devel/mainpage.dox
	src/lib/dhcp/Makefile.am
	src/lib/dhcp/lease_mgr.cc
	src/lib/dhcp/lease_mgr.h
	src/lib/dhcp/tests/Makefile.am
	src/lib/dhcp/tests/lease_mgr_unittest.cc

A number of other files were modified to resolve incompatibilities
in the way lease managers were created, and to promote the dummy
"memfile" lease manager to a fully-fledged lease manager with
unit tests.
2012-11-11 22:55:41 +00:00
JINMEI Tatuya
f2b5789e89 [2356] share the rpath m4 function with examples in the top level configure.ac 2012-10-31 15:57:26 -07:00
JINMEI Tatuya
59a449f506 [master] Merge branch 'trac2297' 2012-10-29 14:08:11 -07:00
Stephen Morris
a0f0141e8e [2342] Address comments in second review. 2012-10-29 13:43:31 +00:00
Mukund Sivaraman
f49a406828 [master] Disable MutexTest.destoryLocked on Solaris 2012-10-26 09:21:19 +05:30
Mukund Sivaraman
653d1d854a Merge branch 'master' into trac2236
Conflicts:
	src/bin/auth/auth_srv.cc
	src/bin/auth/tests/auth_srv_unittest.cc
2012-10-26 04:24:07 +05:30
JINMEI Tatuya
0dfa29e875 [2297] configure.ac and makefile updates for run_sysinfo 2012-10-24 21:10:39 +00:00
Stephen Morris
b0ed08d214 [2342] Address review changes (in comment:5 of the ticket) 2012-10-24 14:12:06 +01:00
Mukund Sivaraman
98db15a31f [2236] Add comments to configure.ac about --enable-debug and performance 2012-10-23 09:25:20 +05:30
Stephen Morris
15bc004f20 [2342] Corrections to comments in configure.ac 2012-10-22 21:28:41 +01:00
Stephen Morris
1d70d3df4d [2342] Enable MySQL support with flag in configure.ac 2012-10-22 20:05:35 +01:00
Jeremy C. Reed
7161d9d899 [trac2361] fix issue where the bind10 could not run in source tree
when the installation was not done yet.

I added extra local_plugins path and custom datasrc.spec plugin for that.
2012-10-19 10:14:44 -05:00
Mukund Sivaraman
149df5a690 [2236] Add status whether debugging is enabled in configure output
This also fixes a bug where the AM_CONDITIONAL was not set properly.
2012-10-18 19:12:37 +05:30
Mukund Sivaraman
4887037cd0 [2236] Add a --enable-debug configure flag 2012-10-18 19:02:04 +05:30
Jelte Jansen
8580400e93 [master] Merge branch 'trac2349'
Conflicts:
	src/lib/util/threads/tests/lock_unittest.cc
2012-10-18 14:19:35 +02:00
Jelte Jansen
3a73fff8f4 [2349] forgot to remove a line from configure.ac 2012-10-15 16:09:50 +02:00
JINMEI Tatuya
55be177fc4 [2340] removed a bogus 'test' within a test(1) expression. 2012-10-11 10:04:42 -07:00
JINMEI Tatuya
ecdf1aeb4b [2339] changed the search order of python executable: seek python3.x first.
this works around a bit awkward installation setup where there's a link
from "python3" to "python3.x" but not from "python3-config" to the
corresponding "python3.x-config".  That happens for recent versions of
Homebrew.
2012-10-11 10:04:42 -07:00
Mukund Sivaraman
b2eedd0aeb [master] Remove empty GNU-style dist files 2012-10-11 10:04:33 -07:00
JINMEI Tatuya
0dca4820d8 [1870] removed src/bin/host/Makefile from toplevel configure.ac. 2012-10-11 10:04:31 -07:00
JINMEI Tatuya
3e2a372012 [2340] corrected the position of closing 'fi' for an 'if GXX = yes'. 2012-10-11 10:04:24 -07:00
JINMEI Tatuya
b05952bb39 [2340] added workaround for the clang++ "unused arguments" warn/error.
by specifying -Qunused-arguments.  Also, as a cleanup for better organization
I moved compiler specific settings to earlier part of configure.ac, where
this workaround was added.
2012-10-11 10:04:22 -07:00
JINMEI Tatuya
b770f51096 [2340] Revert "[2340] specify thread flag as part CPPFLAGS, not LDFLAGS."
This reverts commit daf81c8846.

I believe the sense of the change is correct, but it has effects on
other OSes, so it's probably better to use clang specific workaround
(will commit it later).
2012-10-11 10:04:19 -07:00
JINMEI Tatuya
1426bb5c63 [2340] specify thread flag as part CPPFLAGS, not LDFLAGS.
newer version of clang treats the latter as a fatal error.
2012-10-11 10:04:05 -07:00
Jelte Jansen
030aef1998 [2349] Ignore EXPECT_DEATH when run in valgrind
Valgrind complains (probably rightfully so) that memory is leaking in death-tests. This has been reported upstream, but is not addressed yet, and may not be in the near future, if at all (one response was don't use EXPECT_DEATH).

So I added a checker function, *if* valgrind headers are available, that returns true if the tests are run under valgrind. Death tests are now ignored if so.

Note that we should be very careful about using this; and only use it for things we are sure valgrind can't help, since it is possible to do things differently when using valgrind, which kind of defeats its purpose
2012-10-11 17:22:23 +02:00
JINMEI Tatuya
74911480e9 [2339] changed the search order of python executable: seek python3.x first.
this works around a bit awkward installation setup where there's a link
from "python3" to "python3.x" but not from "python3-config" to the
corresponding "python3.x-config".  That happens for recent versions of
Homebrew.
2012-10-09 13:17:59 -07:00
Mukund Sivaraman
5879860e00 [master] Remove empty GNU-style dist files 2012-10-09 10:21:48 +05:30
JINMEI Tatuya
4973e638d3 [master] Merge branch 'trac1870' 2012-10-08 14:02:58 -07:00
Michal 'vorner' Vaner
7eaa1760f3 Merge #2202
The locking of client lists in auth server. This is to allow background
loading later on.

Conflicts:
	src/bin/auth/auth_srv.cc
	src/bin/auth/auth_srv.h
2012-10-02 21:21:56 +02:00
JINMEI Tatuya
8f7c28971b [1870] removed src/bin/host/Makefile from toplevel configure.ac. 2012-10-01 15:12:15 -07:00
JINMEI Tatuya
c0672d18dc [master] Merge branch 'trac2282merge' 2012-09-26 11:03:47 -07:00
Marcin Siodelski
6c192e5c09 [master] Merge branch 'trac1960'
Conflicts:
	tests/tools/perfdhcp/Makefile.am
	tests/tools/perfdhcp/tests/command_options_unittest.cc
2012-09-26 09:58:50 +02:00
JINMEI Tatuya
360b20fadb [2282] Merge branch 'trac2219' into trac2282 2012-09-25 14:43:03 -07:00
JINMEI Tatuya
97e21bca2d [2219] moved in-memory unit tests under datasrc/tests to resolve dependency.
the tests now depend on libdatasrc, while libdatasrc needs memory.la.
so we need to build any tests after building all libraries.
2012-09-21 16:18:03 -07:00
Marcin Siodelski
f4c07bf162 [1960] Remove unused CLOCK_GETTIME_LDFLAGS and HAVE_GETIFADDRS.
The refactored code neither uses clock_gettime  nor HAVE_GETIFADDRS.
2012-09-21 19:32:08 +02:00