/[smecontribs]/rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban.spec
ViewVC logotype

Contents of /rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download)
Wed Sep 8 05:04:12 2021 UTC (2 years, 8 months ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-fail2ban-0_1_18-16_el7_sme
Changes since 1.6: +6 -1 lines
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 0.1.18-16.sme
- Update locale 2021-09-08 patch

1 %define version 0.1.18
2 %define release 16
3 %define name smeserver-fail2ban
4
5 Summary: fail2ban integration on SME Server
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}%{?dist}
9 Epoch: 9
10 License: GPL
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.gz
13 Patch0:smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch
14 Patch1: smeserver-fail2ban-0.1.18.bz9709-wordpress.patch
15 Patch2: smeserver-fail2ban-0.1.18.bz10775-sfail2ban.patch
16 Patch3: smeserver-fail2ban-0.1.18-locale-2019-05-15.patch
17 Patch4: smeserver-fail2ban-0.1.18-bz10776-wordpress.patch
18 Patch5: smeserver-fail2ban-0.1.18-bz9669-sogo.patch
19 Patch6: smeserver-fail2ban-0.1.18-bz10814-denylist-display.patch
20 Patch7: smeserver-fail2ban-0.1.18-bz10817-configure.patch
21 Patch8: smeserver-fail2ban-0.1.18.bz10839.patch
22 Patch9: smeserver-fail2ban-0.1.18.bz10370.patch
23 Patch10: smeserver-fail2ban-0.1.18-Add-update-to-createlinks.patch
24 Patch11: smeserver-fail2ban-0.1.18-bz11586-serverfailstostart.patch
25 Patch12: smeserver-fail2ban-0.1.18-bz11636-smanager.patch
26 Patch13: smeserver-fail2ban-0.1.18-locale-2021-08-22.patch
27 Patch14: smeserver-fail2ban-0.1.18-locale-2021-09-08.patch
28
29 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
30 BuildArchitectures: noarch
31 BuildRequires: e-smith-devtools
32
33 Requires: e-smith-base >= 5.2.0
34 Requires: fail2ban-server, fail2ban-sendmail
35 Obsoletes: fail2ban-firewalld, firewalld
36 AutoReqProv: no
37
38 %description
39 Configure fail2ban on SME Server
40
41 %changelog
42 * Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 0.1.18-16.sme
43 - Update locale 2021-09-08 patch
44
45 * Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 0.1.18-15.sme
46 - Update locale 2021-08-21 patch
47
48 * Thu Jul 08 2021 Michel Begue <mab974@gmail.com> 0.1.18-14.sme
49 - Add fail2ban panel in smeserver-manager [SME: 11636]
50 - add smanager jail and filter
51 - fix typo for qsmtpd status change
52 - add AutoReqProv so smeserver-manager is not required
53
54 * Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-13.sme
55 - fix requirements and avoid firewalld [SME: 10949]
56
57 * Tue May 25 2021 Terry Fage <tfage@yahoo.com.au> 0.1.18-12.sme
58 - Server Fails to Start SME10 [SME: 11586]
59
60 * Mon Apr 19 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.18-11.sme
61 - Initial import to SME10 [SME: 10949]
62 - Add -update event to createlinks.
63
64 * Wed Nov 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-10.sme
65 - fix wordpress template error [SME: 10839]
66 - rewrite rule for [SME: 9719]
67 - add configurable values for recidive jail [SME: 10370]
68
69 * Wed Oct 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-9.sme
70 - propagate configuration changes to fail2ban after submiting changes [SME: 10817]
71
72 * Wed Oct 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-8.sme
73 - fix blocked hosts list not displaying unless smeserver-denyhosts also installed [SME: 10814]
74
75 * Fri Jul 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-7.sme
76 - prevent fail2ban failure if sogo not installed while a backup restored db entries [SME: 9669]
77
78 * Mon Jun 03 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-6.sme
79 - fix incorrect permissions on sfail2ban [SME: 10775]
80
81 * Mon Jun 03 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-5.sme
82 - fix wordpress fragment error preventing jail.conf to be updated [SME: 10776]
83
84 * Tue May 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-4.sme
85 - fix missing sfail2ban exec [SME: 10775]
86 - Apply locals
87
88 * Tue Apr 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-3.sme
89 - add admin panel [SME: 10767]
90 - add wordpress jails and filters [SME: 9709]
91
92 * Fri Oct 27 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.18-1.sme
93 - Ignore greylisting, from Michael McCarn [SME: 10447]
94
95 * Thu Nov 17 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.17-1.sme
96 - Makes sur log files exist before resuming monitoring after a logrotate
97 [SME: 9875]
98
99 * Tue Aug 2 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.16-1.sme
100 - Add a new prop (FilterValidRemoteHosts) to allow blacklisting of hosts allowed
101 to access the server-manager
102 - Ignore 0.0.0.0/0.0.0.0 by default [SME: 9719]
103
104 * Tue Jul 5 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.15-1.sme
105 - Fix compat with older qpsmtpd
106
107 * Thu Jun 9 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.14-1.sme
108 - Update regex for qpsmtpd 0.96
109
110 * Mon Feb 29 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.13-1.sme
111 - Ignore failure to get proxy.pac
112
113 * Fri Jul 24 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.1.12-1.sme
114 - Updates for fail2ban 0.9.2
115 - Add more httpd jails
116 - Switch to upstream Ejabberd filter
117
118 * Wed Apr 15 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.1.11-1.sme
119 - Start fail2ban a bit later [SME: 8708]
120
121 * Tue Jan 27 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.1.10-1.sme
122 - Suspend log monitoring during logrotate [SME: 8708]
123
124 * Thu Jan 15 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.1.9-1.sme
125 - Fix LL::NG jail name
126
127 * Wed Sep 17 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.8-1.sme
128 - Restart fail2ban during logrotate event so it re-open apache log file [SME: 8557]
129
130 * Wed Jun 25 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.7-1.sme
131 - Correctly handle single IP in IgnoreIP prop
132
133 * Tue Jun 24 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.6-1.sme
134 - Relax proxy regex so requests for proxy.pac aren't matched
135
136 * Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.5-1.sme
137 - Pre-create the logfile so fail2ban can start the first time
138 - Remove most warnings on startup
139
140 * Wed Apr 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.4-1.sme
141 - New branch for SME9
142 - Remove sogo-auth.conf which is included in EL6 build of fail2ban
143
144 * Wed Dec 18 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1.sme
145 - Fix port, which was incorrectly set to proto
146
147 * Tue Nov 19 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1.sme
148 - Create the DB entries in one transaction to reduce the amount of log
149 for each ban
150
151 * Thu Jul 4 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1.sme
152 - Fix service name for LemonLDAP::NG
153
154 * Tue May 14 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1.sme
155 - initial release
156
157 %prep
158 %setup -q -n %{name}-%{version}
159 %patch0 -p1
160 %patch1 -p1
161 %patch2 -p1
162 %patch3 -p1
163 %patch4 -p1
164 %patch5 -p1
165 %patch6 -p1
166 %patch7 -p1
167 %patch8 -p1
168 %patch9 -p1
169 %patch10 -p1
170 %patch11 -p1
171 %patch12 -p1
172 %patch13 -p1
173 %patch14 -p1
174
175 %build
176 %{__mkdir_p} root/var/log/fail2ban
177 perl createlinks
178
179 %install
180 /bin/rm -rf $RPM_BUILD_ROOT
181 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
182 /bin/rm -f %{name}-%{version}-filelist
183 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
184 --dir /var/log/fail2ban 'attr(0750,root,root)' \
185 --file /var/log/fail2ban/daemon.log 'config(noreplace) %attr(0600,root,root)' \
186 --file /etc/cron.daily/cleanup_fail2ban 'attr(0755,root,root)' \
187 --file /etc/fail2ban/filter.d/apache-auth.local 'config(noreplace) %attr(0644,root,root)' \
188 --file /usr/bin/sfail2ban 'attr(0755,root,root)' \
189 > %{name}-%{version}-filelist
190
191 %files -f %{name}-%{version}-filelist
192 %defattr(-,root,root)
193
194 %clean
195 rm -rf $RPM_BUILD_ROOT
196
197 %post
198
199 %preun

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed