diff options
Diffstat (limited to 'devel/codeville/patches')
-rw-r--r-- | devel/codeville/patches/patch-aa | 13 | ||||
-rw-r--r-- | devel/codeville/patches/patch-ab | 23 | ||||
-rw-r--r-- | devel/codeville/patches/patch-ac | 13 | ||||
-rw-r--r-- | devel/codeville/patches/patch-ad | 28 |
4 files changed, 77 insertions, 0 deletions
diff --git a/devel/codeville/patches/patch-aa b/devel/codeville/patches/patch-aa new file mode 100644 index 00000000000..4add8a84fe8 --- /dev/null +++ b/devel/codeville/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2008/06/13 04:55:53 bjs Exp $ + +--- cdvpasswd.orig 2005-11-20 19:33:02.000000000 -0500 ++++ cdvpasswd +@@ -36,7 +36,7 @@ def run(args): + if platform == 'win32': + noconfig = True + else: +- config_file = '/etc/cdvserver.conf' ++ config_file = '@PKG_SYSCONFDIR@/cdvserver.conf' + + # do a first pass of the command line to pick up an alternate config + for (opt, arg) in optlist: diff --git a/devel/codeville/patches/patch-ab b/devel/codeville/patches/patch-ab new file mode 100644 index 00000000000..02163b96778 --- /dev/null +++ b/devel/codeville/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1 2008/06/13 04:55:53 bjs Exp $ + +--- cdvserver.conf.sample.orig 2005-11-20 19:33:02.000000000 -0500 ++++ cdvserver.conf.sample +@@ -1,12 +1,12 @@ + [control] +-#datadir=/var/lib/cdvserver +-#pidfile=/var/run/cdvserver.pid +-#logfile=/var/log/cdvserver.log +-#backup=False +-#port=6601 ++datadir=@CODEVILLE_DATADIR@ ++pidfile=@VARBASE@/run/cdvserver.pid ++logfile=@VARBASE@/log/cdvserver.log ++backup=False ++port=6601 + user=cdv + + [post-commit] + # keys are regular expression matching repository names + # values are programs which will be sent XML through stdin +-#.*=cat >> /var/log/cdvcommits.log ++.*=cat >> @VARBASE@/log/cdvcommits.log diff --git a/devel/codeville/patches/patch-ac b/devel/codeville/patches/patch-ac new file mode 100644 index 00000000000..c054dd11f04 --- /dev/null +++ b/devel/codeville/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2008/06/13 04:55:53 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 diff --git a/devel/codeville/patches/patch-ad b/devel/codeville/patches/patch-ad new file mode 100644 index 00000000000..1ef9d696776 --- /dev/null +++ b/devel/codeville/patches/patch-ad @@ -0,0 +1,28 @@ +$NetBSD: patch-ad,v 1.1 2008/06/13 04:55:53 bjs Exp $ + +--- setup.py.orig 2007-07-13 14:51:23.000000000 -0400 ++++ setup.py +@@ -13,22 +13,9 @@ scripts = ["cdv", "cdvserver", "cdvpassw + plat_ext = [] + data_files = [('share/doc/Codeville-' + Codeville.version, ['LICENSE.txt'])] + +-if sys.platform == 'win32': +- from distutils.core import Extension +- if sys.version < '2.4': +- plat_ext = [Extension("Codeville.winrandom", +- libraries = ['ws2_32', 'advapi32'], +- sources = ["src/winrand.c"])] +- for i in xrange(len(scripts)): +- shutil.copy(scripts[i], scripts[i] + '.py') +- scripts[i] = scripts[i] + '.py' +- #os.copy('bin/winrandom.pyd', 'Codeville/winrandom.pyd') +-else: +- data_files[0][1].append('cdvserver.conf.sample') +- + for arg in sys.argv: + if arg.find('wininst') >= 0: +- data_files = [('', ['LICENSE.txt'])] ++ data_files = [(['LICENSE.txt'])] + for i in xrange(len(scripts)): + shutil.copy(scripts[i], scripts[i] + '.py') + scripts[i] = scripts[i] + '.py' |