1 |
hwoarang 10/11/05 15:05:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fail2ban-0.8.4-r1.ebuild |
5 |
Log: |
6 |
Bugfix revision. Fixes bug 260337,283629,301139,315073,343955. Thanks to Robert Trace <bugzilla-gentoo@×××××××××.org>, Harley Peters <harley@×××××××××××××.com> for the patches. |
7 |
|
8 |
(Portage version: 2.2.0_alpha3_p8/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.59 net-analyzer/fail2ban/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/ChangeLog?rev=1.59&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/ChangeLog?rev=1.59&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/ChangeLog?r1=1.58&r2=1.59 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v |
20 |
retrieving revision 1.58 |
21 |
retrieving revision 1.59 |
22 |
diff -u -r1.58 -r1.59 |
23 |
--- ChangeLog 8 Feb 2010 08:35:18 -0000 1.58 |
24 |
+++ ChangeLog 5 Nov 2010 15:05:51 -0000 1.59 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for net-analyzer/fail2ban |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.58 2010/02/08 08:35:18 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.59 2010/11/05 15:05:51 hwoarang Exp $ |
30 |
+ |
31 |
+*fail2ban-0.8.4-r1 (05 Nov 2010) |
32 |
+ |
33 |
+ 05 Nov 2010; Markos Chandras <hwoarang@g.o> |
34 |
+ +files/fail2ban-0.8.4-hashlib.patch, files/fail2ban-logrotate, |
35 |
+ +fail2ban-0.8.4-r1.ebuild, +files/fail2ban-0.8.4-sshd-breakin.patch: |
36 |
+ Bugfix revision. Fixes bug 260337,283629,301139,315073,343955. Thanks to |
37 |
+ Robert Trace <bugzilla-gentoo@×××××××××.org>, Harley Peters |
38 |
+ <harley@×××××××××××××.com> for the patches. |
39 |
|
40 |
08 Feb 2010; Peter Volkov <pva@g.o> fail2ban-0.8.3-r1.ebuild: |
41 |
Add inherit eutils for epatch. |
42 |
|
43 |
|
44 |
|
45 |
1.1 net-analyzer/fail2ban/fail2ban-0.8.4-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.4-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.4-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: fail2ban-0.8.4-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.4-r1.ebuild,v 1.1 2010/11/05 15:05:51 hwoarang Exp $ |
55 |
|
56 |
EAPI=2 |
57 |
|
58 |
PYTHON_DEPEND="2" |
59 |
|
60 |
inherit distutils eutils |
61 |
|
62 |
DESCRIPTION="Bans IP that make too many password failures" |
63 |
HOMEPAGE="http://fail2ban.sourceforge.net/" |
64 |
SRC_URI="mirror://sourceforge/fail2ban/${P}.tar.bz2" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
69 |
IUSE="" |
70 |
|
71 |
RDEPEND="net-misc/whois |
72 |
virtual/mta |
73 |
net-firewall/iptables" |
74 |
|
75 |
src_prepare() { |
76 |
epatch "${FILESDIR}"/${P}-hashlib.patch \ |
77 |
"${FILESDIR}"/${P}-sshd-breakin.patch |
78 |
distutils_src_prepare |
79 |
} |
80 |
|
81 |
src_install() { |
82 |
distutils_src_install |
83 |
|
84 |
diropts -m 0755 -o root -g root |
85 |
dodir /var/run/${PN} |
86 |
keepdir /var/run/${PN} |
87 |
|
88 |
newconfd files/gentoo-confd fail2ban |
89 |
newinitd files/gentoo-initd fail2ban |
90 |
dodoc ChangeLog README TODO || die "dodoc failed" |
91 |
doman man/*.1 || die "doman failed" |
92 |
|
93 |
# Use INSTALL_MASK if you do not want to touch /etc/logrotate.d. |
94 |
# See http://thread.gmane.org/gmane.linux.gentoo.devel/35675 |
95 |
insinto /etc/logrotate.d |
96 |
newins "${FILESDIR}"/${PN}-logrotate ${PN} || die |
97 |
} |
98 |
|
99 |
pkg_preinst() { |
100 |
has_version "<${CATEGORY}/${PN}-0.7" |
101 |
previous_less_than_0_7=$? |
102 |
} |
103 |
|
104 |
pkg_postinst() { |
105 |
if [[ $previous_less_than_0_7 = 0 ]] ; then |
106 |
elog |
107 |
elog "Configuration files are now in /etc/fail2ban/" |
108 |
elog "You probably have to manually update your configuration" |
109 |
elog "files before restarting Fail2ban!" |
110 |
elog |
111 |
elog "Fail2ban is not installed under /usr/lib anymore. The" |
112 |
elog "new location is under /usr/share." |
113 |
elog |
114 |
elog "You are upgrading from version 0.6.x, please see:" |
115 |
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8" |
116 |
fi |
117 |
} |