/[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.2 by jpp, Thu Feb 7 04:20:37 2019 UTC Revision 1.8 by michel, Mon Apr 29 16:44:07 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 5  %define release 11
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 12  Source: %{name}-%{version}.tar.gz Line 12  Source: %{name}-%{version}.tar.gz
12  Patch0: smeserver-xt_geoip-1.0.1-2-weakupd.patch  Patch0: smeserver-xt_geoip-1.0.1-2-weakupd.patch
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
16    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_service.patch
19    Patch7: smeserver-xt_geoip-1.0.1-per_service2.patch
20  BuildArchitectures: noarch  BuildArchitectures: noarch
21  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
22  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
23  Requires: e-smith-release >= 9.0  Requires: e-smith-release >= 9.0
24  Requires: xtables-addons = 1.47.1  Requires: xtables-addons = 1.47.1
25    Requires: GeoIP = 1.6.5
26  AutoReqProv: no  AutoReqProv: no
27    
28  %description  %description
29  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.
30    
31  %changelog  %changelog
32    * Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-11.sme
33    - add per service management of GeoIP bans [SME: 10760]
34    
35    * Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
36    - add stats access in the panel [SME: 10745]
37    - add control of maximum number of countries [SME: 10749]
38    
39    * Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
40    - add stats of geoip blocked countries [SME: 10745]
41    - add stats of ssh attacks not geoip blocked [SME: 10744]
42    - expand /etc/crontab on update
43    
44    * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
45    - fix unable to load iptables rules [SME: 10739]
46      fix warning localtime
47      fix warning "enabled" isn't numeric in numeric eq (==)
48    
49  * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme  * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme
50  - first import to SME buildsys  - first import to SME buildsys
51    
# Line 54  smserver rpm to setup database, update a Line 77  smserver rpm to setup database, update a
77  %patch0 -p1  %patch0 -p1
78  %patch1 -p1  %patch1 -p1
79  %patch2 -p1  %patch2 -p1
80    %patch3 -p1
81    %patch4 -p1
82    %patch5 -p1
83    %patch6 -p1
84    %patch7 -p1
85    
86  %build  %build
87  perl createlinks  perl createlinks
# Line 64  rm -rf $RPM_BUILD_ROOT Line 92  rm -rf $RPM_BUILD_ROOT
92    
93  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
94  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
95  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT | egrep -v "usr/share/xt_geoip/geoip_" \
96      > %{name}-%{version}-filelist      > %{name}-%{version}-filelist
97  echo "%doc COPYING"  >> %{name}-%{version}-filelist  echo "%doc COPYING"  >> %{name}-%{version}-filelist
98    
# Line 82  rm -rf %{name}-%{version} Line 110  rm -rf %{name}-%{version}
110  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
111  %defattr(-,root,root)  %defattr(-,root,root)
112    
113    %files
114    %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