From 439691b8b5707a4e11131af850d9400c43ff6102 Mon Sep 17 00:00:00 2001 From: jorton Date: Feb 09 2005 09:02:54 +0000 Subject: - update to 2.0.53 - move prefork/worker modules comparison to %check --- diff --git a/.cvsignore b/.cvsignore index f597ac1..017fd3d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,3 +1,2 @@ -httpd-2.0.52.tar.gz -migration.html -status.* +httpd-2.0.53.tar.gz +httpd-2.0.53 diff --git a/httpd-2.0.45-export.patch b/httpd-2.0.45-export.patch index 0ba3081..06aedc0 100644 --- a/httpd-2.0.45-export.patch +++ b/httpd-2.0.45-export.patch @@ -6,9 +6,9 @@ Upstream-HEAD: needed Upstream-2.0: omit Upstream-Status: EXPORT_DIRS change is conditional on using shared apr ---- httpd-2.0.48/server/main.c.export -+++ httpd-2.0.48/server/main.c -@@ -669,28 +669,6 @@ +--- httpd-2.0.53/server/main.c.export ++++ httpd-2.0.53/server/main.c +@@ -627,28 +627,6 @@ return 0; /* Termination 'ok' */ } @@ -37,14 +37,16 @@ Upstream-Status: EXPORT_DIRS change is conditional on using shared apr #ifdef AP_USING_AUTOCONF /* This ugly little hack pulls any function referenced in exports.c into * the web server. exports.c is generated during the build, and it ---- httpd-2.0.48/server/Makefile.in.export -+++ httpd-2.0.48/server/Makefile.in -@@ -30,7 +30,7 @@ +--- httpd-2.0.53/server/Makefile.in.export ++++ httpd-2.0.53/server/Makefile.in +@@ -59,10 +59,6 @@ + for dir in $(EXPORT_DIRS); do \ + ls $$dir/*.h >> $$tmp; \ + done; \ +- for dir in $(EXPORT_DIRS_APR); do \ +- ls $$dir/ap[ru].h >> $$tmp; \ +- ls $$dir/ap[ru]_*.h >> $$tmp; \ +- done; \ + sort -u $$tmp > $@; \ + rm -f $$tmp - util.lo: test_char.h - --EXPORT_DIRS = $(top_srcdir)/include $(top_srcdir)/os/$(OS_DIR) $(APR_INCLUDEDIR) $(APU_INCLUDEDIR) $(top_srcdir)/modules/http -+EXPORT_DIRS = $(top_srcdir)/include $(top_srcdir)/os/$(OS_DIR) $(top_srcdir)/modules/http - - # If export_files is a dependency here, but we remove it during this stage, - # when exports.c is generated, make will not detect that export_files is no diff --git a/httpd.spec b/httpd.spec index a01e7d9..1a4983d 100644 --- a/httpd.spec +++ b/httpd.spec @@ -6,8 +6,8 @@ Summary: Apache HTTP Server Name: httpd -Version: 2.0.52 -Release: 7 +Version: 2.0.53 +Release: 1 URL: http://httpd.apache.org/ Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz Source1: index.html @@ -51,8 +51,6 @@ Patch28: httpd-2.0.48-worker.patch Patch29: httpd-2.0.48-workerhup.patch Patch30: httpd-2.0.48-davmisc.patch Patch39: httpd-2.0.50-reclaim.patch -Patch40: httpd-2.0.52-sslauth.patch -Patch41: httpd-2.0.52-savebrigade.patch # Features/functional changes Patch70: httpd-2.0.48-release.patch Patch71: httpd-2.0.40-xfsz.patch @@ -72,9 +70,6 @@ Patch89: httpd-2.0.49-headerssl.patch Patch90: httpd-2.0.49-workerstack.patch Patch91: httpd-2.0.46-testhook.patch Patch92: httpd-2.0.46-dumpcerts.patch -# Security fixes -Patch120: httpd-2.0.52-CAN-2004-0885.patch -Patch121: httpd-2.0.52-CAN-2004-0942.patch License: Apache Software License Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-root @@ -168,8 +163,6 @@ executed by SSI pages) as a user other than the 'apache' user. %patch29 -p1 -b .workerhup %patch30 -p1 -b .davmisc %patch39 -p1 -b .reclaim -%patch40 -p1 -b .sslauth -%patch41 -p1 -b .savebrigade %patch71 -p0 -b .xfsz %patch72 -p1 -b .pod @@ -189,9 +182,6 @@ executed by SSI pages) as a user other than the 'apache' user. %patch91 -p1 -b .testhook %patch92 -p1 -b .dumpcerts -%patch120 -p1 -b .can0885 -%patch121 -p1 -b .can0942 - # Patch in vendor/release string sed "s/@RELEASE@/%{vstring}/" < %{PATCH70} | patch -p1 @@ -297,14 +287,6 @@ mpmbuild prefork --enable-mods-shared=all \ # easiest way seems to be enable them shared. mpmbuild worker --enable-mods-shared=all -# Verify that the same modules were built into the two httpd binaries -./prefork/httpd -l | grep -v prefork > prefork.mods -./worker/httpd -l | grep -v worker > worker.mods -if ! diff -u prefork.mods worker.mods; then - : Different modules built into httpd binaries, will not proceed - exit 1 -fi - %install rm -rf $RPM_BUILD_ROOT @@ -507,6 +489,14 @@ if readelf -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules/*.so | grep TEXTREL; then exit 1 fi +# Verify that the same modules were built into the two httpd binaries +./prefork/httpd -l | grep -v prefork > prefork.mods +./worker/httpd -l | grep -v worker > worker.mods +if ! diff -u prefork.mods worker.mods; then + : Different modules built into httpd binaries, will not proceed + exit 1 +fi + %clean rm -rf $RPM_BUILD_ROOT @@ -604,6 +594,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/suexec.8* %changelog +* Wed Feb 9 2005 Joe Orton 2.0.53-4 +- update to 2.0.53 +- move prefork/worker modules comparison to %%check + * Mon Feb 7 2005 Joe Orton 2.0.52-7 - fix cosmetic issues in "service httpd reload" - move User/Group higher in httpd.conf (#146793) diff --git a/sources b/sources index b999637..eb2292f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -eba528fa8613dc5bfb0615a69c11f053 httpd-2.0.52.tar.gz +b089bdc7065c3be166bcc516b0d92416 httpd-2.0.53.tar.gz diff --git a/upstream b/upstream index 3183f92..5ceb6af 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -httpd-2.0.52.tar.gz +httpd-2.0.53.tar.gz