aboutsummaryrefslogtreecommitdiff
path: root/security/py-fail2ban
Commit message (Collapse)AuthorAgeFilesLines
* security/py-fail2ban: Sanitize MANPREFIXMuhammad Moinur Rahman2024-01-212-7/+8
| | | | Approved by: portmgr (blanket)
* all: remove explicit versions in USES=python for "3.x+"Rene Ladan2023-06-271-1/+1
| | | | | | | | | | | | | | | | | | | The logic in USES=python will automatically convert this to 3.8+ by itself. Adjust two ports that only had Python 3.7 mentioned but build fine on Python 3.8 too. finance/quickfix: mark BROKEN with PYTHON libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found ^~~~~~~~~~ 1 warning and 1 error generated. Reviewed by: portmgr, vishwin, yuri Differential Revision: <https://reviews.freebsd.org/D40568>
* security/py-fail2ban: Fix FAIL2BAN_DBDIRCy Schubert2023-06-122-1/+2
| | | | | | | | FAIL2BAN_DBDIR is a user set option. Unfortunately plist is not updated resulting in plist errors. PR: 271972 MFH: 2023Q2
* security/py-fail2ban: Update to 1.0.2Cy Schubert2022-11-093-92/+4
| | | | | | | Update to 1.0.2. This update includes the fix for upstream gh-issue-3370, which is now removed from our patches. Reported by: Ken <mayhem30@gmail.com>
* security/py-fail2ban: Import fix for upsteam issue gh-3370Cy Schubert2022-10-112-1/+88
| | | | | | | | | | Fix dovecot jail causes 100% CPU usage (upstream GH issue 3370). Reported by: Michael Grimm <trashcan@ellael.org> Roger Marquis <marquis@roble.com> Obtained from: https://github.com/fail2ban/fail2ban/issues/3370 Upstream commit ca2b94c5 MFH 2022Q4
* security/py-fail2ban: Fix buildCy Schubert2022-10-041-1/+1
| | | | Fixes: 4650a958fe57
* security/py-fail2ban: Add ipfilter ippool actionCy Schubert2022-10-042-1/+59
| | | | | | | Rather than add a block rule for each banned IP, add a blanket block rule that references an ipfilter ippool named fail2ban. Maintain the IPs in the ippool reducing the need to search a large list of rules. An ipfilter tree pool is used.
* security/py-fail2ban: Python is used at runtimeCy Schubert2022-10-041-1/+2
| | | | Register the fact that python is also used at runtime.
* security/py-fail2ban: Update to 1.0.1Cy Schubert2022-10-047-276/+7
| | | | | | | | | | | | This major release of fail2ban includes many bugfixes and features. See https://github.com/fail2ban/fail2ban/releases for more information. Add comment about "build" being performed in post-patch. Assume maintainership. PR: 266810 Approved by: MAINTAINER (theis@gmx.at)
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
* security/py-fail2ban: Fix build with setuptools 58.0.0+Po-Chuan Hsieh2022-03-071-0/+26
| | | | With hat: python
* security/py-fail2ban: Add upstream patch to fix possible RCE vulnerabilityYasuhiro Kimura2021-10-272-15/+169
| | | | | | | | | | | | | | * Switch to DISTVERSION * Pet portclippy * Reformat Makefile with portfmt PR: 259297 Approved by: maintainer Obtained from: https://github.com/fail2ban/fail2ban/commit/410a6ce5c80dd981c22752da034f2529b5eee844 MFH: 2021Q4 Security: CVE-2021-32749 Security: https://github.com/fail2ban/fail2ban/security/advisories/GHSA-m985-3f3v-cwmm Differential Revision: https://reviews.freebsd.org/D32576
* security/py-fail2ban: Add CPE informationBernhard Froehlich2021-08-291-1/+1
| | | | Approved by: portmgr (blanket)
* security/py-fail2ban: Add upstream patches to fix runtime error with Python 3.10Yasuhiro Kimura2021-08-124-1/+87
| | | | | PR: 257784 Approved by: theis AT gmx DOT at (maintainer)
* security/py-fail2ban: Create required start dirFlorian Koczan2021-06-152-0/+10
| | | | | | | | | | | | | Reported at https://github.com/fail2ban/fail2ban/issues/2634 fail2ban should check and, if necessary create, the required directory. It is still up to the user to ensure that configuration in fail2ban's conf files and FreeBSD's /etc/rc.conf are in sync and that both, pidfile and socket reside in the same directory. PR: 244092 Approved by: maintainer MFH: 2021Q2
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Simplify some ports using PYTHON_MAJOR_VER and Python 3.6+Rene Ladan2021-01-121-6/+2
| | | | Notes: svn path=/head/; revision=561385
* Drop python 2.7 support from a few portsAntoine Brodin2020-12-281-1/+1
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=559531
* - Update fail2ban to 0.11.2Guido Falsi2020-11-242-14/+6
| | | | | | | | | | | - Remove patches now included in the upstream code - Adapt option to not install test files PR: 251341 Submitted by: theis@gmx.at (maintainer) Notes: svn path=/head/; revision=556221
* security/py-fail2ban: Fix runtime error with Python 3.9Koichiro Iwao2020-10-222-2/+10
| | | | | | | | | | | | PR: 250356 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Approved by: theis@gmx.at (maintainer) Obtained from: https://bugzilla.redhat.com/show_bug.cgi?id=1808347 Obtained from: https://github.com/fail2ban/fail2ban/issues/2646 Obtained from: https://github.com/fail2ban/fail2ban/pull/2651 Notes: svn path=/head/; revision=552920
* security/py-fail2ban: add missing paths to rc scriptKurt Jaeger2020-09-251-0/+2
| | | | | | | | | PR: 249578 Submitted by: László Károlyi <laszlo@karolyi.hu> Approved by: theis@gmx.at (maintainer) Notes: svn path=/head/; revision=550045
* Add new regexp to match invalid users to bsd-ssh filter.Guido Falsi2020-03-272-2/+4
| | | | | | | | | | | | | | I have observed a regression where the old expression was not working. Looks like the regression was caused by the migration to python 3. As far as I can see the quarterly branch is not affected. PR: 245097 Approved by: portmgr (blanket: run-time bugfix) Notes: svn path=/head/; revision=529264
* security/py-fail2ban: Update to 0.11.1Koichiro Iwao2020-01-163-36/+5
| | | | | | | | | | PR: 243325 Submitted by: maintainer Relnotes: https://github.com/fail2ban/fail2ban/blob/0.11.1/ChangeLog Sponsored by: HAW international Notes: svn path=/head/; revision=523211
* Convert to UCL & cleanup pkg-message (categories s)Mathieu Arnold2019-08-141-5/+6
| | | | Notes: svn path=/head/; revision=508909
* security/py-fail2ban: Add support for devel/py-pyinotifyKai Knoblich2019-06-161-3/+8
| | | | | | | | | | | | | | | * Enable support for devel/py-pyinotify that itself uses devel/libinotify to monitor changes in the filesystem. [1] * Also introduce the new dependency as an additional default option INOTIFY while I'm here because it's not a hard requirement for runtime. [2] PR: 238427 Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> [1] Approved by: theis@gmx.at (maintainer) [1] [2] Notes: svn path=/head/; revision=504294
* security/py-fail2ban: Fix rc scriptKubilay Kocak2019-05-312-4/+9
| | | | | | | | | | | | | | | The rc.d script evaluates fail2ban_pidfile before rc.conf is read. This change moves those evaluations to the corect place allowing users to override the values via /etc/rc.conf as expected. PR: 236017 Reported by: <epopen gmail com>, Dmitry Wagin <dmitry.wagin ya ru> Submitted by: <theis gmx at> (maintainer) MFH: 2019Q2 Notes: svn path=/head/; revision=503168
* security/py-fail2ban: Update to 0.10.4Steve Wills2018-10-074-69/+6
| | | | | | | | PR: 231947 Submitted by: theis@gmx.at (maintainer) Notes: svn path=/head/; revision=481422
* security/py-fail2ban: Fix writing /etc/hosts.deny entriesSteve Wills2018-07-252-0/+31
| | | | | | | | | PR: 227577 Submitted by: theis@gmx.at (maintainer) Reported by: Niels Bakker <niels=freebsd@bakker.net> Notes: svn path=/head/; revision=475327
* Use PY_FLAVOR for dependencies.Mathieu Arnold2018-06-201-1/+1
| | | | | | | | | | FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight Notes: svn path=/head/; revision=472884
* security/py-fail2ban: Update to 0.10.3.1Jochen Neumeister2018-04-122-4/+4
| | | | | | | | | | Changelog: https://github.com/fail2ban/fail2ban/blob/0.10.3.1/ChangeLog PR: 227424 Submitted by: theis@gmx.at (maintainer) Notes: svn path=/head/; revision=467124
* security/py-fail2ban: Update to 0.10.3Jochen Neumeister2018-04-093-4/+38
| | | | | | | | | | Changelog: https://github.com/fail2ban/fail2ban/blob/0.10.3.1/ChangeLog PR: 227389 Submitted by: theis@gmx.at (maintainer) Notes: svn path=/head/; revision=466874
* Fix build with Python != 2.7Mathieu Arnold2018-01-251-1/+1
| | | | | | | | Pointy hat: pi Sponsored by: Absolight Notes: svn path=/head/; revision=459924
* security/py-fail2ban: update 0.10.1 -> 0.10.2Kurt Jaeger2018-01-233-26/+14
| | | | | | | | | | | | - many fixes from upstream for bugs in the 0.10.x version - automatic upgrade of python code to python3, if that is used PR: 225317 Submitted by: theis@gmx.at (maintainer) Changes: https://github.com/fail2ban/fail2ban/blob/0.10.2/ChangeLog Notes: svn path=/head/; revision=459794
* Convert Python ports to FLAVORS.Mathieu Arnold2017-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ports using USE_PYTHON=distutils are now flavored. They will automatically get flavors (py27, py34, py35, py36) depending on what versions they support. There is also a USE_PYTHON=flavors for ports that do not use distutils but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if using distutils but flavors are not wanted. A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added to cope with Python ports that did not have the Python PKGNAMEPREFIX but are flavored. USES=python now also exports a PY_FLAVOR variable that contains the current python flavor. It can be used in dependency lines when the port itself is not python flavored. For example, deskutils/calibre. By default, all the flavors are generated. To only generate flavors for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf. In all the ports with Python dependencies, the *_DEPENDS entries MUST end with the flavor so that the framework knows which to build/use. This is done by appending '@${PY_FLAVOR}' after the origin (or @${FLAVOR} if in a Python module with Python flavors, as the content will be the same). For example: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} PR: 223071 Reviewed by: portmgr, python Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12464 Notes: svn path=/head/; revision=455210
* - Patch for user of pfWen Heping2017-10-253-5/+26
| | | | | | | | PR: 223069 Submitted by: theis@gmx.at(maintainer) Notes: svn path=/head/; revision=452860
* - Update to 0.10.1Wen Heping2017-10-153-23/+4
| | | | | | | | PR: 223022 Submitted by: theis@gmx.at(maintainer) Notes: svn path=/head/; revision=452134
* - Update t0 0.10Wen Heping2017-10-124-11/+36
| | | | | | | | | | - Update pkg-message PR: 221442 Submitted by: theis@gmx.at(maintainer) Notes: svn path=/head/; revision=451846
* Update to 0.9.7 [1]Sunpoet Po-Chuan Hsieh2017-06-022-7/+20
| | | | | | | | | | | | | | | - Fix shebang line of fail2ban-python in apache-fakegooglebot [2] - While I'm here: - Add missing OPTIONS_DEFINE=DOCS - Use SHEBANG_LANG - Convert to options target helper Changes: https://github.com/fail2ban/fail2ban/blob/0.9/ChangeLog PR: 219733 [1], 219419 [2] Submitted by: <theis@gmx.at> (maintainer) [1], Lukasz Wasikowski <lukasz@wasikowski.net> [2] Notes: svn path=/head/; revision=442446
* Update fail2ban to version 0.9.6Nikolai Lifanov2016-12-275-20/+11
| | | | | | | | | | | PR: 215239 Submitted by: John W. O'Brien <john@saltant.com> Reviewed by: matthew Approved by: theis@gmx.at (maintainer), matthew (mentor) Differential Revision: https://reviews.freebsd.org/D8917 Notes: svn path=/head/; revision=429667
* Update to version 0.9.5Pawel Pekala2016-07-242-5/+4
| | | | | | | | PR: 211262 Submitted by: maintainer Notes: svn path=/head/; revision=419009
* - Fix trailing whitespace in pkg-messagesDmitry Marakasov2016-05-191-1/+1
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=415503
* security/py-fail2ban: Fix for Bug #1417 / #1419Kurt Jaeger2016-05-142-2/+5
| | | | | | | | | | For details see https://github.com/fail2ban/fail2ban/pull/1419 PR: 209494 Submitted by: theis@gmx.at (maintainer) Notes: svn path=/head/; revision=415186
* Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.Mathieu Arnold2016-04-011-1/+1
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412349
* Update to upstream version 0.9.4Thomas Zander2016-03-202-4/+3
| | | | | | | | PR: 207886 Submitted by: theis@gmx.at (maintainer) Notes: svn path=/head/; revision=411435
* security/py-fail2ban: Modernize and cleanupKubilay Kocak2015-12-147-254/+29
| | | | | | | | | | | | | | | | - Use autoplist, update pkg-plist accordingly, deprecate py3kplist - Remove unnecessary PYDISTUTILS_PKGVERSION and --install-purelib args - Cleanup a REINPLACE to be more explicit - Add do-test target - Regenerate patches (makepatch compatible) - Add NO_ARCH - Sort and group USE{S,_*} entries PR: 204373 Approved by: maintainer <theis gmx at> Notes: svn path=/head/; revision=403712
* security/py-fail2ban: update 0.9.2 -> 0.9.3Bartek Rutkowski2015-08-043-4/+8
| | | | | | | | | | - Add LICENSE_FILE PR: 202026 Submitted by: Christoph Theis <theis@gmx.at> (maintainer) Notes: svn path=/head/; revision=393518
* - Fix shebangsDmitry Marakasov2015-07-281-1/+3
| | | | | | | | Approved by: portmgr blanket MFH: 2015Q3 (blanket) Notes: svn path=/head/; revision=393102
* Update ports in the s* categores to not use GH_COMMIT.Mathieu Arnold2015-05-072-5/+2
| | | | | | | | | | With minor cleanups to make things simpler. With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=385645