From: Joe Orton Date: Mon, 23 Aug 2004 15:07:18 +0000 (+0000) Subject: Backport from HEAD: X-Git-Tag: STRIKER_2_0_51_RC1^2~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bfe2d52a6c7e78dafe7931d3fdabc2786a3c563;p=thirdparty%2Fapache%2Fhttpd.git Backport from HEAD: * support/apachectl.in: Fix a problem finding envvars if sbindir != bindir. * support/suexec.c: Pass the SERVER_SIGNATURE envvar through to CGIs. PR: 30723 Submitted by: Friedrich Haubensak, Zvi Har'El Reviewed by: trawick, jorton, nd, slive git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104769 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index a109d3ec96c..e621cf669ee 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,11 @@ Changes with Apache 2.0.51 + *) suexec: Pass the SERVER_SIGNATURE envvar through to CGIs. + [Zvi Har'El ] + + *) apachectl: Fix a problem finding envvars if sbindir != bindir. + PR 30723. [Friedrich Haubensak ] + *) mod_ssl: Build on RHEL 3. PR 18989. [Justin Erenkrantz] *) SECURITY: CAN-2004-0748 (cve.mitre.org) diff --git a/STATUS b/STATUS index 9b84741f4da..df7dcbdab4f 100644 --- a/STATUS +++ b/STATUS @@ -1,5 +1,5 @@ APACHE 2.0 STATUS: -*-text-*- -Last modified at [$Date: 2004/08/23 14:59:51 $] +Last modified at [$Date: 2004/08/23 15:07:18 $] Release: @@ -73,25 +73,11 @@ PATCHES TO BACKPORT FROM 2.1 [ please place file names and revisions from HEAD here, so it is easy to identify exactly what the proposed changes are! ] - *) Fix mod_userdir vs mod_suexec identity hook ordering. - http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/mappers/mod_userdir.c?r1=1.58&r2=1.59 - PR: 18156 - +1: jorton, slive, nd - *) [SECURITY] mod_ssl: Fix potential input filter segfaults in SPECULATIVE mode. http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/ssl/ssl_engine_io.c?r1=1.125&r2=1.126 PR: 30134 +1: jorton - *) apachectl: Fix a problem finding envvars if sbindir != bindir. - PR 30723. [Friedrich Haubensak ] - http://cvs.apache.org/viewcvs.cgi/httpd-2.0/support/apachectl.in?r1=1.22&r2=1.23 - +1: trawick, jorton, nd - - *) suexec: Pass the SERVER_SIGNATURE envvar through to CGIs. - http://cvs.apache.org/viewcvs.cgi/httpd-2.0/support/suexec.c?r1=1.32&r2=1.33 - +1: trawick, jorton, slive, nd - *) Proposal: Several folks want to aggressively backport changes from mod_cache, mod_mem_cache and mod_file_cache from Apache 2.1 back into the 2.0 tree. Proposal is this: Lets drop the diff --git a/support/apachectl.in b/support/apachectl.in index a3c755cfd0f..2eec0d8087e 100644 --- a/support/apachectl.in +++ b/support/apachectl.in @@ -43,8 +43,8 @@ ARGV="$@" 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 diff --git a/support/suexec.c b/support/suexec.c index 36b27138c9c..556a7eb6cf7 100644 --- a/support/suexec.c +++ b/support/suexec.c @@ -134,6 +134,7 @@ char *safe_env_lst[] = "SERVER_ADDR=", "SERVER_PORT=", "SERVER_PROTOCOL=", + "SERVER_SIGNATURE=", "SERVER_SOFTWARE=", "UNIQUE_ID=", "USER_NAME=",