/[smecontribs]/rpms/smeserver-xt_geoip/contribs9/smeserver-xt_geoip.spec
ViewVC logotype

Diff of /rpms/smeserver-xt_geoip/contribs9/smeserver-xt_geoip.spec

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

Revision 1.3 by jpp, Tue Feb 19 02:35:44 2019 UTC Revision 1.6 by michel, Tue Apr 23 14:44:01 2019 UTC
# Line 1  Line 1 
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 6  %define release 9
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}
# Line 13  Patch0: smeserver-xt_geoip-1.0.1-2-weaku Line 13  Patch0: smeserver-xt_geoip-1.0.1-2-weaku
13  Patch1: smeserver-xt_geoip-1.0.1-3-messag.patch  Patch1: smeserver-xt_geoip-1.0.1-3-messag.patch
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
17    Patch5: smeserver-xt_geoip-1.0.1-stats_panel.patch
18  BuildArchitectures: noarch  BuildArchitectures: noarch
19  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
20  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
21  Requires: e-smith-release >= 9.0  Requires: e-smith-release >= 9.0
22  Requires: xtables-addons = 1.47.1  Requires: xtables-addons = 1.47.1
23    Requires: GeoIP = 1.6.5
24  AutoReqProv: no  AutoReqProv: no
25    
26  %description  %description
27  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.
28    
29  %changelog  %changelog
30    * Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
31    - add stats access in the panel [SME: 10745]
32    - add control of maximum number of countries [SME: 10749]
33    
34    * Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
35    - add stats of geoip blocked countries [SME: 10745]
36    - add stats of ssh attacks not geoip blocked [SME: 10744]
37    - expand /etc/crontab on update
38    
39  * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme  * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
40  - fix unable to load iptables rules [SME: 10739]  - fix unable to load iptables rules [SME: 10739]
41    fix warning localtime    fix warning localtime
# Line 61  smserver rpm to setup database, update a Line 73  smserver rpm to setup database, update a
73  %patch1 -p1  %patch1 -p1
74  %patch2 -p1  %patch2 -p1
75  %patch3 -p1  %patch3 -p1
76    %patch4 -p1
77    %patch5 -p1
78    
79  %build  %build
80  perl createlinks  perl createlinks
# Line 71  rm -rf $RPM_BUILD_ROOT Line 85  rm -rf $RPM_BUILD_ROOT
85    
86  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
87  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
88  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT | egrep -v "usr/share/xt_geoip/geoip_" \
89      > %{name}-%{version}-filelist      > %{name}-%{version}-filelist
90  echo "%doc COPYING"  >> %{name}-%{version}-filelist  echo "%doc COPYING"  >> %{name}-%{version}-filelist
91    
# Line 89  rm -rf %{name}-%{version} Line 103  rm -rf %{name}-%{version}
103  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
104  %defattr(-,root,root)  %defattr(-,root,root)
105    
106    %files
107    %attr(0755, root, root) /usr/share/xt_geoip/geoip_*


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