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

Contents 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.10 - (show annotations) (download)
Sun Jul 21 16:48:33 2019 UTC (5 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_0_1-13_el6_sme
Changes since 1.9: +8 -1 lines
* Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme
- fix network lock out on adjust [SME: 10760]
  this arised on initial install with a simple masq adjust
  or if XT_geoip is disbaled on any masq restart or adjust

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

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