/[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.4 - (show annotations) (download)
Mon Mar 25 13:34:21 2019 UTC (5 years, 2 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_0_1-7_el6_sme
Changes since 1.3: +12 -2 lines
* Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
- add stats of geoip blocked countries [SME: 10745]
- add stats of ssh attacks not geoip blocked [SME: 10744]
- expand /etc/crontab on update

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

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