summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcvsdist <cvsdist@fedoraproject.org>2004-09-09 06:16:31 +0000
committercvsdist <cvsdist@fedoraproject.org>2004-09-09 06:16:31 +0000
commit2d6a2e5261dd79b1fb2f32ead440dd0425582a75 (patch)
treebd1a95bdcff01c8f9dc5842194fdbd92e4b13b7e
parentd48e904fadabcf6c6e17de53310a6a67622b5b57 (diff)
downloadhttpd-2d6a2e5261dd79b1fb2f32ead440dd0425582a75.tar.gz
httpd-2d6a2e5261dd79b1fb2f32ead440dd0425582a75.tar.xz
httpd-2d6a2e5261dd79b1fb2f32ead440dd0425582a75.zip
auto-import httpd-2.0.48-1.2 from httpd-2.0.48-1.2.src.rpmhttpd-2_0_48-1_2FC-1-split
-rw-r--r--.cvsignore2
-rw-r--r--httpd.spec33
-rw-r--r--sources2
3 files changed, 26 insertions, 11 deletions
diff --git a/.cvsignore b/.cvsignore
index 4689655..c52b1d9 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-httpd-2.0.47.tar.gz
+httpd-2.0.48.tar.gz
diff --git a/httpd.spec b/httpd.spec
index 9f9c3d6..d5c988e 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -4,8 +4,8 @@
Summary: Apache HTTP Server
Name: httpd
-Version: 2.0.47
-Release: 10
+Version: 2.0.48
+Release: 1.2
URL: http://httpd.apache.org/
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
Source1: index.html
@@ -37,19 +37,19 @@ Patch21: httpd-2.0.45-davfs.patch
Patch22: httpd-2.0.45-davetag.patch
Patch23: httpd-headusage.patch
Patch24: httpd-2.0.47-sslcleanup.patch
-Patch25: httpd-2.0.47-include.patch
Patch26: httpd-2.0.47-ldapshm.patch
Patch27: httpd-2.0.46-shmcb.patch
Patch32: httpd-2.0.46-sslmutex.patch
Patch34: httpd-2.0.46-sslio.patch
Patch36: httpd-2.0.46-graceful.patch
# features/functional changes
-Patch40: httpd-2.0.45-cnfdir.patch
Patch41: httpd-2.0.36-redhat.patch
Patch42: httpd-2.0.40-xfsz.patch
Patch43: httpd-2.0.40-pod.patch
Patch44: httpd-2.0.40-noshmht.patch
Patch45: httpd-2.0.45-proxy.patch
+# Ugly hacks which should never see the light of day
+Patch60: httpd-2.0.48-ssl47to48.patch
License: Apache Software License
Group: System Environment/Daemons
BuildRoot: %{_tmppath}/%{name}-root
@@ -124,20 +124,20 @@ fi
%patch22 -p1 -b .davetag
%patch23 -p1 -b .head
%patch24 -p1 -b .sslcleanup
-%patch25 -p1 -b .include
%patch26 -p1 -b .ldapshm
%patch27 -p1 -b .shmcb
%patch32 -p1 -b .sslmutex
%patch34 -p1 -b .sslio
%patch36 -p1 -b .graceful
-%patch40 -p1 -b .cnfdir
%patch41 -p0 -b .redhat
%patch42 -p0 -b .xfsz
%patch43 -p0 -b .pod
%patch44 -p1 -b .noshmht
%patch45 -p1 -b .proxy
+%patch60 -p1 -b .ssl47to48
+
# Safety check: prevent build if defined MMN does not equal upstream MMN.
vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include \`pwd\`/include/ap_mmn.h | grep -v '#'`
if test "x${vmmn}" != "x%{mmn}"; then
@@ -157,6 +157,9 @@ fi
%{__perl} -pi -e "s:\@docdir\@:%{_docdir}/%{name}-%{version}:g" \
support/apachectl.in
+# forcibly prevent use of bundled apr, apr-util
+rm -rf srclib/{apr,apr-util}
+
# build the migration guide
xmlto --skip-validation -x $RPM_SOURCE_DIR/html.xsl html-nochunks $RPM_SOURCE_DIR/migration.xml
cp $RPM_SOURCE_DIR/migration.css . # make %%doc happy
@@ -286,13 +289,16 @@ mv $RPM_BUILD_ROOT%{_sbindir}/{ab,htdbm,logresolve,htpasswd,htdigest} \
# move builddir to the right place
mv $RPM_BUILD_ROOT%{contentdir}/build $RPM_BUILD_ROOT%{_libdir}/httpd/build
-ln -s ../../../..%{_bindir}/libtool $RPM_BUILD_ROOT%{_libdir}/httpd/build/libtool
+
+# point to the correct libtool
+apr_libtool=`apr-config --apr-libtool | sed -e 's|/bin/sh ||'`
+ln -s ../../../..${apr_libtool} $RPM_BUILD_ROOT%{_libdir}/httpd/build/libtool
# Install and sanitize config_vars file: relocate the build directory into
# libdir; reference correct libtool; fix EXTRA_INCLUDES
sed -e "s|%{contentdir}/build|%{_libdir}/httpd/build|g" \
-e "/AP_LIBS/d" -e "/abs_srcdir/d" \
- -e "/^LIBTOOL/s|/bin/sh /[^ ]*/libtool|`apr-config --apr-libtool`|" \
+ -e "/^LIBTOOL/s|/bin/sh /[^ ]*/libtool|/bin/sh ${apr_libtool}|" \
-e "s|^EXTRA_INCLUDES.*$|EXTRA_INCLUDES = -I\$(includedir) -I\$(APR_INCLUDEDIR) -I%{_includedir}/openssl|g" \
< prefork/build/config_vars.mk \
> $RPM_BUILD_ROOT%{_libdir}/httpd/build/config_vars.mk
@@ -353,13 +359,14 @@ sed -e "s|/usr/local/apache2/conf/httpd.conf|/etc/httpd/conf/httpd.conf|" \
rm -f $RPM_BUILD_ROOT%{_libdir}/*.exp \
$RPM_BUILD_ROOT/etc/httpd/conf/mime.types \
$RPM_BUILD_ROOT%{_libdir}/httpd/modules/*.exp \
+ $RPM_BUILD_ROOT%{_libdir}/httpd/build/config.nice \
$RPM_BUILD_ROOT%{_bindir}/ap?-config \
$RPM_BUILD_ROOT%{_sbindir}/{checkgid,dbmmanage,envvars*} \
$RPM_BUILD_ROOT%{contentdir}/htdocs/* \
$RPM_BUILD_ROOT%{contentdir}/cgi-bin/*
# Remove headers which needn't be public
-rm -f $RPM_BUILD_ROOT%{_includedir}/httpd/{mpm*.h,ssl_expr_parse.h,ssl_util_table.h}
+rm -f $RPM_BUILD_ROOT%{_includedir}/httpd/{ssl_expr_parse.h,ssl_util_table.h}
%pre
# Add the "apache" user
@@ -501,6 +508,14 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/httpd/build/instdso.sh
%changelog
+* Wed Nov 19 2003 Joe Orton <jorton@redhat.com> 2.0.48-1.2
+- bug fix for #110184
+
+* Tue Oct 28 2003 Joe Orton <jorton@redhat.com> 2.0.48-1.1
+- update to 2.0.48 (#108608, thanks to Robert Scheck)
+- includes security fix for CVE CAN-2003-0542
+- reinstate mpm_common.h (#108080)
+
* Thu Oct 23 2003 Joe Orton <jorton@redhat.com> 2.0.47-10
- httpd.conf: configure test page in welcome.conf, load suexec,
don't use custom error docs by default, sync with upstream.
diff --git a/sources b/sources
index e77b55b..ce3f6db 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-63f16638c18b140b649fab32b54d7f9c httpd-2.0.47.tar.gz
+466c63bb71b710d20a5c353df8c1a19c httpd-2.0.48.tar.gz