From 5dced272cc3e16a163860eeaf83e4ed849a46c9f42be73fa15a7fd68b9f12b6d Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Tue, 3 Oct 2017 16:18:03 +0000 Subject: [PATCH] - do not call and do not ship apache-22-24-upgrade [bsc#1042037] OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=522 --- apache-22-24-upgrade | 22 ---------------------- apache2.changes | 5 +++++ apache2.spec | 10 ++-------- 3 files changed, 7 insertions(+), 30 deletions(-) delete mode 100644 apache-22-24-upgrade diff --git a/apache-22-24-upgrade b/apache-22-24-upgrade deleted file mode 100644 index fe90c32..0000000 --- a/apache-22-24-upgrade +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# obsolete 2.2 modules -> 2.4 modules - -for module in mod_authn_default mod_authz_default mod_mem_cache authz_default authn_default 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 - -if ! a2enmod -q authn_core; then - a2enmod authn_core -fi - -if ! a2enmod -q authz_core; then - a2enmod authz_core -fi - -if ! a2enmod -q log_config; then - a2enmod log_config -fi diff --git a/apache2.changes b/apache2.changes index e31e354..89af31d 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 3 16:13:13 UTC 2017 - pgajdos@suse.com + +- do not call and do not ship apache-22-24-upgrade [bsc#1042037] + ------------------------------------------------------------------- Mon Jul 24 15:25:09 UTC 2017 - schneemann@b1-systems.de diff --git a/apache2.spec b/apache2.spec index 1351dba..edbaaff 100644 --- a/apache2.spec +++ b/apache2.spec @@ -107,7 +107,6 @@ Source119: apache2-protocols.conf Source130: apache2-vhost.template Source131: apache2-vhost-ssl.template Source140: apache2-check_forensic -Source141: apache-22-24-upgrade Source142: start_apache2 Source143: apache2-systemd-ask-pass Source144: apache2.service @@ -115,7 +114,7 @@ Source145: apache2-find-directives Source146: apache2@.service Source147: apache2-script-helpers Source148: apache2.target -Source149: %{name}-init.logrotate +Source149: %{name}-init.logrotate Patch2: httpd-2.1.3alpha-layout.dif Patch23: httpd-apachectl.patch Patch66: httpd-2.0.54-envvars.dif @@ -128,7 +127,7 @@ Patch109: httpd-2.4.3-mod_systemd.patch Patch111: httpd-visibility.patch # PATCH-FEATURE-UPSTREAM kstreitova@suse.com -- backport of HttpContentLengthHeadZero and HttpExpectStrict Patch115: httpd-2.4.x-fate317766-config-control-two-protocol-options.diff -Patch116: deprecated-scripts-arch.patch +Patch116: deprecated-scripts-arch.patch BuildRequires: apache-rpm-macros-control BuildRequires: apr-util-devel BuildRequires: automake @@ -564,7 +563,6 @@ do chmod +x %{buildroot}/%{_datadir}/%{name}/$file done %endif -install -m 755 $RPM_SOURCE_DIR/apache-22-24-upgrade %{buildroot}/%{_datadir}/%{name}/ install -m 755 $RPM_SOURCE_DIR/sysconf_addword %{buildroot}/%{_datadir}/%{name}/ install -m 755 $RPM_SOURCE_DIR/a2enflag %{buildroot}/%{_sbindir} ln -s a2enflag %{buildroot}/%{_sbindir}/a2disflag @@ -607,7 +605,6 @@ cat > %{buildroot}/%{sysconfdir}/uid.conf <<-EOF Group %{httpdgroup} EOF - # fixup libdir %if "%{_lib}" != "lib64" sed -e 's/lib64/%{_lib}/' -i \ @@ -841,7 +838,6 @@ mv %{buildroot}/%{sysconfdir}/original . %{_libdir}/%{name}/mod_*.so %dir %{installbuilddir} %dir %{_datadir}/%{name} -%{_datadir}/%{name}/apache-22-24-upgrade %{_datadir}/%{name}/deprecated-scripts %{_datadir}/%{name}/script-helpers %{_datadir}/%{name}/sysconf_addword @@ -1447,8 +1443,6 @@ fi exit 0 %posttrans -%{_datadir}/%{name}/apache-22-24-upgrade - %verifyscript %verify_permissions -e %{_sbindir}/suexec %apache_restart_if_needed