Parcourir la source

move step 3:
rename parkinglot binary to b10-parkinglot


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@601 e5f2f494-b856-4b98-b285-d166d9295462

Jelte Jansen il y a 15 ans
Parent
commit
386517633c

+ 4 - 4
src/bin/bind10/bind10.py

@@ -177,16 +177,16 @@ class BoB:
         # XXX: this must be read from the configuration manager in the future
         # XXX: we hardcode port 5300
         if self.verbose:
-            sys.stdout.write("Starting parkinglot on port 5300\n")
+            sys.stdout.write("Starting b10-parkinglot on port 5300\n")
         try:
-            parkinglot = ProcessInfo("parkinglot", ["parkinglot", "-p", "5300"])
+            parkinglot = ProcessInfo("b10-parkinglot", ["b10-parkinglot", "-p", "5300"])
         except Exception as e:
             c_channel.process.kill()
             bind_cfgd.process.kill()
-            return "Unable to start parkinglot; " + str(e)
+            return "Unable to start b10-parkinglot; " + str(e)
         self.processes[parkinglot.pid] = parkinglot
         if self.verbose:
-            sys.stdout.write("Started parkinglot (PID %d)\n" % parkinglot.pid)
+            sys.stdout.write("Started b10-parkinglot (PID %d)\n" % parkinglot.pid)
 
         # start the b10-cmdctl
         # XXX: we hardcode port 8080

+ 9 - 9
src/bin/parkinglot/Makefile.am

@@ -2,16 +2,16 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_srcdir)/ext
 
 pkglibexecdir = $(libexecdir)/@PACKAGE@
 
-pkglibexec_PROGRAMS = parkinglot
+pkglibexec_PROGRAMS = b10-parkinglot
 
-parkinglot_SOURCES = common.cc common.h zoneset.h zoneset.cc parkinglot.cc
-parkinglot_SOURCES += parkinglot.h main.cc
-parkinglot_SOURCES += data_source_plot.h data_source_plot.cc
-parkinglot_SOURCES += data_source.h data_source.cc
-parkinglot_SOURCES += builtin.h builtin.cc
-parkinglot_LDADD =  $(top_builddir)/src/lib/dns/cpp/.libs/libdns.a
-parkinglot_LDADD += $(top_builddir)/src/lib/config/cpp/libclient.a
-parkinglot_LDADD += $(top_builddir)/src/lib/cc/cpp/libcc.a
+b10_parkinglot_SOURCES = b10-parkinglot.cc b10-parkinglot.h
+b10_parkinglot_SOURCES += common.cc common.h zoneset.h zoneset.cc main.cc
+b10_parkinglot_SOURCES += data_source_plot.h data_source_plot.cc
+b10_parkinglot_SOURCES += data_source.h data_source.cc
+b10_parkinglot_SOURCES += builtin.h builtin.cc
+b10_parkinglot_LDADD =  $(top_builddir)/src/lib/dns/cpp/.libs/libdns.a
+b10_parkinglot_LDADD += $(top_builddir)/src/lib/config/cpp/libclient.a
+b10_parkinglot_LDADD += $(top_builddir)/src/lib/cc/cpp/libcc.a
 
 # TODO: don't install this here
 bin_PROGRAMS = builtin_bench

+ 1 - 1
src/bin/parkinglot/parkinglot.cc

@@ -37,7 +37,7 @@
 
 #include "common.h"
 #include "builtin.h"
-#include "parkinglot.h"
+#include "b10-parkinglot.h"
 
 #include <boost/lexical_cast.hpp>
 #include <boost/foreach.hpp>

src/bin/parkinglot/parkinglot.h → src/bin/parkinglot/b10-parkinglot.h


+ 1 - 1
src/bin/parkinglot/main.cc

@@ -35,7 +35,7 @@
 #include <config/cpp/ccsession.h>
 
 #include "zoneset.h"
-#include "parkinglot.h"
+#include "b10-parkinglot.h"
 
 #include "common.h"