File: 01_separate_config.dpatch

package info (click to toggle)
roundup 1.2.1-10%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,764 kB
  • ctags: 3,756
  • sloc: python: 30,296; sh: 1,497; perl: 23; makefile: 22
file content (45 lines) | stat: -rw-r--r-- 1,615 bytes parent folder | download | duplicates (2)
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
45
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_separate_config.dpatch by  <toni@spruce>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad roundup-1.1.2~/cgi-bin/roundup.cgi roundup-1.1.2/cgi-bin/roundup.cgi
--- roundup-1.1.2~/cgi-bin/roundup.cgi	2006-02-07 01:25:11.000000000 +0100
+++ roundup-1.1.2/cgi-bin/roundup.cgi	2006-05-22 14:50:16.124279062 +0200
@@ -27,29 +27,13 @@
 ##  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. 
-
-# 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). 
+# exec config file
+execfile("/etc/roundup/cgiconf.py")
 
-# DEBUG_TO_CLIENT specifies whether debugging goes to the HTTP server (via
-# stderr) or to the web client (via cgitb).
-DEBUG_TO_CLIENT = False
+#
+##  end configuration
+#
 
-# 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.