1 |
jer 14/01/30 22:08:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fail2ban-0.8.12.ebuild |
5 |
Removed: fail2ban-0.8.11.ebuild |
6 |
Log: |
7 |
Version bump (bug #499802). |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 |
|
11 |
Revision Changes Path |
12 |
1.119 net-analyzer/fail2ban/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/ChangeLog?rev=1.119&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/ChangeLog?rev=1.119&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/ChangeLog?r1=1.118&r2=1.119 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v |
21 |
retrieving revision 1.118 |
22 |
retrieving revision 1.119 |
23 |
diff -u -r1.118 -r1.119 |
24 |
--- ChangeLog 21 Dec 2013 15:30:25 -0000 1.118 |
25 |
+++ ChangeLog 30 Jan 2014 22:08:10 -0000 1.119 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-analyzer/fail2ban |
28 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.118 2013/12/21 15:30:25 jer Exp $ |
30 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.119 2014/01/30 22:08:10 jer Exp $ |
32 |
+ |
33 |
+*fail2ban-0.8.12 (30 Jan 2014) |
34 |
+ |
35 |
+ 30 Jan 2014; Jeroen Roovers <jer@g.o> -fail2ban-0.8.11.ebuild, |
36 |
+ +fail2ban-0.8.12.ebuild: |
37 |
+ Version bump (bug #499802). |
38 |
|
39 |
*fail2ban-0.8.11 (21 Dec 2013) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 net-analyzer/fail2ban/fail2ban-0.8.12.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.12.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.12.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: fail2ban-0.8.12.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/fail2ban-0.8.12.ebuild,v 1.1 2014/01/30 22:08:10 jer Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
PYTHON_COMPAT=( python2_{6,7} ) |
57 |
DISTUTILS_SINGLE_IMPL=yes |
58 |
|
59 |
inherit distutils-r1 systemd vcs-snapshot |
60 |
|
61 |
DESCRIPTION="Bans IP that make too many password failures" |
62 |
HOMEPAGE="http://www.fail2ban.org/" |
63 |
SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
68 |
IUSE="selinux" |
69 |
|
70 |
DEPEND="selinux? ( sec-policy/selinux-fail2ban )" |
71 |
RDEPEND="net-misc/whois |
72 |
virtual/mta |
73 |
virtual/logger |
74 |
net-firewall/iptables |
75 |
selinux? ( sec-policy/selinux-fail2ban )" |
76 |
|
77 |
src_prepare() { |
78 |
sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -type f ) || die |
79 |
} |
80 |
|
81 |
src_test() { |
82 |
./${PN}-testcases-all |
83 |
} |
84 |
|
85 |
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt ) |
86 |
|
87 |
src_install() { |
88 |
distutils-r1_src_install |
89 |
|
90 |
rm -rf "${D}"/usr/share/doc/${PN} |
91 |
|
92 |
# not FILESDIR |
93 |
newconfd files/gentoo-confd ${PN} |
94 |
newinitd files/gentoo-initd ${PN} |
95 |
systemd_dounit files/${PN}.service |
96 |
systemd_dotmpfilesd files/${PN}-tmpfiles.conf |
97 |
doman man/*.1 |
98 |
|
99 |
# Use INSTALL_MASK if you do not want to touch /etc/logrotate.d. |
100 |
# See http://thread.gmane.org/gmane.linux.gentoo.devel/35675 |
101 |
insinto /etc/logrotate.d |
102 |
newins files/${PN}-logrotate ${PN} |
103 |
} |
104 |
|
105 |
pkg_preinst() { |
106 |
has_version "<${CATEGORY}/${PN}-0.7" |
107 |
previous_less_than_0_7=$? |
108 |
} |
109 |
|
110 |
pkg_postinst() { |
111 |
if [[ $previous_less_than_0_7 = 0 ]] ; then |
112 |
elog |
113 |
elog "Configuration files are now in /etc/fail2ban/" |
114 |
elog "You probably have to manually update your configuration" |
115 |
elog "files before restarting Fail2ban!" |
116 |
elog |
117 |
elog "Fail2ban is not installed under /usr/lib anymore. The" |
118 |
elog "new location is under /usr/share." |
119 |
elog |
120 |
elog "You are upgrading from version 0.6.x, please see:" |
121 |
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8" |
122 |
fi |
123 |
if ! has_version ${CATEGORY}/${PN} && \ |
124 |
! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then |
125 |
elog "For most jail.conf configurations, it is recommended you install either" |
126 |
elog "dev-python/pyinotify or app-admin/gamin (in order of preference)" |
127 |
elog "to control how log file modifications are detected" |
128 |
fi |
129 |
} |