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

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

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


Revision 1.12 - (hide annotations) (download)
Tue Jul 23 02:00:08 2019 UTC (5 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_0_1-15_el6_sme
Changes since 1.11: +2 -2 lines
* Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme
- improved per service filtering [SME: 10760]
- remove A1 forced as default and allow empty filter [SME: 10785]

1 jpp 1.1 %define name smeserver-xt_geoip
2     %define version 1.0.1
3 jpp 1.12 %define release 15
4 jpp 1.1 Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}%{?dist}
8     License: GNU GPL version 2
9     URL: http://wiki.contribs.org/Main_Page
10     Group: SMEserver/addon
11     Source: %{name}-%{version}.tar.gz
12     Patch0: smeserver-xt_geoip-1.0.1-2-weakupd.patch
13     Patch1: smeserver-xt_geoip-1.0.1-3-messag.patch
14     Patch2: smeserver-xt_geoip-1.0.1-4-crontab.patch
15 jpp 1.3 Patch3: smeserver-xt_geoip-1.0.1-bz10739.patch
16 michel 1.4 Patch4: smeserver-xt_geoip-1.0.1-stats.patch
17 michel 1.5 Patch5: smeserver-xt_geoip-1.0.1-stats_panel.patch
18 michel 1.9 Patch6: smeserver-xt_geoip-1.0.1-per_serv.patch
19 jpp 1.10 Patch7: smeserver-xt_geoip-1.0.1-bz10760-safe-reload.patch
20 jpp 1.11 Patch8: smeserver-xt_geoip-1.0.1-bz10760-per_serv2.patch
21    
22 jpp 1.1 BuildArchitectures: noarch
23     BuildRoot: /var/tmp/%{name}-%{version}
24     BuildRequires: e-smith-devtools
25     Requires: e-smith-release >= 9.0
26     Requires: xtables-addons = 1.47.1
27 michel 1.4 Requires: GeoIP = 1.6.5
28 jpp 1.1 AutoReqProv: no
29    
30     %description
31     smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
32    
33     %changelog
34 jpp 1.12 * Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme
35 jpp 1.11 - improved per service filtering [SME: 10760]
36     - remove A1 forced as default and allow empty filter [SME: 10785]
37    
38 jpp 1.10 * Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme
39     - fix network lock out on adjust [SME: 10760]
40     this arised on initial install with a simple masq adjust
41     or if XT_geoip is disbaled on any masq restart or adjust
42    
43 michel 1.9 * Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-12.sme
44 michel 1.7 - add per service management of GeoIP bans [SME: 10760]
45 jpp 1.11 - move panel to Security [SME: 10773]
46 michel 1.7
47 michel 1.6 * Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
48 michel 1.5 - add stats access in the panel [SME: 10745]
49     - add control of maximum number of countries [SME: 10749]
50    
51 michel 1.4 * Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
52     - add stats of geoip blocked countries [SME: 10745]
53     - add stats of ssh attacks not geoip blocked [SME: 10744]
54     - expand /etc/crontab on update
55    
56 jpp 1.3 * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
57     - fix unable to load iptables rules [SME: 10739]
58     fix warning localtime
59     fix warning "enabled" isn't numeric in numeric eq (==)
60    
61 jpp 1.2 * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme
62     - first import to SME buildsys
63    
64 jpp 1.1 * Sun Oct 29 2017 Michel Begue <mab974@gmail.com>
65     - bug in crontab update job,
66     - [1.0.1-4]
67    
68     * Mon Oct 16 2017 Michel Begue <mab974@gmail.com>
69     - new message : inactive GeoIP,
70     - value of country code added in message "country not found",
71     - [1.0.1-3]
72    
73     * Sat Oct 08 2017 Michel Begue <mab974@gmail.com>
74     - test kernel module presence in "/lib/modules/weak-updates" directory
75     - [1.0.1-2]
76    
77     * Wed Sep 20 2017 Michel Begue <mab974@gmail.com>
78     - panel added in server manager
79     - [1.0.1-1]
80    
81     * Tue Sep 12 2017 Michel Begue <mab974@gmail.com>
82     - initial release
83     - [1.0.0-1]
84     - xtables-addons v1.47.1 (v1.x required for kernel 2.6.32)
85    
86     %prep
87    
88     %setup
89     %patch0 -p1
90     %patch1 -p1
91     %patch2 -p1
92 jpp 1.3 %patch3 -p1
93 michel 1.4 %patch4 -p1
94 michel 1.5 %patch5 -p1
95 michel 1.7 %patch6 -p1
96 jpp 1.10 %patch7 -p1
97 jpp 1.11 %patch8 -p1
98 jpp 1.1
99     %build
100     perl createlinks
101    
102    
103     %install
104     rm -rf $RPM_BUILD_ROOT
105    
106     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
107     rm -f %{name}-%{version}-filelist
108 michel 1.4 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT | egrep -v "usr/share/xt_geoip/geoip_" \
109 jpp 1.1 > %{name}-%{version}-filelist
110     echo "%doc COPYING" >> %{name}-%{version}-filelist
111    
112     %clean
113     cd ..
114     rm -rf %{name}-%{version}
115    
116     %pre
117     %preun
118    
119     %post
120    
121     %postun
122    
123     %files -f %{name}-%{version}-filelist
124     %defattr(-,root,root)
125    
126 michel 1.4 %files
127     %attr(0755, root, root) /usr/share/xt_geoip/geoip_*

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