1 |
jpp |
1.1 |
%define name xtables-addons |
2 |
|
|
%define version 1.47.1 |
3 |
jpp |
1.4 |
%define release 7 |
4 |
jpp |
1.1 |
Summary: xtables-addons is a set of additional extensions for the Xtables packet filter. |
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
Distribution: SME Server |
9 |
|
|
License: GNU GPL version 2 |
10 |
|
|
Group: SME Server/addon |
11 |
|
|
Source: %{name}-%{version}.tar.xz |
12 |
|
|
URL: http://xtables-addons.sourceforge.net |
13 |
|
|
Patch0: xtables-addons-1.47.1-v6.patch |
14 |
|
|
Packager: Michel Begue <mab974@gmail.com> |
15 |
|
|
BuildRoot: %RPM_BUILD_ROOT |
16 |
|
|
#BuildRequires: e-smith-devtools |
17 |
jpp |
1.2 |
BuildRequires: iptables-devel |
18 |
jpp |
1.1 |
Requires: smeserver-release >= 9.0 |
19 |
|
|
Requires: xtables-addons-kmod >= 1.47.1-1 |
20 |
|
|
Requires: perl-Text-CSV_XS >= 0.80 |
21 |
|
|
AutoReqProv: no |
22 |
jpp |
1.4 |
Provides: %{name}-kmod-common = %{version} |
23 |
jpp |
1.1 |
|
24 |
|
|
%description |
25 |
|
|
%{name} is a set of additional extensions for the Xtables packet filter that is present in the Linux kernel. |
26 |
|
|
|
27 |
|
|
%changelog |
28 |
jpp |
1.4 |
* Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-7.sme |
29 |
|
|
- fix missing Provides %{name}-kmod-common = %{version} [SME: 10734] |
30 |
|
|
|
31 |
jpp |
1.3 |
* Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-6.sme |
32 |
jpp |
1.2 |
- first import for SMe buildserver |
33 |
|
|
- added Build requirements iptables-devel |
34 |
|
|
- do not build kernel module --without-kbuild kmod package will do |
35 |
jpp |
1.3 |
- add macro to build both x86_64 and i386 |
36 |
jpp |
1.2 |
|
37 |
jpp |
1.1 |
* Fri Sep 29 2017 Mab974 <mab974@gmail.com> |
38 |
|
|
- extract "extensions" (kmod) from here to xtables-addons-kmod packet |
39 |
|
|
- no more dependencie to kernel version |
40 |
|
|
|
41 |
|
|
* Fri Sep 22 2017 Mab974 <mab974@gmail.com> |
42 |
|
|
- initial release |
43 |
|
|
- patch disable WITH_IPV6 in extra/*c |
44 |
|
|
|
45 |
|
|
%prep |
46 |
|
|
|
47 |
|
|
%setup |
48 |
|
|
%patch0 -p1 |
49 |
|
|
|
50 |
jpp |
1.2 |
./configure --prefix=/usr --without-kbuild |
51 |
jpp |
1.1 |
|
52 |
|
|
%build |
53 |
|
|
%{__make} |
54 |
|
|
|
55 |
|
|
%install |
56 |
|
|
%{__rm} -rf %{buildroot} |
57 |
|
|
%{__make} install DESTDIR="%{buildroot}" |
58 |
|
|
%{__rm} -rf %{buildroot}/lib/modules/ |
59 |
|
|
|
60 |
|
|
%clean |
61 |
|
|
%{__rm} -rf %{buildroot} |
62 |
|
|
|
63 |
|
|
%pre |
64 |
|
|
|
65 |
|
|
%post |
66 |
|
|
|
67 |
|
|
%preun |
68 |
|
|
|
69 |
|
|
%postun |
70 |
|
|
|
71 |
|
|
%files |
72 |
|
|
%defattr(-, root, root, 0755) |
73 |
jpp |
1.3 |
/%{_lib}/xtables/libxt_* |
74 |
jpp |
1.1 |
/usr/lib/libxt_* |
75 |
|
|
/usr/libexec/xtables-* |
76 |
|
|
/usr/sbin/iptaccount |
77 |
|
|
/usr/share/man/man1/xt_* |
78 |
|
|
/usr/share/man/man8/iptaccount.* |
79 |
|
|
/usr/share/man/man8/xtables-* |