2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 20:47:48 +00:00

85 Commits

Author SHA1 Message Date
JINMEI Tatuya
fcd4ba602b allowed manually specififying a path to python (when only older versions of
automake is available)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1399 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-14 20:45:07 +00:00
Jeremy C. Reed
87e20bcb3d Install bindctl itself and not the shell script which was
running it from the source tree.
TODO: get the bindctl modules installed.
(As it is now the installed bindctl does not run.)

Renamed the bindctl shell script to run_bindctl.sh which can be ran
from the source.

Rename the run_loadzone to include "sh" to be like the rest in bind10.
(That is not installed.)

Update README to mention the run_*.sh scripts.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1372 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-12 21:16:15 +00:00
JINMEI Tatuya
60e25cf01d Specific versions of gcc (g++) have a bug that incorrectly warns with
-Wextra as follows: "[class name] has a field [member name] whose type
uses the anonymous namespace", even if the anonymous namespqce in
question is closed in the single translation unit:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29365

AFAICS, the intent was to warn it if the anonymous namespace is used
in a header file (which can easily violate the One Definition Rule as
discussed in the bugzilla), but gcc seemingly did too much to prevent
that.

Unfortunately this bug prohibits us from specifying -Werror, so we
selectively disable this flag by identifying g++ used for build has
this bug.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1371 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-12 20:26:53 +00:00
Jeremy C. Reed
8744991be6 Remove extra tabs.
Remove isc/Util/makefile build. This not used.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1369 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-12 17:16:02 +00:00
Jelte Jansen
f189032a01 rename unittests/ dirs to tests/
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1360 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-12 12:32:09 +00:00
Jelte Jansen
d0dbc94384 use libtool for libcfgclient too
moved tests into unittests/ subdirectory
added boostlibs ldd flag if needed


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1321 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-11 10:17:03 +00:00
JINMEI Tatuya
87ccb0c631 - tighten validation on incoming requests. return an response rather than
ignoring requests when an error occurs
- added a framework for auth server unit test with an initial simple test


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1306 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-11 00:14:33 +00:00
JINMEI Tatuya
2ab95a0f72 cancel not-yet-ready part of the patch
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1305 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-11 00:03:07 +00:00
JINMEI Tatuya
3a29ffe4f5 - made lib/dns -Wextra safe.
- introduced new macro UNUSED_PARAM to tell gcc that particular variables are
  intentionally unused
