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