[svn] commit: r2901 - in /branches/trac322/src/bin: bind10/ bindctl/ cfgmgr/ cmdctl/ loadzone/ msgq/ usermgr/ xfrin/ xfrout/ zonemgr/

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Sep 9 18:19:16 UTC 2010


Author: vorner
Date: Thu Sep  9 18:19:16 2010
New Revision: 2901

Log:
Rename the processes

Modified:
    branches/trac322/src/bin/bind10/bind10.py.in
    branches/trac322/src/bin/bindctl/bindctl-source.py.in
    branches/trac322/src/bin/cfgmgr/b10-cfgmgr.py.in
    branches/trac322/src/bin/cmdctl/cmdctl.py.in
    branches/trac322/src/bin/loadzone/b10-loadzone.py.in
    branches/trac322/src/bin/msgq/msgq.py.in
    branches/trac322/src/bin/usermgr/b10-cmdctl-usermgr.py.in
    branches/trac322/src/bin/xfrin/xfrin.py.in
    branches/trac322/src/bin/xfrout/xfrout.py.in
    branches/trac322/src/bin/zonemgr/zonemgr.py.in

Modified: branches/trac322/src/bin/bind10/bind10.py.in
==============================================================================
--- branches/trac322/src/bin/bind10/bind10.py.in (original)
+++ branches/trac322/src/bin/bind10/bind10.py.in Thu Sep  9 18:19:16 2010
@@ -63,6 +63,9 @@
 import posix
 
 import isc.cc
+import isc.bind10.rename
+
+isc.bind10.rename.rename()
 
 # This is the version that gets displayed to the user.
 __version__ = "v20100531"

Modified: branches/trac322/src/bin/bindctl/bindctl-source.py.in
==============================================================================
--- branches/trac322/src/bin/bindctl/bindctl-source.py.in (original)
+++ branches/trac322/src/bin/bindctl/bindctl-source.py.in Thu Sep  9 18:19:16 2010
@@ -24,6 +24,9 @@
 from bindctl.bindcmd import *
 import pprint
 from optparse import OptionParser, OptionValueError
+import isc.bind10.rename
+
+isc.bind10.rename.rename()
 
 __version__ = 'Bindctl'
 

Modified: branches/trac322/src/bin/cfgmgr/b10-cfgmgr.py.in
==============================================================================
--- branches/trac322/src/bin/cfgmgr/b10-cfgmgr.py.in (original)
+++ branches/trac322/src/bin/cfgmgr/b10-cfgmgr.py.in Thu Sep  9 18:19:16 2010
@@ -21,8 +21,11 @@
 
 from isc.config.cfgmgr import ConfigManager, ConfigManagerDataReadError
 from isc.cc import SessionError
+import isc.bind10.rename
 import signal
 import os
+
+isc.bind10.rename.rename()
 
 # If B10_FROM_SOURCE is set in the environment, we use data files
 # from a directory relative to that, otherwise we use the ones

Modified: branches/trac322/src/bin/cmdctl/cmdctl.py.in
==============================================================================
--- branches/trac322/src/bin/cmdctl/cmdctl.py.in (original)
+++ branches/trac322/src/bin/cmdctl/cmdctl.py.in Thu Sep  9 18:19:16 2010
@@ -42,12 +42,15 @@
 import time
 import signal
 from isc.config import ccsession
+import isc.bind10.rename
 from optparse import OptionParser, OptionValueError
 from hashlib import sha1
 try:
     import threading
 except ImportError:
     import dummy_threading as threading
+
+isc.bind10.rename.rename()
 
 __version__ = 'BIND10'
 URL_PATTERN = re.compile('/([\w]+)(?:/([\w]+))?/?')

Modified: branches/trac322/src/bin/loadzone/b10-loadzone.py.in
==============================================================================
--- branches/trac322/src/bin/loadzone/b10-loadzone.py.in (original)
+++ branches/trac322/src/bin/loadzone/b10-loadzone.py.in Thu Sep  9 18:19:16 2010
@@ -18,9 +18,13 @@
 import sys; sys.path.append ('@@PYTHONPATH@@')
 import re, getopt
 import isc.datasrc
