Hello community, here is the log from the commit of package apache2 for openSUSE:Factory checked in at 2012-08-05 15:13:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apache2 (Old) and /work/SRC/openSUSE:Factory/.apache2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "apache2", Maintainer is "draht@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/apache2/apache2.changes 2012-07-30 20:11:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.apache2.new/apache2.changes 2012-08-05 15:13:43.000000000 +0200 @@ -1,0 +2,25 @@ +Wed Aug 1 04:10:13 UTC 2012 - crrodriguez@opensuse.org + +- Fix factory-auto (aka r2dbag) complains about URL. +- Provide a symlink for apxs2 new location otherwise + all buggy spec files of external modules will break. + +------------------------------------------------------------------- +Wed Aug 1 02:21:34 UTC 2012 - crrodriguez@opensuse.org + +- BuildRequire xz explicitly, fix build in !Factory +- Drop more old, unused patches + +------------------------------------------------------------------- +Wed Aug 1 01:14:35 UTC 2012 - crrodriguez@opensuse.org + +- Upgrade to apache 2.4.2 +** ATTENTION, before installing this update YOU MUST +READ http://httpd.apache.org/docs/2.4/upgrading.html +CAREFULLY otherwise your server will most likely +fail to start due to backward incompatible changes. + +* You can read the huge complete list of changes + at http://httpd.apache.org/docs/2.4/new_features_2_4.html + +------------------------------------------------------------------- Old: ---- apache2.2-mpm-itk-20090414-00.patch httpd-2.2.22.tar.bz2 httpd-2.2.22.tar.bz2.asc httpd-2.2.x-CVE-2011-3368-server_protocl_c.diff httpd-keepalivetimeout-millisecs.patch httpd-mod_deflate_head.patch httpd-new_pcre.patch ssl-mode-release-buffers.patch New: ---- apache2.4-mpm-itk-2.4.2-01.patch httpd-2.4.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apache2.spec ++++++ --- /var/tmp/diff_new_pack.TOPIqD/_old 2012-08-05 15:14:05.000000000 +0200 +++ /var/tmp/diff_new_pack.TOPIqD/_new 2012-08-05 15:14:05.000000000 +0200 @@ -25,6 +25,7 @@ BuildRequires: openldap2-devel BuildRequires: openssl-devel BuildRequires: pcre-devel +BuildRequires: xz BuildRequires: zlib-devel %if %{?suse_version:1}0 && 0%{?sles_version} == 9 BuildRequires: libcap @@ -47,7 +48,7 @@ %define pname apache2 %define vers 2 %define httpd httpd2 -%define apache_mmn %(test -s %{S:0} && { echo -n apache_mmn_; bzcat %{S:0} | awk '/^#define MODULE_MAGIC_NUMBER_MAJOR/ {printf "%d", $3}'; }) +%define apache_mmn %(test -s %{S:0} && { echo -n apache_mmn_; xzcat %{S:0} | awk '/^#define MODULE_MAGIC_NUMBER_MAJOR/ {printf "%d", $3}'; }) %define default_mpm prefork %{!?prefork:%define prefork 1} %{!?worker:%define worker 1} @@ -74,14 +75,13 @@ # "Server:" header %define VENDOR SUSE %define platform_string Linux/%VENDOR -%define realver 2.2.22 -Version: 2.2.22 +%define realver 2.4.2 +Version: 2.4.2 Release: 0 #Source0: http://www.apache.org/dist/httpd-%{version}.tar.bz2 -Source0: http://httpd.apache.org/dev/dist/httpd-%{realver}.tar.bz2 +Source0: httpd-%{realver}.tar.xz # Add file to take mtime from it in prep section Source1: apache2.changes -Source5: http://httpd.apache.org/dev/dist/httpd-%{realver}.tar.bz2.asc Source6: 60C5442D.key Source10: SUSE-NOTICE Source11: rc.%{pname} @@ -139,14 +139,8 @@ Patch67: httpd-2.2.0-apxs-a2enmod.dif Patch68: httpd-2.x.x-logresolve.patch Patch69: httpd-2.2.x-bnc690734.patch -Patch100: apache2.2-mpm-itk-20090414-00.patch +Patch100: apache2.4-mpm-itk-2.4.2-01.patch Patch101: httpd-2.2.19-linux3.patch -Patch102: httpd-keepalivetimeout-millisecs.patch -Patch104: httpd-mod_deflate_head.patch -Patch105: ssl-mode-release-buffers.patch -Patch106: httpd-2.2.x-CVE-2011-3368-server_protocl_c.diff -# PATCH-FIX-UPSTREAM https://issues.apache.org/bugzilla/show_bug.cgi?id=52623 -Patch107: httpd-new_pcre.patch # PATCH-FEATURE-UPSTREAM apache2-mod_ssl_npn.patch dimstar@opensuse.org -- Add npn support to mod_ssl (needed for spdy) Patch108: apache2-mod_ssl_npn.patch Provides: apache2(mod_ssl+npn) @@ -362,22 +356,15 @@ # %setup -q -n httpd-%{realver} %patch2 -p1 -%patch23 -p1 +%patch23 %patch65 -p1 -%patch66 -p1 +%patch66 %patch67 -p1 %patch68 -p1 %patch69 -%patch100 +%patch100 -p1 %patch101 -%patch102 -%patch104 -%patch105 -%patch106 -%if 0%{?suse_version} >= 1220 -%patch107 -%endif -%patch108 +%patch108 -p1 # cat $RPM_SOURCE_DIR/SUSE-NOTICE >> NOTICE @@ -480,7 +467,8 @@ --with-suexec-userdir=%{userdir} \ --with-suexec-uidmin=96 \ --with-suexec-gidmin=96 \ - --with-suexec-safepath=%{suexec_safepath} + --with-suexec-safepath=%{suexec_safepath} \ + --disable-heartbeat } # @@ -737,17 +725,21 @@ mv $i ${i%.*}%{vers}.${i#*.*.} || true done popd + +pushd $RPM_BUILD_ROOT/%{_bindir} +for i in ab dbmmanage htdbm htdigest htpasswd logresolve;do +mv $i ${i}%{vers} || true +done +popd + pushd $RPM_BUILD_ROOT/%{_sbindir} - for i in ab dbmmanage htdbm htdigest htpasswd logresolve rotatelogs suexec; do + for i in rotatelogs suexec; do mv $i ${i}%{vers} || true done mv apachectl apachectl.tmp; mv apachectl.tmp apache%{vers}ctl - for i in dbmmanage htdbm htdigest htpasswd; do - mv ${i}%{vers} ../bin/ - done popd # fix up apxs -pushd $RPM_BUILD_ROOT/%{_sbindir} +pushd $RPM_BUILD_ROOT/%{_bindir} for mpm in %{mpms_to_build}; do cat <<-EOT_ED | ed -s apxs H @@ -776,7 +768,7 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ install -m 644 %{S:49} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} install -m 644 %{S:50} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl - +ln -sf %{_bindir}/apxs%{vers} %{buildroot}%{_sbindir} # # filelists # @@ -785,7 +777,7 @@ echo %dir %{_libdir}/%{pname}-$mpm >> filelist ( echo %dir %{includedir}-$mpm - echo %{_sbindir}/apxs%{vers}-$mpm + echo %{_bindir}/apxs%{vers}-$mpm ) >> filelist-devel done find $RPM_BUILD_ROOT/%{includedir}/.. -type f -o -type l \ @@ -827,6 +819,7 @@ -e 's+%{sysconfdir}+'$RPM_BUILD_ROOT'%{sysconfdir}+' \ -e 's+%{datadir}+'$RPM_BUILD_ROOT'%{datadir}+' \ -e 's+\.conf$+&.test+' \ + -e 's+/var/log+'$RPM_BUILD_ROOT'/var/log+' \ httpd.conf > httpd.conf.test sed -e 's+%{sysconfdir}+'$RPM_BUILD_ROOT'%{sysconfdir}+' \ default-server.conf > default-server.conf.test @@ -973,6 +966,7 @@ %dir %{_prefix}/share/%{pname} %dir %{installbuilddir} %dir %{includedir} +%{_bindir}/apxs%{vers} %{_sbindir}/apxs%{vers} %files doc @@ -999,6 +993,8 @@ %doc %{_mandir}/man?/logresolve%{vers}.?.* %doc %{_mandir}/man?/rotatelogs%{vers}.?.* %doc %{_mandir}/man?/suexec%{vers}.?.* +%{_sbindir}/fcgistarter +%{_mandir}/man8/fcgistarter2.8.* %{_bindir}/check_forensic%{vers} %{_bindir}/dbmmanage%{vers} %{_bindir}/gensslcert @@ -1006,10 +1002,10 @@ %{_bindir}/htdigest%{vers} %{_bindir}/htpasswd%{vers} %{_bindir}/split-logfile%{vers} -%{_sbindir}/ab%{vers} -%{_sbindir}/httxt2dbm +%{_bindir}/ab%{vers} +%{_bindir}/httxt2dbm %{_sbindir}/logresolve.pl%{vers} -%{_sbindir}/logresolve%{vers} +%{_bindir}/logresolve%{vers} %{_sbindir}/rotatelogs%{vers} %verify(not mode) %attr(0755,root,root) %_sbindir/suexec2 %if %prefork ++++++ apache-20-22-upgrade ++++++ --- /var/tmp/diff_new_pack.TOPIqD/_old 2012-08-05 15:14:05.000000000 +0200 +++ /var/tmp/diff_new_pack.TOPIqD/_new 2012-08-05 15:14:05.000000000 +0200 @@ -13,7 +13,6 @@ a2enmod authz_groupfile a2enmod authz_default a2enmod authz_user - cat <<-EOF @@ -61,4 +60,11 @@ a2enmod mod_authnz_ldap fi +for module in mod_authn_default mod_authz_default mod_mem_cache; do + if a2enmod -q "$module"; then + echo "!!ATTENTION! $module was removed from apache version 2.4 or later, CHECK YOUR CONFIGURATION!!!" + a2dismod "$module" + fi +done + echo 'Done.' ++++++ apache2-default-server.conf ++++++ --- /var/tmp/diff_new_pack.TOPIqD/_old 2012-08-05 15:14:05.000000000 +0200 +++ /var/tmp/diff_new_pack.TOPIqD/_new 2012-08-05 15:14:05.000000000 +0200 @@ -102,5 +102,5 @@ Include /etc/apache2/conf.d/*.conf # The manual... if it is installed ('?' means it won't complain) -Include /etc/apache2/conf.d/apache2-manual?conf +IncludeOptional /etc/apache2/conf.d/apache2-manual?conf ++++++ apache2-httpd.conf ++++++ --- /var/tmp/diff_new_pack.TOPIqD/_old 2012-08-05 15:14:05.000000000 +0200 +++ /var/tmp/diff_new_pack.TOPIqD/_new 2012-08-05 15:14:05.000000000 +0200 @@ -202,7 +202,7 @@ # You may use the command line option '-S' to verify your virtual host # configuration. # -Include /etc/apache2/vhosts.d/*.conf +IncludeOptional /etc/apache2/vhosts.d/*.conf # Note: instead of adding your own configuration here, consider ++++++ apache2-mod_ssl_npn.patch ++++++ ++++ 1487 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/apache2/apache2-mod_ssl_npn.patch ++++ and /work/SRC/openSUSE:Factory/.apache2.new/apache2-mod_ssl_npn.patch ++++++ apache2.2-mpm-itk-20090414-00.patch -> apache2.4-mpm-itk-2.4.2-01.patch ++++++ ++++ 2160 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/apache2/apache2.2-mpm-itk-20090414-00.patch ++++ and /work/SRC/openSUSE:Factory/.apache2.new/apache2.4-mpm-itk-2.4.2-01.patch ++++++ httpd-2.0.54-envvars.dif ++++++ --- /var/tmp/diff_new_pack.TOPIqD/_old 2012-08-05 15:14:05.000000000 +0200 +++ /var/tmp/diff_new_pack.TOPIqD/_new 2012-08-05 15:14:05.000000000 +0200 @@ -1,11 +1,17 @@ -diff -uNr httpd-2.0.54.orig/support/envvars-std.in httpd-2.0.54/support/envvars-std.in ---- httpd-2.0.54.orig/support/envvars-std.in 2005-02-04 21:21:18.000000000 +0100 -+++ httpd-2.0.54/support/envvars-std.in 2005-10-07 13:56:49.223546288 +0200 -@@ -19,6 +19,6 @@ +--- support/envvars-std.in.orig ++++ support/envvars-std.in +@@ -18,11 +18,9 @@ + # # This file is generated from envvars-std.in # --@SHLIBPATH_VAR@="@exp_libdir@:$@SHLIBPATH_VAR@" +-if test "x$@SHLIBPATH_VAR@" != "x" ; then +- @SHLIBPATH_VAR@="@exp_libdir@:$@SHLIBPATH_VAR@" +-else +- @SHLIBPATH_VAR@="@exp_libdir@" +-fi ++ +@SHLIBPATH_VAR@="@exp_libdir@${@SHLIBPATH_VAR@+:$@SHLIBPATH_VAR@}" ++ export @SHLIBPATH_VAR@ # @OS_SPECIFIC_VARS@ ++++++ httpd-2.1.9-apachectl.dif ++++++ --- /var/tmp/diff_new_pack.TOPIqD/_old 2012-08-05 15:14:05.000000000 +0200 +++ /var/tmp/diff_new_pack.TOPIqD/_new 2012-08-05 15:14:05.000000000 +0200 @@ -1,7 +1,6 @@ -diff -uNr httpd-2.1.3-alpha.orig/support/apachectl.in httpd-2.1.3-alpha/support/apachectl.in ---- httpd-2.1.3-alpha.orig/support/apachectl.in 2005-02-04 21:28:49.000000000 +0100 -+++ httpd-2.1.3-alpha/support/apachectl.in 2005-02-25 02:52:49.203566813 +0100 -@@ -41,17 +41,32 @@ +--- support/apachectl.in.orig ++++ support/apachectl.in +@@ -42,17 +42,32 @@ ARGV="$@" # -------------------- -------------------- # # the path to your httpd binary, including options if necessary @@ -36,16 +35,16 @@ # # the URL to your server's mod_status status page. If you do not # have one, then status and fullstatus will not work. -@@ -77,7 +92,7 @@ +@@ -78,7 +93,7 @@ fi - case $ARGV in + case $ACMD in start|stop|restart|graceful|graceful-stop) - $HTTPD -k $ARGV + $HTTPD ${httpd_conf+-f $httpd_conf} -k $ARGV ERROR=$? ;; startssl|sslstart|start-SSL) -@@ -87,7 +102,7 @@ +@@ -88,7 +103,7 @@ startssl|sslstart|start-SSL) ERROR=2 ;; configtest) @@ -54,12 +53,3 @@ ERROR=$? ;; status) -@@ -97,7 +112,7 @@ - $LYNX $STATUSURL - ;; - *) -- $HTTPD $ARGV -+ $HTTPD ${httpd_conf+-f $httpd_conf} $ARGV - ERROR=$? - esac - ++++++ httpd-2.2.x-bnc690734.patch ++++++ --- /var/tmp/diff_new_pack.TOPIqD/_old 2012-08-05 15:14:05.000000000 +0200 +++ /var/tmp/diff_new_pack.TOPIqD/_new 2012-08-05 15:14:05.000000000 +0200 @@ -1,7 +1,6 @@ -diff -ruN ../httpd-2.2.17-o/server/util_script.c ./server/util_script.c ---- ../httpd-2.2.17-o/server/util_script.c 2009-01-12 14:59:56.000000000 +0100 -+++ ./server/util_script.c 2011-07-26 15:39:50.000000000 +0200 -@@ -406,6 +406,7 @@ +--- server/util_script.c.orig ++++ server/util_script.c +@@ -415,6 +415,7 @@ AP_DECLARE(int) ap_scan_script_header_er { char x[MAX_STRING_LEN]; char *w, *l; @@ -9,7 +8,7 @@ int p; int cgi_status = HTTP_UNSET; apr_table_t *merge; -@@ -414,7 +415,14 @@ +@@ -425,7 +426,14 @@ AP_DECLARE(int) ap_scan_script_header_er if (buffer) { *buffer = '\0'; } @@ -25,17 +24,17 @@ /* temporary place to hold headers to merge in later */ merge = apr_table_make(r->pool, 10); -@@ -430,7 +438,7 @@ +@@ -441,7 +449,7 @@ AP_DECLARE(int) ap_scan_script_header_er while (1) { - int rv = (*getsfunc) (w, MAX_STRING_LEN - 1, getsfunc_data); + int rv = (*getsfunc) (w, wlen - 1, getsfunc_data); if (rv == 0) { - ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_TOCLIENT, 0, r, - "Premature end of script headers: %s", -@@ -537,9 +545,12 @@ - + const char *msg = "Premature end of script headers"; + if (first_header) +@@ -553,9 +561,12 @@ AP_DECLARE(int) ap_scan_script_header_er + if (!(l = strchr(w, ':'))) { if (!buffer) { /* Soak up all the script output - may save an outright kill */ - while ((*getsfunc) (w, MAX_STRING_LEN - 1, getsfunc_data)) { @@ -47,4 +46,4 @@ + buffer[MAX_STRING_LEN - 1] = 0; } - ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_TOCLIENT, 0, r, + ap_log_rerror(SCRIPT_LOG_MARK, APLOG_ERR|APLOG_TOCLIENT, 0, r, -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org