app-admin/sshguard: drop 2.4.2

Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Yixun Lan
2023-09-21 00:07:35 +00:00
parent eddfed6b3d
commit 5b7fd4c88b
2 changed files with 0 additions and 58 deletions

View File

@@ -1,2 +1 @@
DIST sshguard-2.4.2.tar.gz 835431 BLAKE2B f76cbe41ced4d23448ba09750d073a47dae263616c34ec2e2efd7d6367339d352925958b5d9d711a3c4a8c2da10fae2474384a3de14434c0dff19bd645325058 SHA512 f2fe35180af8698d4b2053e9ffbf17df9f033b0c2fcc045caa085467d14174e17aa266d2ef3ce9536037e54f7d3ea42de9e32e7faee65612894294793082862a
DIST sshguard-2.4.3.tar.gz 1118756 BLAKE2B 8e3bd297c5712b4a411de6581e96a21db03203974cedba443bf16dd042e3b1b54c68cbacfa5af1610e738e1f847f1f0fae4792b52b618946f8b13fb0f5d4e338 SHA512 eeecea1007c1a21a28835a6d29c2cbffc647b3ab09a3525600e91b978d4ebdda9e6a7e2884da26bb1d7f64de561ac8bd1788bb776730d37b7a4fa49b22885b4a

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools systemd
DESCRIPTION="protects hosts from brute force attacks against ssh"
HOMEPAGE="https://www.sshguard.net/"
if [[ "${PV}" == 99999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://bitbucket.org/${PN}/${PN}"
else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
fi
LICENSE="BSD"
SLOT="0"
DEPEND="
sys-devel/flex
"
RDEPEND="
virtual/logger
"
DOCS=(
CHANGELOG.rst
CONTRIBUTING.rst
README.rst
examples/net.sshguard.plist
examples/whitelistfile.example
)
PATCHES=(
"${FILESDIR}"/${PN}-2.4.1-conf.patch
)
src_prepare() {
default
sed -i -e "/ExecStartPre/s:/usr/sbin:/sbin:g" \
-e "/ExecStart/s:/usr/local/sbin:/usr/sbin:g" \
"${S}"/examples/${PN}.service || die
eautoreconf
}
src_install() {
default
newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
insinto /etc
newins examples/sshguard.conf.sample sshguard.conf
systemd_dounit "${S}"/examples/sshguard.service
}