Bug 194815 - [maintainer-update] security/py-fail2ban: Update to 0.9.1
Summary: [maintainer-update] security/py-fail2ban: Update to 0.9.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 17:10 UTC by theis
Modified: 2014-11-17 14:42 UTC (History)
1 user (show)

See Also:


Attachments
Patch for the update (5.11 KB, text/plain)
2014-11-04 17:10 UTC, theis
no flags Details
New patch (8.04 KB, text/plain)
2014-11-08 09:49 UTC, theis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description theis 2014-11-04 17:10:34 UTC
Created attachment 149034 [details]
Patch for the update

Update fail2ban to (long awaited) version 0.9.1

Note that the files files/patch-fail2banreader.py, files/patch-paths-freebsd.conf and files/patch-recidive.conf are no longer required and have been removed.
Comment 1 Wen Heping freebsd_committer 2014-11-08 08:16:16 UTC
Hi,

   The build failed on my system, below is part of the build log.
   Would you check it again?

Thanks !

wen




changing mode of /wrkdirs/usr/ports/security/py-fail2ban/work/stage/usr/local/bin/fail2ban-server to 755
changing mode of /wrkdirs/usr/ports/security/py-fail2ban/work/stage/usr/local/bin/fail2ban-regex to 755
changing mode of /wrkdirs/usr/ports/security/py-fail2ban/work/stage/usr/local/bin/fail2ban-client to 755
changing mode of /wrkdirs/usr/ports/security/py-fail2ban/work/stage/usr/local/bin/fail2ban-testcases to 755
writing list of installed files to '/wrkdirs/usr/ports/security/py-fail2ban/work/.PLIST.pymodtmp'

Please do not forget to update your configuration files.
They are in /usr/local/etc/fail2ban/.

