1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/www/apache2/files/patch-configure
Hye-Shik Chang 6d59a529a8 [SECURITY FIX]
Update to 2.0.46

See vulnerability details at:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0245
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0189

PR:		52768 [1]
Submitted by:	Xin Li <delphij@freebsdchina.org> [1],
		Miguel Mendez <flynn@energyhq.es.eu.org>,
		Trevor Johnson <trevor@FreeBSD.org>,
		Mark Gooderum <mark@verniernetworks.com>,
		John Walsh <zed@maths.tcd.ie>
2003-06-01 00:09:42 +00:00

40 lines
2.0 KiB
Plaintext

--- 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