1 |
%define name smeserver-xt_geoip |
%define name smeserver-xt_geoip |
2 |
%define version 1.0.1 |
%define version 1.0.1 |
3 |
%define release 7 |
%define release 19 |
4 |
Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel. |
Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel. |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
14 |
Patch2: smeserver-xt_geoip-1.0.1-4-crontab.patch |
Patch2: smeserver-xt_geoip-1.0.1-4-crontab.patch |
15 |
Patch3: smeserver-xt_geoip-1.0.1-bz10739.patch |
Patch3: smeserver-xt_geoip-1.0.1-bz10739.patch |
16 |
Patch4: smeserver-xt_geoip-1.0.1-stats.patch |
Patch4: smeserver-xt_geoip-1.0.1-stats.patch |
17 |
|
Patch5: smeserver-xt_geoip-1.0.1-stats_panel.patch |
18 |
|
Patch6: smeserver-xt_geoip-1.0.1-per_serv.patch |
19 |
|
Patch7: smeserver-xt_geoip-1.0.1-bz10760-safe-reload.patch |
20 |
|
Patch8: smeserver-xt_geoip-1.0.1-bz10760-per_serv2.patch |
21 |
|
Patch9: smeserver-xt_geoip-1.0.1-bz10794-masq-template.patch |
22 |
|
Patch10: smeserver-xt_geoip-1.0.1-bz10789-more_services.patch |
23 |
|
Patch11: smeserver-xt_geoip-1.0.1-bz10797-no_emails.patch |
24 |
|
Patch12: smeserver-xt_geoip-1.0.1-bz10791-country_panel_ssh.patch |
25 |
|
|
26 |
|
|
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
28 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
29 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
36 |
smserver rpm to setup database, update and configuration for xt_geoip module with a panel. |
smserver rpm to setup database, update and configuration for xt_geoip module with a panel. |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Mon Sep 30 2019 Michel Begue <mab974@gmail.com> 1.0.1-19.sme |
40 |
|
- add country code list [SME: 10791] |
41 |
|
- fix stats SSH errors [SME: 10807] |
42 |
|
- improved panel [SME: 10788] |
43 |
|
|
44 |
|
* Sat Sep 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-18.sme |
45 |
|
- add more service [SME: 10789] |
46 |
|
- no email from log analysis by default [SME: 10797] |
47 |
|
|
48 |
|
* Sun Jul 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-17.sme |
49 |
|
- fix empty global filter disable all geoip iptables rules [SME: 10794] |
50 |
|
- tidy masq templates for xt geoip [SME: 10794] |
51 |
|
|
52 |
|
* Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme |
53 |
|
- add missing file to patch [SME: 10760] |
54 |
|
- workaround link issue in source [SME: 10790] |
55 |
|
|
56 |
|
* Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme |
57 |
|
- improved per service filtering [SME: 10760] |
58 |
|
- remove A1 forced as default and allow empty filter [SME: 10785] |
59 |
|
|
60 |
|
* Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme |
61 |
|
- fix network lock out on adjust [SME: 10760] |
62 |
|
this arised on initial install with a simple masq adjust |
63 |
|
or if XT_geoip is disbaled on any masq restart or adjust |
64 |
|
|
65 |
|
* Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-12.sme |
66 |
|
- add per service management of GeoIP bans [SME: 10760] |
67 |
|
- move panel to Security [SME: 10773] |
68 |
|
|
69 |
|
* Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme |
70 |
|
- add stats access in the panel [SME: 10745] |
71 |
|
- add control of maximum number of countries [SME: 10749] |
72 |
|
|
73 |
* Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme |
* Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme |
74 |
- add stats of geoip blocked countries [SME: 10745] |
- add stats of geoip blocked countries [SME: 10745] |
75 |
- add stats of ssh attacks not geoip blocked [SME: 10744] |
- add stats of ssh attacks not geoip blocked [SME: 10744] |
92 |
- value of country code added in message "country not found", |
- value of country code added in message "country not found", |
93 |
- [1.0.1-3] |
- [1.0.1-3] |
94 |
|
|
95 |
* Sat Oct 08 2017 Michel Begue <mab974@gmail.com> |
* Sat Oct 07 2017 Michel Begue <mab974@gmail.com> |
96 |
- test kernel module presence in "/lib/modules/weak-updates" directory |
- test kernel module presence in "/lib/modules/weak-updates" directory |
97 |
- [1.0.1-2] |
- [1.0.1-2] |
98 |
|
|
108 |
%prep |
%prep |
109 |
|
|
110 |
%setup |
%setup |
111 |
|
# tmp fix before creating a new source archive 1.0.1-16 |
112 |
|
unlink root/etc/e-smith/web/panels/manager/cgi-bin/xt_geoip |
113 |
%patch0 -p1 |
%patch0 -p1 |
114 |
%patch1 -p1 |
%patch1 -p1 |
115 |
%patch2 -p1 |
%patch2 -p1 |
116 |
%patch3 -p1 |
%patch3 -p1 |
117 |
%patch4 -p1 |
%patch4 -p1 |
118 |
|
%patch5 -p1 |
119 |
|
%patch6 -p1 |
120 |
|
%patch7 -p1 |
121 |
|
%patch8 -p1 |
122 |
|
%patch9 -p1 |
123 |
|
%patch10 -p1 |
124 |
|
%patch11 -p1 |
125 |
|
%patch12 -p1 |
126 |
|
|
127 |
%build |
%build |
128 |
perl createlinks |
perl createlinks |