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

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

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

Revision 1.1 by brianr, Wed Jun 10 08:53:13 2020 UTC Revision 1.20 by jpp, Sat Jul 30 03:27:04 2022 UTC
# Line 1  Line 1 
1  %define version 0.1.18  %define version 0.1.18
2  %define release 10  %define release 30
3  %define name smeserver-fail2ban  %define name smeserver-fail2ban
4    
   
5  Summary: fail2ban integration on SME Server  Summary: fail2ban integration on SME Server
6  Name: %{name}  Name: %{name}
7  Version: %{version}  Version: %{version}
# Line 11  Epoch: 9 Line 10  Epoch: 9
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
13  Patch0:smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch  Patch0: smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch
14  Patch1: smeserver-fail2ban-0.1.18.bz9709-wordpress.patch  Patch1: smeserver-fail2ban-0.1.18.bz9709-wordpress.patch
15  Patch2: smeserver-fail2ban-0.1.18.bz10775-sfail2ban.patch  Patch2: smeserver-fail2ban-0.1.18.bz10775-sfail2ban.patch
16  Patch3: smeserver-fail2ban-0.1.18-locale-2019-05-15.patch  Patch3: smeserver-fail2ban-0.1.18-locale-2019-05-15.patch
# Line 21  Patch6: smeserver-fail2ban-0.1.18-bz1081 Line 20  Patch6: smeserver-fail2ban-0.1.18-bz1081
20  Patch7: smeserver-fail2ban-0.1.18-bz10817-configure.patch  Patch7: smeserver-fail2ban-0.1.18-bz10817-configure.patch
21  Patch8: smeserver-fail2ban-0.1.18.bz10839.patch  Patch8: smeserver-fail2ban-0.1.18.bz10839.patch
22  Patch9: smeserver-fail2ban-0.1.18.bz10370.patch  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    Patch15: smeserver-fail2ban-0.1.18-bz11586-redofailtostart.patch
29    Patch16: smeserver-fail2ban-0.1.18-bz11650.patch
30    Patch17: smeserver-fail2ban-0.1.18-bz11651-wordpress.patch
31    Patch18: smeserver-fail2ban-0.1.18-bz10857.patch
32    Patch19: smeserver-fail2ban-0.1.18-bz10819-whitelisthostfix.patch
33    Patch20: smeserver-fail2ban-0.1.18-Add-class-to-div-for-AdminLTE.patch
34    Patch21: smeserver-fail2ban-0.1.18-locale-2022-07-22.patch
35    Patch22: smeserver-fail2ban-0.1.18-bz12008-backup.patch
36    Patch23: smeserver-fail2ban-0.1.18-locale-2022-07-30.patch
37    
38  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
39  BuildArchitectures: noarch  BuildArchitectures: noarch
40  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
41    
42  Requires: e-smith-base >= 5.2.0  Requires: e-smith-base >= 5.2.0
43  Requires: fail2ban  Requires: fail2ban-server, fail2ban-sendmail
44    Requires: perl-Data-Validate-IP
45    Obsoletes: fail2ban-firewalld, firewalld
46    AutoReqProv: no
47    
48  %description  %description
49  Configure fail2ban on SME Server  Configure fail2ban on SME Server
50    
51  %changelog  %changelog
52    * Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-30.sme
53    - add to core backup [SME: 12008]
54    - add local 2022-07-30 patch
55    
56    * Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-28.sme
57    - revert previous patch, wrong package [SME: 12011]
58    
59    * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-27.sme
60    - add to core backup [SME: 12011]
61    
62    * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-26.sme
63    - apply locale patch 2022-07-22
64    
65    * Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.18-25.sme
66    - Add-class-to-div-for-AdminLTE [SME: 11837]
67    
68    * Thu Dec 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-24.sme
69    - fix adding removing whitelisted hosts [SME: 10819]
70      moved config options to dedicated page
71    - removed apache-badbots.local, lot of false positives [SME: 10857]
72    
73    * Wed Dec 08 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-22.sme
74    - fix apache-badbots logfile definition [SME: 10857]
75      add updated badbot list.
76    
77    * Wed Dec 08 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-21.sme
78    - update wordpress filters [SME: 11651]
79    
80    * Wed Dec 08 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-20.sme
81    - allow baning subnet [SME: 11650]
82    
83    * Wed Oct 27 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1.18-19.sme
84    - Fix my versioning
85    
86    * Wed Oct 27 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1.18-18.sme
87    - Add Requires for perl-Data-Validate-IP [SME: 11720]
88    
89    * Sun Sep 12 2021 Terry Fage <terry.fage@gmail.com> 0.1.18-17.sme
90    - redo fix for typo qpsmtpd status [SME: 11636]
91    
92    * Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 0.1.18-16.sme
93    - Update locale 2021-09-08 patch
94    
95    * Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 0.1.18-15.sme
96    - Update locale 2021-08-21 patch
97    
98    * Thu Jul 08 2021 Michel Begue <mab974@gmail.com> 0.1.18-14.sme
99    - Add fail2ban panel in smeserver-manager  [SME: 11636]
100    - add smanager jail and filter
101    - fix typo for qsmtpd status change
102    - add AutoReqProv so smeserver-manager is not required
103    
104    * Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-13.sme
105    - fix requirements and avoid firewalld  [SME: 10949]
106    
107    * Tue May 25 2021 Terry Fage <tfage@yahoo.com.au> 0.1.18-12.sme
108    - Server Fails to Start SME10 [SME: 11586]
109    
110    * Mon Apr 19 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.18-11.sme
111    - Initial import to SME10 [SME: 10949]
112    - Add -update event to createlinks.
113    
114  * Wed Nov 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-10.sme  * Wed Nov 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-10.sme
115  - fix wordpress template error [SME: 10839]  - fix wordpress template error [SME: 10839]
116  - rewrite rule for [SME: 9719]  - rewrite rule for [SME: 9719]
# Line 113  Configure fail2ban on SME Server Line 190  Configure fail2ban on SME Server
190  * Wed Apr 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.4-1.sme  * Wed Apr 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.4-1.sme
191  - New branch for SME9  - New branch for SME9
192  - Remove sogo-auth.conf which is included in EL6 build of fail2ban  - Remove sogo-auth.conf which is included in EL6 build of fail2ban
 >>>>>>> sme9  
