]> git.pld-linux.org Git - packages/boa.git/blobdiff - boa-PLD.patch
- some pld.org.pl->pld-linux.org cosmetics
[packages/boa.git] / boa-PLD.patch
index 12aa2909f445cb6b63d018b48ee94d64a41f936b..4f56fb9c9c4631e5b3b4afb5dfb6836da6b6e30f 100644 (file)
@@ -1,7 +1,40 @@
-diff -ur boa-0.93.16.1/examples/boa.conf boa-0.93.16.1.new/examples/boa.conf
---- boa-0.93.16.1/examples/boa.conf    Sun Mar 28 15:09:59 1999
-+++ boa-0.93.16.1.new/examples/boa.conf        Fri Jul 16 17:18:24 1999
-@@ -24,8 +24,8 @@
+--- ./src/compat.h.orig        Mon Jul 30 13:44:30 2001
++++ ./src/compat.h     Mon Jul 30 14:16:47 2001
+@@ -71,7 +71,7 @@
+ #ifdef INET6
+ #define SOCKADDR sockaddr_storage
+-#define S_FAMILY __s_family
++#define S_FAMILY ss_family
+ #define SERVER_AF AF_INET6
+ #else
+ #define SOCKADDR sockaddr_in
+--- ./src/defines.h.orig       Mon Jul 30 13:45:47 2001
++++ ./src/defines.h    Mon Jul 30 13:46:46 2001
+@@ -27,7 +27,7 @@
+ /***** Change this, or use -c on the command line to specify it *****/
+ #ifndef SERVER_ROOT
+-#define SERVER_ROOT "/etc/boa"
++#define SERVER_ROOT "/etc/httpd"
+ #endif
+ /***** Various stuff that you may want to tweak, but probably shouldn't *****/
+--- ./src/Makefile.in.orig     Mon Jul 30 13:52:33 2001
++++ ./src/Makefile.in  Mon Jul 30 14:11:26 2001
+@@ -14,7 +14,8 @@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+-CFLAGS = @CFLAGS@ -I.
++#CFLAGS = @CFLAGS@ -I.
++CFLAGS = @CFLAGS@
+ # Change these if necessary
+--- ./boa.conf.orig    Mon Jul 30 13:49:43 2001
++++ ./boa.conf Mon Jul 30 13:52:00 2001
+@@ -45,8 +45,8 @@
  #  User: The name or UID the server should run as.
  # Group: The group name or GID the server should run as.
  
@@ -11,124 +44,47 @@ diff -ur boa-0.93.16.1/examples/boa.conf boa-0.93.16.1.new/examples/boa.conf
 +Group http
  
  # ServerAdmin: The email address where server problems should be sent.
- # Note: this is not currently used.
-@@ -36,28 +36,28 @@
- # with /, it is considered relative to the server root.
+ # Note: this is not currently used, except as an environment variable
+@@ -59,7 +59,7 @@
  # Set to /dev/null if you don't want errors logged.
+ # If unset, defaults to /dev/stderr
  
 -ErrorLog /var/log/boa/error_log
 +ErrorLog /var/log/httpd/error_log
- # AccessLog: The location of the access log file. If this does not
- # start with /, it is considered relative to the server root.
+ # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
+ #  is somewhat experimental and might fail under heavy load.
+ # "Usual libc implementations of printf will stall the whole
+@@ -71,7 +71,7 @@
  # Comment out or set to /dev/null (less effective) to disable 
  # Access logging.
  
 -AccessLog /var/log/boa/access_log
 +AccessLog /var/log/httpd/access_log
- # RefererLog: The location of the referer log file. If this does not
- # start with /, it is considered relative to the server root.
- # Comment out or set to /dev/null (less effective) to disable
- # referer logging.
--RefererLog /var/log/boa/referer_log
-+RefererLog /var/log/httpd/referer_log
- # AgentLog: The location of the agent log file. If this does not
- # start with /, it is considered relative to the server root.
- # Comment out or set to /dev/null (less effective) to disable
- # User-Agent logging.
--AgentLog /var/log/boa/agent_log
-+AgentLog /var/log/httpd/agent_log
- # VerboseCGILogs: this is just a logical switch.
- # Comment out to disable.
-@@ -72,7 +72,7 @@
+ # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
+ #  is somewhat experimental and might fail under heavy load.
+ # "Usual libc implementations of printf will stall the whole
+@@ -108,7 +108,7 @@
  # DocumentRoot: The root directory of the HTML documents.
