Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/fail2ban: ChangeLog fail2ban-0.8.3-r1.ebuild fail2ban-0.8.1.ebuild fail2ban-0.8.2.ebuild fail2ban-0.8.3.ebuild
Date: Sun, 23 Aug 2009 21:04:50
Message-Id: E1MfKF6-0003a7-7C@stork.gentoo.org
1 a3li 09/08/23 21:04:48
2
3 Modified: ChangeLog
4 Added: fail2ban-0.8.3-r1.ebuild
5 Removed: fail2ban-0.8.1.ebuild fail2ban-0.8.2.ebuild
6 fail2ban-0.8.3.ebuild
7 Log:
8 Non-maintainer commit: Revbump to fix security bug 258866. Removing unneeded vulnerable versions.
9 (Portage version: 2.2_rc33/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.47 net-analyzer/fail2ban/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/ChangeLog?rev=1.47&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/ChangeLog?rev=1.47&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/ChangeLog?r1=1.46&r2=1.47
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v
21 retrieving revision 1.46
22 retrieving revision 1.47
23 diff -u -r1.46 -r1.47
24 --- ChangeLog 1 Jun 2009 19:48:27 -0000 1.46
25 +++ ChangeLog 23 Aug 2009 21:04:47 -0000 1.47
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-analyzer/fail2ban
28 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.46 2009/06/01 19:48:27 pva Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.47 2009/08/23 21:04:47 a3li Exp $
31 +
32 +*fail2ban-0.8.3-r1 (23 Aug 2009)
33 +
34 + 23 Aug 2009; Alex Legler <a3li@g.o> -fail2ban-0.8.1.ebuild,
35 + -fail2ban-0.8.2.ebuild, -fail2ban-0.8.3.ebuild, +fail2ban-0.8.3-r1.ebuild,
36 + +files/fail2ban-CVE-2009-0362.patch:
37 + Non-maintainer commit: Revbump to fix security bug 258866. Removing
38 + unneeded vulnerable versions.
39
40 01 Jun 2009; Peter Volkov <pva@g.o> -fail2ban-0.6.2-r1.ebuild:
41 Removed vulnerable version, bug #271687, thank Robert Buchholz for report.
42
43
44
45 1.1 net-analyzer/fail2ban/fail2ban-0.8.3-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.3-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.3-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: fail2ban-0.8.3-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2009 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.3-r1.ebuild,v 1.1 2009/08/23 21:04:47 a3li Exp $
55
56 inherit distutils
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 DEPEND=">=dev-lang/python-2.4"
68 RDEPEND="${DEPEND}
69 virtual/mta"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74
75 epatch "${FILESDIR}/${PN}-CVE-2009-0362.patch"
76 }
77
78 src_install() {
79 distutils_src_install
80
81 diropts -m 0755 -o root -g root
82 dodir /var/run/${PN}
83 keepdir /var/run/${PN}
84
85 newconfd files/gentoo-confd fail2ban
86 newinitd files/gentoo-initd fail2ban
87 dodoc ChangeLog README TODO || die "dodoc failed"
88 doman man/*.1 || die "doman failed"
89
90 # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
91 # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
92 insinto /etc/logrotate.d
93 newins "${FILESDIR}"/${PN}-logrotate ${PN} || die
94 }
95
96 pkg_preinst() {
97 has_version "<${CATEGORY}/${PN}-0.7"
98 previous_less_than_0_7=$?
99 }
100
101 pkg_postinst() {
102 if [[ $previous_less_than_0_7 = 0 ]] ; then
103 elog
104 elog "Configuration files are now in /etc/fail2ban/"
105 elog "You probably have to manually update your configuration"
106 elog "files before restarting Fail2ban!"
107 elog
108 elog "Fail2ban is not installed under /usr/lib anymore. The"
109 elog "new location is under /usr/share."
110 elog
111 elog "You are upgrading from version 0.6.x, please see:"
112 elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
113 fi
114 }