diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-09-03 16:07:53 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-09-03 16:07:53 +0000 |
commit | 58f0cad97ae85335cb94cb37174f2f2e41db7935 (patch) | |
tree | 20bad9c1e0956523be08cf849e888f82edfd3e3d /www/apache2/files | |
parent | New Free BDF fonts collection for Korean. (diff) |
upgrade to 1.3.9
Diffstat (limited to 'www/apache2/files')
-rw-r--r-- | www/apache2/files/FreeBSD.layout | 19 | ||||
-rw-r--r-- | www/apache2/files/patch-aa | 17 | ||||
-rw-r--r-- | www/apache2/files/patch-ab | 38 | ||||
-rw-r--r-- | www/apache2/files/patch-ag | 17 | ||||
-rw-r--r-- | www/apache2/files/patch-ak | 13 | ||||
-rw-r--r-- | www/apache2/files/patch-al | 74 |
6 files changed, 77 insertions, 101 deletions
diff --git a/www/apache2/files/FreeBSD.layout b/www/apache2/files/FreeBSD.layout new file mode 100644 index 000000000000..5524e186e9c0 --- /dev/null +++ b/www/apache2/files/FreeBSD.layout @@ -0,0 +1,19 @@ +# FreeBSD layout... +<Layout FreeBSD> + prefix: /usr/local + exec_prefix: $prefix + bindir: $exec_prefix/bin + sbindir: $exec_prefix/sbin + libexecdir: $exec_prefix/libexec/apache + mandir: $prefix/man + sysconfdir: $prefix/etc/apache + datadir: $prefix/www + iconsdir: $datadir/icons + htdocsdir: $datadir/data + cgidir: $datadir/cgi-bin + includedir: $prefix/include/apache + localstatedir: /var + runtimedir: $localstatedir/run + logfiledir: $localstatedir/log + proxycachedir: $datadir/proxy +</Layout> diff --git a/www/apache2/files/patch-aa b/www/apache2/files/patch-aa index 1a054409abf9..b0478de26053 100644 --- a/www/apache2/files/patch-aa +++ b/www/apache2/files/patch-aa @@ -1,6 +1,15 @@ ---- configure.orig Sat Jan 2 16:19:41 1999 -+++ configure Fri Jan 15 00:44:01 1999 -@@ -1012,8 +1012,8 @@ +--- configure.orig Sat Aug 14 12:29:05 1999 ++++ configure Fri Sep 3 15:38:10 1999 +@@ -1084,7 +1084,7 @@ + ## UID/GID as production oriented as a web server in NIS anyway. + ## + conf_user="nobody" +-conf_group="#-1" ++conf_group="nogroup" + conf_port="80" + conf_serveradmin="you@your.address" + conf_servername="new.host.name" +@@ -1153,8 +1153,8 @@ echo " DEFAULT_PIDLOG: ${runtimedir_relative}${thetarget}.pid" echo " DEFAULT_SCOREBOARD: ${runtimedir_relative}${thetarget}.scoreboard" echo " DEFAULT_LOCKFILE: ${runtimedir_relative}${thetarget}.lock" @@ -11,7 +20,7 @@ echo " TYPES_CONFIG_FILE: ${sysconfdir_relative}mime.types" echo " SERVER_CONFIG_FILE: ${sysconfdir_relative}${thetarget}.conf" echo " ACCESS_CONFIG_FILE: ${sysconfdir_relative}access.conf" -@@ -1091,8 +1091,8 @@ +@@ -1244,8 +1244,8 @@ echo "echo '-DDEFAULT_PIDLOG=\"${runtimedir_relative}${thetarget}.pid\"'" >>$src/apaci echo "echo '-DDEFAULT_SCOREBOARD=\"${runtimedir_relative}${thetarget}.scoreboard\"'" >>$src/apaci echo "echo '-DDEFAULT_LOCKFILE=\"${runtimedir_relative}${thetarget}.lock\"'" >>$src/apaci diff --git a/www/apache2/files/patch-ab b/www/apache2/files/patch-ab index 8e8b8a45919c..935f243b62b2 100644 --- a/www/apache2/files/patch-ab +++ b/www/apache2/files/patch-ab @@ -1,14 +1,6 @@ ---- Makefile.tmpl.orig Tue Mar 16 03:38:46 1999 -+++ Makefile.tmpl Thu Mar 25 23:53:46 1999 -@@ -113,13 +113,14 @@ - sysconfdir = @sysconfdir@ - datadir = @datadir@ - iconsdir = $(datadir)/icons --htdocsdir = $(datadir)/htdocs -+htdocsdir = $(datadir)/data - cgidir = $(datadir)/cgi-bin - includedir = @includedir@ - localstatedir = @localstatedir@ +--- Makefile.tmpl.orig Fri Aug 13 10:58:18 1999 ++++ Makefile.tmpl Fri Sep 3 14:57:01 1999 +@@ -120,6 +120,7 @@ runtimedir = @runtimedir@ logfiledir = @logfiledir@ proxycachedir = @proxycachedir@ @@ -16,7 +8,7 @@ libexecdir_relative = @libexecdir_relative@ -@@ -249,9 +250,9 @@ +@@ -255,9 +256,9 @@ $(MKDIR) $(root)$(mandir)/man1 $(MKDIR) $(root)$(mandir)/man8 $(MKDIR) $(root)$(sysconfdir) @@ -26,9 +18,9 @@ - $(MKDIR) $(root)$(cgidir) + $(MKDIR) $(root)$(cgidir).default $(MKDIR) $(root)$(includedir) + $(MKDIR) $(root)$(includedir)/xml $(MKDIR) $(root)$(runtimedir) - $(MKDIR) $(root)$(logfiledir) -@@ -379,26 +380,34 @@ +@@ -441,26 +442,34 @@ # icons and distributed CGI scripts. install-data: @echo "===> [data: Installing initial data files]" @@ -76,18 +68,18 @@ @echo "Copying tree $(TOP)/icons/ -> $(root)$(iconsdir)/"; \ (cd $(TOP)/icons/ && $(TAR) $(TAROPT) - *) |\ (cd $(root)$(iconsdir)/ && $(TAR) -xf -); \ -@@ -436,10 +445,10 @@ - -e 's;logs/accept.lock;$(runtimedir)/$(TARGET).lock;' \ +@@ -498,10 +507,10 @@ + -e 's;logs/accept\.lock;$(runtimedir)/$(TARGET).lock;' \ -e 's;logs/apache_runtime_status;$(runtimedir)/$(TARGET).scoreboard;' \ - -e 's;logs/httpd.pid;$(runtimedir)/$(TARGET).pid;' \ + -e 's;logs/httpd\.pid;$(runtimedir)/$(TARGET).pid;' \ - -e "s;logs/access_log;$(logfiledir)/$${target_prefix}access_log;" \ - -e "s;logs/error_log;$(logfiledir)/$${target_prefix}error_log;" \ - -e "s;logs/referer_log;$(logfiledir)/$${target_prefix}referer_log;" \ - -e "s;logs/agent_log;$(logfiledir)/$${target_prefix}agent_log;" \ -+ -e 's;logs/access_log;$(logfiledir)/httpd-access.log;' \ -+ -e 's;logs/error_log;$(logfiledir)/httpd-error.log;' \ -+ -e 's;logs/referer_log;$(logfiledir)/httpd-referer.log;' \ -+ -e 's;logs/agent_log;$(logfiledir)/httpd-agent.log;' \ ++ -e "s;logs/access_log;$(logfiledir)/$${target_prefix}httpd-access.log;" \ ++ -e "s;logs/error_log;$(logfiledir)/$${target_prefix}httpd-error.log;" \ ++ -e "s;logs/referer_log;$(logfiledir)/$${target_prefix}httpd-referer.log;" \ ++ -e "s;logs/agent_log;$(logfiledir)/$${target_prefix}httpd-agent.log;" \ -e 's;conf/magic;$(sysconfdir)/magic;' \ - -e 's;conf/mime.types;$(sysconfdir)/mime.types;' \ - -e 's;Group #-1;Group $(conf_group);' \ + -e 's;conf/mime\.types;$(sysconfdir)/mime.types;' \ + -e 's;User nobody;User $(conf_user);' \ diff --git a/www/apache2/files/patch-ag b/www/apache2/files/patch-ag index fe3b9579cd7f..436f8f3f7d95 100644 --- a/www/apache2/files/patch-ag +++ b/www/apache2/files/patch-ag @@ -1,15 +1,6 @@ ---- conf/httpd.conf-dist.orig Sat Dec 12 20:04:29 1998 -+++ conf/httpd.conf-dist Fri Jan 15 01:08:36 1999 -@@ -241,7 +241,7 @@ - # don't use Group #-1 on these systems! - # - User nobody --Group #-1 -+Group nogroup - - # - # ServerAdmin: Your address, where problems with the server should be -@@ -459,7 +459,7 @@ +--- conf/httpd.conf-dist.orig Thu May 6 00:17:59 1999 ++++ conf/httpd.conf-dist Fri Sep 3 15:42:56 1999 +@@ -467,7 +467,7 @@ # define per-<VirtualHost> access logfiles, transactions will be # logged therein and *not* in this file. # @@ -18,7 +9,7 @@ # # If you would like to have agent and referer logfiles, uncomment the -@@ -472,7 +472,7 @@ +@@ -480,7 +480,7 @@ # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # diff --git a/www/apache2/files/patch-ak b/www/apache2/files/patch-ak index 09c3852d49fa..486f7ad159cf 100644 --- a/www/apache2/files/patch-ak +++ b/www/apache2/files/patch-ak @@ -1,5 +1,5 @@ ---- src/support/apachectl.orig Tue Feb 9 21:00:34 1999 -+++ src/support/apachectl Fri Mar 26 00:08:20 1999 +--- src/support/apachectl.orig Wed Apr 7 00:36:33 1999 ++++ src/support/apachectl Fri Sep 3 15:41:01 1999 @@ -39,6 +39,8 @@ # -------------------- -------------------- # |||||||||||||||||||| END CONFIGURATION SECTION |||||||||||||||||||| @@ -9,15 +9,6 @@ ERROR=0 ARGV="$@" if [ "x$ARGV" = "x" ] ; then -@@ -50,7 +52,7 @@ - # check for pidfile - if [ -f $PIDFILE ] ; then - PID=`cat $PIDFILE` -- if [ ! "x$PID" = "x" ] && kill -0 $PID; then -+ if [ ! "x$PID" = "x" ] && kill -0 $PID > /dev/null 2>&1; then - STATUS="httpd (pid $PID) running" - RUNNING=1 - else @@ -82,6 +84,7 @@ fi if kill $PID ; then diff --git a/www/apache2/files/patch-al b/www/apache2/files/patch-al index 039d6320f415..b355a697b4ab 100644 --- a/www/apache2/files/patch-al +++ b/www/apache2/files/patch-al @@ -1,50 +1,24 @@ -*** src/support/log_server_status.orig Tue Mar 31 16:53:50 1998 ---- src/support/log_server_status Tue Apr 21 17:18:10 1998 -*************** -*** 67,76 **** - # - require 'sys/socket.ph'; - -! $wherelog = "/var/log/graph/"; # Logs will be like "/var/log/graph/960312" - $server = "localhost"; # Name of server, could be "www.foo.com" - $port = "80"; # Port on server -! $request = "/status/?auto"; # Request to send - - sub tcp_connect - { ---- 67,76 ---- - # - require 'sys/socket.ph'; - -! $wherelog = "/var/log/httpd-status-"; # Logs will be like "/var/log/graph/960312" - $server = "localhost"; # Name of server, could be "www.foo.com" - $port = "80"; # Port on server -! $request = "/server-status/?auto"; # Request to send - - sub tcp_connect - { -*************** -*** 93,103 **** - ### Main - - { -! $date=`date +%y%m%d:%H%M%S`; - chop($date); - ($day,$time)=split(/:/,$date); - $res=&tcp_connect($server,$port); -! open(OUT,">>$wherelog$day"); - if ($res) { - print OUT "$time:-1:-1:-1:-1:$res\n"; - exit 1; ---- 93,103 ---- - ### Main - - { -! $date=`LC_TIME=C date +%y%m%d:%H%M%S`; - chop($date); - ($day,$time)=split(/:/,$date); - $res=&tcp_connect($server,$port); -! open(OUT,">>$wherelog$day.log"); - if ($res) { - print OUT "$time:-1:-1:-1:-1:$res\n"; - exit 1; +--- src/support/log_server_status.orig Fri Jun 4 19:54:19 1999 ++++ src/support/log_server_status Fri Sep 3 15:53:16 1999 +@@ -67,10 +67,10 @@ + # + require 'sys/socket.ph'; + +-$wherelog = "/var/log/graph/"; # Logs will be like "/var/log/graph/19960312" ++$wherelog = "/var/log/httpd-status-"; + $server = "localhost"; # Name of server, could be "www.foo.com" + $port = "80"; # Port on server +-$request = "/status/?auto"; # Request to send ++$request = "/server-status/?auto"; # Request to send + + sub tcp_connect + { +@@ -100,7 +100,7 @@ + chomp($date); + ($day,$time)=split(/:/,$date); + $res=&tcp_connect($server,$port); +- open(OUT,">>$wherelog$day"); ++ open(OUT,">>$wherelog$day.log"); + if ($res) { + print OUT "$time:-1:-1:-1:-1:$res\n"; + exit 1; |