diff options
Diffstat (limited to 'www/apache20/files')
-rw-r--r-- | www/apache20/files/apache.sh | 17 | ||||
-rw-r--r-- | www/apache20/files/config.layout | 22 | ||||
-rw-r--r-- | www/apache20/files/patch-Makefile.in | 116 | ||||
-rw-r--r-- | www/apache20/files/patch-configure | 39 | ||||
-rw-r--r-- | www/apache20/files/patch-docs:conf:httpd-std.conf.in | 56 | ||||
-rw-r--r-- | www/apache20/files/patch-docs:conf:ssl-std.conf.in | 24 | ||||
-rw-r--r-- | www/apache20/files/patch-server:main.c | 36 | ||||
-rw-r--r-- | www/apache20/files/patch-srclib:apr-util:config.layout | 10 | ||||
-rw-r--r-- | www/apache20/files/patch-srclib:apr-util:configure | 79 | ||||
-rw-r--r-- | www/apache20/files/patch-srclib:apr:config.layout | 10 | ||||
-rw-r--r-- | www/apache20/files/patch-srclib:apr:include:apr_atomic.h | 17 | ||||
-rw-r--r-- | www/apache20/files/patch-srclib:apr:threadproc:unix:procsup.c | 18 | ||||
-rw-r--r-- | www/apache20/files/patch-support:apachectl.in | 21 | ||||
-rw-r--r-- | www/apache20/files/patch-support:log_server_status.in | 20 |
14 files changed, 0 insertions, 485 deletions
diff --git a/www/apache20/files/apache.sh b/www/apache20/files/apache.sh deleted file mode 100644 index ab1a71895d0c..000000000000 --- a/www/apache20/files/apache.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -PREFIX=@@PREFIX@@ - -case "$1" in -start) - [ "@@SSL@@" = "ssl" -a -f "$PREFIX/etc/apache2/ssl.crt/server.crt" ] && SSL=ssl - [ -x ${PREFIX}/sbin/apachectl ] && ${PREFIX}/sbin/apachectl start${SSL} > /dev/null && echo -n ' apache2' - ;; -stop) - [ -r /var/run/httpd.pid ] && ${PREFIX}/sbin/apachectl stop > /dev/null && echo -n ' apache2' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff --git a/www/apache20/files/config.layout b/www/apache20/files/config.layout deleted file mode 100644 index e1f6e37ef756..000000000000 --- a/www/apache20/files/config.layout +++ /dev/null @@ -1,22 +0,0 @@ -<Layout FreeBSD> - prefix: /usr/local - exec_prefix: ${prefix} - bindir: ${exec_prefix}/bin - sbindir: ${exec_prefix}/sbin - libexecdir: ${exec_prefix}/libexec/apache2 - mandir: ${prefix}/man - sysconfdir: ${prefix}/etc/apache2 - datadir: ${prefix}/www - installbuilddir: ${prefix}/share/apache2/build - errordir: ${datadir}/error - iconsdir: ${datadir}/icons - htdocsdir: ${datadir}/data - manualdir: ${prefix}/share/doc/apache2 - cgidir: ${datadir}/cgi-bin - includedir: ${prefix}/include/apache2 - localstatedir: /var - runtimedir: ${localstatedir}/run - logfiledir: ${localstatedir}/log - proxycachedir: ${datadir}/proxy - infodir: ${exec_prefix}/share/info -</Layout> diff --git a/www/apache20/files/patch-Makefile.in b/www/apache20/files/patch-Makefile.in deleted file mode 100644 index 59c5532562bd..000000000000 --- a/www/apache20/files/patch-Makefile.in +++ /dev/null @@ -1,116 +0,0 @@ ---- Makefile.in.orig Tue Jul 29 15:40:09 2003 -+++ Makefile.in Tue Sep 30 00:31:14 2003 -@@ -37,10 +37,13 @@ - if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \ - $(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir); \ - fi; \ -+ cp -f $$i $$i-dist; \ -+ $(INSTALL_DATA) $$i-dist $(DESTDIR)$(sysconfdir); \ - done; \ - for j in $(top_srcdir)/docs/conf $(top_builddir)/docs/conf ; do \ - cd $$j ; \ - for i in *-std*.conf; do \ -+ [ -f `echo "$$i"|sed 's,\.in$$,_nonex,g'` ] || continue; \ - ( \ - n_lm=`awk 'BEGIN {n=0} /@@LoadModule@@/ {n+=1} END {print n}' < $$i`; \ - if test $$n_lm -eq 0 -o "x$(DSO_MODULES)" = "x"; then \ -@@ -58,6 +61,9 @@ - if test "x$$j" = "xssl"; then \ - echo "<IfDefine SSL>"; \ - fi; \ -+ if [ `echo "$$j" | egrep 'cgid|cache|dav|digest|proxy'` ]; then \ -+ echo -n "#"; \ -+ fi; \ - if test $$j != "^EOL^"; then \ - echo "LoadModule $${j}_module $(rel_libexecdir)/mod_$${j}.so"; \ - fi; \ -@@ -109,45 +115,41 @@ - doxygen $(top_srcdir)/docs/doxygen.conf - - install-htdocs: -- -@if [ -d $(DESTDIR)$(htdocsdir) ]; then \ -- echo "[PRESERVING EXISTING HTDOCS SUBDIR: $(DESTDIR)$(htdocsdir)]"; \ -- else \ -- echo Installing HTML documents ; \ -- $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir) ; \ -- test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir)) ; \ -- cd $(DESTDIR)$(htdocsdir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \ -- fi -+.if !defined(NO_WWWDATA) -+ @echo Installing HTML documents -+ @test -d $(DESTDIR)$(htdocsdir)-dist || $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir)-dist -+ @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir)-dist) -+ @test -e $(DESTDIR)$(htdocsdir) || ln -sf $(DESTDIR)$(htdocsdir)-dist $(DESTDIR)$(htdocsdir) -+ -@test "x$(htdocsdir)" != "x" && cd $(DESTDIR)$(htdocsdir)-dist && find . -name "CVS" -print | xargs rm -rf -+.endif - - install-error: -- -@if [ -d $(DESTDIR)$(errordir) ]; then \ -- echo "[PRESERVING EXISTING ERROR SUBDIR: $(DESTDIR)$(errordir)]"; \ -- else \ -- echo Installing error documents ; \ -- $(MKINSTALLDIRS) $(DESTDIR)$(errordir) ; \ -- cd $(top_srcdir)/docs/error && cp -rp * $(DESTDIR)$(errordir) ; \ -- test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \ -- fi -+.if !defined(NO_ERROR) -+ @echo Installing error documents -+ @test -d $(DESTDIR)$(errordir)-dist || $(MKINSTALLDIRS) $(DESTDIR)$(errordir)-dist -+ cd $(top_srcdir)/docs/error && cp -rp * $(DESTDIR)$(errordir)-dist -+ -@test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir)-dist && find . -name "CVS" -print | xargs rm -rf -+ @test -e $(DESTDIR)$(errordir) || ln -sf $(DESTDIR)$(errordir)-dist $(DESTDIR)$(errordir) -+.endif - - install-icons: -- -@if [ -d $(DESTDIR)$(iconsdir) ]; then \ -- echo "[PRESERVING EXISTING ICONS SUBDIR: $(DESTDIR)$(iconsdir)]"; \ -- else \ -- echo Installing icons ; \ -- $(MKINSTALLDIRS) $(DESTDIR)$(iconsdir) ; \ -- cd $(top_srcdir)/docs/icons && cp -rp * $(DESTDIR)$(iconsdir) ; \ -- test "x$(iconsdir)" != "x" && cd $(DESTDIR)$(iconsdir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \ -- fi -+.if !defined(NO_ICONS) -+ @echo Installing icons -+ @test -d $(DESTDIR)$(iconsdir)-dist || $(MKINSTALLDIRS) $(DESTDIR)$(iconsdir)-dist -+ cd $(top_srcdir)/docs/icons && cp -rp * $(DESTDIR)$(iconsdir)-dist -+ -@test "x$(iconsdir)" != "x" && cd $(DESTDIR)$(iconsdir)-dist && find . -name "CVS" -print | xargs rm -rf -+ @test -e $(DESTDIR)$(iconsdir) || ln -sf $(DESTDIR)$(iconsdir)-dist $(DESTDIR)$(iconsdir) -+.endif - - install-cgi: -- -@if [ -d $(DESTDIR)$(cgidir) ];then \ -- echo "[PRESERVING EXISTING CGI SUBDIR: $(DESTDIR)$(cgidir)]"; \ -- else \ -- echo Installing CGIs ; \ -- $(MKINSTALLDIRS) $(DESTDIR)$(cgidir) ; \ -- cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(DESTDIR)$(cgidir) ; \ -- test "x$(cgidir)" != "x" && cd $(DESTDIR)$(cgidir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null || true; \ -- fi -- -+.if !defined(NO_CGI) -+ @echo Installing CGIs -+ @test -d $(DESTDIR)$(cgidir)-dist || $(MKINSTALLDIRS) $(DESTDIR)$(cgidir)-dist -+ cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(DESTDIR)$(cgidir)-dist -+ -@test "x$(cgidir)" != "x" && cd $(DESTDIR)$(cgidir)-dist && find . -name "CVS" -print | xargs rm -rf -+ @test -e $(DESTDIR)$(cgidir) || ln -sf $(DESTDIR)$(cgidir)-dist $(DESTDIR)$(cgidir) -+.endif -+ - install-other: - @test -d $(DESTDIR)$(logfiledir) || $(MKINSTALLDIRS) $(DESTDIR)$(logfiledir) - @test -d $(DESTDIR)$(runtimedir) || $(MKINSTALLDIRS) $(DESTDIR)$(runtimedir) -@@ -190,11 +192,13 @@ - @test -d $(DESTDIR)$(mandir) || $(MKINSTALLDIRS) $(DESTDIR)$(mandir) - @test -d $(DESTDIR)$(mandir)/man1 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1 - @test -d $(DESTDIR)$(mandir)/man8 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man8 -- @test -d $(DESTDIR)$(manualdir) || $(MKINSTALLDIRS) $(DESTDIR)$(manualdir) - @cp -p $(top_srcdir)/docs/man/*.1 $(DESTDIR)$(mandir)/man1 - @cp -p $(top_srcdir)/docs/man/*.8 $(DESTDIR)$(mandir)/man8 -+.if !defined(NOPORTDOCS) -+ @test -d $(DESTDIR)$(manualdir) || $(MKINSTALLDIRS) $(DESTDIR)$(manualdir) - @(cd $(top_srcdir)/docs/manual && cp -rp * $(DESTDIR)$(manualdir)) - @(cd $(DESTDIR)$(manualdir) && find . -name "CVS" -type d -print | xargs rm -rf 2>/dev/null ) || true -+.endif - - install-suexec: - @if test -f $(builddir)/support/suexec; then \ diff --git a/www/apache20/files/patch-configure b/www/apache20/files/patch-configure deleted file mode 100644 index d5e81693c4c9..000000000000 --- a/www/apache20/files/patch-configure +++ /dev/null @@ -1,39 +0,0 @@ ---- configure.orig Wed May 28 14:11:27 2003 -+++ configure Fri May 30 07:47:42 2003 -@@ -1513,7 +1513,7 @@ - $srcdir/config.layout > $pldconf - layout_name=$LAYOUT - . $pldconf -- rm $pldconf -+ rm -f $pldconf - for var in prefix exec_prefix bindir sbindir libexecdir mandir \ - sysconfdir datadir errordir iconsdir htdocsdir cgidir \ - includedir localstatedir runtimedir logfiledir libdir \ -@@ -2627,7 +2627,7 @@ - done - - -- if eval $SHELL $ac_abs_srcdir/configure $apr_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir $apache_apr_flags --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir --datadir=$datadir --with-installbuilddir=$installbuilddir -+ if eval $SHELL $ac_abs_srcdir/configure $apr_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir $apache_apr_flags --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$libdir --datadir=$datadir --with-installbuilddir=$installbuilddir - then : - echo "srclib/apr configured properly" - else -@@ -2928,7 +2928,7 @@ - done - - -- if eval $SHELL $ac_abs_srcdir/configure $apr_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir --with-apr=../apr --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir -+ if eval $SHELL $ac_abs_srcdir/configure $apr_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir --with-apr=../apr --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$libdir - then : - echo "srclib/apr-util configured properly" - else -@@ -15719,6 +15719,9 @@ - - cat >>confdefs.h <<_ACEOF - #define SERVER_CONFIG_FILE "${rel_sysconfdir}/${progname}.conf" -+#define DEFAULT_ERRORLOG "${rel_logfiledir}/httpd-error.log" -+#define AP_TYPES_CONFIG_FILE "${rel_sysconfdir}/mime.types" -+#define DOCUMENT_LOCATION "${rel_htdocsdir}" - _ACEOF - - diff --git a/www/apache20/files/patch-docs:conf:httpd-std.conf.in b/www/apache20/files/patch-docs:conf:httpd-std.conf.in deleted file mode 100644 index d87b8bdcc679..000000000000 --- a/www/apache20/files/patch-docs:conf:httpd-std.conf.in +++ /dev/null @@ -1,56 +0,0 @@ ---- docs/conf/httpd-std.conf.in.orig Wed Apr 24 07:24:35 2002 -+++ docs/conf/httpd-std.conf.in Tue May 7 19:29:28 2002 -@@ -68,7 +68,7 @@ - # - <IfModule !mpm_netware.c> - <IfModule !perchild.c> --#ScoreBoardFile @rel_logfiledir@/apache_runtime_status -+#ScoreBoardFile @rel_runtimedir@/apache_runtime_status - </IfModule> - </IfModule> - -@@ -263,8 +263,8 @@ - # when the value of (unsigned)Group is above 60000; - # don't use Group #-1 on these systems! - # --User nobody --Group #-1 -+User www -+Group www - </IfModule> - </IfModule> - -@@ -450,7 +450,7 @@ - # logged here. If you *do* define an error logfile for a <VirtualHost> - # container, that host's errors will be logged there and not here. - # --ErrorLog @rel_logfiledir@/error_log -+ErrorLog @rel_logfiledir@/httpd-error.log - - # - # LogLevel: Control the number of messages logged to the error_log. -@@ -475,20 +475,20 @@ - # define per-<VirtualHost> access logfiles, transactions will be - # logged therein and *not* in this file. - # --CustomLog @rel_logfiledir@/access_log common -+#CustomLog @rel_logfiledir@/httpd-access.log common - - # - # If you would like to have agent and referer logfiles, uncomment the - # following directives. - # --#CustomLog @rel_logfiledir@/referer_log referer --#CustomLog @rel_logfiledir@/agent_log agent -+#CustomLog @rel_logfiledir@/httpd-referer.log referer -+#CustomLog @rel_logfiledir@/httpd-agent.log agent - - # - # If you prefer a single logfile with access, agent, and referer information - # (Combined Logfile Format) you can use the following directive. - # --#CustomLog @rel_logfiledir@/access_log combined -+CustomLog @rel_logfiledir@/httpd-access.log combined - - # - # Optionally add a line containing the server version and virtual host diff --git a/www/apache20/files/patch-docs:conf:ssl-std.conf.in b/www/apache20/files/patch-docs:conf:ssl-std.conf.in deleted file mode 100644 index cf0bbeab218d..000000000000 --- a/www/apache20/files/patch-docs:conf:ssl-std.conf.in +++ /dev/null @@ -1,24 +0,0 @@ -$FreeBSD$ - ---- docs/conf/ssl-std.conf.in.orig Mon Oct 13 16:14:10 2003 -+++ docs/conf/ssl-std.conf.in Mon Oct 13 16:15:17 2003 -@@ -88,8 +88,8 @@ - DocumentRoot "@exp_htdocsdir@" - ServerName www.example.com:443 - ServerAdmin you@example.com --ErrorLog @exp_logfiledir@/error_log --TransferLog @exp_logfiledir@/access_log -+ErrorLog @exp_logfiledir@/httpd-error.log -+TransferLog @exp_logfiledir@/httpd-access.log - - # SSL Engine Switch: - # Enable/Disable SSL for this virtual host. -@@ -240,7 +240,7 @@ - # Per-Server Logging: - # The home of a custom SSL log file. Use this when you want a - # compact non-error SSL logfile on a virtual host basis. --CustomLog @exp_logfiledir@/ssl_request_log \ -+CustomLog @exp_logfiledir@/httpd-ssl_request.log \ - "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" - - </VirtualHost> diff --git a/www/apache20/files/patch-server:main.c b/www/apache20/files/patch-server:main.c deleted file mode 100644 index d297d4425fdb..000000000000 --- a/www/apache20/files/patch-server:main.c +++ /dev/null @@ -1,36 +0,0 @@ ---- server/main.c.orig Thu Jun 13 04:34:56 2002 -+++ server/main.c Sun Jul 21 08:54:09 2002 -@@ -78,6 +78,11 @@ - #include "ap_mpm.h" - #include "mpm_common.h" - -+#ifdef FREEBSD_THREAD_HACK -+#include <unistd.h> -+AP_DECLARE(int) ap_exists_config_define(const char *name); -+#endif -+ - /* WARNING: Win32 binds http_main.c dynamically to the server. Please place - * extern functions and global data in another appropriate module. - * -@@ -558,6 +563,21 @@ - destroy_and_exit_process(process, 1); - } - -+#ifdef FREEBSD_THREAD_HACK -+ { -+ int r; -+ -+ if (! ap_exists_config_define("NO_DETACH")) { -+ if ((r = fork()) > 0) -+ return 0; -+ if (r == -1) { -+ perror("fork"); -+ return 0; -+ } -+ setsid(); -+ } -+ } -+#endif - ap_process_config_tree(server_conf, ap_conftree, process->pconf, ptemp); - ap_fixup_virtual_hosts(pconf, server_conf); - ap_fini_vhost_config(pconf, server_conf); diff --git a/www/apache20/files/patch-srclib:apr-util:config.layout b/www/apache20/files/patch-srclib:apr-util:config.layout deleted file mode 100644 index 222e91d975bc..000000000000 --- a/www/apache20/files/patch-srclib:apr-util:config.layout +++ /dev/null @@ -1,10 +0,0 @@ ---- srclib/apr-util/config.layout.orig Tue Jan 7 13:13:09 2003 -+++ srclib/apr-util/config.layout Tue Apr 1 18:36:16 2003 -@@ -229,3 +229,7 @@ - infodir: ${exec_prefix}/share/info - libsuffix -${APRUTIL_MAJOR_VERSION} - </Layout> -+ -+<Layout FreeBSD> -+ libsuffix: -+</Layout> diff --git a/www/apache20/files/patch-srclib:apr-util:configure b/www/apache20/files/patch-srclib:apr-util:configure deleted file mode 100644 index 7f28b2950788..000000000000 --- a/www/apache20/files/patch-srclib:apr-util:configure +++ /dev/null @@ -1,79 +0,0 @@ ---- srclib/apr-util/configure.orig Thu Nov 6 13:05:46 2003 -+++ srclib/apr-util/configure Thu Nov 6 13:05:30 2003 -@@ -7586,8 +7586,8 @@ - fi - fi - bdb_places="$places" -- bdb_default_search_headers="db4/db.h db.h" -- bdb_default_search_lib_names="db-4.1 db4 db" -+ bdb_default_search_headers="db41/db.h db4/db.h db.h" -+ bdb_default_search_lib_names="db41 db-4.1 db4 db" - - - apu_have_db=0 -@@ -11281,8 +11281,8 @@ - fi - fi - bdb_places="$places" -- bdb_default_search_headers="db_185.h" -- bdb_default_search_lib_names="db" -+ bdb_default_search_headers="db.h" -+ bdb_default_search_lib_names="c" - - - apu_have_db=0 -@@ -13401,8 +13401,8 @@ - fi - fi - bdb_places="$places" -- bdb_default_search_headers="db4/db.h db.h" -- bdb_default_search_lib_names="db-4.1 db4 db" -+ bdb_default_search_headers="db41/db.h db4/db.h db.h" -+ bdb_default_search_lib_names="db41 db-4.1 db4 db" - - - apu_have_db=0 -@@ -13934,8 +13934,8 @@ - fi - fi - bdb_places="$places" -- bdb_default_search_headers="db4/db.h db.h" -- bdb_default_search_lib_names="db-4.1 db4 db" -+ bdb_default_search_headers="db41/db.h db4/db.h db.h" -+ bdb_default_search_lib_names="db41 db-4.1 db4 db" - - - apu_have_db=0 -@@ -17113,8 +17113,8 @@ - fi - fi - bdb_places="$places" -- bdb_default_search_headers="db4/db.h db.h" -- bdb_default_search_lib_names="db-4.1 db4 db" -+ bdb_default_search_headers="db41/db.h db4/db.h db.h" -+ bdb_default_search_lib_names="db41 db-4.1 db4 db" - - - apu_have_db=0 -@@ -22928,8 +22928,8 @@ - fi - fi - bdb_places="$places" -- bdb_default_search_headers="db4/db.h db.h" -- bdb_default_search_lib_names="db-4.1 db4 db" -+ bdb_default_search_headers="db41/db.h db4/db.h db.h" -+ bdb_default_search_lib_names="db41 db-4.1 db4 db" - - - apu_have_db=0 -@@ -23461,8 +23461,8 @@ - fi - fi - bdb_places="$places" -- bdb_default_search_headers="db4/db.h db.h" -- bdb_default_search_lib_names="db-4.1 db4 db" -+ bdb_default_search_headers="db41/db.h db4/db.h db.h" -+ bdb_default_search_lib_names="db41 db-4.1 db4 db" - - - apu_have_db=0 diff --git a/www/apache20/files/patch-srclib:apr:config.layout b/www/apache20/files/patch-srclib:apr:config.layout deleted file mode 100644 index 5c52779635fc..000000000000 --- a/www/apache20/files/patch-srclib:apr:config.layout +++ /dev/null @@ -1,10 +0,0 @@ ---- srclib/apr/config.layout.orig Tue Jan 7 13:06:50 2003 -+++ srclib/apr/config.layout Tue Apr 1 18:36:51 2003 -@@ -229,3 +229,7 @@ - infodir: ${exec_prefix}/share/info - libsuffix: -${APR_MAJOR_VERSION} - </Layout> -+ -+<Layout FreeBSD> -+ libsuffix: -+</Layout> diff --git a/www/apache20/files/patch-srclib:apr:include:apr_atomic.h b/www/apache20/files/patch-srclib:apr:include:apr_atomic.h deleted file mode 100644 index 14d1dd444ba3..000000000000 --- a/www/apache20/files/patch-srclib:apr:include:apr_atomic.h +++ /dev/null @@ -1,17 +0,0 @@ ---- srclib/apr/include/apr_atomic.h.orig Wed May 1 03:41:59 2002 -+++ srclib/apr/include/apr_atomic.h Tue May 7 19:37:45 2002 -@@ -175,10 +175,10 @@ - #include <machine/atomic.h> - - #define apr_atomic_t apr_uint32_t --#define apr_atomic_add(mem, val) atomic_add_int(mem,val) --#define apr_atomic_dec(mem) atomic_subtract_int(mem,1) --#define apr_atomic_inc(mem) atomic_add_int(mem,1) --#define apr_atomic_set(mem, val) atomic_set_int(mem, val) -+#define apr_atomic_add(mem, val) (atomic_add_int(mem,val),mem) -+#define apr_atomic_dec(mem) (atomic_subtract_int(mem,1),mem) -+#define apr_atomic_inc(mem) (atomic_add_int(mem,1),mem) -+#define apr_atomic_set(mem, val) (atomic_set_int(mem, val),mem) - #define apr_atomic_read(mem) (*mem) - - #define APR_ATOMIC_NEED_CAS_DEFAULT 1 diff --git a/www/apache20/files/patch-srclib:apr:threadproc:unix:procsup.c b/www/apache20/files/patch-srclib:apr:threadproc:unix:procsup.c deleted file mode 100644 index 13c663af7bd4..000000000000 --- a/www/apache20/files/patch-srclib:apr:threadproc:unix:procsup.c +++ /dev/null @@ -1,18 +0,0 @@ ---- srclib/apr/threadproc/unix/procsup.c.orig Mon Apr 8 22:08:18 2002 -+++ srclib/apr/threadproc/unix/procsup.c Sun Jul 21 08:45:44 2002 -@@ -59,6 +59,7 @@ - int x; - - chdir("/"); -+#ifndef FREEBSD_THREAD_HACK - #if !defined(MPE) && !defined(OS2) && !defined(TPF) && !defined(BEOS) - /* Don't detach for MPE because child processes can't survive the death of - * the parent. */ -@@ -89,6 +90,7 @@ - if (setpgid(0, 0) == -1) { - return errno; - } -+#endif - #endif - - /* close out the standard file descriptors */ diff --git a/www/apache20/files/patch-support:apachectl.in b/www/apache20/files/patch-support:apachectl.in deleted file mode 100644 index 57d2af876b8f..000000000000 --- a/www/apache20/files/patch-support:apachectl.in +++ /dev/null @@ -1,21 +0,0 @@ ---- support/apachectl.in.orig Mon May 27 20:46:01 2002 -+++ support/apachectl.in Thu Jul 11 21:12:36 2002 -@@ -31,8 +31,8 @@ - HTTPD='@exp_sbindir@/@progname@' - # - # pick up any necessary environment variables --if test -f @exp_bindir@/envvars; then -- . @exp_bindir@/envvars -+if test -f @exp_sbindir@/envvars; then -+ . @exp_sbindir@/envvars - fi - # - # a command that outputs a formatted text version of the HTML at the -@@ -46,6 +46,7 @@ - # - # -------------------- -------------------- - # |||||||||||||||||||| END CONFIGURATION SECTION |||||||||||||||||||| -+eval `limits -e -C daemon` >/dev/null 2>&1 - - ERROR=0 - if [ "x$ARGV" = "x" ] ; then diff --git a/www/apache20/files/patch-support:log_server_status.in b/www/apache20/files/patch-support:log_server_status.in deleted file mode 100644 index 136bafb9ff1a..000000000000 --- a/www/apache20/files/patch-support:log_server_status.in +++ /dev/null @@ -1,20 +0,0 @@ ---- support/log_server_status.in.orig Tue Jun 18 23:21:53 2002 -+++ support/log_server_status.in Tue Jun 18 23:23:08 2002 -@@ -63,7 +63,7 @@ - # - require 'sys/socket.ph'; - --$wherelog = "/var/log/graph/"; # Logs will be like "/var/log/graph/19960312" -+$wherelog = "@logfiledir@/httpd-status-"; # Logs will be like "/var/log/httpd-status-19960312.log" - $server = "localhost"; # Name of server, could be "www.foo.com" - $port = "80"; # Port on server - $request = "/status/?auto"; # Request to send -@@ -96,7 +96,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; |