summaryrefslogtreecommitdiff
path: root/www/wn/files/patch-aa
diff options
context:
space:
mode:
authorAdam David <adam@FreeBSD.org>1997-09-17 04:51:55 +0000
committerAdam David <adam@FreeBSD.org>1997-09-17 04:51:55 +0000
commiteb633beab51f45e3aee68cd9871c3606d6894a34 (patch)
tree3d25a7fb49a755f898e202cb3a2d52c0b705d44f /www/wn/files/patch-aa
parent- Fix problem with configuration file name in the startup script. (diff)
1.16.8 --> 1.18.3
Notes
Notes: svn path=/head/; revision=7935
Diffstat (limited to 'www/wn/files/patch-aa')
-rw-r--r--www/wn/files/patch-aa74
1 files changed, 32 insertions, 42 deletions
diff --git a/www/wn/files/patch-aa b/www/wn/files/patch-aa
index db0b207a34a5..78cbf8c4d9a7 100644
--- a/www/wn/files/patch-aa
+++ b/www/wn/files/patch-aa
@@ -34,8 +34,8 @@
#For Solaris 5.X or SVR4.2 use
#LIBS = -lsocket -lnsl
-*** config.h.dist Tue Jul 11 15:55:43 1995
---- config.h Sun Jul 23 02:28:27 1995
+*** config.h.dist Wed Sep 3 17:22:17 1997
+--- config.h Mon Sep 15 21:39:32 1997
***************
*** 7,13 ****
********************************************************/
@@ -73,7 +73,24 @@
/*
* Full path of the file you want to use for a log file and the
***************
-*** 52,58 ****
+*** 41,47 ****
+ * To do no logging set all the logfiles above to "", the empty string.
+ */
+
+! #define SWN_PID_FILE "/usr/local/wnlogs/wn.pid"
+ /*
+ * Full path of the file in which you wish the standalone server swn
+ * to deposit its process id on startup. Comment this out or set
+--- 41,47 ----
+ * To do no logging set all the logfiles above to "", the empty string.
+ */
+
+! #define SWN_PID_FILE "/var/run/swn.pid"
+ /*
+ * Full path of the file in which you wish the standalone server swn
+ * to deposit its process id on startup. Comment this out or set
+***************
+*** 59,65 ****
*/
@@ -81,7 +98,7 @@
/*
* This file contains information permitting wndex to translate
* ascertain the MIME "Content-type" from the suffix of a file name
---- 52,58 ----
+--- 59,65 ----
*/
@@ -90,7 +107,7 @@
* This file contains information permitting wndex to translate
* ascertain the MIME "Content-type" from the suffix of a file name
***************
-*** 77,83 ****
+*** 84,90 ****
*/
@@ -98,7 +115,7 @@
/* By default WN uses the Common Log Format used by NCSA and CERN httpd.
* Uncommenting this will cause additional information to be added to
* the end of each log line. In particular the User-Agent and Referrer
---- 77,83 ----
+--- 84,90 ----
*/
@@ -107,56 +124,29 @@
* Uncommenting this will cause additional information to be added to
* the end of each log line. In particular the User-Agent and Referrer
***************
-*** 111,121 ****
-
-
- #ifndef SOLARIS2
-! #define USERID (65534)
-! #define GROUPID (65534)
- #else
-! #define USERID (60001) /* uid of nobody under Solaris */
-! #define GROUPID (60001) /* gid of nobody under Solaris */
- #endif
- /*
- * These are the group and user id you want the server to switch to when
---- 111,121 ----
+*** 259,265 ****
-
- #ifndef SOLARIS2
-! #define USERID (65534)
-! #define GROUPID (65534)
- #else
-! #define USERID (65534)
-! #define GROUPID (65534)
- #endif
- /*
- * These are the group and user id you want the server to switch to when
-***************
-*** 198,204 ****
- #define TILDE_TABLE "/path/to/rootdir_table"
- */
+ /* #define TILDE_TABLE "/path/to/rootdir_table" */
! /* #define TILDE_USER_PWFILE */
#define TILDE_USER_STRING "/~"
/*
---- 198,204 ----
- #define TILDE_TABLE "/path/to/rootdir_table"
- */
+--- 259,265 ----
+
+ /* #define TILDE_TABLE "/path/to/rootdir_table" */
! #define TILDE_USER_PWFILE
#define TILDE_USER_STRING "/~"
/*
-*** config.h.old Thu Oct 19 21:29:04 1995
---- config.h Thu Oct 19 21:01:36 1995
***************
-*** 380,385 ****
---- 380,386 ----
-
+*** 430,435 ****
+--- 430,436 ----
+ /************************/
#if defined(FREE_BSD_2)
#define BSD_LIKE
+ #define SIGCLD SIGCHLD
#endif
- #if defined(AIX) || defined(IRIX)
+