From 0d2701922b181996dae88b2ad2293dc18c26058935121b38101ddbdf021d3342 Mon Sep 17 00:00:00 2001 From: Roman Drahtmueller Date: Wed, 27 Aug 2014 15:30:58 +0000 Subject: [PATCH] - Portability: provide /etc/apache2/mod_security2.d/empty.conf to avoid a non-match of the file-glob in the Include statement from /etc/apache2/conf.d/mod_security2.conf . This restores the Include back from the IncludeOptional, which is not portable. OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=50 --- apache2-mod_security2.changes | 8 ++++++++ apache2-mod_security2.spec | 1 + empty.conf | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 empty.conf diff --git a/apache2-mod_security2.changes b/apache2-mod_security2.changes index 53bde9d..4ee0abc 100644 --- a/apache2-mod_security2.changes +++ b/apache2-mod_security2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Aug 27 17:30:25 CEST 2014 - draht@suse.de + +- Portability: provide /etc/apache2/mod_security2.d/empty.conf + to avoid a non-match of the file-glob in the Include statement + from /etc/apache2/conf.d/mod_security2.conf . This restores + the Include back from the IncludeOptional, which is not portable. + ------------------------------------------------------------------- Mon Aug 25 19:33:11 UTC 2014 - thomas.worm@sicsec.de diff --git a/apache2-mod_security2.spec b/apache2-mod_security2.spec index dd2fcd9..7ad3894 100644 --- a/apache2-mod_security2.spec +++ b/apache2-mod_security2.spec @@ -56,6 +56,7 @@ Source3: %{refman}.bz2 Source4: %{faq}.bz2 Source5: modsecurity_diagram_apache_request_cycle.jpg Source6: README-SUSE-mod_security2.txt +Source7: empty.conf Patch0: apache2-mod_security2-no_rpath.diff # Summary: ModSecurity Open Source Web Application Firewall diff --git a/empty.conf b/empty.conf new file mode 100644 index 0000000..7b57715 --- /dev/null +++ b/empty.conf @@ -0,0 +1,4 @@ +# This configuration file has been intentionally left empty to avoid errors +# resulting from an Include statement that matches no files. +# (IncludeOptional is available for apache > 2.4) +#