Update many, many packages in order to get rid of warning from pkgdev / pkgcheck.
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
0f6733533a
commit
52bf607626
86 changed files with 650 additions and 770 deletions
50
net-analyzer/ddos-mitigator/ddos-mitigator-3.0.1-r2.ebuild
Normal file
50
net-analyzer/ddos-mitigator/ddos-mitigator-3.0.1-r2.ebuild
Normal file
|
@ -0,0 +1,50 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9,10,11} )
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Script for blocking IP addresses with many concurrent connections"
|
||||
HOMEPAGE="https://gittr.ch/linux/ddos-mitigator"
|
||||
SRC_URI="https://gittr.ch/linux/ddos-mitigator/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-admin/sudo
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/geoip2[${PYTHON_USEDEP}]
|
||||
')
|
||||
net-analyzer/fail2ban
|
||||
sys-apps/coreutils
|
||||
sys-apps/grep
|
||||
sys-apps/iproute2
|
||||
sys-apps/moreutils
|
||||
sys-apps/util-linux
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dosbin ddos-mitigator.sh
|
||||
dosbin geoip-lookup.py
|
||||
|
||||
insinto /etc
|
||||
doins ddos-mitigator.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Please note that you will need a GeoIP2 country- or"
|
||||
ewarn "city-database in order to use this package."
|
||||
elog "It is out of scope for this package to give detailed"
|
||||
elog "instructions on how to install such a database. Just"
|
||||
elog "google it."
|
||||
elog "net-misc/geoipupdate might help, too ..."
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue