]> git.pld-linux.org Git - packages/boa.git/blob - boa-PLD.patch
- fixed bug in IPv6 code
[packages/boa.git] / boa-PLD.patch
1 diff -bruN boa-0.94.8.2/boa.conf boa-0.94.8.2.pld/boa.conf
2 --- boa-0.94.8.2/boa.conf       Sun Jan 30 02:39:48 2000
3 +++ boa-0.94.8.2.pld/boa.conf   Sun Sep 10 04:35:38 2000
4 @@ -45,8 +45,8 @@
5  #  User: The name or UID the server should run as.
6  # Group: The group name or GID the server should run as.
7  
8 -User nobody
9 -Group nogroup
10 +User http
11 +Group http
12  
13  # ServerAdmin: The email address where server problems should be sent.
14  # Note: this is not currently used, except as an environment variable
15 @@ -59,7 +59,7 @@
16  # Set to /dev/null if you don't want errors logged.
17  # If unset, defaults to /dev/stderr
18  
19 -ErrorLog /var/log/boa/error_log
20 +ErrorLog /var/log/httpd/error_log
21  # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
22  #  is somewhat experimental and might fail under heavy load.
23  # "Usual libc implementations of printf will stall the whole
24 @@ -71,7 +71,7 @@
25  # Comment out or set to /dev/null (less effective) to disable 
26  # Access logging.
27  
28 -AccessLog /var/log/boa/access_log
29 +AccessLog /var/log/httpd/access_log
30  # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
31  #  is somewhat experimental and might fail under heavy load.
32  # "Usual libc implementations of printf will stall the whole
33 @@ -108,7 +108,7 @@
34  # DocumentRoot: The root directory of the HTML documents.
35  # Comment out to disable server non user files.
36  
37 -DocumentRoot /var/www
38 +DocumentRoot /home/httpd/html
39  
40  # UserDir: The name of the directory which is appended onto a user's home
41  # directory if a ~user request is recieved.
42 @@ -127,7 +127,7 @@
43  # DirectoryIndex are commented out, accessing a directory will give
44  # an error (though accessing files in the directory are still ok).
45  
46 -DirectoryMaker /usr/lib/boa/boa_indexer
47 +DirectoryMaker /usr/sbin/boa/boa_indexer
48  
49  # DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker
50  # has been commented out, the the on-the-fly indexing of Boa can be used
51 @@ -182,5 +182,5 @@
52  # ScriptAlias: Maps a virtual path to a directory for serving scripts
53  # Example: ScriptAlias /htbin/ /www/htbin/
54  
55 -ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
56 +ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
57  
58 diff -bruN boa-0.94.8.2/src/Makefile.in boa-0.94.8.2.pld/src/Makefile.in
59 --- boa-0.94.8.2/src/Makefile.in        Sat Feb 12 22:52:45 2000
60 +++ boa-0.94.8.2.pld/src/Makefile.in    Sun Sep 10 04:37:16 2000
61 @@ -13,7 +13,7 @@
62  # Add -pg to CFLAGS and LDFLAGS to get profiling output with gcc/gprof
63  
64  LDFLAGS = @LIBS@ -g 
65 -CFLAGS = -O -Wall -g
66 +CFLAGS = $(RPM_OPT_FLAGS) -DINET6
67  
68  # Change these if necessary
69  
70 diff -bruN boa-0.94.8.2/src/defines.h boa-0.94.8.2.pld/src/defines.h
71 --- boa-0.94.8.2/src/defines.h  Mon May  1 22:33:25 2000
72 +++ boa-0.94.8.2.pld/src/defines.h      Sun Sep 10 04:38:02 2000
73 @@ -27,7 +27,7 @@
74  /***** Change this, or use -c on the command line to specify it *****/
75  
76  #ifndef SERVER_ROOT
77 -#define SERVER_ROOT "/etc/boa"
78 +#define SERVER_ROOT "/etc/httpd"
79  #endif
80  
81  /***** Various stuff that you may want to tweak, but probably shouldn't *****/
82 diff -bruN boa-0.94.8.2/src/ip.c boa-0.94.8.2.pld/src/ip.c
83 --- boa-0.94.8.2/src/ip.c       Sat Feb 12 22:52:45 2000
84 +++ boa-0.94.8.2.pld/src/ip.c   Sun Sep 10 04:47:32 2000
85 @@ -89,8 +89,6 @@
86                      dest, len, NULL, 0, NI_NUMERICHOST)) {
87          fprintf(stderr, "[IPv6] getnameinfo failed\n");
88          *dest = '\0';
89 -    } else {
90 -        conn->local_ip_addr = strdup(host);
91      }
92  #ifdef WHEN_DOES_THIS_APPLY
93      if ((s->__ss_family == AF_INET6) &&
This page took 0.068765 seconds and 4 git commands to generate.