From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 022481382C5 for ; Tue, 30 Mar 2021 15:26:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4802AE0ACB; Tue, 30 Mar 2021 15:26:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 307D0E0ACB for ; Tue, 30 Mar 2021 15:26:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EDC94340B98 for ; Tue, 30 Mar 2021 15:26:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C60BCC for ; Tue, 30 Mar 2021 15:26:03 +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: <1617117953.ca73616f559b8f49d51c3bf8c6e4e772cfe1afa3.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.4.2.ebuild X-VCS-Directories: app-admin/sshguard/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: ca73616f559b8f49d51c3bf8c6e4e772cfe1afa3 X-VCS-Branch: master Date: Tue, 30 Mar 2021 15:26:03 +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: 0b778304-9efb-4d37-b6f1-fb66aa2517c2 X-Archives-Hash: 6bbab911ce26c95b0d6fdf87db62445a commit: ca73616f559b8f49d51c3bf8c6e4e772cfe1afa3 Author: Yixun Lan gentoo org> AuthorDate: Tue Mar 30 15:25:30 2021 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Mar 30 15:25:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca73616f app-admin/sshguard: version bump 2.4.2 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Yixun Lan gentoo.org> app-admin/sshguard/Manifest | 1 + app-admin/sshguard/sshguard-2.4.2.ebuild | 57 ++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/app-admin/sshguard/Manifest b/app-admin/sshguard/Manifest index c01af9f3c96..7fbac4e3d7c 100644 --- a/app-admin/sshguard/Manifest +++ b/app-admin/sshguard/Manifest @@ -1 +1,2 @@ DIST sshguard-2.4.1.tar.gz 723940 BLAKE2B 04e72b9959ef3ead418d2a6fe8029b0806a4d91c91f7cd36c236c7203cca1afc67305b21de0b1dee1594b188564f201ff2770d54d4c57c54b4d23db15e0298a0 SHA512 bae7485d963454f2a6dc4b7d96506b03fb49013fe3ab3d81e315ea88bd8067e7a2305cdf25e411720ac014a68ee9635cdbcef65a7dc806b7fc942f099a9d5ba8 +DIST sshguard-2.4.2.tar.gz 835431 BLAKE2B f76cbe41ced4d23448ba09750d073a47dae263616c34ec2e2efd7d6367339d352925958b5d9d711a3c4a8c2da10fae2474384a3de14434c0dff19bd645325058 SHA512 f2fe35180af8698d4b2053e9ffbf17df9f033b0c2fcc045caa085467d14174e17aa266d2ef3ce9536037e54f7d3ea42de9e32e7faee65612894294793082862a diff --git a/app-admin/sshguard/sshguard-2.4.2.ebuild b/app-admin/sshguard/sshguard-2.4.2.ebuild new file mode 100644 index 00000000000..ee4653a215e --- /dev/null +++ b/app-admin/sshguard/sshguard-2.4.2.ebuild @@ -0,0 +1,57 @@ +# 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 ~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 +}