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

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

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

Revision 1.1 by michel, Mon Aug 17 17:50:52 2020 UTC Revision 1.7 by michel, Wed Mar 17 06:51:59 2021 UTC
# Line 1  Line 1 
1  %define name smeserver-xt_geoip  %define name smeserver-xt_geoip
2  %define version 1.3.1  %define version 1.3.1
3  %define release 01  %define release 07
4    
5  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.
6  Name: %{name}  Name: %{name}
# Line 10  License: GNU GPL version 2 Line 10  License: GNU GPL version 2
10  URL: http://wiki.contribs.org/Main_Page  URL: http://wiki.contribs.org/Main_Page
11  Group: SMEserver/addon  Group: SMEserver/addon
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13  #Patch0: smeserver-xt_geoip-1.3.1-init.patch  Patch0: %{name}-%{version}-comp_e-smith-manager.patch
14    Patch1: %{name}-%{version}-update_base.patch
15    Patch2: smeserver-xt_geoip-1.3.1-update-event-oldManager.patch
16    Patch3: %{name}-%{version}-logfiles_changes.patch
17    
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 >= 10.0  Requires: e-smith-release >= 10.0
22  Requires: server-manager >= 0.1.0-23  Requires: server-manager >= 0.1.0-23
23  Requires: xtables-addons = 2.14  Requires: xtables-addons = 2.14
24  Requires: GeoIP = 1.5.0  Requires: GeoIP >= 1.5.0
25  Requires: libmaxminddb >= 1.1.1  Requires: libmaxminddb >= 1.1.1
26  Requires: libmaxminddb-devel >= 1.1.1  Requires: libmaxminddb-devel >= 1.1.1
27  Requires: geolite2-country  Requires: geolite2-country
# Line 27  AutoReqProv: no Line 31  AutoReqProv: no
31  %description  %description
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    
 %changelog  
 * Fri Jul 31 2020 Michel Begue <mab974@gmail.com> 1.3.1-01.sme  
 - initial release for smeserver-manager (sme10)  
 - [1.0.1-26 sme9]  
 - xtables-addons v2.14  
34    
35  %prep  %prep
   
