Hello community,
here is the log from the commit of package apache2-mod_evasive for
openSUSE:Factory checked in at 2014-11-26 10:33:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
2014-11-10 17:28:46.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.apache2-mod_evasive.new/apache2-mod_evasive.changes
2014-11-26 10:33:38.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Nov 10 16:15:00 UTC 2014 - [email protected]
+
+- Add mail-invocation.diff: Use -t parameter with the mail program
+ [boo#884877]; add recommends on mailx so that that can work
+
+-------------------------------------------------------------------
New:
----
mail-invocation.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache2-mod_evasive.spec ++++++
--- /var/tmp/diff_new_pack.L2FtsE/_old 2014-11-26 10:33:39.000000000 +0100
+++ /var/tmp/diff_new_pack.L2FtsE/_new 2014-11-26 10:33:39.000000000 +0100
@@ -37,6 +37,7 @@
Source:
http://zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_%version.tar.gz
Source2: mod_evasive.conf
Patch1: modev-return.diff
+Patch2: mail-invocation.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: apache-rpm-macros
BuildRequires: apache2-devel
@@ -44,6 +45,7 @@
BuildRequires: curl-devel
BuildRequires: gcc-c++
BuildRequires: pcre-devel
+Recommends: mailx
Requires: %apache_mmn
Requires: apache2
@@ -57,7 +59,7 @@
%prep
%setup -qn mod_evasive
-%patch -P 1 -p1
+%patch -P 1 -P 2 -p1
%build
cp -a %{S:2} .
@@ -82,7 +84,7 @@
%files
%defattr(-,root,root)
-%apache_libexecdir/mod_evasive%{ap_suffix}.so
+%apache_libexecdir/
%config(noreplace) %apache_sysconfdir/conf.d/mod_evasive.conf
%doc CHANGELOG LICENSE README test.pl
++++++ mail-invocation.diff ++++++
diff -uNr mod_evasive.orig/mod_evasive20.c mod_evasive/mod_evasive20.c
--- mod_evasive.orig/mod_evasive20.c 2014-05-22 08:49:48.255033765 +0200
+++ mod_evasive/mod_evasive20.c 2014-05-22 10:35:52.362010725 +0200
@@ -42,7 +42,7 @@
/* BEGIN DoS Evasive Maneuvers Definitions */
-#define MAILER "/bin/mail %s"
+#define MAILER "/usr/bin/mail -t %s"
#define LOG( A, ... ) { openlog("mod_evasive", LOG_PID, LOG_DAEMON); syslog(
A, __VA_ARGS__ ); closelog(); }
#define DEFAULT_HASH_TBL_SIZE 3097ul // Default hash table size
diff -uNr mod_evasive.orig/mod_evasiveNSAPI.c mod_evasive/mod_evasiveNSAPI.c
--- mod_evasive.orig/mod_evasiveNSAPI.c 2005-10-08 19:47:21.000000000 +0200
+++ mod_evasive/mod_evasiveNSAPI.c 2014-05-22 10:36:04.309558479 +0200
@@ -50,7 +50,7 @@
/* BEGIN DoS Evasive Maneuvers Definitions */
#define DEFAULT_LOG_DIR "/tmp"
-#define MAILER "/bin/mail %s"
+#define MAILER "/usr/bin/mail -t %s"
#define LOG( A, ... ) { openlog("mod_dosevasive", LOG_PID, LOG_DAEMON);
syslog( A, __VA_ARGS__ ); closelog(); }
#define DEFAULT_HASH_TBL_SIZE 3097ul // Default hash table size
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]