/[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.17 - (show annotations) (download)
Thu Oct 17 06:23:42 2019 UTC (5 years, 1 month ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_0_1-20_el6_sme
Changes since 1.16: +7 -1 lines
* Wed Oct 16 2019 Michel Begue <mab974@gmail.com> 1.0.1-20.sme
- panel to add services  [SME: 10792]
- french translation

1 %define name smeserver-xt_geoip
2 %define version 1.0.1
3 %define release 20
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 Patch8: smeserver-xt_geoip-1.0.1-bz10760-per_serv2.patch
21 Patch9: smeserver-xt_geoip-1.0.1-bz10794-masq-template.patch
22 Patch10: smeserver-xt_geoip-1.0.1-bz10789-more_services.patch
23 Patch11: smeserver-xt_geoip-1.0.1-bz10797-no_emails.patch
24 Patch12: smeserver-xt_geoip-1.0.1-bz10791-country_panel_ssh.patch
25 Patch13: smeserver-xt_geoip-1.0.1-bz10792-add_services.patch
26
27
28 BuildArchitectures: noarch
29 BuildRoot: /var/tmp/%{name}-%{version}
30 BuildRequires: e-smith-devtools
31 Requires: e-smith-release >= 9.0
32 Requires: xtables-addons = 1.47.1
33 Requires: GeoIP = 1.6.5
34 AutoReqProv: no
35
36 %description
37 smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
38
39 %changelog
40 * Wed Oct 16 2019 Michel Begue <mab974@gmail.com> 1.0.1-20.sme
41 - panel to add services [SME: 10792]
42 - french translation
43
44 * Mon Sep 30 2019 Michel Begue <mab974@gmail.com> 1.0.1-19.sme
45 - add country code list [SME: 10791]
46 - fix stats SSH errors [SME: 10807]
47 - improved panel [SME: 10788]
48
49 * Sat Sep 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-18.sme
50 - add more service [SME: 10789]
51 - no email from log analysis by default [SME: 10797]
52
53 * Sun Jul 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-17.sme
54 - fix empty global filter disable all geoip iptables rules [SME: 10794]
55 - tidy masq templates for xt geoip [SME: 10794]
56
57 * Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme
58 - add missing file to patch [SME: 10760]
59 - workaround link issue in source [SME: 10790]
60
61 * Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme
62 - improved per service filtering [SME: 10760]
63 - remove A1 forced as default and allow empty filter [SME: 10785]
64
65 * Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme
66 - fix network lock out on adjust [SME: 10760]
67 this arised on initial install with a simple masq adjust
68 or if XT_geoip is disbaled on any masq restart or adjust
69
70 * Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-12.sme
71 - add per service management of GeoIP bans [SME: 10760]
72 - move panel to Security [SME: 10773]
73
74 * Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
75 - add stats access in the panel [SME: 10745]
76 - add control of maximum number of countries [SME: 10749]
77
78 * Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
79 - add stats of geoip blocked countries [SME: 10745]
80 - add stats of ssh attacks not geoip blocked [SME: 10744]
81 - expand /etc/crontab on update
82
83 * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
84 - fix unable to load iptables rules [SME: 10739]
85 fix warning localtime
86 fix warning "enabled" isn't numeric in numeric eq (==)
87
88 * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme
89 - first import to SME buildsys
90
91 * Sun Oct 29 2017 Michel Begue <mab974@gmail.com>
92 - bug in crontab update job,
93 - [1.0.1-4]
94
95 * Mon Oct 16 2017 Michel Begue <mab974@gmail.com>
96 - new message : inactive GeoIP,
97 - value of country code added in message "country not found",
98 - [1.0.1-3]
99
100 * Sat Oct 07 2017 Michel Begue <mab974@gmail.com>
101 - test kernel module presence in "/lib/modules/weak-updates" directory
102 - [1.0.1-2]
103
104 * Wed Sep 20 2017 Michel Begue <mab974@gmail.com>
105 - panel added in server manager
106 - [1.0.1-1]
107
108 * Tue Sep 12 2017 Michel Begue <mab974@gmail.com>
109 - initial release
110 - [1.0.0-1]
111 - xtables-addons v1.47.1 (v1.x required for kernel 2.6.32)
112
113 %prep
114
115 %setup
116 # tmp fix before creating a new source archive 1.0.1-16
117 unlink root/etc/e-smith/web/panels/manager/cgi-bin/xt_geoip
118 %patch0 -p1
119 %patch1 -p1
120 %patch2 -p1
121 %patch3 -p1
122 %patch4 -p1
123 %patch5 -p1
124 %patch6 -p1
125 %patch7 -p1
126 %patch8 -p1
127 %patch9 -p1
128 %patch10 -p1
129 %patch11 -p1
130 %patch12 -p1
131 %patch13 -p1
132
133 %build
134 perl createlinks
135
136
137 %install
138 rm -rf $RPM_BUILD_ROOT
139
140 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
141 rm -f %{name}-%{version}-filelist
142 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT | egrep -v "usr/share/xt_geoip/geoip_" \
143 > %{name}-%{version}-filelist
144 echo "%doc COPYING" >> %{name}-%{version}-filelist
145
146 %clean
147 cd ..
148 rm -rf %{name}-%{version}
149
150 %pre
151 %preun
152
153 %post
154
155 %postun
156
157 %files -f %{name}-%{version}-filelist
158 %defattr(-,root,root)
159
160 %files
161 %attr(0755, root, root) /usr/share/xt_geoip/geoip_*

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