aboutsummaryrefslogtreecommitdiff
path: root/net/fail2ban
Commit message (Collapse)AuthorAge
* net/fail2ban: assign PKG_CPE_IDFabrice Fontaine2024-01-29
| | | | | | https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:fail2ban:fail2ban Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* fail2ban: Fix compatibility with Python 3.11Jeffery To2023-11-30
| | | | | | | | | | | | This backports 2 commits from upstream[1]; the other 3 are not strictly necessary. One of the patches has been updated to remove a change to a regex that does not exist in 0.11.2. [1]: https://github.com/fail2ban/fail2ban/pull/3267 Fixes: https://github.com/openwrt/packages/issues/22736 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* fail2ban: Override Build/Compile instead of Py3Build/CompileJeffery To2023-04-24
| | | | | | | This allows changes to the Python build system apply more easily to the package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* fail2ban: fix patch for python 3.10Michal Vasilek2022-06-20
| | | | | | | | | 89d5d2e091c8da10a1c963158a6de92b05079116 only patched importing MutableMapping from collections, but importing Mapping has to be patched too Closes: #18681 Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* fail2ban: fix 2to3 errorKerma Gérald2022-01-08
| | | | | | | | | | | | | | | | | Issue: 2to3 support has been removed in setuptools since version 58.0.0. Fix: openwrt/packages#17311 Requirements: 2to3/host openwrt/packages#17429 Add upstream patch: https://github.com/fail2ban/fail2ban/commit/196c55e93103d1e56d1336f27a5f2591b4e54fef To install/build for python3 from source, it is necessary to convert to py3 codebase before setup (invoke 2to3 or ./fail2ban-2to3 firstly). > ./fail2ban-2to3 > python3 setup.py build Signed-off-by: Kerma Gérald <gandalf@gk2.net>
* fail2ban: Python 10.0 compatibilityAlexander Ryzhov2021-12-16
| | | | Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
* fail2ban: patch CVE-2021-32749Michal Vasilek2021-09-16
| | | | | | * switch to AUTORELEASE Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* fail2ban: fix hotplug when disabledVladislav Grigoryev2021-09-10
| | | | | | | Avoid restarting fail2ban by hotplug when the service is disabled. Related issue: https://github.com/openwrt/packages/issues/16601 Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
* fail2ban: fix package for fail2ban v0.11.2Kerma Gérald2021-09-07
| | | | | | | | | | | fail2ban v0.11.2 package version 2 Following PR #15098, add fixes to build fail2ban package: - remove use of fail2ban-python (directly use python3 in script) - remove link to python3 in /usr/bin (break the package build) - remove python-tests (reduce the package size) Signed-off-by: Kerma Gérald <gandalf@gk2.net>
* fail2ban: initial package of fail2ban version 0.11.2Kerma Gérald2021-09-01
python3-pyinotify: initial package version 0.9.6 of pyinotify for python3 Signed-off-by: Kerma Gérald <gandalf@gk2.net>