$NetBSD: patch-ac,v 1.2 2008/06/13 05:57:07 bjs Exp $ --- cdvserver.orig 2006-02-23 15:44:13.000000000 -0500 +++ cdvserver @@ -45,7 +45,7 @@ def run(args): else: daemonize = True noconfig = False - configfile = '/etc/cdvserver.conf' + configfile = '@PKG_SYSCONFDIR@/cdvserver.conf' # parse command line arguments initialize = False @@ -78,14 +78,14 @@ def run(args): # set the defaults config.add_section('control') - config.set('control', 'pidfile', '/var/run/cdvserver.pid') + config.set('control', 'pidfile', '@VARBASE@/run/cdvserver.pid') config.set('control', 'backup', 'False') config.set('control', 'port', '6601') if sys.platform == 'win32': config.set('control', 'datadir', os.getcwd()) else: - config.set('control', 'datadir', '/var/lib/cdvserver') - config.set('control', 'logfile', '/var/log/cdvserver.log') + config.set('control', 'datadir', '@CODEVILLE_DATADIR@') + config.set('control', 'logfile', '@VARBASE@/log/cdvserver.log') config.add_section('post-commit') # next read the config file