diff options
Diffstat (limited to 'www/apache20/files')
-rw-r--r-- | www/apache20/files/patch-aa | 12 | ||||
-rw-r--r-- | www/apache20/files/patch-ab | 48 |
2 files changed, 32 insertions, 28 deletions
diff --git a/www/apache20/files/patch-aa b/www/apache20/files/patch-aa index 21ea6449f6ca..95661a056d8d 100644 --- a/www/apache20/files/patch-aa +++ b/www/apache20/files/patch-aa @@ -1,7 +1,7 @@ -*** configure.bak Sun Jul 12 13:25:46 1998 ---- configure Thu Jul 23 16:52:04 1998 +*** configure.orig Thu Sep 17 12:07:53 1998 +--- configure Thu Sep 24 03:57:33 1998 *************** -*** 877,884 **** +*** 870,877 **** echo " DEFAULT_PIDLOG: ${runtimedir_relative}httpd.pid" echo " DEFAULT_SCOREBOARD: ${runtimedir_relative}httpd.scoreboard" echo " DEFAULT_LOCKFILE: ${runtimedir_relative}httpd.lock" @@ -10,7 +10,7 @@ echo " TYPES_CONFIG_FILE: ${sysconfdir_relative}mime.types" echo " SERVER_CONFIG_FILE: ${sysconfdir_relative}httpd.conf" echo " ACCESS_CONFIG_FILE: ${sysconfdir_relative}access.conf" ---- 877,884 ---- +--- 870,877 ---- echo " DEFAULT_PIDLOG: ${runtimedir_relative}httpd.pid" echo " DEFAULT_SCOREBOARD: ${runtimedir_relative}httpd.scoreboard" echo " DEFAULT_LOCKFILE: ${runtimedir_relative}httpd.lock" @@ -20,7 +20,7 @@ echo " SERVER_CONFIG_FILE: ${sysconfdir_relative}httpd.conf" echo " ACCESS_CONFIG_FILE: ${sysconfdir_relative}access.conf" *************** -*** 942,949 **** +*** 935,942 **** echo "echo '-DDEFAULT_PIDLOG=\"${runtimedir_relative}httpd.pid\"'" >>$src/apaci echo "echo '-DDEFAULT_SCOREBOARD=\"${runtimedir_relative}httpd.scoreboard\"'" >>$src/apaci echo "echo '-DDEFAULT_LOCKFILE=\"${runtimedir_relative}httpd.lock\"'" >>$src/apaci @@ -29,7 +29,7 @@ echo "echo '-DTYPES_CONFIG_FILE=\"${sysconfdir_relative}mime.types\"'" >>$src/apaci echo "echo '-DSERVER_CONFIG_FILE=\"${sysconfdir_relative}httpd.conf\"'" >>$src/apaci echo "echo '-DACCESS_CONFIG_FILE=\"${sysconfdir_relative}access.conf\"'" >>$src/apaci ---- 942,949 ---- +--- 935,942 ---- echo "echo '-DDEFAULT_PIDLOG=\"${runtimedir_relative}httpd.pid\"'" >>$src/apaci echo "echo '-DDEFAULT_SCOREBOARD=\"${runtimedir_relative}httpd.scoreboard\"'" >>$src/apaci echo "echo '-DDEFAULT_LOCKFILE=\"${runtimedir_relative}httpd.lock\"'" >>$src/apaci diff --git a/www/apache20/files/patch-ab b/www/apache20/files/patch-ab index de82b962be4a..50e0de52fc30 100644 --- a/www/apache20/files/patch-ab +++ b/www/apache20/files/patch-ab @@ -1,5 +1,5 @@ -*** Makefile.tmpl.orig Wed Jul 15 21:03:25 1998 ---- Makefile.tmpl Thu Jul 23 16:14:15 1998 +*** Makefile.tmpl.orig Sat Sep 19 16:41:48 1998 +--- Makefile.tmpl Thu Sep 24 04:07:49 1998 *************** *** 107,112 **** --- 107,113 ---- @@ -49,7 +49,7 @@ $(MKDIR) $(root)$(runtimedir) $(MKDIR) $(root)$(logfiledir) *************** -*** 338,360 **** +*** 340,365 **** # icons and distributed CGI scripts. install-data: @echo "===> [data: Installing initial data files]" @@ -65,15 +65,18 @@ ! -@if [ -f $(root)$(datadir)/cgi-bin/printenv ]; then \ ! echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/cgi-bin/]"; \ ! else \ -! echo "Copying tree $(TOP)/cgi-bin/ -> $(root)$(datadir)/cgi-bin/"; \ - (cd $(TOP)/cgi-bin/ && $(TAR) cf - *) |\ -! (cd $(root)$(datadir)/cgi-bin/ && $(TAR) xf -); \ -! find $(root)$(datadir)/cgi-bin/ -type d -exec chmod a+rx {} \; ; \ -! find $(root)$(datadir)/cgi-bin/ -type f -exec chmod a+r {} \; ; \ - fi + for script in printenv test-cgi; do \ + cat $(TOP)/cgi-bin/$${script} |\ + sed -e 's;^#!/.*perl;#!$(PERL);' \ + > $(TOP)/$(SRC)/.apaci.install.tmp; \ +! echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(datadir)/cgi-bin/$${script}"; \ +! $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(datadir)/cgi-bin/$${script}; \ + done; \ +! fi @echo "Copying tree $(TOP)/icons/ -> $(root)$(datadir)/icons/"; \ (cd $(TOP)/icons/ && $(TAR) cf - *) |\ ---- 339,368 ---- + (cd $(root)$(datadir)/icons/ && $(TAR) xf -); \ +--- 341,373 ---- # icons and distributed CGI scripts. install-data: @echo "===> [data: Installing initial data files]" @@ -93,38 +96,39 @@ ! # -@if [ -f $(root)$(datadir)/cgi-bin/printenv ]; then \ ! # echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/cgi-bin/]"; \ ! # else \ -! echo "Copying tree $(TOP)/cgi-bin/ -> $(root)$(datadir)/cgi-bin.default/"; \ - (cd $(TOP)/cgi-bin/ && $(TAR) cf - *) |\ -! (cd $(root)$(datadir)/cgi-bin.default/ && $(TAR) xf -); \ -! find $(root)$(datadir)/cgi-bin.default/ -type d -exec chmod a+rx {} \; ; \ -! find $(root)$(datadir)/cgi-bin.default/ -type f -exec chmod a+r {} \; ; \ + for script in printenv test-cgi; do \ + cat $(TOP)/cgi-bin/$${script} |\ + sed -e 's;^#!/.*perl;#!$(PERL);' \ + > $(TOP)/$(SRC)/.apaci.install.tmp; \ +! echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(datadir)/cgi-bin.default/$${script}"; \ +! $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(datadir)/cgi-bin.default/$${script}; \ + done; \ ! # fi ! if [ ! -d $(root)$(datadir)/cgi-bin ]; then \ ! $(LN) -sf $(root)$(datadir)/cgi-bin.default $(root)$(datadir)/cgi-bin; \ - fi +! fi @echo "Copying tree $(TOP)/icons/ -> $(root)$(datadir)/icons/"; \ (cd $(TOP)/icons/ && $(TAR) cf - *) |\ + (cd $(root)$(datadir)/icons/ && $(TAR) xf -); \ *************** -*** 374,381 **** +*** 378,384 **** echo ""; \ cat $(TOP)/conf/$${conf}-dist ) |\ sed -e '/# LoadModule/r $(TOP)/$(SRC)/.apaci.install.conf' \ ! -e 's;@@ServerRoot@@/htdocs;$(datadir)/htdocs;' \ -! -e 's;@@ServerRoot@@/htdocs;$(datadir)/htdocs;' \ -e 's;@@ServerRoot@@/icons;$(datadir)/icons;' \ -e 's;@@ServerRoot@@/cgi-bin;$(datadir)/cgi-bin;' \ -e 's;@@ServerRoot@@/proxy;$(proxycachedir);' \ ---- 382,389 ---- +--- 386,392 ---- echo ""; \ cat $(TOP)/conf/$${conf}-dist ) |\ sed -e '/# LoadModule/r $(TOP)/$(SRC)/.apaci.install.conf' \ ! -e 's;@@ServerRoot@@/htdocs;$(datadir)/data;' \ -! -e 's;@@ServerRoot@@/htdocs;$(datadir)/data;' \ -e 's;@@ServerRoot@@/icons;$(datadir)/icons;' \ -e 's;@@ServerRoot@@/cgi-bin;$(datadir)/cgi-bin;' \ -e 's;@@ServerRoot@@/proxy;$(proxycachedir);' \ *************** -*** 383,392 **** +*** 386,395 **** -e 's;logs/accept.lock;$(runtimedir)/httpd.lock;' \ -e 's;logs/apache_runtime_status;$(runtimedir)/httpd.scoreboard;' \ -e 's;logs/httpd.pid;$(runtimedir)/httpd.pid;' \ @@ -135,7 +139,7 @@ -e 's;conf/magic;$(sysconfdir)/magic;' \ -e 's;conf/mime.types;$(sysconfdir)/mime.types;' \ -e 's;Group #-1;Group $(conf_group);' \ ---- 391,400 ---- +--- 394,403 ---- -e 's;logs/accept.lock;$(runtimedir)/httpd.lock;' \ -e 's;logs/apache_runtime_status;$(runtimedir)/httpd.scoreboard;' \ -e 's;logs/httpd.pid;$(runtimedir)/httpd.pid;' \ |