1 |
commit: 1dd603fb736646bcb081c711907f7d68012cff09 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 4 08:23:09 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 4 08:23:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd603fb |
7 |
|
8 |
app-admin/sshguard: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
app-admin/sshguard/Manifest | 2 - |
13 |
app-admin/sshguard/sshguard-1.5-r1.ebuild | 50 ----------------------- |
14 |
app-admin/sshguard/sshguard-1.7.0.ebuild | 67 ------------------------------- |
15 |
3 files changed, 119 deletions(-) |
16 |
|
17 |
diff --git a/app-admin/sshguard/Manifest b/app-admin/sshguard/Manifest |
18 |
index 9dfc241..0d4b109 100644 |
19 |
--- a/app-admin/sshguard/Manifest |
20 |
+++ b/app-admin/sshguard/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
-DIST sshguard-1.5.tar.bz2 303767 SHA256 b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19 SHA512 6d17abccd94af9e7fb04a54477ff5686caa64dc36e2f2cbc4a8cd7bc293923daf2fee87fa7f2e247eba1b310abe68549e652ab3224c2d19822d2e8a0306e49e6 WHIRLPOOL 7d579f5c9a03d79f7cc7b51b537b91b053faa56653ba7c5182550ddab41c0fbcd12a6cd7a6dfb2d1e2323905ef3e35aaef9ca8175d97e26cb953d57403f46562 |
23 |
-DIST sshguard-1.7.0.tar.gz 769779 SHA256 5ce784bc25dc9801fbfadc4117669ee02397526c420170ae1145ada96df8cd59 SHA512 876789ee0a457b656f9d9488043f0d4f59cb2ba5a6fc3243f6f05e64995c6cf719bffa01bea7f96897b7092946e441507f2ced4f372fb475dfd7ec0cd70bda55 WHIRLPOOL 7ade8de747f398c7552b17bc3b6ce8c9400e169757072cd10147b2f0ca2e67c427a09e4761a63d9bcc24caca499464301388b4d8b709a4f8cc4325e57dbb312d |
24 |
DIST sshguard-1.7.1.tar.gz 832220 SHA256 2e527589c9b33219222d827dff63974229d044de945729aa47271c4a29aaa195 SHA512 205f45f0f1260ebf2a1efabe5b4391b23c219f37df096383d87c220e7392cf58827a4e509be65287bac5b2af49fa0fc390775e1472cff4fb28f2323821f00fd1 WHIRLPOOL 2810c8c77d623dd21baace30bcd4c20efe1f7544e0db3a8abe84ca823e4cc391ecde072d56e63e10c2a490d1417e18fcd9cae16692ac72fffbf216a23036798e |
25 |
DIST sshguard-1.99.0.tar.gz 878414 SHA256 d55ec6f57c24d954998328e0363000dbded9aed0580cfe4b558fce0abe550f95 SHA512 f691a123291f44b9b8a53a3f4fd599145da08819371d880f8ec70b77328aaa5c8b271e443ae5ff348f9f9a206b6b8b88dab84b2fad1e9e3d7d5f8a499fe67763 WHIRLPOOL a35b4f3bff7841f5d380e8da0e347b968e7349611b9caf2a78c2ac306a0b18624bd9889fadbf4e63e237abf90e7a4da7f16574bc44f714724bfbb24d599cdd3a |
26 |
|
27 |
diff --git a/app-admin/sshguard/sshguard-1.5-r1.ebuild b/app-admin/sshguard/sshguard-1.5-r1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 3e1e0b0..00000000 |
30 |
--- a/app-admin/sshguard/sshguard-1.5-r1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,50 +0,0 @@ |
33 |
-# Copyright 1999-2012 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
-# $Id$ |
36 |
- |
37 |
-EAPI="2" |
38 |
- |
39 |
-inherit flag-o-matic |
40 |
- |
41 |
-DESCRIPTION="protects hosts from brute force attacks against ssh" |
42 |
-HOMEPAGE="http://sshguard.sourceforge.net/" |
43 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
44 |
- |
45 |
-LICENSE="BSD" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 x86 ~x86-fbsd" |
48 |
-IUSE="ipfilter kernel_FreeBSD kernel_linux" |
49 |
- |
50 |
-CDEPEND="kernel_linux? ( net-firewall/iptables ) |
51 |
- kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )" |
52 |
-DEPEND="${CDEPEND} |
53 |
- sys-devel/flex" |
54 |
-RDEPEND="${CDEPEND} |
55 |
- sys-apps/openrc |
56 |
- virtual/logger" |
57 |
- |
58 |
-src_prepare() { |
59 |
- sed -i configure -e '/OPTIMIZER_CFLAGS=/d' || die |
60 |
-} |
61 |
- |
62 |
-src_configure() { |
63 |
- # Needed for usleep(3), see "nasty" in src/sshguard_logsuck.c |
64 |
- append-flags -D_BSD_SOURCE |
65 |
- |
66 |
- local myconf |
67 |
- if use kernel_linux; then |
68 |
- myconf="--with-firewall=iptables" |
69 |
- elif use kernel_FreeBSD; then |
70 |
- use ipfilter && myconf="--with-firewall=ipfw" \ |
71 |
- || myconf="--with-firewall=pf" |
72 |
- fi |
73 |
- |
74 |
- econf ${myconf} |
75 |
-} |
76 |
- |
77 |
-src_install() { |
78 |
- emake DESTDIR="${D}" install || die "emake install failed" |
79 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN} || die |
80 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} || die |
81 |
- dodoc README Changes scripts/sshguard_backendgen.sh examples/* || die |
82 |
-} |
83 |
|
84 |
diff --git a/app-admin/sshguard/sshguard-1.7.0.ebuild b/app-admin/sshguard/sshguard-1.7.0.ebuild |
85 |
deleted file mode 100644 |
86 |
index 9196fdf..00000000 |
87 |
--- a/app-admin/sshguard/sshguard-1.7.0.ebuild |
88 |
+++ /dev/null |
89 |
@@ -1,67 +0,0 @@ |
90 |
-# Copyright 1999-2016 Gentoo Foundation |
91 |
-# Distributed under the terms of the GNU General Public License v2 |
92 |
-# $Id$ |
93 |
- |
94 |
-EAPI=6 |
95 |
-inherit flag-o-matic |
96 |
- |
97 |
-DESCRIPTION="protects hosts from brute force attacks against ssh" |
98 |
-HOMEPAGE="http://sshguard.sourceforge.net/" |
99 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
100 |
- |
101 |
-LICENSE="BSD" |
102 |
-SLOT="0" |
103 |
-KEYWORDS="amd64 ~x86 ~x86-fbsd" |
104 |
-IUSE="ipfilter kernel_FreeBSD kernel_linux" |
105 |
- |
106 |
-CDEPEND=" |
107 |
- kernel_linux? ( net-firewall/iptables ) |
108 |
- kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) ) |
109 |
-" |
110 |
-DEPEND=" |
111 |
- ${CDEPEND} |
112 |
- sys-devel/flex |
113 |
-" |
114 |
-RDEPEND=" |
115 |
- ${CDEPEND} |
116 |
- sys-apps/openrc |
117 |
- virtual/logger |
118 |
-" |
119 |
- |
120 |
-DOCS=( |
121 |
- CHANGELOG.rst |
122 |
- README.rst |
123 |
- examples/sshguard.service |
124 |
- examples/whitelistfile.example |
125 |
-) |
126 |
- |
127 |
-src_prepare() { |
128 |
- default |
129 |
- |
130 |
- sed -i -e '/OPTIMIZER_CFLAGS=/d' configure || die |
131 |
-} |
132 |
- |
133 |
-src_configure() { |
134 |
- # Needed for usleep(3), see "nasty" in src/sshguard_logsuck.c |
135 |
- append-cppflags -D_DEFAULT_SOURCE |
136 |
- |
137 |
- local myconf |
138 |
- if use kernel_linux; then |
139 |
- myconf="--with-firewall=iptables" |
140 |
- elif use kernel_FreeBSD; then |
141 |
- if use ipfilter; then |
142 |
- myconf="--with-firewall=ipfw" |
143 |
- else |
144 |
- myconf="--with-firewall=pf" |
145 |
- fi |
146 |
- fi |
147 |
- |
148 |
- econf ${myconf} |
149 |
-} |
150 |
- |
151 |
-src_install() { |
152 |
- default |
153 |
- |
154 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN} |
155 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
156 |
-} |