(cd /wrkdirs/usr/ports/security/py-fail2ban/work/fail2ban-fail2ban-2ab2bd8/ && install  -o root -g wheel -m 0644 README.md DEVELOP /wrkdirs/usr/ports/security/py-fail2ban/work/stage/usr/local/share/doc/fail2ban)
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
if [ -d "/wrkdirs/usr/ports/security/py-fail2ban/work/stage/usr/local/lib/python2.7/site-packages/fail2ban-0.9.1-py2.7.egg-info" ]; then  /bin/ls /wrkdirs/usr/ports/security/py-fail2ban/work/stage/usr/local/lib/python2.7/site-packages/fail2ban-0.9.1-py2.7.egg-info | while read f; do  echo lib/python2.7/site-packages/fail2ban-0.9.1-py2.7.egg-info/${f} >> /wrkdirs/usr/ports/security/py-fail2ban/work/.PLIST.mktmp;  done;  fi;
===========================================================================
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: bin/fail2ban-testcases
Error: Orphaned: %%ETCDIR%%/action.d/cloudflare.conf
Error: Orphaned: %%ETCDIR%%/action.d/iptables-common.conf
Error: Orphaned: %%ETCDIR%%/action.d/symbiosis-blacklist-allports.conf
Error: Orphaned: %%ETCDIR%%/filter.d/apache-shellshock.conf
Error: Orphaned: %%ETCDIR%%/filter.d/directadmin.conf
Error: Orphaned: %%ETCDIR%%/filter.d/ejabberd-auth.conf
Error: Orphaned: %%ETCDIR%%/filter.d/monit.conf
Error: Orphaned: %%ETCDIR%%/filter.d/oracleims.conf
Error: Orphaned: %%ETCDIR%%/filter.d/portsentry.conf
Error: Orphaned: %%ETCDIR%%/paths-debian.conf
Error: Orphaned: %%ETCDIR%%/paths-fedora.conf
Error: Orphaned: %%ETCDIR%%/paths-osx.conf
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/__init__.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/__init__.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/action_d/__init__.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/action_d/__init__.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/action_d/test_badips.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/action_d/test_badips.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/action_d/test_smtp.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/action_d/test_smtp.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/actionstestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/actionstestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/actiontestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/actiontestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/banmanagertestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/banmanagertestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/clientreadertestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/clientreadertestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/config/action.d/brokenaction.conf
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/config/fail2ban.conf
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/config/filter.d/simple.conf
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/config/jail.conf
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/databasetestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/databasetestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/datedetectortestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/datedetectortestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/dummyjail.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/dummyjail.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/failmanagertestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/failmanagertestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action_errors.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action_errors.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action_modifyainfo.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action_modifyainfo.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action_noAction.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action_noAction.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action_nomethod.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/action.d/action_nomethod.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/README
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htaccess
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htpasswd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/basic/authz_owner/cant_get_me.html
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/basic/file/.htaccess
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/basic/file/.htpasswd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest/.htaccess
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest/.htpasswd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest_anon/.htaccess
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest_anon/.htpasswd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest_time/.htaccess
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest_time/.htpasswd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htaccess
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htpasswd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/config/apache-auth/noentry/.htaccess
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/database_v1.db
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/filter.d/substition.conf
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/filter.d/testcase-common.conf
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/filter.d/testcase01.conf
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/ignorecommand.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/ignorecommand.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/3proxy
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/apache-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/apache-badbots
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/apache-botsearch
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/apache-modsecurity
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/apache-nohome
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/apache-noscript
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/apache-overflows
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/apache-shellshock
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/assp
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/asterisk
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/bsd/syslog-plain.txt
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/bsd/syslog-v.txt
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/bsd/syslog-vv.txt
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/counter-strike
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/courier-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/courier-smtp
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/cyrus-imap
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/directadmin
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/dovecot
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/dropbear
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/ejabberd-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/exim
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/exim-spam
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/freeswitch
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/groupoffice
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/gssftpd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/guacamole
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/horde
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/kerio
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/lighttpd-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/monit
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/mysqld-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/nagios
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/named-refused
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/nginx-http-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/nsd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/openwebmail
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/oracleims
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/pam-generic
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/perdition
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/php-url-fopen
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/portsentry
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/postfix
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/postfix-sasl
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/proftpd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/pure-ftpd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/qmail
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/recidive
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/roundcube-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/selinux-ssh
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/sendmail-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/sendmail-reject
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/sieve
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/sogo-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/solid-pop3d
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/squid
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/squirrelmail
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/sshd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/sshd-ddos
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/stunnel
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/suhosin
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/tine20
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/uwimap-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/vsftpd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/webmin-auth
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/wuftpd
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/logs/xinetd-fail
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/testcase-journal.log
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/testcase-multiline.log
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/testcase-usedns.log
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/testcase01.log
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/testcase02.log
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/testcase03.log
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/files/testcase04.log
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/filtertestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/filtertestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/misctestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/misctestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/samplestestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/samplestestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/servertestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/servertestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/sockettestcase.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/sockettestcase.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/utils.py
Error: Orphaned: %%PYTHON_SITELIBDIR%%/fail2ban/tests/utils.pyc
Error: Orphaned: @dir /var/lib/fail2ban
Error: Orphaned: @dir /var/lib
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/py-fail2ban
====>> Error: check-plist failures detected
build of /usr/ports/security/py-fail2ban ended at Sat Nov  8 16:09:46 CST 2014
build time: 00:0
Comment 2 theis 2014-11-08 09:49:18 UTC
Created attachment 149178 [details]
New patch

Thanks for checking. And I learned something new :)
I updated the patch, esp. pkg-plist. I can't get rid of the "orphaned @dir" errors: as far as I understand I need those entries so that the directories are created.
Comment 3 commit-hook freebsd_committer 2014-11-17 14:41:37 UTC
A commit references this bug:

Author: wen
Date: Mon Nov 17 14:41:26 UTC 2014
New revision: 372670
URL: https://svnweb.freebsd.org/changeset/ports/372670

Log:
  - Update to 0.9.1

  PR:		194815
  Submitted by:	theis@gmx.at(maintainer)

Changes:
  head/security/py-fail2ban/Makefile
  head/security/py-fail2ban/distinfo
  head/security/py-fail2ban/files/patch-fail2banreader.py
  head/security/py-fail2ban/files/patch-paths-freebsd.conf
  head/security/py-fail2ban/files/patch-recidive.conf
  head/security/py-fail2ban/files/patch-setup.py
  head/security/py-fail2ban/pkg-plist