Likun Zhang
efcdb2155e
Generate a unique session ID by using socket.gethostname() instead of socket.gethostbyname(), since the latter one could make bindctl stall if its own host name can't be resolved.(the patch was created by Jinmei and reviewed by zhanglikun)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2096 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-09 03:48:54 +00:00
Likun Zhang
f905a9cddc
Fix revision number error for item 52 in ChangeLog.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2092 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-08 11:45:27 +00:00
Likun Zhang
990e977d86
When xfrout is launched, check whether the socket file is being used by one running xfrout process, if it is, exit from python. If the file isn't a socket file or nobody is listening, it will be removed. If it can't be removed, exit from python.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2091 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-08 11:41:54 +00:00
Jelte Jansen
949ef72726
Applied second patch from ticket #227 (print module name on stdout/stderr output), reviewed by Jeremy
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2074 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-04 12:11:40 +00:00
Jelte Jansen
60f6071643
changes from http://bind10.isc.org/ticket/227 (unnamed prints), looked at by Jeremy and Evan
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2073 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-03 14:53:45 +00:00
JINMEI Tatuya
e4c31a796e
pythonic style fix:
...
- Don't use spaces around the '=' sign when used to indicate a
keyword argument or a default parameter value.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2070 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-03 00:19:35 +00:00
Jeremy C. Reed
555080e1a4
Make sure the guide is included in the tarball.
...
And point to it.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2068 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 18:10:25 +00:00
Jeremy C. Reed
f7820cd881
Also mention it includes b10-xfrin and b10-xfrout.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2065 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 17:41:58 +00:00
Jeremy C. Reed
1de73788c7
merge from trac223 for Trac #223 :
...
lib/python: Add bind10_config.py module for paths and
possibly other configure-time variables. Allow some components
to find spec files in build tree when ran from source.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2063 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 17:03:55 +00:00
Jeremy C. Reed
58fe92fe99
merge from trunk r2061:
...
Run this in the builddir (where generated bindctl exists).
For PYTHONPATH also find the moduleinfo module and isc module.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2062 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 15:11:27 +00:00
Jeremy C. Reed
2efadae260
Run this in the builddir (where generated bindctl exists).
...
For PYTHONPATH also find the moduleinfo module and isc module.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2061 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 15:09:24 +00:00
Jeremy C. Reed
9228bdce54
Remove bind10_config.pyc on "make clean"
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2060 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 14:57:25 +00:00
Jeremy C. Reed
e2efb771f5
Explicitly define DIST_COMMON so ${python_PYTHON} is not included
...
as we don't want the generated file included in distributed tarfile.
When setting DIST_COMMON, then need to add the .in file too. (Even though
listed for the configure.ac, now seems to be ignored.)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2059 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 14:49:43 +00:00
Jeremy C. Reed
46c598de1c
merge from trunk r2050:
...
Make sure generated session_config.h is removed on "make clean".
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2058 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 14:15:22 +00:00
Jeremy C. Reed
cdb1c5d672
merge from trunk r2055
...
"The msgq socket should be in a writable location when running from
source tree."
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2057 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 14:08:57 +00:00
Jelte Jansen
5c7eaa635a
add a second B10_FROM_SOURCE env var to run_bind10.sh.in; B10_FROM_BUILD (some spec files are now generated and end up in the build tree instead of the source tree)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2056 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 14:03:02 +00:00
Jeremy C. Reed
b3de4b57f6
The msgq socket should be in a writable location when running from
...
source tree.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2055 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 13:46:42 +00:00
Jelte Jansen
948aed4c7d
add srcdir/src/lib/python to pythonpath in run_bind10.sh
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2054 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 13:32:38 +00:00
Jelte Jansen
0d2d4b5fb2
renamed isc_config.py to bind10_config.py
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2053 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 13:01:20 +00:00
Jelte Jansen
2f15412900
it's quite essential that I actually add that file then, doh
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2052 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 12:56:07 +00:00
Jelte Jansen
7338eacf94
install that file
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2051 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 12:04:48 +00:00
Jeremy C. Reed
c60a11c57f
Make sure generated session_config.h is removed on "make clean".
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2050 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 12:04:04 +00:00
Jelte Jansen
ae076ba6fb
add an isc_config.py 'module' for paths and possibly other configure-time variables (currently only BIND10_MSGQ_SOCKET_FILE, and currently only used in lib/python/isc/cc/session.py)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2049 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 11:53:23 +00:00
Jelte Jansen
15252706b8
created branch for ticket #223
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2048 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 11:38:05 +00:00
Likun Zhang
e93a3fb181
Fix the code error in log message print(function log_msg is used without definition), trivial fix, so skip review.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2047 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 09:57:26 +00:00
Jeremy C. Reed
4436253788
Include external ASIO code in the tarball.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2046 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 08:13:58 +00:00
Jeremy C. Reed
e11e55d386
Add another spec file to distribution.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2045 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 08:09:07 +00:00
Jeremy C. Reed
1dd6671737
Make sure build can see the generated session_config.h.
...
(not reviewed, trivial change)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2044 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 07:13:54 +00:00
Jeremy C. Reed
1a8caabb2e
Remove unused CPPFLAGS pointing to "ext".
...
And removed unneeded SUBDIRS.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2043 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 07:10:04 +00:00
JINMEI Tatuya
7fd72bcd62
added notes about r2040 and r2041.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2042 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 06:05:56 +00:00
JINMEI Tatuya
ea57b643cd
same workaround as r2040
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2041 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 05:57:26 +00:00
JINMEI Tatuya
be33b14455
cast NULL to deal with some type of compilers
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2040 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 05:51:21 +00:00
Likun Zhang
61f0a5df14
Add bug fix information for ticket 218.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2039 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 04:14:03 +00:00
Likun Zhang
26291a118c
Fix the code error which make xfrin doesn't work, socket map should be passed to asyncore.loop(). (patch is created by Jinmei, reviewed by Jeremy and me.)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2038 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 03:55:04 +00:00
Jeremy C. Reed
3c8e4e0105
Add "build" as another identifier to the legend.
...
Add release dates for releases.
Add several old entries -- do to this re-numbered existing.
(Note that this was never released but now we should keep these unique.)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2037 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 03:41:52 +00:00
Jeremy C. Reed
7eafb11c21
Update the version (prepare for release).
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2036 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 03:37:17 +00:00
Jeremy C. Reed
d87f94d469
Commit the generated guide. (The XML source as committed
...
previously.)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2035 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 03:36:11 +00:00
JINMEI Tatuya
f21b05922d
showed URLs for svn changesets and trac tickets.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2029 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 22:43:52 +00:00
JINMEI Tatuya
c77b6926eb
added * to the ASIO change.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2028 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 22:41:05 +00:00
Jeremy C. Reed
0cebcc834d
Also point to Trac URL for complete code history.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2027 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 22:25:32 +00:00
Jeremy C. Reed
19688fc3b3
Add asterisk (*) to legend to identify backward incompatible or
...
operational change.
Add blank lins between each entry.
Reformat a long line.
(No review for this.)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2026 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 22:24:27 +00:00
JINMEI Tatuya
b9164e929f
a trivial grammar fix in an error message.
...
skipping review (or I reviewed the proposal and am making a commit)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2025 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 22:23:56 +00:00
JINMEI Tatuya
1bed75ccf0
removed redundant blank lines.
...
trivial, no review.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2024 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 22:22:17 +00:00
JINMEI Tatuya
e21ab60de7
Trac#219
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2023 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 22:17:31 +00:00
JINMEI Tatuya
03954fb8f0
added : for param_value_xxx to accept IPv6 addresses. (trac #219 )
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2022 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 22:15:44 +00:00
Jeremy C. Reed
160bc010b1
Merge from branches/trac217-remove-ext-boost
...
for Trac ticket #217 to remove ext/boost.
(This commit also has some propset changes. I don't know why.)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2020 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 20:27:40 +00:00
JINMEI Tatuya
a7ac13ce1c
style fix: removed redundant blank lines at the end of file.
...
trivial, skipping review.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2018 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 18:05:43 +00:00
Jeremy C. Reed
2658288a31
Remove ext/boost hierarchy.
...
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
2010-06-01 18:02:17 +00:00
Jeremy C. Reed
47f653792f
Add temporary branch for removing ext/boost
...
for Trac #217 .
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac217-remove-ext-boost@2016 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 17:11:39 +00:00
Jeremy C. Reed
5d8fbfef53
Remove recommendations about using Boost System (for ASIO)
...
for safer TCP. That is no longer in BIND 10.
Also some minor doc improvements. Reviewed briefly over jabber.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2015 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 16:37:11 +00:00