]> git.pld-linux.org Git - packages/analog.git/blame - analog-config.patch
new patches/updates
[packages/analog.git] / analog-config.patch
CommitLineData
0b76998b
AM
1diff -urN analog3.31.orig/analhead.h analog3.31/analhead.h
2--- analog3.31.orig/analhead.h Sat Jun 19 13:19:21 1999
3+++ analog3.31/analhead.h Sat Jul 31 21:30:45 1999
4@@ -16,19 +16,19 @@
5 them except MANDATORYCONFIGFILE can be changed at run time as well. ***/
6
7 #ifndef HOSTNAME
8-#define HOSTNAME "[my organisation]"
9+#define HOSTNAME "PLD Linux Server"
10 /* the name of your organisation or WWW host. This is used for printing
11 at the top of the output */
12 #endif
13
14 #ifndef HOSTURL
15-#define HOSTURL "none"
16+#define HOSTURL "/"
17 /* the URL of your host's home page, for linking to at the top of the
18 output; use "none" for no linking. */
19 #endif
20
21 #ifndef HTTPDIR
22-#define HTTPDIR "/usr/local/etc/httpd/"
23+#define HTTPDIR "/etc/httpd/"
24 #endif
25 #ifndef ANALOGDIR
26 #define ANALOGDIR HTTPDIR"analog/"
27@@ -42,25 +42,25 @@
28 "/usr/local/etc/httpd/analog/" */
29
30 #ifndef LOGFILE
31-#define LOGFILE HTTPDIR"logs/access_log"
32+#define LOGFILE "/var/log/httpd/access_log"
33 /* The name of the default logfile. Can be a list, separated by commas
34 (but no spaces), and can include wild cards. */
35 #endif
36
37 #ifndef IMAGEDIR
38-#define IMAGEDIR "images/"
39+#define IMAGEDIR "/icons/"
40 /* URL of the directory where the images for the graphical reports live.
41 The URL can be absolute, or relative to the output page: e.g., just the
42 empty string "" for the same directory as the output page. */
43 #endif
44
45 #ifndef LANGDIR
46-#define LANGDIR ANALOGDIR"lang/"
47+#define LANGDIR "/usr/share/analog/lang/"
48 /* Directory where the language files live. */
49 #endif
50
51 #ifndef DEFAULTCONFIGFILE
52-#define DEFAULTCONFIGFILE ANALOGDIR"analog.cfg"
53+#define DEFAULTCONFIGFILE "/etc/analog.cfg"
54 /* the name of the default configuration file; see README.html for a
55 description of this file. Use "none" (NOT ANALOGDIR"none"!) for no
56 configuration file. */
57@@ -101,7 +101,7 @@
58 /*** The rest of the options can be overridden when the program is run. ***/
59
60 #ifndef OUTFILE
61-#define OUTFILE "stdout"
62+#define OUTFILE "/home/httpd/html/usage/analog.html"
63 /* The default file for output. Use "stdout" for stdout. */
64 #endif
65
66@@ -116,11 +116,11 @@
67 #endif
68
69 #ifndef NODNS
70-#define DNSFILE ANALOGDIR"dnscache"
71+#define DNSFILE "/var/state/analog/dnscache"
72 /* where to store resolved addresses so we don't have to look them up next
73 time */
74
75-#define DNSLOCKFILE ANALOGDIR"dnslock"
76+#define DNSLOCKFILE "/var/lock/dnslock"
77 /* A lock file to stop two processes trying to write the DNSFILE at once */
78
79 #define DNS (DNS_NONE)
80diff -urN analog3.31.orig/analog.cfg analog3.31/analog.cfg
81--- analog3.31.orig/analog.cfg Sat May 15 16:43:58 1999
82+++ analog3.31/analog.cfg Sat Jul 31 21:44:01 1999
83@@ -8,7 +8,8 @@
84 # REQINCLUDE pages
85 #
86 # If you have a LOGFORMAT command it must go here, above the LOGFILE command.
87-LOGFILE logfile.log
88+LOGFILE /var/log/httpd/access_log
89+#LANGUAGE POLISH
90 HOSTNAME "[my organisation]"
91 LINKINCLUDE pages
92 REFLINKINCLUDE pages
93diff -urN analog3.31.orig/anlgform.c analog3.31/anlgform.c
94--- analog3.31.orig/anlgform.c Sat Jun 19 13:18:54 1999
95+++ analog3.31/anlgform.c Sat Jul 31 21:29:58 1999
96@@ -7,7 +7,7 @@
97 /*** anlgform.c; the cgi front end for analog ***/
98
99 /* You must uncomment the next line, and put where the analog executable is */
100-/* #define ANALOG "/usr/local/etc/httpd/analog/analog" */
101+#define ANALOG "/usr/bin/analog"
102
103 #ifdef WIN32
104 #define ANALOG "\\analog\\analog.exe"
105diff -urN analog3.31.orig/anlgform.html analog3.31/anlgform.html
106--- analog3.31.orig/anlgform.html Tue Jun 8 22:00:25 1999
107+++ analog3.31/anlgform.html Sat Jul 31 21:29:58 1999
108@@ -3,7 +3,7 @@
109 </head>
110
111 <body>
112-<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
113+<h1><img src="/icons/analogo.gif" alt="Analog" --> Analog form interface</h1>
114
115 <!-- All platforms should uncomment the img tag above, edited if necessary -->
116
117@@ -22,10 +22,10 @@
118
119 <!-- Many systems will want the IMAGEDIR to be different on the form... -->
120 <!-- than from the commandline, because it should not be within /cgi-bin/ -->
121-<!-- input type=hidden name="ie" value="/images/" -->
122+<!-- input type=hidden name="ie" value="/icons/" -->
123
124 <!-- Some users will want to set their logfile like this -->
125-<!-- input type=hidden name="lo" value="/usr/local/etc/httpd/logs/access_log" -->
126+<!-- input type=hidden name="lo" value="/var/log/httpd/access_log" -->
127
128 <!-- A few broken systems need a TZ line to specify their timezone -->
129 <!-- input type=hidden name="TZ" value="GMT0BST" -->
This page took 0.069635 seconds and 4 git commands to generate.