1 |
%define name xtables-addons |
%define name xtables-addons |
2 |
%define version 1.47.1 |
%define version 1.47.1 |
3 |
%define release 5 |
%define release 13 |
4 |
Summary: xtables-addons is a set of additional extensions for the Xtables packet filter. |
Summary: xtables-addons is a set of additional extensions for the Xtables packet filter. |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
11 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
12 |
URL: http://xtables-addons.sourceforge.net |
URL: http://xtables-addons.sourceforge.net |
13 |
Patch0: xtables-addons-1.47.1-v6.patch |
Patch0: xtables-addons-1.47.1-v6.patch |
14 |
|
Patch1: xtables-addons-1.47.1-g2.patch |
15 |
|
Patch2: xtables-addons-1.47.1-10749-maxcountries.patch |
16 |
|
Patch3: xtables-addons-1.47.1-10797-no_counters.patch |
17 |
|
|
18 |
Packager: Michel Begue <mab974@gmail.com> |
Packager: Michel Begue <mab974@gmail.com> |
19 |
BuildRoot: %RPM_BUILD_ROOT |
BuildRoot: %RPM_BUILD_ROOT |
20 |
#BuildRequires: e-smith-devtools |
#BuildRequires: e-smith-devtools |
22 |
Requires: smeserver-release >= 9.0 |
Requires: smeserver-release >= 9.0 |
23 |
Requires: xtables-addons-kmod >= 1.47.1-1 |
Requires: xtables-addons-kmod >= 1.47.1-1 |
24 |
Requires: perl-Text-CSV_XS >= 0.80 |
Requires: perl-Text-CSV_XS >= 0.80 |
25 |
|
Requires: perl-IO-Socket-INET6 >= 2.67 |
26 |
|
Requires: perl-Socket >= 2.021 |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
|
Provides: %{name}-kmod-common = %{version} |
29 |
|
|
30 |
%description |
%description |
31 |
%{name} is a set of additional extensions for the Xtables packet filter that is present in the Linux kernel. |
%{name} is a set of additional extensions for the Xtables packet filter that is present in the Linux kernel. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
* Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-5.sme |
* Mon Nov 25 2019 Michel Begue <mab974@gmail.com> 1.47.1-13.sme |
35 |
|
- comment out "print STDERR" counters in xt_geoip-build [SME: 10797] |
36 |
|
|
37 |
|
* Wed Mar 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-12.sme |
38 |
|
- set XT_GEOIP_MAX from 15 to 50 [SME: 10749] |
39 |
|
|
40 |
|
* Tue Feb 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-10.sme |
41 |
|
- rel 9 change requires xtables-addons-kmod to kmod-xtables-addons [SME: 10739] |
42 |
|
while it does not respect the rpmfusion doc, this seems the way to get depmod on install |
43 |
|
- rel 10 reverse previous changes |
44 |
|
|
45 |
|
* Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-8.sme |
46 |
|
- include Michel Begue last patches and fixes |
47 |
|
- changes for using GeoIP2 databases (download and build (-g2) + fetch) |
48 |
|
xtables-addons-1.47.1-g2.patch |
49 |
|
- new dependency : perl-Socket |
50 |
|
- new dependency : perl-IO-Socket-INET6 (bug sa-update) |
51 |
|
|
52 |
|
* Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-7.sme |
53 |
|
- fix missing Provides %{name}-kmod-common = %{version} [SME: 10734] |
54 |
|
|
55 |
|
* Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-6.sme |
56 |
- first import for SMe buildserver |
- first import for SMe buildserver |
57 |
- added Build requirements iptables-devel |
- added Build requirements iptables-devel |
58 |
- do not build kernel module --without-kbuild kmod package will do |
- do not build kernel module --without-kbuild kmod package will do |
59 |
|
- add macro to build both x86_64 and i386 |
60 |
|
|
61 |
* Fri Sep 29 2017 Mab974 <mab974@gmail.com> |
* Fri Sep 29 2017 Mab974 <mab974@gmail.com> |
62 |
- extract "extensions" (kmod) from here to xtables-addons-kmod packet |
- extract "extensions" (kmod) from here to xtables-addons-kmod packet |
70 |
|
|
71 |
%setup |
%setup |
72 |
%patch0 -p1 |
%patch0 -p1 |
73 |
|
%patch1 -p1 |
74 |
|
%patch2 -p1 |
75 |
|
%patch3 -p1 |
76 |
|
|
77 |
./configure --prefix=/usr --without-kbuild |
./configure --prefix=/usr --without-kbuild |
78 |
|
|
97 |
|
|
98 |
%files |
%files |
99 |
%defattr(-, root, root, 0755) |
%defattr(-, root, root, 0755) |
100 |
/lib64/xtables/libxt_* |
/%{_lib}/xtables/libxt_* |
101 |
/usr/lib/libxt_* |
/usr/lib/libxt_* |
102 |
/usr/libexec/xtables-* |
/usr/libexec/xtables-* |
103 |
/usr/sbin/iptaccount |
/usr/sbin/iptaccount |