From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0549B1584AD for ; Thu, 01 May 2025 09:39:20 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E2D1F33FEF1 for ; Thu, 01 May 2025 09:39:19 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DBAB6110280; Thu, 01 May 2025 09:39:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D2DF7110280 for ; Thu, 01 May 2025 09:39:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8106D33FEF1 for ; Thu, 01 May 2025 09:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F8051D36 for ; Thu, 01 May 2025 09:39:16 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1746092314.27bc46ffd8adf3559f2934b0e66a2b863ed79a61.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sshguard/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/sshguard/Manifest app-admin/sshguard/sshguard-2.5.1.ebuild X-VCS-Directories: app-admin/sshguard/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 27bc46ffd8adf3559f2934b0e66a2b863ed79a61 X-VCS-Branch: master Date: Thu, 01 May 2025 09:39:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9bdacab8-97c1-4e53-8e97-5327738d40db X-Archives-Hash: 1ae4fc66be53fc7a53d5b4a5653356e4 commit: 27bc46ffd8adf3559f2934b0e66a2b863ed79a61 Author: Yixun Lan gentoo org> AuthorDate: Thu May 1 09:37:53 2025 +0000 Commit: Yixun Lan gentoo org> CommitDate: Thu May 1 09:38:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27bc46ff app-admin/sshguard: add 2.5.1 Signed-off-by: Yixun Lan gentoo.org> app-admin/sshguard/Manifest | 1 + app-admin/sshguard/sshguard-2.5.1.ebuild | 57 ++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/app-admin/sshguard/Manifest b/app-admin/sshguard/Manifest index e7690cb930d6..7f146f5bfc44 100644 --- a/app-admin/sshguard/Manifest +++ b/app-admin/sshguard/Manifest @@ -1,2 +1,3 @@ DIST sshguard-2.4.3.tar.gz 1118756 BLAKE2B 8e3bd297c5712b4a411de6581e96a21db03203974cedba443bf16dd042e3b1b54c68cbacfa5af1610e738e1f847f1f0fae4792b52b618946f8b13fb0f5d4e338 SHA512 eeecea1007c1a21a28835a6d29c2cbffc647b3ab09a3525600e91b978d4ebdda9e6a7e2884da26bb1d7f64de561ac8bd1788bb776730d37b7a4fa49b22885b4a DIST sshguard-2.5.0.tar.gz 759154 BLAKE2B 4797882942299f0bb7a6c359d152cda3436b86565247cbbda1c26246a21eaa8543baa674d68cbdf153570458fd3295dd3c4a784e5fe4c2e55b1eb8d917cc35a5 SHA512 c03dad46a098ff46d0687d0bc47a7268dfb68462673543e287e028d044b1d3906ae05185a8ef509456c3b7e153a1d21a75408c81e7630ae897525218b3ba09be +DIST sshguard-2.5.1.tar.gz 759630 BLAKE2B 34521e0dc303637a7ea325c951a549d17e242b792602f9a24e484c9150bfe21ac7a94c02893a8ce0ba73fd5483dee146c4d66954ee2c810516d6ebeae9e28b68 SHA512 346d8a7287bd664b2efd5aae19b398d9fb1fbe6b940c791c1932b3ba5b00e7fcc777dcc61fb549eb916ad79c9e3e7b18d015c028c068c1f622818c6e2a06542e diff --git a/app-admin/sshguard/sshguard-2.5.1.ebuild b/app-admin/sshguard/sshguard-2.5.1.ebuild new file mode 100644 index 000000000000..54c85e759e3c --- /dev/null +++ b/app-admin/sshguard/sshguard-2.5.1.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 +}