]> git.pld-linux.org Git - packages/analog.git/blame_incremental - analog-config.patch
- updateded to 5.22
[packages/analog.git] / analog-config.patch
... / ...
CommitLineData
1diff -urN analog-5.22/anlgform.html analog-5.22.new/anlgform.html
2--- analog-5.22/anlgform.html Wed Mar 20 10:38:41 2002
3+++ analog-5.22.new/anlgform.html Fri Apr 5 12:38:44 2002
4@@ -3,7 +3,7 @@
5 </head>
6
7 <body>
8-<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
9+<h1><img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
10
11 <!-- Make the edits below. You also need to edit anlgform.pl. -->
12
13@@ -15,10 +15,12 @@
14
15 <!-- Many systems will want the IMAGEDIR to be different on the form -->
16 <!-- than from the command line, because it should not be within /cgi-bin/ -->
17-<!-- input type=hidden name="IMAGEDIR" value="/images/" -->
18+<!-- input type=hidden name="IMAGEDIR" value="/icons/" -->
19
20 <!-- Some users will want to set their logfile like this. -->
21 <!-- input type=hidden name="LOGFILE" value="/usr/local/etc/httpd/logs/access_log" -->
22+<!-- input type=hidden name="LOGFILE" value="/usr/var/httpd/log/access_log" -->
23+
24
25 <!-- After you've made these edits, you can remove the "strong" lines below -->
26
27diff -urN analog-5.22/anlgform.pl analog-5.22.new/anlgform.pl
28--- analog-5.22/anlgform.pl Wed Mar 20 10:38:41 2002
29+++ analog-5.22.new/anlgform.pl Fri Apr 5 12:39:39 2002
30@@ -19,6 +19,7 @@
31 # of Perl (don't remove the #! though).
32 # 3) You also need to edit anlgform.html if you want to use the form.
33 # 4) Add to the forbidden commands below if you want.
34+$analog='/usr/bin/analog'
35
36 @forbidden = qw(LOGFORMAT APACHELOGFORMAT DEFAULTLOGFORMAT
37 APACHEDEFAULTLOGFORMAT HEADERFILE FOOTERFILE UNCOMPRESS
38Binary files analog-5.22/src/alias.o and analog-5.22.new/src/alias.o differ
39Binary files analog-5.22/src/analog.o and analog-5.22.new/src/analog.o differ
40diff -urN analog-5.22/src/anlghea2.h analog-5.22.new/src/anlghea2.h
41--- analog-5.22/src/anlghea2.h Wed Mar 20 10:38:51 2002
42+++ analog-5.22.new/src/anlghea2.h Fri Apr 5 12:40:33 2002
43@@ -50,11 +50,12 @@
44 #endif
45
46 #ifndef NODNS
47-#define DNSFILE "dnscache"
48+#define DNSFILE "/var/lib/analog/dnscache"
49 /* where to store resolved addresses so we don't have to look them up next
50 time */
51
52-#define DNSLOCKFILE "dnslock"
53+#define DNSLOCKFILE "/var/lock/dnslock"
54+
55 /* A lock file to stop two processes trying to write the DNSFILE at once */
56
57 #define DNS (DNS_NONE)
58diff -urN analog-5.22/src/anlghead.h analog-5.22.new/src/anlghead.h
59--- analog-5.22/src/anlghead.h Wed Mar 20 10:38:52 2002
60+++ analog-5.22.new/src/anlghead.h Fri Apr 5 12:42:55 2002
61@@ -19,30 +19,31 @@
62 #define ANLGHEAD_H
63
64 #ifndef HOSTNAME
65-#define HOSTNAME "[my organisation]"
66+#define HOSTNAME "[PLD Linux Server]"
67 /* The name of your organisation or web server. This is used for printing
68 at the top of the output. */
69 #endif
70
71 #ifndef HOSTURL
72-#define HOSTURL "none"
73+#define HOSTURL "/"
74 /* The URL of your host's home page, for linking to at the top of the
75 output; use "none" for no linking. */
76 #endif
77
78 #ifndef LOGFILE
79-#define LOGFILE "logfile.log"
80+#define LOGFILE "/var/log/httpd/access_log"
81 /* The name of the default logfile. Can be a list, separated by commas
82 (but no spaces), and can include wild cards. */
83 #endif
84
85 #ifndef OUTFILE
86-#define OUTFILE "stdout"
87+#define OUTFILE "/home/httpd/html/usage/analog.html"
88+
89 /* The default file for output. Use "stdout" for stdout. */
90 #endif
91
92 #ifndef IMAGEDIR
93-#define IMAGEDIR "images/"
94+#define IMAGEDIR "/icons/"
95 /* URL of the directory where the images for the graphical reports live.
96 The URL can be absolute, or relative to the output page: e.g., just the
97 empty string "" for the same directory as the output page. */
98@@ -61,7 +62,7 @@
99 #endif
100
101 #ifndef DEFAULTCONFIGFILE
102-#define DEFAULTCONFIGFILE "analog.cfg"
103+#define DEFAULTCONFIGFILE "/etc/analog.cfg"
104 /* The name of the default configuration file. */
105 #endif
106
107@@ -82,7 +83,7 @@
108 directory. This may or may not work, so it's better to specify a location
109 explicitly here if you know where the files will be kept. */
110 #ifndef LANGDIR
111-#define LANGDIR NULL
112+#define LANGDIR "/usr/share/analog/lang/"
113 #endif
114 /* Directory where the language files live. Actually, if this one is defined
115 to be NULL, they will be looked for inside the "lang" subdirectory of the
This page took 0.308048 seconds and 4 git commands to generate.