Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/fail2ban: ChangeLog fail2ban-0.8.4.ebuild
Date: Fri, 11 Sep 2009 13:37:50
Message-Id: E1Mm6Jw-0003TE-Eh@stork.gentoo.org
1 patrick 09/09/11 13:37:48
2
3 Modified: ChangeLog
4 Added: fail2ban-0.8.4.ebuild
5 Log:
6 Bump to 0.8.4, fixes #284279
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.52 net-analyzer/fail2ban/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/ChangeLog?rev=1.52&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/ChangeLog?rev=1.52&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/ChangeLog?r1=1.51&r2=1.52
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v
19 retrieving revision 1.51
20 retrieving revision 1.52
21 diff -u -r1.51 -r1.52
22 --- ChangeLog 26 Aug 2009 23:40:06 -0000 1.51
23 +++ ChangeLog 11 Sep 2009 13:37:48 -0000 1.52
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/fail2ban
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.51 2009/08/26 23:40:06 a3li Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.52 2009/09/11 13:37:48 patrick Exp $
29 +
30 +*fail2ban-0.8.4 (11 Sep 2009)
31 +
32 + 11 Sep 2009; Patrick Lauer <patrick@g.o> +fail2ban-0.8.4.ebuild:
33 + Bump to 0.8.4, fixes #284279
34
35 26 Aug 2009; Alex Legler <a3li@g.o> -fail2ban-0.8.0-r1.ebuild,
36 fail2ban-0.8.3-r1.ebuild:
37
38
39
40 1.1 net-analyzer/fail2ban/fail2ban-0.8.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: fail2ban-0.8.4.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.4.ebuild,v 1.1 2009/09/11 13:37:48 patrick Exp $
50
51 inherit distutils
52
53 DESCRIPTION="Bans IP that make too many password failures"
54 HOMEPAGE="http://fail2ban.sourceforge.net/"
55 SRC_URI="mirror://sourceforge/fail2ban/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
60 IUSE=""
61
62 DEPEND=">=dev-lang/python-2.4"
63 RDEPEND="${DEPEND}
64 virtual/mta"
65
66 src_install() {
67 distutils_src_install
68
69 diropts -m 0755 -o root -g root
70 dodir /var/run/${PN}
71 keepdir /var/run/${PN}
72
73 newconfd files/gentoo-confd fail2ban
74 newinitd files/gentoo-initd fail2ban
75 dodoc ChangeLog README TODO || die "dodoc failed"
76 doman man/*.1 || die "doman failed"
77
78 # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
79 # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
80 insinto /etc/logrotate.d
81 newins "${FILESDIR}"/${PN}-logrotate ${PN} || die
82 }
83
84 pkg_preinst() {
85 has_version "<${CATEGORY}/${PN}-0.7"
86 previous_less_than_0_7=$?
87 }
88
89 pkg_postinst() {
90 if [[ $previous_less_than_0_7 = 0 ]] ; then
91 elog
92 elog "Configuration files are now in /etc/fail2ban/"
93 elog "You probably have to manually update your configuration"
94 elog "files before restarting Fail2ban!"
95 elog
96 elog "Fail2ban is not installed under /usr/lib anymore. The"
97 elog "new location is under /usr/share."
98 elog
99 elog "You are upgrading from version 0.6.x, please see:"
100 elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
101 fi
102 }