Update to version 1.3.6 of apache.
PR: 10937 Submitted by: maintainer
This commit is contained in:
parent
af01b6d8a4
commit
97605ff731
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18352
@ -3,7 +3,7 @@
|
||||
# Date created: Sat Oct 31 16:30:00 CDT 1997
|
||||
# Whom: hetzels@westbend.net
|
||||
#
|
||||
# $Id: Makefile,v 1.10 1999/03/13 17:57:44 billf Exp $
|
||||
# $Id: Makefile,v 1.11 1999/03/26 14:07:16 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_${AP_VERS}
|
||||
@ -30,8 +30,7 @@ DISTFILES= ${APACHE} ${FRONTPAGE}
|
||||
|
||||
MAINTAINER= hetzels@westbend.net
|
||||
|
||||
#PATCH_SITES= http://www.apache.org/dist//patches/apply_to_${AP_VERS}/ \
|
||||
# http://www.apache.org/dist/patches/apply_to_${AP_VERS}/
|
||||
#PATCH_SITES= http://www.apache.org/dist/patches/apply_to_${AP_VERS}/
|
||||
#PATCHFILES=
|
||||
|
||||
.if defined(PATCH_DEBUG)
|
||||
@ -40,7 +39,7 @@ PATCH_DIST_ARGS= -d ${WRKSRC}/src -E ${PATCH_DIST_STRIP}
|
||||
PATCH_DIST_ARGS= -d ${WRKSRC}/src --forward --quiet -E ${PATCH_DIST_STRIP}
|
||||
.endif
|
||||
|
||||
AP_VERS= 1.3.4
|
||||
AP_VERS= 1.3.6
|
||||
APACHE= ${DISTNAME}${EXTRACT_SUFX}
|
||||
FRONTPAGE= fp30.bsdi3.tar.Z
|
||||
|
||||
@ -95,8 +94,8 @@ CFLAGS+= -O6 -fomit-frame-pointer
|
||||
|
||||
CONFIGURE_ENV= OPTIM='${OPTIM}'
|
||||
|
||||
MAN1= ab.1 apachectl.1 dbmmanage.1 htdigest.1 htpasswd.1
|
||||
MAN8= apxs.8 httpd.8 logresolve.8 rotatelogs.8
|
||||
MAN1= dbmmanage.1 htdigest.1 htpasswd.1
|
||||
MAN8= ab.8 apachectl.8 apxs.8 httpd.8 logresolve.8 rotatelogs.8
|
||||
|
||||
.if defined(SUEXEC)
|
||||
HTTPD_USER?=www
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (apache_1.3.4.tar.gz) = eab1d93bc17e7d9fcf87dc9fa744a9d3
|
||||
MD5 (apache_1.3.6.tar.gz) = b4114ed78f296bfe424c4ba05dccc643
|
||||
MD5 (fp30.bsdi3.tar.Z) = 344b956cca8f367099d7c33e8c7ba174
|
||||
|
@ -1,6 +1,14 @@
|
||||
--- Makefile.tmpl.orig Thu Jan 7 05:50:45 1999
|
||||
+++ Makefile.tmpl Fri Jan 22 22:24:16 1999
|
||||
@@ -110,6 +110,7 @@
|
||||
--- Makefile.tmpl.orig Mon Mar 15 18:38:46 1999
|
||||
+++ Makefile.tmpl Sat Apr 3 15:25:47 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@
|
||||
runtimedir = @runtimedir@
|
||||
logfiledir = @logfiledir@
|
||||
proxycachedir = @proxycachedir@
|
||||
@ -8,27 +16,27 @@
|
||||
|
||||
libexecdir_relative = @libexecdir_relative@
|
||||
|
||||
@@ -124,6 +125,7 @@
|
||||
@@ -134,6 +135,7 @@
|
||||
suexec_safepath = @suexec_safepath@
|
||||
|
||||
# some substituted configuration parameters
|
||||
+conf_user = @conf_user@
|
||||
+conf_user = @conf_user@
|
||||
conf_group = @conf_group@
|
||||
conf_port = @conf_port@
|
||||
conf_serveradmin = @conf_serveradmin@
|
||||
@@ -239,9 +241,9 @@
|
||||
@@ -249,9 +251,9 @@
|
||||
$(MKDIR) $(root)$(mandir)/man1
|
||||
$(MKDIR) $(root)$(mandir)/man8
|
||||
$(MKDIR) $(root)$(sysconfdir)
|
||||
- $(MKDIR) $(root)$(datadir)/htdocs
|
||||
- $(MKDIR) $(root)$(htdocsdir)
|
||||
+ $(MKDIR) $(root)$(doc_prefix)
|
||||
$(MKDIR) $(root)$(datadir)/icons
|
||||
- $(MKDIR) $(root)$(datadir)/cgi-bin
|
||||
+ $(MKDIR) $(root)$(datadir)/cgi-bin.default
|
||||
$(MKDIR) $(root)$(iconsdir)
|
||||
- $(MKDIR) $(root)$(cgidir)
|
||||
+ $(MKDIR) $(root)$(cgidir).default
|
||||
$(MKDIR) $(root)$(includedir)
|
||||
$(MKDIR) $(root)$(runtimedir)
|
||||
$(MKDIR) $(root)$(logfiledir)
|
||||
@@ -278,9 +280,11 @@
|
||||
@@ -294,9 +296,11 @@
|
||||
file=`echo $${mod} | sed -e 's;^.*/\([^/]*\);\1;'`; \
|
||||
echo "$(INSTALL_DSO) $(TOP)/$(SRC)/$${mod} $(root)$(libexecdir)/$${file}"; \
|
||||
$(INSTALL_DSO) $(TOP)/$(SRC)/$${mod} $(root)$(libexecdir)/$${file}; \
|
||||
@ -43,7 +51,7 @@
|
||||
done; \
|
||||
echo "" >>$(SRC)/.apaci.install.conf; \
|
||||
echo "# Reconstruction of the complete module list from all available modules" >>$(SRC)/.apaci.install.conf; \
|
||||
@@ -288,6 +292,7 @@
|
||||
@@ -304,6 +308,7 @@
|
||||
echo "# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]" >>$(SRC)/.apaci.install.conf; \
|
||||
echo "ClearModuleList" >>$(SRC)/.apaci.install.conf; \
|
||||
egrep "^[ ]*(Add|Shared)Module" $(SRC)/Configuration.apaci |\
|
||||
@ -51,72 +59,67 @@
|
||||
sed -e 's:SharedModule:AddModule:' \
|
||||
-e 's:modules/[^/]*/::' \
|
||||
-e 's:[ ]lib: mod_:' \
|
||||
@@ -308,6 +313,7 @@
|
||||
@@ -324,6 +329,7 @@
|
||||
echo "$(INSTALL_SCRIPT) $(TOP)/$(SRC)/support/apachectl[*] $(root)$(sbindir)/$${apachectl}"; \
|
||||
sed -e 's;PIDFILE=.*;PIDFILE=$(runtimedir)/$(TARGET).pid;' \
|
||||
-e 's;HTTPD=.*;HTTPD=$(sbindir)/$(TARGET);' \
|
||||
+ -e 's;LD_LIBRARY_PATH=.*;LD_LIBRARY_PATH=/usr/lib\:$(prefix)/lib;' \
|
||||
< $(TOP)/$(SRC)/support/apachectl > $(TOP)/$(SRC)/.apaci.install.tmp && \
|
||||
$(INSTALL_SCRIPT) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(sbindir)/$${apachectl}; \
|
||||
echo "$(INSTALL_DATA) $(TOP)/$(SRC)/support/apachectl.1 $(root)$(mandir)/man1/$${apachectl}.1"; \
|
||||
@@ -363,25 +369,32 @@
|
||||
echo "$(INSTALL_DATA) $(TOP)/$(SRC)/support/apachectl.8 $(root)$(mandir)/man8/$${apachectl}.8"; \
|
||||
@@ -379,25 +385,32 @@
|
||||
# icons and distributed CGI scripts.
|
||||
install-data:
|
||||
@echo "===> [data: Installing initial data files]"
|
||||
- -@if [ -f $(root)$(datadir)/htdocs/index.html ]; then \
|
||||
- echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/htdocs/]"; \
|
||||
- -@if [ -f $(root)$(htdocsdir)/index.html ]; then \
|
||||
- echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(htdocsdir)/]"; \
|
||||
- else \
|
||||
- echo "Copying tree $(TOP)/htdocs/ -> $(root)$(datadir)/htdocs/"; \
|
||||
+# -@if [ -f $(root)$(datadir)/htdocs/index.html ]; then \
|
||||
+# echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/htdocs/]"; \
|
||||
- echo "Copying tree $(TOP)/htdocs/ -> $(root)$(htdocsdir)/"; \
|
||||
+# -@if [ -f $(root)$(htdocsdir)/index.html ]; then \
|
||||
+# echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(htdocsdir)/]"; \
|
||||
+# else \
|
||||
+ echo "Copying tree $(TOP)/htdocs/ -> $(root)$(doc_prefix)/"; \
|
||||
(cd $(TOP)/htdocs/ && $(TAR) -hcf - *) |\
|
||||
- (cd $(root)$(datadir)/htdocs/ && $(TAR) -xf -); \
|
||||
- find $(root)$(datadir)/htdocs/ -type d -exec chmod a+rx {} \; ; \
|
||||
- find $(root)$(datadir)/htdocs/ -type f -exec chmod a+r {} \; ; \
|
||||
+ (cd $(root)$(doc_prefix) && $(TAR) -xf -); \
|
||||
+ find $(root)$(doc_prefix) -type d -exec chmod a+rx {} \; ; \
|
||||
+ find $(root)$(doc_prefix) -type f -exec chmod a+r {} \; ; \
|
||||
(cd $(TOP)/htdocs/ && $(TAR) $(TAROPT) - *) |\
|
||||
- (cd $(root)$(htdocsdir)/ && $(TAR) -xf -); \
|
||||
- find $(root)$(htdocsdir)/ -type d -exec chmod a+rx {} \; ; \
|
||||
- find $(root)$(htdocsdir)/ -type f -exec chmod a+r {} \; ; \
|
||||
+ (cd $(root)$(doc_prefix)/ && $(TAR) -xf -); \
|
||||
+ find $(root)$(doc_prefix)/ -type d -exec chmod a+rx {} \; ; \
|
||||
+ find $(root)$(doc_prefix)/ -type f -exec chmod a+r {} \; ; \
|
||||
+# fi
|
||||
+ if [ ! -d $(root)$(datadir)/data ]; then \
|
||||
+ $(CP) -rp $(root)$(doc_prefix) $(root)$(datadir)/data; \
|
||||
+ if [ ! -d $(root)$(htdocsdir) ]; then \
|
||||
+ $(CP) -rp $(root)$(doc_prefix) $(root)$(htdocsdir); \
|
||||
fi
|
||||
- -@if [ -f $(root)$(datadir)/cgi-bin/printenv ]; then \
|
||||
- echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/cgi-bin/]"; \
|
||||
- -@if [ -f $(root)$(cgidir)/printenv ]; then \
|
||||
- echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(cgidir)/]"; \
|
||||
- else \
|
||||
+ $(LN) -sf $(root)$(doc_prefix) $(root)$(datadir)/data.default
|
||||
+# -@if [ -f $(root)$(datadir)/cgi-bin/printenv ]; then \
|
||||
+# echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/cgi-bin/]"; \
|
||||
+ $(LN) -s $(root)$(doc_prefix) $(root)$(htdocsdir).default
|
||||
+# -@if [ -f $(root)$(cgidir)/printenv ]; then \
|
||||
+# echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(cgidir)/]"; \
|
||||
+# else \
|
||||
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; \
|
||||
+ 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;
|
||||
- echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(cgidir)/$${script}"; \
|
||||
- $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(cgidir)/$${script}; \
|
||||
+ echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(cgidir).default/$${script}"; \
|
||||
+ $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(cgidir).default/$${script}; \
|
||||
done; \
|
||||
+# fi
|
||||
+ if [ ! -d $(root)$(datadir)/cgi-bin ]; then \
|
||||
+ $(LN) -sf $(root)$(datadir)/cgi-bin.default $(root)$(datadir)/cgi-bin; \
|
||||
+ if [ ! -d $(root)$(cgidir) ]; then \
|
||||
+ $(CP) -rp $(root)$(cgidir).default $(root)$(cgidir); \
|
||||
fi
|
||||
@echo "Copying tree $(TOP)/icons/ -> $(root)$(datadir)/icons/"; \
|
||||
(cd $(TOP)/icons/ && $(TAR) -hcf - *) |\
|
||||
@@ -411,20 +424,23 @@
|
||||
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)/data;' \
|
||||
-e 's;@@ServerRoot@@/icons;$(datadir)/icons;' \
|
||||
-e 's;@@ServerRoot@@/cgi-bin;$(datadir)/cgi-bin;' \
|
||||
@echo "Copying tree $(TOP)/icons/ -> $(root)$(iconsdir)/"; \
|
||||
(cd $(TOP)/icons/ && $(TAR) $(TAROPT) - *) |\
|
||||
@@ -431,17 +444,20 @@
|
||||
-e 's;@@ServerRoot@@/icons;$(iconsdir);' \
|
||||
-e 's;@@ServerRoot@@/cgi-bin;$(cgidir);' \
|
||||
-e 's;@@ServerRoot@@/proxy;$(proxycachedir);' \
|
||||
+ -e 's;@@ServerRoot@@/srm.conf;$(sysconfdir)/srm.conf;' \
|
||||
+ -e 's;@@ServerRoot@@/access.conf;$(sysconfdir)/access.conf;' \
|
||||
-e 's;@@ServerRoot@@;$(prefix);g' \
|
||||
-e 's;httpd.conf;$(TARGET).conf;' \
|
||||
-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;' \
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- src/support/apachectl.orig Fri Jan 1 13:05:32 1999
|
||||
+++ src/support/apachectl Thu Jan 21 20:14:27 1999
|
||||
--- src/support/apachectl.orig Tue Feb 9 12:00:34 1999
|
||||
+++ src/support/apachectl Sat Apr 3 15:40:42 1999
|
||||
@@ -27,6 +27,10 @@
|
||||
# the path to your httpd binary, including options if necessary
|
||||
HTTPD='/usr/local/apache/src/httpd'
|
||||
@ -24,8 +24,8 @@
|
||||
# check for pidfile
|
||||
if [ -f $PIDFILE ] ; then
|
||||
PID=`cat $PIDFILE`
|
||||
- if kill -0 $PID; then
|
||||
+ if kill -0 $PID > /dev/null 2>&1; then
|
||||
- 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
|
||||
|
@ -1,23 +1,19 @@
|
||||
*** src/main/http_request.c.orig Tue Oct 6 14:06:09 1998
|
||||
--- src/main/http_request.c Sat Oct 31 15:49:04 1998
|
||||
***************
|
||||
*** 187,192 ****
|
||||
--- 187,194 ----
|
||||
return OK;
|
||||
}
|
||||
|
||||
+ if (r->execfilename) path = r->execfilename;
|
||||
+
|
||||
#ifdef WIN32
|
||||
/* If the path is x:/, then convert it to x:/., coz that's what stat
|
||||
* needs to work properly
|
||||
***************
|
||||
*** 461,466 ****
|
||||
--- 463,469 ----
|
||||
res = ap_parse_htaccess(&htaccess_conf, r, overrides_here,
|
||||
ap_pstrdup(r->pool, test_dirname),
|
||||
sconf->access_name);
|
||||
+ if (r->execfilename) r->filename = r->execfilename;
|
||||
if (res)
|
||||
return res;
|
||||
|
||||
--- src/main/http_request.c.orig Sun Mar 7 09:05:36 1999
|
||||
+++ src/main/http_request.c Sat Apr 3 16:02:26 1999
|
||||
@@ -187,6 +187,8 @@
|
||||
return OK;
|
||||
}
|
||||
|
||||
+ if (r->execfilename) path = r->execfilename;
|
||||
+
|
||||
#ifdef HAVE_DRIVE_LETTERS
|
||||
/* If the directory is x:\, then we don't want to strip
|
||||
* the trailing slash since x: is not a valid directory.
|
||||
@@ -509,6 +511,7 @@
|
||||
res = ap_parse_htaccess(&htaccess_conf, r, overrides_here,
|
||||
ap_pstrdup(r->pool, test_dirname),
|
||||
sconf->access_name);
|
||||
+ if (r->execfilename) r->filename = r->execfilename;
|
||||
if (res)
|
||||
return res;
|
||||
|
||||
|
@ -169,6 +169,7 @@ share/doc/apache/manual/new_features_1_2.html
|
||||
share/doc/apache/manual/new_features_1_3.html
|
||||
share/doc/apache/manual/process-model.html
|
||||
share/doc/apache/manual/readme-tpf.html
|
||||
share/doc/apache/manual/search/manual-index.cgi
|
||||
share/doc/apache/manual/sections.html
|
||||
share/doc/apache/manual/sourcereorg.html
|
||||
share/doc/apache/manual/stopping.html
|
||||
@ -185,6 +186,7 @@ share/doc/apache/manual/vhosts/header.html
|
||||
share/doc/apache/manual/vhosts/host.html
|
||||
share/doc/apache/manual/vhosts/index.html
|
||||
share/doc/apache/manual/vhosts/ip-based.html
|
||||
share/doc/apache/manual/vhosts/mass.html
|
||||
share/doc/apache/manual/vhosts/name-based.html
|
||||
share/doc/apache/manual/vhosts/vhosts-in-depth.html
|
||||
share/doc/apache/manual/vhosts/virtual-host.html
|
||||
@ -304,6 +306,7 @@ www/icons/world2.gif
|
||||
@dirrm share/doc/apache/manual/images
|
||||
@dirrm share/doc/apache/manual/misc
|
||||
@dirrm share/doc/apache/manual/mod
|
||||
@dirrm share/doc/apache/manual/search
|
||||
@dirrm share/doc/apache/manual/vhosts
|
||||
@dirrm share/doc/apache/manual
|
||||
@dirrm share/doc/apache
|
||||
|
Loading…
Reference in New Issue
Block a user