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