Remove the use of ext/boost from configure.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac217-remove-ext-boost@2017 e5f2f494-b856-4b98-b285-d166d9295462
(removing the custom code altogether in favour of asio is under consideration)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac183@2008 e5f2f494-b856-4b98-b285-d166d9295462
Add __init__ function to RotatingFileHandler class
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac176@2006 e5f2f494-b856-4b98-b285-d166d9295462
- suppress the gcc unused parameters warning selectively (as a workaround) in a most portable way
- introduce B10_CXXFLAGS as the default to AM_CXXFLAGS to make the first change possible (that's why I modified so many other Makefile.am's even if they are irrelevant to asio)
- remove dependency on boost system library: it was only needed for the boost version of ASIO.
- hide details that require ASIO related definitions from xfr_client.h to avoid being hit by the 'unused parameter' problem accidentally.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1953 e5f2f494-b856-4b98-b285-d166d9295462
src/lib/cc/session.cc that were triggered by ASIO code.
- move ext/boost and ext/asio each down one level, to ext/boost/boost
and ext/asio/asio. This allows groups of external headers to be
included more selectively: we can switch on asio without also including
boost, or change the boost include directory without losing asio.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1952 e5f2f494-b856-4b98-b285-d166d9295462
also add log in xfrout module for testing.
Currently, logging module supports three channels:stderr
file and syslog.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac176@1946 e5f2f494-b856-4b98-b285-d166d9295462
they should not be needed now. (And because --with-boost-include would
cause the build not to find the ASIO headers.)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1921 e5f2f494-b856-4b98-b285-d166d9295462
on the msgq and python side, the socket file is either:
- what is speficied as an argument to the constructor, OR
- environment variable BIND10_MSGQ_SOCKET_FILE, OR
- default (@localstatedir@/msgq_socket)
in that order.
two open items:
TODO: run_X scripts should set a local file in BIND10_MSGQ_SOCKET_FILE (so if installed dirs don't exist run from source fails right now)
TODO: the c++ boost::asio version has no 'manual override', only environment variable or default. (which is better than what it was before, only hardcoded port 9912), fixing this would mean an API change somewhere
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac183@1901 e5f2f494-b856-4b98-b285-d166d9295462
(lots of stuff missing, most of it from before we did TDD, so i'll fill those out next and then write tests for the features that are to be added before we can merge it)
git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@1894 e5f2f494-b856-4b98-b285-d166d9295462
Also saved to a file: config.report.
(Okayed to commit on phone with Shane.)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1836 e5f2f494-b856-4b98-b285-d166d9295462
Moved msgq tests to own directory.
Added targets for all known python unittests.
Note this is for those that use the unittest module.
Other tests are ignored for now.
These tests are ran using "make check" even if not built
with gtest.
Some of these tests fail. I will comment them out in later commit.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac153@1753 e5f2f494-b856-4b98-b285-d166d9295462
updated configure.ac to check for existence of python-config and Python.h
git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@1715 e5f2f494-b856-4b98-b285-d166d9295462
Some CLEANFILES cleanup (don't need to list files already known
via configure.ac's AC_OUTPUT).
Add b10-xfrout to CLEANFILES to make sure it is removed on a make clean.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1652 e5f2f494-b856-4b98-b285-d166d9295462
1. When auth server get axfr query in tcp, the query message and tcp socket will be sent to xfrout process over sendmsg/recvmsg, then auth server will close the tcp socket, or get the next tcp query on the socket. Xfrout send the query response over the tcp socket it received from auth server.
2. Since python3.1 didn't provide the wrapper of sendmsg() and recvmsg() for C socket module(Seems they plan do it in python3.2), I have to write the code in c++, and make python binding for it. See the code in file /src/lib/xfr/fd_share.cc and /src/lib/xfr/python_xfr.cc.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1630 e5f2f494-b856-4b98-b285-d166d9295462
use AM_PYTHON_CHECK_VERSION.
with additional cleanup: stop hardcoding a particular version number in
configuration variables.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1622 e5f2f494-b856-4b98-b285-d166d9295462
Now use --disable-install-configurations to disable.
It still checks before overwriting.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1590 e5f2f494-b856-4b98-b285-d166d9295462
One one of my systems, I had boost headers, but not this header
so build failed later.
(TODO: should check for boost version too.)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1572 e5f2f494-b856-4b98-b285-d166d9295462
for DISTCHECK_CONFIGURE_FLAGS to disable the custom installation
of configurations, so the make distcheck uninstall doesn't have
leftover files.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1570 e5f2f494-b856-4b98-b285-d166d9295462
Note the var and etc directories will have "bind10-devel" now.
This makes it clear that this is still experimental.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1567 e5f2f494-b856-4b98-b285-d166d9295462
I have been using this for a few days for building from the tarball
which doesn't include ext/boost and my system doesn't have
boost headers in standard location.
Also check for the boost headers.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1504 e5f2f494-b856-4b98-b285-d166d9295462
these don't need the msgq running
we might want to look into the previous test_session.py to see
how much can be moved to this one
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1477 e5f2f494-b856-4b98-b285-d166d9295462