- enabled -Wextra by default


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1304 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-10 23:59:29 +00:00
Jeremy C. Reed
e5579aa496 Add -Wextra to the default compiler settings for GCC.
(I removed this from my on-commit autobuilder custom flags.)
Note that it doesn't have -Werror.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1302 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-10 23:48:50 +00:00
Jelte Jansen
700baf90cd specifying only --with-boostlib in configure makes make stop because $boostlib will be set to 'yes', so we need to test the system libraries in that case too
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1282 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-10 16:12:31 +00:00
Likun Zhang
fd89e862b5 Move usermgr from "trunk/tools/" to "trunk/src/bin" according Jeremy's suggestion. usermgr can be installed now.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1272 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-10 08:48:08 +00:00
Evan Hunt
4eb18c3bb8 add src/lib/auth/tests to configure
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1262 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-10 04:38:54 +00:00
Jeremy C. Reed
36c1a6d261 Don't override CXXFLAGS, just append.
(So user can choose there own on configure line and
also don't lose what configure detects and assigns.)

Add a TODO: check for _sqlite3.py module


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1254 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-10 00:20:35 +00:00
JINMEI Tatuya
6749cda4de allow --without-boostlib (or --with-boostlib=no) to force disabling
boost library (and boost::asio)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1253 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-09 23:57:44 +00:00
JINMEI Tatuya
07b1694cab renamed auth/config.h to auth/spec_config.h as it confused the compiler
with ${top_dir}/config.h.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1251 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-09 23:27:09 +00:00
JINMEI Tatuya
f9129adbd1 sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1248 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-09 22:42:40 +00:00
Likun Zhang
7e9fb87baf Add the code for module xfrin.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1235 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-09 14:13:18 +00:00
JINMEI Tatuya
91cfdfed1b incorporated the jelte-tcp branch, and made it possible to selectively build
the ASIO version or the builtin socket API version depending on the
availability of the boost::system library.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1226 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-09 04:42:29 +00:00
Shane Kerr
1257b9301f Moved tests to their own subdirectory.
Adding wait for retry on process failure.



git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1220 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-08 22:21:25 +00:00
JINMEI Tatuya
14297b86e7 experimental UDP/TCP auth server using boost::asio
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1195 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-08 07:58:25 +00:00
Jeremy C. Reed
67ceab04f4 Don't need to make b10-loadzone executable. It already is.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1141 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-05 22:05:05 +00:00
Evan Hunt
98062144f4 Merged b10-loadzone command
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1139 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-05 19:45:24 +00:00
Jeremy C. Reed
f6b56b4754 Add minimum version of sqlite3.
I don't know if this is perfect, but I read that the sqlite3_prepare_v2 API
was added in 3.3.9.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1135 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-05 18:41:03 +00:00
Jeremy C. Reed
8b7224c5d5 Remove AC_PROG_RANLIB since is obsolete when using AC_PROG_LIBTOOL.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1133 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-05 17:59:55 +00:00
Jeremy C. Reed
2e119c7e22 Restructure trunk again.
This is based on ideas done in experiments/jreed-layout, but
I manually did this again.

Moved around directory structures.
A single python subdirectory under src/lib for single "isc" module.
No "cpp" directories.

No pyshared or includes symlink trees.

I tested running the c++ tests and python tests.
I tested running run_bind10.sh from source tree (with nothing installed).
I tested running bind10 from installed (after moving source).


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1120 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-05 04:31:28 +00:00
Shane Kerr
f323d38fa5 Removed the broken search for run_b10-cfgmgr.sh
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1069 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-02 14:26:03 +00:00
JINMEI Tatuya
1bff985ad6 added +x for the newly added .py file
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1058 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-01 20:32:45 +00:00
JINMEI Tatuya
633d7de9e7 generate gen-wiredata.py from the .in file
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1057 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-01 20:20:18 +00:00
Jelte Jansen
7922531b91 removed obsolete start shellscript
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1044 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-28 21:41:15 +00:00
Jelte Jansen
dbf288e25b moved python unittests to unittests/ directory
removed a few prints from cfgmgr


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1002 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-26 13:57:03 +00:00
Evan Hunt
404aa0602f Committed each-ds branch to trunk (still needing formal review; see
ticket #50 for full details)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@988 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-26 06:32:44 +00:00
JINMEI Tatuya
4c8e6bbb9e more sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@972 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-25 22:36:42 +00:00
Likun Zhang
5281fe9e81 1. Add unittests and help information for cmdctl and bindctl.
2. Add login idle timeout for cmdctl, default idle time is 1200 seconds.
3. Refactor some code for cmdctl.

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@961 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-25 08:20:48 +00:00
Jeremy C. Reed
2784c595fd Add AC_SEARCH_LIBS to add libraries to LIBS as noticed on Solaris10.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@785 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 19:11:57 +00:00
Jeremy C. Reed
fadf58e7ee Remove parkinglot from trunk. It is still in branches/parkinglot if needed.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@784 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 19:05:57 +00:00
JINMEI Tatuya
6582726397 moved unit test related files to tests/ as we agreed in the f2f week.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@742 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-06 00:39:24 +00:00
Jelte Jansen
3a866699f9 moved exceptions out of libdns and created libexceptions
don't forget to make clean and autoreconf again


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@735 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-05 11:09:38 +00:00
JINMEI Tatuya
1675d4a7cb re-enabled -Woverloaded-virtual
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@731 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-05 04:41:55 +00:00
Jelte Jansen
300ebfaf17 renamed camelCase methods to underscored in the python config classes
started with unittests for config/python


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@719 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-04 12:13:46 +00:00
Jeremy C. Reed
5fad17f5bc Change package name from "bind" to "bind10". I know this is redundant
for bind10-10.0.0.  This defines @PACKAGE@ or $PACKAGE used for
installation subdirectory names.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@711 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-03 17:28:49 +00:00
Jelte Jansen
80707c7c0d tests for data_def.cc
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@708 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-03 12:08:19 +00:00
Jelte Jansen
119fd99358 move python lib path ISC/CC to isc/cc
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@695 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-01 10:48:19 +00:00
Evan Hunt
8399a64371 Merged experiments/each-query branch into parkinglot.
(This now builds the b10-auth binary.  The b10-parkinglot binary is
still being built for reference purposes, but is expected to be removed.
Both programs use port 5300, so they cannot be run simultaneously.)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@690 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 07:39:38 +00:00
JINMEI Tatuya
077ed33f96 - moved concrete Rdata class definitions to separate directories under rdata/
- introduced unified auto-code generation with a python script for the rdata
  related definitions


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@633 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 09:36:01 +00:00
Jeremy C. Reed
46ed5e9248 Also add python #! line to b10-cfgmgr.py.in
(it is renamed from b10-cfgmgr.py.)
And path for the modules is added.

Move b10-cfgmgr.in to run_b10-cfgmgr.sh.in
(this is used to run in source tree).

For these shell scripts, run from abs_top_builddir not abs_top_srcdir.
(I will do a later commit for the execute permissions.)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@620 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 01:41:02 +00:00
Jeremy C. Reed
4ba582b695 Move b10-cmdctl.in to run_b10-cmdctl.sh.in.
Move b10-cmdctl.py to b10-cmdctl.py.in.

Move msgq.in to run_msgq.sh.in.
Move msgq.py to msgq.py.in.

At same time, the new installed versions are installed to libexec
directory and runnable from there.

TODO: the run*sh.in scripts are still broken (before my commits)
as they use abs_top_srcdir instead of builddir.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@615 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 01:02:47 +00:00
Jeremy C. Reed
2240b75fe4 Rename bind10.in to run_bind10.sh.in -- this is the script that
can be ran from source tree.

Rename bind10.py to bind10.py.in -- this is the bind10 tool. It
has the python and python module path added to it.

The python script will actually startup from installed directory.

TODO: bind10 will run daemons from @libexecdir@ (I will commit those
daemon install changes shortly).
TODO: don't need special python handling.
TODO: split out all functionality to a bind10 specific module


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@613 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 00:30:15 +00:00
Jeremy C. Reed
eb0da69260 Install the config python modules.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@612 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 00:18:09 +00:00
Likun Zhang
ed538af714 Move files from /src/lib/bindctl to /src/bin/bindctl.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@608 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 23:47:18 +00:00