193    
194  * Wed Dec 18 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1.sme  * Wed Dec 18 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1.sme
195  - Fix port, which was incorrectly set to proto  - Fix port, which was incorrectly set to proto
# Line 140  Configure fail2ban on SME Server Line 216  Configure fail2ban on SME Server
216  %patch7 -p1  %patch7 -p1
217  %patch8 -p1  %patch8 -p1
218  %patch9 -p1  %patch9 -p1
219    %patch10 -p1
220    %patch11 -p1
221    %patch12 -p1
222    %patch13 -p1
223    %patch14 -p1
224    %patch15 -p1
225    %patch16 -p1
226    %patch17 -p1
227    %patch18 -p1
228    %patch19 -p1
229    %patch20 -p1
230    %patch21 -p1
231    %patch22 -p1
232    %patch23 -p1
233    
234  %build  %build
235  %{__mkdir_p} root/var/log/fail2ban  %{__mkdir_p} root/var/log/fail2ban
# Line 156  perl createlinks Line 246  perl createlinks
246     --file /etc/fail2ban/filter.d/apache-auth.local 'config(noreplace) %attr(0644,root,root)' \     --file /etc/fail2ban/filter.d/apache-auth.local 'config(noreplace) %attr(0644,root,root)' \
247     --file /usr/bin/sfail2ban 'attr(0755,root,root)' \     --file /usr/bin/sfail2ban 'attr(0755,root,root)' \
248    > %{name}-%{version}-filelist    > %{name}-%{version}-filelist
249    #--file /etc/fail2ban/filter.d/apache-badbots.local 'config(noreplace) %attr(0644,root,root)' \
250    
251  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
252  %defattr(-,root,root)  %defattr(-,root,root)
# Line 166  rm -rf $RPM_BUILD_ROOT Line 257  rm -rf $RPM_BUILD_ROOT
257  %post  %post
258    
259  %preun  %preun
   


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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