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