From d6f97817b2620df3915c4bc8b59a550b9a3c8f14eb19ac353b90ea90061f74fe Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 3 Oct 2012 09:45:50 +0000 Subject: [PATCH] Accepting request 136597 from home:weberho:UNSTABLE:tools * Update to version 0.8.7.1 * Added dependencies to python-pyinotifyi, python-gamin and iptables * Do not longer replace main config-files * Use variables for directories in spec file You might add me as maintainer OBS-URL: https://build.opensuse.org/request/show/136597 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=21 --- fail2ban-0.8.6-update-fsf-address.patch | 650 ------------------------ fail2ban-0.8.6.tar.bz2 | 3 - fail2ban-0.8.7.1.tar.bz2 | 3 + fail2ban.changes | 81 +++ fail2ban.spec | 33 +- 5 files changed, 103 insertions(+), 667 deletions(-) delete mode 100644 fail2ban-0.8.6-update-fsf-address.patch delete mode 100644 fail2ban-0.8.6.tar.bz2 create mode 100644 fail2ban-0.8.7.1.tar.bz2 diff --git a/fail2ban-0.8.6-update-fsf-address.patch b/fail2ban-0.8.6-update-fsf-address.patch deleted file mode 100644 index 3b480c1..0000000 --- a/fail2ban-0.8.6-update-fsf-address.patch +++ /dev/null @@ -1,650 +0,0 @@ -Index: fail2ban-0.8.5/client/__init__.py -=================================================================== ---- fail2ban-0.8.5.orig/client/__init__.py -+++ fail2ban-0.8.5/client/__init__.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/client/actionreader.py -=================================================================== ---- fail2ban-0.8.5.orig/client/actionreader.py -+++ fail2ban-0.8.5/client/actionreader.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/client/beautifier.py -=================================================================== ---- fail2ban-0.8.5.orig/client/beautifier.py -+++ fail2ban-0.8.5/client/beautifier.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/client/configparserinc.py -=================================================================== ---- fail2ban-0.8.5.orig/client/configparserinc.py -+++ fail2ban-0.8.5/client/configparserinc.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Yaroslav Halchenko - # Modified: Cyril Jaquier -Index: fail2ban-0.8.5/client/configreader.py -=================================================================== ---- fail2ban-0.8.5.orig/client/configreader.py -+++ fail2ban-0.8.5/client/configreader.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # Modified by: Yaroslav Halchenko (SafeConfigParserWithIncludes) -Index: fail2ban-0.8.5/client/configurator.py -=================================================================== ---- fail2ban-0.8.5.orig/client/configurator.py -+++ fail2ban-0.8.5/client/configurator.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/client/csocket.py -=================================================================== ---- fail2ban-0.8.5.orig/client/csocket.py -+++ fail2ban-0.8.5/client/csocket.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/client/fail2banreader.py -=================================================================== ---- fail2ban-0.8.5.orig/client/fail2banreader.py -+++ fail2ban-0.8.5/client/fail2banreader.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/client/filterreader.py -=================================================================== ---- fail2ban-0.8.5.orig/client/filterreader.py -+++ fail2ban-0.8.5/client/filterreader.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/client/jailreader.py -=================================================================== ---- fail2ban-0.8.5.orig/client/jailreader.py -+++ fail2ban-0.8.5/client/jailreader.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/client/jailsreader.py -=================================================================== ---- fail2ban-0.8.5.orig/client/jailsreader.py -+++ fail2ban-0.8.5/client/jailsreader.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/common/__init__.py -=================================================================== ---- fail2ban-0.8.5.orig/common/__init__.py -+++ fail2ban-0.8.5/common/__init__.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/common/helpers.py -=================================================================== ---- fail2ban-0.8.5.orig/common/helpers.py -+++ fail2ban-0.8.5/common/helpers.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # Author: Arturo 'Buanzo' Busleiman -Index: fail2ban-0.8.5/common/protocol.py -=================================================================== ---- fail2ban-0.8.5.orig/common/protocol.py -+++ fail2ban-0.8.5/common/protocol.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/common/version.py -=================================================================== ---- fail2ban-0.8.5.orig/common/version.py -+++ fail2ban-0.8.5/common/version.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/fail2ban-client -=================================================================== ---- fail2ban-0.8.5.orig/fail2ban-client -+++ fail2ban-0.8.5/fail2ban-client -@@ -13,7 +13,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/fail2ban-regex -=================================================================== ---- fail2ban-0.8.5.orig/fail2ban-regex -+++ fail2ban-0.8.5/fail2ban-regex -@@ -13,7 +13,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/fail2ban-server -=================================================================== ---- fail2ban-0.8.5.orig/fail2ban-server -+++ fail2ban-0.8.5/fail2ban-server -@@ -13,7 +13,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/fail2ban-testcases -=================================================================== ---- fail2ban-0.8.5.orig/fail2ban-testcases -+++ fail2ban-0.8.5/fail2ban-testcases -@@ -13,7 +13,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/files/cacti/fail2ban_stats.sh -=================================================================== ---- fail2ban-0.8.5.orig/files/cacti/fail2ban_stats.sh -+++ fail2ban-0.8.5/files/cacti/fail2ban_stats.sh -@@ -13,7 +13,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - # - # This script can be used to collect data for Cacti. One parameter is needed, - # the jail name. It must be a currently running jail. The script returns two -Index: fail2ban-0.8.5/files/gentoo-initd -=================================================================== ---- fail2ban-0.8.5.orig/files/gentoo-initd -+++ fail2ban-0.8.5/files/gentoo-initd -@@ -13,7 +13,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - # - # Author: Sireyessire, Cyril Jaquier - # -Index: fail2ban-0.8.5/server/__init__.py -=================================================================== ---- fail2ban-0.8.5.orig/server/__init__.py -+++ fail2ban-0.8.5/server/__init__.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/action.py -=================================================================== ---- fail2ban-0.8.5.orig/server/action.py -+++ fail2ban-0.8.5/server/action.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/actions.py -=================================================================== ---- fail2ban-0.8.5.orig/server/actions.py -+++ fail2ban-0.8.5/server/actions.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/asyncserver.py -=================================================================== ---- fail2ban-0.8.5.orig/server/asyncserver.py -+++ fail2ban-0.8.5/server/asyncserver.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/banmanager.py -=================================================================== ---- fail2ban-0.8.5.orig/server/banmanager.py -+++ fail2ban-0.8.5/server/banmanager.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/datedetector.py -=================================================================== ---- fail2ban-0.8.5.orig/server/datedetector.py -+++ fail2ban-0.8.5/server/datedetector.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/datetemplate.py -=================================================================== ---- fail2ban-0.8.5.orig/server/datetemplate.py -+++ fail2ban-0.8.5/server/datetemplate.py -@@ -13,7 +13,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/faildata.py -=================================================================== ---- fail2ban-0.8.5.orig/server/faildata.py -+++ fail2ban-0.8.5/server/faildata.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/failmanager.py -=================================================================== ---- fail2ban-0.8.5.orig/server/failmanager.py -+++ fail2ban-0.8.5/server/failmanager.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/failregex.py -=================================================================== ---- fail2ban-0.8.5.orig/server/failregex.py -+++ fail2ban-0.8.5/server/failregex.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/filter.py -=================================================================== ---- fail2ban-0.8.5.orig/server/filter.py -+++ fail2ban-0.8.5/server/filter.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/filtergamin.py -=================================================================== ---- fail2ban-0.8.5.orig/server/filtergamin.py -+++ fail2ban-0.8.5/server/filtergamin.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/filterpoll.py -=================================================================== ---- fail2ban-0.8.5.orig/server/filterpoll.py -+++ fail2ban-0.8.5/server/filterpoll.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/jail.py -=================================================================== ---- fail2ban-0.8.5.orig/server/jail.py -+++ fail2ban-0.8.5/server/jail.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/jails.py -=================================================================== ---- fail2ban-0.8.5.orig/server/jails.py -+++ fail2ban-0.8.5/server/jails.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/jailthread.py -=================================================================== ---- fail2ban-0.8.5.orig/server/jailthread.py -+++ fail2ban-0.8.5/server/jailthread.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/mytime.py -=================================================================== ---- fail2ban-0.8.5.orig/server/mytime.py -+++ fail2ban-0.8.5/server/mytime.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/server.py -=================================================================== ---- fail2ban-0.8.5.orig/server/server.py -+++ fail2ban-0.8.5/server/server.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/ticket.py -=================================================================== ---- fail2ban-0.8.5.orig/server/ticket.py -+++ fail2ban-0.8.5/server/ticket.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/server/transmitter.py -=================================================================== ---- fail2ban-0.8.5.orig/server/transmitter.py -+++ fail2ban-0.8.5/server/transmitter.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/setup.py -=================================================================== ---- fail2ban-0.8.5.orig/setup.py -+++ fail2ban-0.8.5/setup.py -@@ -14,7 +14,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/testcases/__init__.py -=================================================================== ---- fail2ban-0.8.5.orig/testcases/__init__.py -+++ fail2ban-0.8.5/testcases/__init__.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/testcases/actiontestcase.py -=================================================================== ---- fail2ban-0.8.5.orig/testcases/actiontestcase.py -+++ fail2ban-0.8.5/testcases/actiontestcase.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/testcases/banmanagertestcase.py -=================================================================== ---- fail2ban-0.8.5.orig/testcases/banmanagertestcase.py -+++ fail2ban-0.8.5/testcases/banmanagertestcase.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/testcases/clientreadertestcase.py -=================================================================== ---- fail2ban-0.8.5.orig/testcases/clientreadertestcase.py -+++ fail2ban-0.8.5/testcases/clientreadertestcase.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/testcases/datedetectortestcase.py -=================================================================== ---- fail2ban-0.8.5.orig/testcases/datedetectortestcase.py -+++ fail2ban-0.8.5/testcases/datedetectortestcase.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/testcases/failmanagertestcase.py -=================================================================== ---- fail2ban-0.8.5.orig/testcases/failmanagertestcase.py -+++ fail2ban-0.8.5/testcases/failmanagertestcase.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/testcases/filtertestcase.py -=================================================================== ---- fail2ban-0.8.5.orig/testcases/filtertestcase.py -+++ fail2ban-0.8.5/testcases/filtertestcase.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # -Index: fail2ban-0.8.5/testcases/servertestcase.py -=================================================================== ---- fail2ban-0.8.5.orig/testcases/servertestcase.py -+++ fail2ban-0.8.5/testcases/servertestcase.py -@@ -12,7 +12,7 @@ - # - # You should have received a copy of the GNU General Public License - # along with Fail2Ban; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - # Author: Cyril Jaquier - # diff --git a/fail2ban-0.8.6.tar.bz2 b/fail2ban-0.8.6.tar.bz2 deleted file mode 100644 index 86201bd..0000000 --- a/fail2ban-0.8.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4281ef4cac29de120a537a1e8ba84d37fdd830d00c49111097339c1c1a25ed2d -size 90804 diff --git a/fail2ban-0.8.7.1.tar.bz2 b/fail2ban-0.8.7.1.tar.bz2 new file mode 100644 index 0000000..e2e91fd --- /dev/null +++ b/fail2ban-0.8.7.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32fc0bd61301c8ccb4cc65cea31fce4432039d75b7a10ec3bd3a1dcf3e7c97c8 +size 103165 diff --git a/fail2ban.changes b/fail2ban.changes index 3982d29..fe9a8ae 100644 --- a/fail2ban.changes +++ b/fail2ban.changes @@ -1,3 +1,84 @@ +------------------------------------------------------------------- +Tue Oct 2 12:09:08 UTC 2012 - jweberhofer@weberhofer.at + +- Do not longer replace main config-files +- Use variables for directories in spec file + +------------------------------------------------------------------- +Tue Oct 2 10:48:24 UTC 2012 - jweberhofer@weberhofer.at + +- Added dependencies to python-pyinotifyi, python-gamin and iptables + +------------------------------------------------------------------- +Tue Oct 2 08:09:20 UTC 2012 - jweberhofer@weberhofer.at + +- Upgraded to version 0.8.7.1 + +- Yaroslav Halchenko + * [e9762f3] Removed sneaked in comment on sys.path.insert + Tom Hendrikx & Jeremy Olexa + * [0eaa4c2,444e4ac] Fix Gentoo init script: $opts variable is deprecated. + See http://forums.gentoo.org/viewtopic-t-899018.html +- Chris Reffett + * [a018a26] Fixed addBannedIP to add enough failures to trigger a ban, + rather than just one failure. +- Yaroslav Halchenko + * [4c76fb3] allow trailing white-spaces in lighttpd-auth.conf + * [25f1e8d] allow trailing whitespace in few missing it regexes for sshd.conf + * [ed16ecc] enforce "ip" field returned as str, not unicode so that log + message stays non-unicode. Close gh-32 + * [b257be4] added %m-%d-%Y pattern + do not add %Y for Feb 29 fix if + already present in the pattern + * [47e956b] replace "|" with "_" in ipmasq-ZZZzzz|fail2ban.rul to be + friend to developers stuck with Windows (Closes gh-66) + * [80b191c] anchor grep regexp in actioncheck to not match partial names + of the jails (Closes: #672228) (Thanks Szépe Viktor for the report) +- New features: +- François Boulogne + * [a7cb20e..] add lighttpd-auth filter/jail +- Lee Clemens & Yaroslav Halchenko + * [e442503] pyinotify backend (default if backend='auto' and pyinotify + is available) + * [d73a71f,3989d24] usedns parameter for the jails to allow disabling + use of DNS +- Tom Hendrikx + * [f94a121..] 'recidive' filter/jail to monitor fail2ban.conf to ban + repeated offenders. Close gh-19 +- Xavier Devlamynck + * [7d465f9..] Add asterisk support +- Zbigniew Jedrzejewski-Szmek + * [de502cf..] allow running fail2ban as non-root user (disabled by + default) via xt_recent. See doc/run-rootless.txt +- Enhancements +- Lee Clemens + * [47c03a2] files/nagios - spelling/grammar fixes + * [b083038] updated Free Software Foundation's address + * [9092a63] changed TLDs to invalid domains, in accordance with RFC 2606 + * [642d9af,3282f86] reformated printing of jail's name to be consistent + with init's info messages + * [3282f86] uniform use of capitalized Jail in the messages +- Leonardo Chiquitto + * [4502adf] Fix comments in dshield.conf and mynetwatchman.conf + to reflect code + * [a7d47e8] Update Free Software Foundation's address +- Petr Voralek + * [4007751] catch failed ssh logins due to being listed in DenyUsers. + Close gh-47 (Closes: #669063) +- Yaroslav Halchenko + * [MANY] extended and robustified unittests: test different backends + * [d9248a6] refactored Filter's to avoid duplicate functionality + * [7821174] direct users to issues on github + * [d2ffee0..] re-factored fail2ban-regex -- more condensed output by + default with -v to control verbosity + * [b4099da] adjusted header for config/*.conf to mention .local and way + to comment (Thanks Stefano Forli for the note) + * [6ad55f6] added failregex for wu-ftpd to match against syslog instead + of DoS-prone auth.log's rhost (Closes: #514239) + * [2082fee] match possibly present "pam_unix(sshd:auth):" portion for + sshd filter (Closes: #648020) +- Yehuda Katz & Yaroslav Halchenko + * [322f53e,bd40cc7] ./DEVELOP -- documentation for developers + ------------------------------------------------------------------- Tue Jul 31 16:18:11 CEST 2012 - asemen@suse.de diff --git a/fail2ban.spec b/fail2ban.spec index b5ac6da..7389dad 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -18,12 +18,19 @@ Name: fail2ban Requires: cron +Requires: iptables Requires: logrotate Requires: lsof Requires: python >= 2.5 +%if 0%{?suse_version} >= 1140 && 0%{?sles_version} == 0 +Requires: python-pyinotify +%endif +%if 0%{?suse_version} >= 1220 +Requires: python-gamin +%endif BuildRequires: python-devel PreReq: %fillup_prereq -Version: 0.8.6 +Version: 0.8.7.1 Release: 0 Url: http://www.fail2ban.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -34,7 +41,6 @@ Group: Productivity/Networking/Security Source0: %{name}-%{version}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig -Patch0: fail2ban-%{version}-update-fsf-address.patch %description Fail2ban scans log files like /var/log/messages and bans IP addresses @@ -45,7 +51,6 @@ files such as sshd or Apache web server ones. %prep %setup -%patch0 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -60,10 +65,10 @@ install -d -m755 $RPM_BUILD_ROOT/%{_mandir}/man1 for i in fail2ban-client fail2ban-regex fail2ban-server; do install -m644 man/${i}.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1 done -install -d -m755 $RPM_BUILD_ROOT/%{_sysconfdir}/init.d -install -d -m755 $RPM_BUILD_ROOT/usr/sbin -install -m755 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/%{name} -ln -sf /etc/init.d/%{name} ${RPM_BUILD_ROOT}/usr/sbin/rc%{name} +install -d -m755 $RPM_BUILD_ROOT/%{_initrddir} +install -d -m755 $RPM_BUILD_ROOT/%{_sbindir} +install -m755 %{SOURCE1} $RPM_BUILD_ROOT/%{_initrddir}/%{name} +ln -sf %{_initrddir}/%{name} ${RPM_BUILD_ROOT}%{_sbindir}/rc%{name} install -d -m755 $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} @@ -82,13 +87,13 @@ install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{n %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/action.d %dir %{_sysconfdir}/%{name}/filter.d -%config %{_sysconfdir}/%{name}/*.conf -%config %{_sysconfdir}/%{name}/action.d/*.conf -%config %{_sysconfdir}/%{name}/filter.d/*.conf -%{_sysconfdir}/init.d/%{name} -/usr/bin/%{name}* -/usr/sbin/rc%{name} -/usr/share/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/*.conf +%config(noreplace) %{_sysconfdir}/%{name}/action.d/*.conf +%config(noreplace) %{_sysconfdir}/%{name}/filter.d/*.conf +%{_initrddir}/%{name} +%{_bindir}/%{name}* +%{_sbindir}/rc%{name} +%{_datadir}/%{name} %dir %ghost /var/run/%{name} /var/adm/fillup-templates/sysconfig.%{name} %doc %{_mandir}/man1/*