Package: roundup / 1.4.20-1.1

01_separate_configuration.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Author: <toni@debian.org>
Description: separate configuration

This patch makes roundup exec a Python file under
/etc/roundup, so as to comply with Debian standards
of having the configuration under /etc. At the same
time, the configuration is removed from this code,
so this enables the actual package source being
read-only.

--- a/frontends/roundup.cgi
+++ b/frontends/roundup.cgi
@@ -27,29 +27,9 @@
 ##  Configuration
 #
 
-# Configuration can also be provided through the OS environment (or via
-# the Apache "SetEnv" configuration directive). If the variables
-# documented below are set, they _override_ any configuation defaults
-# given in this file. 
+# just exec a config file:
+execfile("/etc/roundup/cgiconf.py")
 
-# TRACKER_HOMES is a list of trackers, in the form
-# "NAME=DIR<sep>NAME2=DIR2<sep>...", where <sep> is the directory path
-# separator (";" on Windows, ":" on Unix). 
-
-# Make sure the NAME part doesn't include any url-unsafe characters like 
-# spaces, as these confuse the cookie handling in browsers like IE.
-
-# ROUNDUP_LOG is the name of the logfile; if it's empty or does not exist,
-# logging is turned off (unless you changed the default below). 
-
-# DEBUG_TO_CLIENT specifies whether debugging goes to the HTTP server (via
-# stderr) or to the web client (via cgitb).
-DEBUG_TO_CLIENT = False
-
-# This indicates where the Roundup tracker lives
-TRACKER_HOMES = {
-#    'example': '/path/to/example',
-}
 
 # Where to log debugging information to. Use an instance of DevNull if you
 # don't want to log anywhere.