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


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