Hello community,

here is the log from the commit of package apache2-mod_evasive for 
openSUSE:Factory checked in at 2014-10-15 08:51:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache2-mod_evasive (Old)
 and      /work/SRC/openSUSE:Factory/.apache2-mod_evasive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache2-mod_evasive"

Changes:
--------
--- /work/SRC/openSUSE:Factory/apache2-mod_evasive/apache2-mod_evasive.changes  
2013-01-29 12:00:46.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_evasive.new/apache2-mod_evasive.changes 
    2014-10-15 08:52:18.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Oct 14 11:56:38 UTC 2014 - pgaj...@suse.com
+
+- fixed module loading [bnc#865567], [bnc#867984]
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache2-mod_evasive.spec ++++++
--- /var/tmp/diff_new_pack.YRPlgX/_old  2014-10-15 08:52:19.000000000 +0200
+++ /var/tmp/diff_new_pack.YRPlgX/_new  2014-10-15 08:52:19.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package apache2-mod_evasive
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -67,10 +67,13 @@
 %patch -P 1 -p1
 
 %build
+cp -a %{S:2} .
 %if %{ap_suffix} == 24
 # create apache httpd-2.4 version and compile it
 sed 's/connection->remote_ip/connection->client_ip/' \
   < mod_evasive20.c > mod_evasive%{ap_suffix}.c
+sed -i 's/evasive20_module/evasive24_module/' mod_evasive%{ap_suffix}.c
+sed -i 's/evasive20/evasive24/g' mod_evasive.conf
 %endif
 %apxs -Wc,"%{optflags}" -c mod_evasive%{ap_suffix}.c
 
@@ -80,7 +83,7 @@
 
 %apxs -i -S LIBEXECDIR="%buildroot/%apache_libexecdir" \
        -n mod_evasive%{ap_suffix}.so mod_evasive%{ap_suffix}.la;
-cp -a "%{S:2}" "$b/%apache_sysconfdir/conf.d/";
+cp -a mod_evasive.conf "$b/%apache_sysconfdir/conf.d/";
 perl -i -pe "s{/usr/lib/}{%_libdir/}g" \
        "$b/%apache_sysconfdir/conf.d/mod_evasive.conf";
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to