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 1C302138334 for ; Wed, 2 Jan 2019 13:04:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26AB0E09C7; Wed, 2 Jan 2019 13:03:59 +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 F3F0EE09C7 for ; Wed, 2 Jan 2019 13:03:58 +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 83E44335C78 for ; Wed, 2 Jan 2019 13:03:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02D4B4FB for ; Wed, 2 Jan 2019 13:03:56 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1546434233.e4233701c2ca8f6c4665ee40b41c86028af968e5.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sshguard/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/sshguard/sshguard-99999.ebuild X-VCS-Directories: app-admin/sshguard/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: e4233701c2ca8f6c4665ee40b41c86028af968e5 X-VCS-Branch: master Date: Wed, 2 Jan 2019 13:03:56 +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: e35284d5-8d34-4a61-a001-5a27dcfdff78 X-Archives-Hash: 670478b9b635e089b695a0c3d9af0765 commit: e4233701c2ca8f6c4665ee40b41c86028af968e5 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 2 13:03:29 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 2 13:03:53 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4233701 app-admin/sshguard: Add live ebuild Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Jeroen Roovers gentoo.org> app-admin/sshguard/sshguard-99999.ebuild | 46 ++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/app-admin/sshguard/sshguard-99999.ebuild b/app-admin/sshguard/sshguard-99999.ebuild new file mode 100644 index 00000000000..407363556f8 --- /dev/null +++ b/app-admin/sshguard/sshguard-99999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools git-r3 + +DESCRIPTION="protects hosts from brute force attacks against ssh" +HOMEPAGE="https://www.sshguard.net/" +EGIT_REPO_URI="https://bitbucket.org/${PN}/${PN}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" + +DEPEND=" + sys-devel/flex +" +RDEPEND=" + virtual/logger +" +DOCS=( + CHANGELOG.rst + CONTRIBUTING.rst + README.rst + examples/net.sshguard.plist + examples/sshguard.service + examples/whitelistfile.example +) +PATCHES=( + "${FILESDIR}"/${PN}-2.1.0-conf.patch +) + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + + insinto /etc + newins examples/sshguard.conf.sample sshguard.conf +}