--- rpms/smeserver-xt_geoip/contribs9/smeserver-xt_geoip.spec 2019/02/07 04:20:37 1.2 +++ rpms/smeserver-xt_geoip/contribs9/smeserver-xt_geoip.spec 2019/05/01 20:43:26 1.9 @@ -1,6 +1,6 @@ %define name smeserver-xt_geoip %define version 1.0.1 -%define release 5 +%define release 12 Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel. Name: %{name} Version: %{version} @@ -12,17 +12,39 @@ Source: %{name}-%{version}.tar.gz Patch0: smeserver-xt_geoip-1.0.1-2-weakupd.patch Patch1: smeserver-xt_geoip-1.0.1-3-messag.patch Patch2: smeserver-xt_geoip-1.0.1-4-crontab.patch +Patch3: smeserver-xt_geoip-1.0.1-bz10739.patch +Patch4: smeserver-xt_geoip-1.0.1-stats.patch +Patch5: smeserver-xt_geoip-1.0.1-stats_panel.patch +Patch6: smeserver-xt_geoip-1.0.1-per_serv.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} BuildRequires: e-smith-devtools Requires: e-smith-release >= 9.0 Requires: xtables-addons = 1.47.1 +Requires: GeoIP = 1.6.5 AutoReqProv: no %description smserver rpm to setup database, update and configuration for xt_geoip module with a panel. %changelog +* Wed Apr 24 2019 Michel Begue 1.0.1-12.sme +- add per service management of GeoIP bans [SME: 10760] + +* Wed Apr 17 2019 Michel Begue 1.0.1-9.sme +- add stats access in the panel [SME: 10745] +- add control of maximum number of countries [SME: 10749] + +* Wed Mar 06 2019 Michel Begue 1.0.1-7.sme +- add stats of geoip blocked countries [SME: 10745] +- add stats of ssh attacks not geoip blocked [SME: 10744] +- expand /etc/crontab on update + +* Mon Feb 18 2019 Jean-Philipe Pialasse 1.0.1-6.sme +- fix unable to load iptables rules [SME: 10739] + fix warning localtime + fix warning "enabled" isn't numeric in numeric eq (==) + * Wed Feb 06 2019 Jean-Philipe Pialasse 1.0.1-5.sme - first import to SME buildsys @@ -54,6 +76,10 @@ smserver rpm to setup database, update a %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build perl createlinks @@ -64,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist -/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT | egrep -v "usr/share/xt_geoip/geoip_" \ > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist @@ -82,3 +108,5 @@ rm -rf %{name}-%{version} %files -f %{name}-%{version}-filelist %defattr(-,root,root) +%files +%attr(0755, root, root) /usr/share/xt_geoip/geoip_*