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 11 |
%define release 17 |
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} |
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 |
Patch5: smeserver-xt_geoip-1.0.1-stats_panel.patch |
18 |
Patch6: smeserver-xt_geoip-1.0.1-per_service.patch |
Patch6: smeserver-xt_geoip-1.0.1-per_serv.patch |
19 |
Patch7: smeserver-xt_geoip-1.0.1-per_service2.patch |
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 |
|
|
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
25 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
32 |
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. |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
* Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-11.sme |
* Sun Jul 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-17.sme |
36 |
|
- fix empty global filter disable all geoip iptables rules [SME: 10794] |
37 |
|
- tidy masq templates for xt geoip [SME: 10794] |
38 |
|
|
39 |
|
* Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme |
40 |
|
- add missing file to patch [SME: 10760] |
41 |
|
- workaround link issue in source [SME: 10790] |
42 |
|
|
43 |
|
* Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme |
44 |
|
- improved per service filtering [SME: 10760] |
45 |
|
- remove A1 forced as default and allow empty filter [SME: 10785] |
46 |
|
|
47 |
|
* Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme |
48 |
|
- fix network lock out on adjust [SME: 10760] |
49 |
|
this arised on initial install with a simple masq adjust |
50 |
|
or if XT_geoip is disbaled on any masq restart or adjust |
51 |
|
|
52 |
|
* Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-12.sme |
53 |
- add per service management of GeoIP bans [SME: 10760] |
- add per service management of GeoIP bans [SME: 10760] |
54 |
|
- move panel to Security [SME: 10773] |
55 |
|
|
56 |
* Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme |
* Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme |
57 |
- add stats access in the panel [SME: 10745] |
- add stats access in the panel [SME: 10745] |
95 |
%prep |
%prep |
96 |
|
|
97 |
%setup |
%setup |
98 |
|
# tmp fix before creating a new source archive 1.0.1-16 |
99 |
|
unlink root/etc/e-smith/web/panels/manager/cgi-bin/xt_geoip |
100 |
%patch0 -p1 |
%patch0 -p1 |
101 |
%patch1 -p1 |
%patch1 -p1 |
102 |
%patch2 -p1 |
%patch2 -p1 |
105 |
%patch5 -p1 |
%patch5 -p1 |
106 |
%patch6 -p1 |
%patch6 -p1 |
107 |
%patch7 -p1 |
%patch7 -p1 |
108 |
|
%patch8 -p1 |
109 |
|
%patch9 -p1 |
110 |
|
|
111 |
%build |
%build |
112 |
perl createlinks |
perl createlinks |