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