36  %setup  %setup
37  #%patch0 -p1  %patch0 -p1
38    %patch1 -p1
39    %patch2 -p1
40    %patch3 -p1
41    
42  %build  %build
43  perl createlinks  perl createlinks
# Line 47  rm -rf $RPM_BUILD_ROOT Line 48  rm -rf $RPM_BUILD_ROOT
48    
49  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
50  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
51  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT | egrep -v "usr/share/xt_geoip/geoip_" \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
52     --file /usr/share/xt_geoip/geoip_countries_list.txt  'attr(0755, root, root)'\
53     --file /usr/share/xt_geoip/geoip_exstat  'attr(0755, root, root)'\
54     --file /usr/share/xt_geoip/geoip_listat 'attr(0755, root, root)'\
55     --file /usr/share/xt_geoip/geoip_look  'attr(0755, root, root)'\
56     --file /usr/share/xt_geoip/geoip_stats 'attr(0755, root, root)'\
57     --file /usr/share/xt_geoip/xt_geoip_dl 'attr(0750, root, root)'\
58     --file /usr/share/xt_geoip/update_base 'attr(0750, root, root)'\
59      > %{name}-%{version}-filelist      > %{name}-%{version}-filelist
60  echo "%doc COPYING"  >> %{name}-%{version}-filelist  echo "%doc COPYING"  >> %{name}-%{version}-filelist
61    
# Line 65  rm -rf %{name}-%{version} Line 73  rm -rf %{name}-%{version}
73  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
74  %defattr(-,root,root)  %defattr(-,root,root)
75    
76  %files  
77  %attr(0755, root, root) /usr/share/xt_geoip/geoip_*  
78  %attr(0750, root, root) /usr/share/xt_geoip/xt_geoip_dl  %changelog
79  %attr(0750, root, root) /usr/share/xt_geoip/update_base  * Tue Mar 16 2021 Michel Begue <mab974@gmail.com> 1.3.1-07.sme
80    - Fix script as logfiles change (sshd - iptables)
81    
82    * Sun Mar 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-06.sme
83    - change Geoip requirement to >= 1.5
84    
85    * Sat Mar 13 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-05.sme
86    - readded changelog from contribs9
87    - moved changelog to the end of spec
88    - TODO review the two section of %files
89    - added link to wrapper for e-smith-manager
90    
91    * Wed Jan 06 2021 Michel Begue <mab974@gmail.com> 1.3.1-03.sme
92    - Back to compatibility with e-smith-manager
93    - (s)qpsmtpd replace (s)smtpd (services)
94    - remove 'update_base' script template
95    
96    * Fri Jul 31 2020 Michel Begue <mab974@gmail.com> 1.3.1-01.sme
97    - initial release for smeserver-manager (sme10)
98    - [1.0.1-26 sme9]
99    - xtables-addons v2.14
100    
101    * Mon Feb 24 2020 Michel Begue <mab974@gmail.com> 1.0.1-26.sme
102    - add localhost to whitelist [SME: 10881]
103    
104    * Tue Jan 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-25.sme
105    - add requirement for mmdb provided by rpm to allow accounting [SME: 10860]
106    
107    * Sat Jan 18 2020 Michel Begue <mab974@gmail.com> 1.0.1-24.sme
108    - new download script adapted to SME (from xtables-addons) [SME: 10860]
109    - change geoiplookup to mmdblookup
110    
111    * Sat Jan 11 2020 Michel Begue <mab974@gmail.com> 1.0.1-23.sme
112    - add license_key in config db and test in panel [SME: 10860]
113    
114    * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.0.1-21.sme
115    - apply locale 2019-12-07 patch
116    
117    * Wed Oct 16 2019 Michel Begue <mab974@gmail.com> 1.0.1-20.sme
118    - panel to add services  [SME: 10792]
119    - french translation
120    
121    * Mon Sep 30 2019 Michel Begue <mab974@gmail.com> 1.0.1-19.sme
122    - add country code list [SME: 10791]
123    - fix stats SSH errors [SME: 10807]
124    - improved panel [SME: 10788]
125    
126    * Sat Sep 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-18.sme
127    - add more service [SME: 10789]
128    - no email from log analysis by default [SME: 10797]
129    
130    * Sun Jul 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-17.sme
131    - fix empty global filter disable all geoip iptables rules [SME: 10794]
132    - tidy masq templates for xt geoip [SME: 10794]
133    
134    * Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme
135    - add missing file to patch [SME: 10760]
136    - workaround link issue in source [SME: 10790]
137    
138    * Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme
139    - improved per service filtering [SME: 10760]
140    - remove A1 forced as default and allow empty filter [SME: 10785]
141    
142    * Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme
143    - fix network lock out on adjust [SME: 10760]
144      this arised on initial install with a simple masq adjust
145      or if XT_geoip is disbaled on any masq restart or adjust
146    
147    * Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-12.sme
148    - add per service management of GeoIP bans [SME: 10760]
149    - move panel to Security [SME: 10773]
150    
151    * Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
152    - add stats access in the panel [SME: 10745]
153    - add control of maximum number of countries [SME: 10749]
154    
155    * Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
156    - add stats of geoip blocked countries [SME: 10745]
157    - add stats of ssh attacks not geoip blocked [SME: 10744]
158    - expand /etc/crontab on update
159    
160    * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
161    - fix unable to load iptables rules [SME: 10739]
162      fix warning localtime
163      fix warning "enabled" isn't numeric in numeric eq (==)
164    
165    * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme
166    - first import to SME buildsys
167    
168    * Sun Oct 29 2017 Michel Begue <mab974@gmail.com>
169    - bug in crontab update job,
170    - [1.0.1-4]
171    
172    * Mon Oct 16 2017 Michel Begue <mab974@gmail.com>
173    - new message : inactive GeoIP,
174    - value of country code added in message "country not found",
175    - [1.0.1-3]
176    
177    * Sat Oct 07 2017 Michel Begue <mab974@gmail.com>
178    - test kernel module presence in "/lib/modules/weak-updates" directory
179    - [1.0.1-2]
180    
181    * Wed Sep 20 2017 Michel Begue <mab974@gmail.com>
182    - panel added in server manager
183    - [1.0.1-1]
184    
185    * Tue Sep 12 2017 Michel Begue <mab974@gmail.com>
186    - initial release
187    - [1.0.0-1]
188    


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