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

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

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


Revision 1.13 - (hide annotations) (download)
Sat Jan 8 03:52:07 2022 UTC (2 years, 10 months ago) by jpp
Branch: MAIN
Changes since 1.12: +1 -5 lines
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.1-12.sme
- Add-class-to-div-for-AdminLTE [SME: 11839]

1 michel 1.1 %define name smeserver-xt_geoip
2     %define version 1.3.1
3 brianr 1.12 %define release 12
4 michel 1.1
5     Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}%{?dist}
9     License: GNU GPL version 2
10     URL: http://wiki.contribs.org/Main_Page
11     Group: SMEserver/addon
12     Source: %{name}-%{version}.tar.xz
13 michel 1.2 Patch0: %{name}-%{version}-comp_e-smith-manager.patch
14 michel 1.3 Patch1: %{name}-%{version}-update_base.patch
15 jpp 1.4 Patch2: smeserver-xt_geoip-1.3.1-update-event-oldManager.patch
16 michel 1.7 Patch3: %{name}-%{version}-logfiles_changes.patch
17 terryfage 1.8 Patch4: smeserver-xt_geoip-1.3.1-locale-2021-08-25.patch
18 terryfage 1.9 Patch5: smeserver-xt_geoip-1.3.1-locale-2021-09-23.patch
19 michel 1.10 Patch6: smeserver-xt_geoip-1.3.1-locale-2021-10-28.patch
20 michel 1.11 Patch7: smeserver-xt_geoip-1.3.1-SME_11676.patch
21 brianr 1.12 Patch8: smeserver-xt_geoip-1.3.1-Add-class-to-div-for-AdminLTE.patch
22 michel 1.2
23 michel 1.1 BuildArchitectures: noarch
24     BuildRoot: /var/tmp/%{name}-%{version}
25     BuildRequires: e-smith-devtools
26     Requires: e-smith-release >= 10.0
27     Requires: server-manager >= 0.1.0-23
28     Requires: xtables-addons = 2.14
29 jpp 1.6 Requires: GeoIP >= 1.5.0
30 michel 1.1 Requires: libmaxminddb >= 1.1.1
31     Requires: libmaxminddb-devel >= 1.1.1
32     Requires: geolite2-country
33     Requires: geolite2-city
34     AutoReqProv: no
35    
36     %description
37     smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
38    
39    
40     %prep
41     %setup
42 michel 1.2 %patch0 -p1
43 michel 1.3 %patch1 -p1
44 jpp 1.4 %patch2 -p1
45 michel 1.7 %patch3 -p1
46 terryfage 1.8 %patch4 -p1
47 terryfage 1.9 %patch5 -p1
48 michel 1.10 %patch6 -p1
49 michel 1.11 # tmp fix before new source archive
50     rm -rf root/etc/e-smith/events/bootstrap-console-save/templates2expand
51     rm -rf root/etc/e-smith/events/console-save/templates2expand
52     rm -rf root/etc/e-smith/events/xt_geoip-modify/templates2expand/usr
53     rm -rf root/etc/e-smith/events/xt_geoip-update/templates2expand/usr
54     %patch7 -p1
55 jpp 1.13 %patch8 -p1
56 michel 1.11
57 michel 1.1 %build
58     perl createlinks
59    
60    
61     %install
62     rm -rf $RPM_BUILD_ROOT
63    
64     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
65     rm -f %{name}-%{version}-filelist
66 jpp 1.4 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
67 jpp 1.5 --file /usr/share/xt_geoip/geoip_countries_list.txt 'attr(0755, root, root)'\
68     --file /usr/share/xt_geoip/geoip_exstat 'attr(0755, root, root)'\
69     --file /usr/share/xt_geoip/geoip_listat 'attr(0755, root, root)'\
70     --file /usr/share/xt_geoip/geoip_look 'attr(0755, root, root)'\
71     --file /usr/share/xt_geoip/geoip_stats 'attr(0755, root, root)'\
72     --file /usr/share/xt_geoip/xt_geoip_dl 'attr(0750, root, root)'\
73     --file /usr/share/xt_geoip/update_base 'attr(0750, root, root)'\
74 michel 1.1 > %{name}-%{version}-filelist
75     echo "%doc COPYING" >> %{name}-%{version}-filelist
76 jpp 1.5
77 michel 1.1 %clean
78     cd ..
79     rm -rf %{name}-%{version}
80    
81     %pre
82     %preun
83    
84     %post
85    
86     %postun
87    
88     %files -f %{name}-%{version}-filelist
89     %defattr(-,root,root)
90    
91 jpp 1.4
92    
93     %changelog
94 brianr 1.12 * Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.1-12.sme
95     - Add-class-to-div-for-AdminLTE [SME: 11839]
96    
97 michel 1.11 * Fri Oct 29 2021 Michel Begue <mab974@misouk.com> 1.3.1-11.sme
98     - fix multiple_rpm_owners [SME: 11676]
99     - add event for smeserver-manager
100     - delete expand-template for update_base
101    
102 michel 1.10 * Thu Oct 28 2021 Michel Begue <mab974@gmail.com> 1.3.1-10.sme
103     - apply locale 2021-10-28 patch
104    
105 terryfage 1.9 * Fri Sep 24 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-09.sme
106     - apply locale 2021-09-23 patch
107    
108 terryfage 1.8 * Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-08.sme
109     - apply locale 2021-08-25 patch
110    
111 michel 1.7 * Tue Mar 16 2021 Michel Begue <mab974@gmail.com> 1.3.1-07.sme
112     - Fix script as logfiles change (sshd - iptables)
113    
114 jpp 1.6 * Sun Mar 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-06.sme
115     - change Geoip requirement to >= 1.5
116    
117     * Sat Mar 13 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-05.sme
118 jpp 1.4 - readded changelog from contribs9
119     - moved changelog to the end of spec
120     - TODO review the two section of %files
121     - added link to wrapper for e-smith-manager
122    
123     * Wed Jan 06 2021 Michel Begue <mab974@gmail.com> 1.3.1-03.sme
124     - Back to compatibility with e-smith-manager
125     - (s)qpsmtpd replace (s)smtpd (services)
126     - remove 'update_base' script template
127    
128     * Fri Jul 31 2020 Michel Begue <mab974@gmail.com> 1.3.1-01.sme
129     - initial release for smeserver-manager (sme10)
130     - [1.0.1-26 sme9]
131     - xtables-addons v2.14
132    
133     * Mon Feb 24 2020 Michel Begue <mab974@gmail.com> 1.0.1-26.sme
134     - add localhost to whitelist [SME: 10881]
135    
136     * Tue Jan 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-25.sme
137     - add requirement for mmdb provided by rpm to allow accounting [SME: 10860]
138    
139     * Sat Jan 18 2020 Michel Begue <mab974@gmail.com> 1.0.1-24.sme
140     - new download script adapted to SME (from xtables-addons) [SME: 10860]
141     - change geoiplookup to mmdblookup
142    
143     * Sat Jan 11 2020 Michel Begue <mab974@gmail.com> 1.0.1-23.sme
144     - add license_key in config db and test in panel [SME: 10860]
145    
146     * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.0.1-21.sme
147     - apply locale 2019-12-07 patch
148    
149     * Wed Oct 16 2019 Michel Begue <mab974@gmail.com> 1.0.1-20.sme
150     - panel to add services [SME: 10792]
151     - french translation
152    
153     * Mon Sep 30 2019 Michel Begue <mab974@gmail.com> 1.0.1-19.sme
154     - add country code list [SME: 10791]
155     - fix stats SSH errors [SME: 10807]
156     - improved panel [SME: 10788]
157    
158     * Sat Sep 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-18.sme
159     - add more service [SME: 10789]
160     - no email from log analysis by default [SME: 10797]
161    
162     * Sun Jul 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-17.sme
163     - fix empty global filter disable all geoip iptables rules [SME: 10794]
164     - tidy masq templates for xt geoip [SME: 10794]
165    
166     * Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme
167     - add missing file to patch [SME: 10760]
168     - workaround link issue in source [SME: 10790]
169    
170     * Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme
171     - improved per service filtering [SME: 10760]
172     - remove A1 forced as default and allow empty filter [SME: 10785]
173    
174     * Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme
175     - fix network lock out on adjust [SME: 10760]
176     this arised on initial install with a simple masq adjust
177     or if XT_geoip is disbaled on any masq restart or adjust
178    
179     * Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-12.sme
180     - add per service management of GeoIP bans [SME: 10760]
181     - move panel to Security [SME: 10773]
182    
183     * Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
184     - add stats access in the panel [SME: 10745]
185     - add control of maximum number of countries [SME: 10749]
186    
187     * Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
188     - add stats of geoip blocked countries [SME: 10745]
189     - add stats of ssh attacks not geoip blocked [SME: 10744]
190     - expand /etc/crontab on update
191    
192     * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
193     - fix unable to load iptables rules [SME: 10739]
194     fix warning localtime
195     fix warning "enabled" isn't numeric in numeric eq (==)
196    
197     * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme
198     - first import to SME buildsys
199    
200     * Sun Oct 29 2017 Michel Begue <mab974@gmail.com>
201     - bug in crontab update job,
202     - [1.0.1-4]
203    
204     * Mon Oct 16 2017 Michel Begue <mab974@gmail.com>
205     - new message : inactive GeoIP,
206     - value of country code added in message "country not found",
207     - [1.0.1-3]
208    
209     * Sat Oct 07 2017 Michel Begue <mab974@gmail.com>
210     - test kernel module presence in "/lib/modules/weak-updates" directory
211     - [1.0.1-2]
212    
213     * Wed Sep 20 2017 Michel Begue <mab974@gmail.com>
214     - panel added in server manager
215     - [1.0.1-1]
216    
217     * Tue Sep 12 2017 Michel Begue <mab974@gmail.com>
218     - initial release
219     - [1.0.0-1]

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed