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