+ # Comment out to disable server non user files.
  
 -DocumentRoot /var/www
-+DocumentRoot /home/httpd/htdocs
++DocumentRoot /home/httpd/html
  
- # ChRoot: Boa root '/' directory. This is useful to improve security of
- # your system. Don't forget that ALL DIRECTORIES used by boa except logs
-@@ -93,12 +93,12 @@
+ # UserDir: The name of the directory which is appended onto a user's home
+ # directory if a ~user request is recieved.
+@@ -127,7 +127,7 @@
+ # DirectoryIndex are commented out, accessing a directory will give
+ # an error (though accessing files in the directory are still ok).
  
- DirectoryIndex index.html
--DirectoryMaker /usr/local/sbin/boa_indexer
+-DirectoryMaker /usr/lib/boa/boa_indexer
 +DirectoryMaker /usr/sbin/boa_indexer
  
- # LocalCodepage: Local codepage. This is send to client in 'Content-Type:'
- # header by default.
--#LocalCodepage iso-8859-1
-+#LocalCodepage iso-8859-2
- # Codepage: Load codepage conversion table from file. This table will be used
- # on-the-fly conversion.
-@@ -161,7 +161,7 @@
+ # DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker
+ # has been commented out, the the on-the-fly indexing of Boa can be used
+@@ -182,5 +182,5 @@
  # ScriptAlias: Maps a virtual path to a directory for serving scripts
  # Example: ScriptAlias /htbin/ /www/htbin/
  
 -ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
 +ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
  
- # VirtualHost: Maps a virtual host to a directory.
- # Example: VirtualHost cz.boa.org /html/htdocs/boa/
-diff -ur boa-0.93.16.1/src/defines.h boa-0.93.16.1.new/src/defines.h
---- boa-0.93.16.1/src/defines.h        Tue Jan  5 23:19:54 1999
-+++ boa-0.93.16.1.new/src/defines.h    Fri Jul 16 17:07:27 1999
-@@ -26,7 +26,7 @@
- /***** Change this, or use -c on the command line to specify it *****/
- #ifndef SERVER_ROOT
--#define SERVER_ROOT "/etc/boa"
-+#define SERVER_ROOT "/home/httpd"
- #endif
- /***** Logs *****************************************************************/
-@@ -41,7 +41,7 @@
- #define USE_NLS                                                                       1
- #define USE_NLS_REFERER_REDIR         1
- #define USE_CHARSET_HEADER            1
--#define DEFAULT_CHARSET      "iso-8859-1"
-+#define DEFAULT_CHARSET      "iso-8859-2"
- /****** Authorization ******************************************************/
-diff -ur boa-0.93.16.1/util/resolver.pl boa-0.93.16.1.new/util/resolver.pl
---- boa-0.93.16.1/util/resolver.pl     Sun Dec 20 00:46:33 1998
-+++ boa-0.93.16.1.new/util/resolver.pl Fri Jul 16 17:08:09 1999
-@@ -1,10 +1,10 @@
--#!/usr/local/bin/perl
-+#!/usr/bin/perl
- # IP address resolver for Boa
- # If you want an "in place" change to the log file,
- # change the first line to
--#!/usr/local/bin/perl -i.bak
-+#!/usr/bin/perl -i.bak
- # Otherwise, send the output of this program wherever you want:
- #  resolver.pl access_log >access_log_resolved
-diff -ur boa-0.93.16.1/util/Makefile boa-0.93.16.1.new/util/Makefile
---- boa-0.93.16.1/util/Makefile        Sun Nov  7 23:18:21 1999
-+++ boa-0.93.16.1.new/util/Makefile    Fri Jul 16 17:29:45 1999
-@@ -4,10 +4,10 @@
-       rm cpsel cp-test 
- cpsel:        cpsel.c cpsel.config.h
--      gcc -o cpsel cpsel.c
-+      gcc $(RPM_OPT_FLAGS) -o cpsel cpsel.c
- cp-test: cp-test.c
--      gcc -o cp-test cp-test.c
-+      gcc $(RPM_OPT_FLAGS) -o cp-test cp-test.c
-       
- boa_indexer: index_dir.c
--      gcc -o boa_indexer index_dir.c
-+      gcc $(RPM_OPT_FLAGS) -o boa_indexer index_dir.c
This page took 0.465089 seconds and 4 git commands to generate.