SHA256
1
0
forked from pool/apache2

Accepting request 204343 from Apache

- Correct build in old distros. 

- disable (revert) mod_ssl changes in the previous
  commit so it does not end in factory or 13.1 yet.

- make mod_systemd static so scenarios described in 
  [bnc#846897] do not happen again. (forwarded request 204342 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/204343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2?expand=0&rev=76
This commit is contained in:
Tomáš Chvátal 2013-10-24 12:07:25 +00:00 committed by Git OBS Bridge
commit 2f1250d6e7
5 changed files with 1632 additions and 12 deletions

View File

@ -67,10 +67,6 @@ for module in mod_authn_default mod_authz_default mod_mem_cache authz_default; d
fi
done
if [ -x /usr/bin/systemd-notify ] && /usr/bin/systemd-notify --booted && ! a2enmod -q systemd; then
a2enmod systemd
fi
if ! a2enmod -q authn_core; then
a2enmod authn_core
fi

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Tue Oct 22 15:43:53 UTC 2013 - crrodriguez@opensuse.org
- Correct build in old distros.
-------------------------------------------------------------------
Tue Oct 22 15:09:21 UTC 2013 - crrodriguez@opensuse.org
- disable (revert) mod_ssl changes in the previous
commit so it does not end in factory or 13.1 yet.
-------------------------------------------------------------------
Tue Oct 22 15:06:19 UTC 2013 - crrodriguez@opensuse.org
- make mod_systemd static so scenarios described in
[bnc#846897] do not happen again.
-------------------------------------------------------------------
Mon Oct 21 23:44:19 UTC 2013 - crrodriguez@opensuse.org
- mod_ssl: improve ephemeral key handling in particular, support DH params
with more than 1024 bits, and allow custom configuration.
This patch adjust DH parameters according to the relevant RFC
recommendations and permanently disables the usage of "export"
and "NULL" ciphers no matter what the user configuration is
(mod_ssl-2.4.x-ekh.diff, to be in 2.4.7)
-------------------------------------------------------------------
Mon Oct 21 23:27:56 UTC 2013 - crrodriguez@opensuse.org
- fix [bnc#846897] problems building kiwi images due to
systemd not being running in chroot. (submit to 13.1 ASAP)
-------------------------------------------------------------------
Mon Oct 14 19:58:23 UTC 2013 - aj@suse.com

View File

@ -69,10 +69,12 @@ BuildRequires: expat-devel
%define localstatedir /var/lib/%{pname}
%define proxycachedir /var/cache/%{pname}
%define logfiledir /var/log/%{pname}
%if %suse_version > 1220
%if %suse_version >= 1220
%define runtimedir /run
%define mods_static access_compat unixd systemd
%else
%define runtimedir /var/run
%define mods_static access_compat unixd
%endif
%define sysconfdir /etc/%{pname}
%define includedir %{_includedir}/%{pname}
@ -85,6 +87,7 @@ BuildRequires: expat-devel
%else
%define _unitdir /lib/systemd
%endif
# "Server:" header
%define VENDOR SUSE
%define platform_string Linux/%VENDOR
@ -160,6 +163,7 @@ Patch70: apache2-implicit-pointer-decl.patch
Patch109: httpd-2.4.3-mod_systemd.patch
Patch110: http://people.apache.org/~minfrin/httpd-event-ssl.patch
Patch111: httpd-visibility.patch
#Patch112: mod_ssl-2.4.x-ekh.diff
Url: http://httpd.apache.org/
Icon: Apache.xpm
Summary: The Apache Web Server Version 2.2
@ -383,6 +387,7 @@ to administrators of web servers in general.
%patch109 -p1
%patch110
%patch111 -p1
#%patch112
cat $RPM_SOURCE_DIR/SUSE-NOTICE >> NOTICE
# install READMEs
a=$(basename %{S:22})
@ -440,7 +445,7 @@ function configure {
--enable-pie \
%endif
--enable-mods-shared=all \
--enable-mods-static="access_compat unixd" \
--enable-mods-static="%{mods_static}" \
--enable-ssl=shared \
\
--disable-isapi \

View File

@ -1,6 +1,6 @@
--- httpd-2.4.3/modules/arch/unix/config5.m4.systemd
+++ httpd-2.4.3/modules/arch/unix/config5.m4
@@ -18,6 +18,19 @@ APACHE_MODULE(privileges, Per-virtualhos
--- httpd-2.4.6.orig/modules/arch/unix/config5.m4
+++ httpd-2.4.6/modules/arch/unix/config5.m4
@@ -18,6 +18,18 @@ APACHE_MODULE(privileges, Per-virtualhos
fi
])
@ -13,15 +13,14 @@
+ enable_systemd="no"
+ else
+ APR_ADDTO(MOD_SYSTEMD_LDADD, [$SYSTEMD_LIBS])
+ enable_systemd="yes"
+ fi
+])
+
APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
APACHE_MODPATH_FINISH
--- httpd-2.4.3/modules/arch/unix/mod_systemd.c.systemd
+++ httpd-2.4.3/modules/arch/unix/mod_systemd.c
--- /dev/null
+++ httpd-2.4.6/modules/arch/unix/mod_systemd.c
@@ -0,0 +1,138 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with

1587
mod_ssl-2.4.x-ekh.diff Normal file

File diff suppressed because it is too large Load Diff