Ticket #302: bind10.2.diff
File bind10.2.diff, 1.5 KB (added by jreed, 9 years ago) |
---|
-
Makefile.am
23 23 # this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix 24 24 bind10: bind10.py 25 25 $(SED) -e "s|@@PYTHONPATH@@|@pyexecdir@|" \ 26 -e "s|@@PACKAGE_VERSION@@|$(PACKAGE_VERSION)|" \ 26 27 -e "s|@@LIBEXECDIR@@|$(pkglibexecdir)|" bind10.py >$@ 27 28 chmod a+x $@ 28 29 -
bind10.py.in
65 65 import isc.cc 66 66 67 67 # This is the version that gets displayed to the user. 68 __version__ = "v20100531" 68 __version__ = "20100809" 69 version = "bind10 " + __version__ + " (BIND 10 @@PACKAGE_VERSION@@)" 69 70 70 71 class RestartSchedule: 71 72 """ … … 605 606 606 607 607 608 # Parse any command-line options. 608 parser = OptionParser(version= __version__)609 parser = OptionParser(version=version) 609 610 parser.add_option("-a", "--address", dest="address", type="string", 610 611 action="callback", callback=check_addr, default='', 611 612 help="address the b10-auth daemon will use (default: listen on all addresses)") … … 658 659 659 660 # Announce startup. 660 661 if options.verbose: 661 sys.stdout.write(" BIND 10 %s\n" % __version__)662 sys.stdout.write("%s\n" % version) 662 663 663 664 # TODO: set process name, perhaps by: 664 665 # http://code.google.com/p/procname/