From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sshguard/
Date: Tue, 29 Apr 2025 06:53:33 +0000 (UTC) [thread overview]
Message-ID: <1745909555.c9e5e71bbd7b9587056841261bdc30a7aaa146d7.dlan@gentoo> (raw)
commit: c9e5e71bbd7b9587056841261bdc30a7aaa146d7
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 29 02:21:51 2025 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Apr 29 06:52:35 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e5e71b
app-admin/sshguard: add 2.5.0
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
app-admin/sshguard/Manifest | 1 +
app-admin/sshguard/sshguard-2.5.0.ebuild | 57 ++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/app-admin/sshguard/Manifest b/app-admin/sshguard/Manifest
index adfbb50991e0..e7690cb930d6 100644
--- a/app-admin/sshguard/Manifest
+++ b/app-admin/sshguard/Manifest
@@ -1 +1,2 @@
DIST sshguard-2.4.3.tar.gz 1118756 BLAKE2B 8e3bd297c5712b4a411de6581e96a21db03203974cedba443bf16dd042e3b1b54c68cbacfa5af1610e738e1f847f1f0fae4792b52b618946f8b13fb0f5d4e338 SHA512 eeecea1007c1a21a28835a6d29c2cbffc647b3ab09a3525600e91b978d4ebdda9e6a7e2884da26bb1d7f64de561ac8bd1788bb776730d37b7a4fa49b22885b4a
+DIST sshguard-2.5.0.tar.gz 759154 BLAKE2B 4797882942299f0bb7a6c359d152cda3436b86565247cbbda1c26246a21eaa8543baa674d68cbdf153570458fd3295dd3c4a784e5fe4c2e55b1eb8d917cc35a5 SHA512 c03dad46a098ff46d0687d0bc47a7268dfb68462673543e287e028d044b1d3906ae05185a8ef509456c3b7e153a1d21a75408c81e7630ae897525218b3ba09be
diff --git a/app-admin/sshguard/sshguard-2.5.0.ebuild b/app-admin/sshguard/sshguard-2.5.0.ebuild
new file mode 100644
index 000000000000..54c85e759e3c
--- /dev/null
+++ b/app-admin/sshguard/sshguard-2.5.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="
+ app-alternatives/lex
+"
+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
+}
next reply other threads:[~2025-04-29 6:53 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-29 6:53 Yixun Lan [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-01 9:39 [gentoo-commits] repo/gentoo:master commit in: app-admin/sshguard/ Yixun Lan
2023-09-21 0:08 Yixun Lan
2023-09-20 16:30 Arthur Zamarin
2023-09-20 16:30 Arthur Zamarin
2023-08-09 13:03 Yixun Lan
2023-08-09 13:03 Yixun Lan
2023-06-17 6:12 Sam James
2021-12-02 0:53 Jonas Stein
2021-10-12 8:12 Yixun Lan
2021-10-12 7:10 Agostino Sarubbo
2021-10-11 5:12 Sam James
2021-08-04 7:35 Yixun Lan
2021-03-30 15:26 Yixun Lan
2021-02-16 12:26 Sam James
2021-02-16 2:38 Yixun Lan
2021-02-15 10:05 Yixun Lan
2021-02-13 16:15 Yixun Lan
2021-02-13 16:15 Yixun Lan
2021-02-04 7:58 Agostino Sarubbo
2021-02-03 23:55 Thomas Deutschmann
2020-08-01 6:37 Jeroen Roovers
2019-08-08 7:14 Jeroen Roovers
2019-08-08 7:14 Jeroen Roovers
2019-06-12 7:26 Jeroen Roovers
2019-06-12 7:25 Jeroen Roovers
2019-04-23 7:12 Jeroen Roovers
2019-01-02 13:03 Jeroen Roovers
2019-01-02 13:03 Jeroen Roovers
2018-12-17 20:42 Jeroen Roovers
2018-07-16 18:15 Jeroen Roovers
2018-04-13 14:18 Jeroen Roovers
2018-03-13 19:03 Mikle Kolyada
2018-03-13 18:08 Markus Meier
2018-03-11 15:07 Thomas Deutschmann
2017-11-01 9:33 Jeroen Roovers
2017-10-11 8:33 Jeroen Roovers
2017-03-08 4:48 Jeroen Roovers
2017-03-08 4:48 Jeroen Roovers
2017-01-29 20:40 Jeroen Roovers
2017-01-29 20:40 Jeroen Roovers
2017-01-04 9:22 Jeroen Roovers
2017-01-04 8:31 Jeroen Roovers
2017-01-04 8:23 Jeroen Roovers
2017-01-04 8:23 Jeroen Roovers
2016-12-29 10:05 Agostino Sarubbo
2016-12-17 14:18 Aaron Bauman
2016-10-26 8:20 Jeroen Roovers
2016-10-26 8:20 Jeroen Roovers
2016-08-10 7:20 Jeroen Roovers
2016-05-08 7:09 Jeroen Roovers
2016-05-08 7:03 Jeroen Roovers
2015-12-16 8:19 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1745909555.c9e5e71bbd7b9587056841261bdc30a7aaa146d7.dlan@gentoo \
--to=dlan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox