1 |
commit: e4233701c2ca8f6c4665ee40b41c86028af968e5 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 2 13:03:29 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 2 13:03:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4233701 |
7 |
|
8 |
app-admin/sshguard: Add live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
app-admin/sshguard/sshguard-99999.ebuild | 46 ++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/sshguard/sshguard-99999.ebuild b/app-admin/sshguard/sshguard-99999.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..407363556f8 |
19 |
--- /dev/null |
20 |
+++ b/app-admin/sshguard/sshguard-99999.ebuild |
21 |
@@ -0,0 +1,46 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+inherit autotools git-r3 |
27 |
+ |
28 |
+DESCRIPTION="protects hosts from brute force attacks against ssh" |
29 |
+HOMEPAGE="https://www.sshguard.net/" |
30 |
+EGIT_REPO_URI="https://bitbucket.org/${PN}/${PN}" |
31 |
+ |
32 |
+LICENSE="BSD" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="" |
35 |
+ |
36 |
+DEPEND=" |
37 |
+ sys-devel/flex |
38 |
+" |
39 |
+RDEPEND=" |
40 |
+ virtual/logger |
41 |
+" |
42 |
+DOCS=( |
43 |
+ CHANGELOG.rst |
44 |
+ CONTRIBUTING.rst |
45 |
+ README.rst |
46 |
+ examples/net.sshguard.plist |
47 |
+ examples/sshguard.service |
48 |
+ examples/whitelistfile.example |
49 |
+) |
50 |
+PATCHES=( |
51 |
+ "${FILESDIR}"/${PN}-2.1.0-conf.patch |
52 |
+) |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ eautoreconf |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ default |
61 |
+ |
62 |
+ newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
63 |
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} |
64 |
+ |
65 |
+ insinto /etc |
66 |
+ newins examples/sshguard.conf.sample sshguard.conf |
67 |
+} |