+import isc.bind10.rename
 from isc.datasrc.master import MasterFile
 import time
 import os
+
+isc.bind10.rename.rename()
+
 #########################################################################
 # usage: print usage note and exit
 #########################################################################

Modified: branches/trac322/src/bin/msgq/msgq.py.in
==============================================================================
--- branches/trac322/src/bin/msgq/msgq.py.in (original)
+++ branches/trac322/src/bin/msgq/msgq.py.in Thu Sep  9 18:19:16 2010
@@ -31,8 +31,11 @@
 import pprint
 import random
 from optparse import OptionParser, OptionValueError
+import isc.bind10.rename
 
 import isc.cc
+
+isc.bind10.rename.rename()
 
 # This is the version that gets displayed to the user.
 __version__ = "v20091030 (Paving the DNS Parking Lot)"

Modified: branches/trac322/src/bin/usermgr/b10-cmdctl-usermgr.py.in
==============================================================================
--- branches/trac322/src/bin/usermgr/b10-cmdctl-usermgr.py.in (original)
+++ branches/trac322/src/bin/usermgr/b10-cmdctl-usermgr.py.in Thu Sep  9 18:19:16 2010
@@ -25,6 +25,9 @@
 import getpass
 import getopt
 import sys
+import isc.bind10.rename
+
+isc.bind10.rename.rename()
 
 VERSION_NUMBER = 'bind10'
 DEFAULT_FILE = 'cmdctl-accounts.csv'

Modified: branches/trac322/src/bin/xfrin/xfrin.py.in
==============================================================================
--- branches/trac322/src/bin/xfrin/xfrin.py.in (original)
+++ branches/trac322/src/bin/xfrin/xfrin.py.in Thu Sep  9 18:19:16 2010
@@ -29,12 +29,15 @@
 from optparse import OptionParser, OptionValueError
 from isc.config.ccsession import *
 from isc.notify import notify_out
+import isc.bind10.rename
 try:
     from libdns_python import *
 except ImportError as e:
     # C++ loadable module may not be installed; even so the xfrin process
     # must keep running, so we warn about it and move forward.
     sys.stderr.write('[b10-xfrin] failed to import DNS module: %s\n' % str(e))
+
+isc.bind10.rename.rename()
 
 # If B10_FROM_BUILD is set in the environment, we use data files
 # from a directory relative to that, otherwise we use the ones

Modified: branches/trac322/src/bin/xfrout/xfrout.py.in
==============================================================================
--- branches/trac322/src/bin/xfrout/xfrout.py.in (original)
+++ branches/trac322/src/bin/xfrout/xfrout.py.in Thu Sep  9 18:19:16 2010
@@ -29,6 +29,7 @@
 from isc.log.log import *
 from isc.cc import SessionError
 from isc.notify import notify_out
+import isc.bind10.rename
 import socket
 import select
 import errno
@@ -40,6 +41,8 @@
     # C++ loadable module may not be installed; even so the xfrout process
     # must keep running, so we warn about it and move forward.
     sys.stderr.write('[b10-xfrout] failed to import DNS or XFR module: %s\n' % str(e))
+
+isc.bind10.rename.rename()
 
 if "B10_FROM_BUILD" in os.environ:
     SPECFILE_PATH = os.environ["B10_FROM_BUILD"] + "/src/bin/xfrout"

Modified: branches/trac322/src/bin/zonemgr/zonemgr.py.in
==============================================================================
--- branches/trac322/src/bin/zonemgr/zonemgr.py.in (original)
+++ branches/trac322/src/bin/zonemgr/zonemgr.py.in Thu Sep  9 18:19:16 2010
@@ -36,6 +36,9 @@
 from isc.datasrc import sqlite3_ds
 from optparse import OptionParser, OptionValueError
 from isc.config.ccsession import *
+import isc.bind10.rename
+
+isc.bind10.rename.rename()
 
 # If B10_FROM_BUILD is set in the environment, we use data files
 # from a directory relative to that, otherwise we use the ones




More information about the bind10-changes mailing list