1 |
jpp |
1.1 |
%define name xtables-addons |
2 |
|
|
%define version 1.47.1 |
3 |
jpp |
1.2 |
%define release 5 |
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 |
|
|
|
23 |
|
|
%description |
24 |
|
|
%{name} is a set of additional extensions for the Xtables packet filter that is present in the Linux kernel. |
25 |
|
|
|
26 |
|
|
%changelog |
27 |
jpp |
1.2 |
* Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-5.sme |
28 |
|
|
- first import for SMe buildserver |
29 |
|
|
- added Build requirements iptables-devel |
30 |
|
|
- do not build kernel module --without-kbuild kmod package will do |
31 |
|
|
|
32 |
jpp |
1.1 |
* Fri Sep 29 2017 Mab974 <mab974@gmail.com> |
33 |
|
|
- extract "extensions" (kmod) from here to xtables-addons-kmod packet |
34 |
|
|
- no more dependencie to kernel version |
35 |
|
|
|
36 |
|
|
* Fri Sep 22 2017 Mab974 <mab974@gmail.com> |
37 |
|
|
- initial release |
38 |
|
|
- patch disable WITH_IPV6 in extra/*c |
39 |
|
|
|
40 |
|
|
%prep |
41 |
|
|
|
42 |
|
|
%setup |
43 |
|
|
%patch0 -p1 |
44 |
|
|
|
45 |
jpp |
1.2 |
./configure --prefix=/usr --without-kbuild |
46 |
jpp |
1.1 |
|
47 |
|
|
%build |
48 |
|
|
%{__make} |
49 |
|
|
|
50 |
|
|
%install |
51 |
|
|
%{__rm} -rf %{buildroot} |
52 |
|
|
%{__make} install DESTDIR="%{buildroot}" |
53 |
|
|
%{__rm} -rf %{buildroot}/lib/modules/ |
54 |
|
|
|
55 |
|
|
%clean |
56 |
|
|
%{__rm} -rf %{buildroot} |
57 |
|
|
|
58 |
|
|
%pre |
59 |
|
|
|
60 |
|
|
%post |
61 |
|
|
|
62 |
|
|
%preun |
63 |
|
|
|
64 |
|
|
%postun |
65 |
|
|
|
66 |
|
|
%files |
67 |
|
|
%defattr(-, root, root, 0755) |
68 |
|
|
/lib64/xtables/libxt_* |
69 |
|
|
/usr/lib/libxt_* |
70 |
|
|
/usr/libexec/xtables-* |
71 |
|
|
/usr/sbin/iptaccount |
72 |
|
|
/usr/share/man/man1/xt_* |
73 |
|
|
/usr/share/man/man8/iptaccount.* |
74 |
|
|
/usr/share/man/man8/xtables-* |