1 |
jpp |
1.1 |
%define name xtables-addons-kmod |
2 |
|
|
%define name_src xtables-addons |
3 |
|
|
%define version 1.47.1 |
4 |
|
|
%define release 4 |
5 |
|
|
Summary: %{name} is a set of additional extensions for the Xtables packet filter (modules kmod ONLY). |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
|
|
Release: %{release}%{?dist} |
9 |
|
|
Distribution: SME Server |
10 |
|
|
License: GNU GPL version 2 |
11 |
|
|
Group: SME Server/addon |
12 |
|
|
Source: %{name_src}-%{version}.tar.xz |
13 |
|
|
#Source: xtables-addons-%{version}.tar.xz |
14 |
|
|
URL: http://xtables-addons.sourceforge.net |
15 |
|
|
Patch0: xtables-addons-1.47.1-v6.patch |
16 |
|
|
Packager: Michel Begue <mab974@gmail.com> |
17 |
|
|
BuildRoot: %RPM_BUILD_ROOT |
18 |
|
|
#Requires: smeserver-release >= 9.0 |
19 |
|
|
Requires: xtables-addons >= 1.47.1-4 |
20 |
|
|
#Requires: kernel = 2.6.32-696 |
21 |
|
|
Requires: kernel = 2.6.32-696.28.1.el6 |
22 |
|
|
BuildRequires: e-smith-devtools |
23 |
|
|
AutoReqProv: no |
24 |
|
|
|
25 |
|
|
%description |
26 |
|
|
%{name} is a set of additional extensions for the Xtables packet filter that is present in the Linux kernel (modules kmod ONLY). |
27 |
|
|
It is just a "kernel update" release. |
28 |
|
|
|
29 |
|
|
%changelog |
30 |
|
|
* Thu Mar 15 2018 Mab974 <mab974@gmail.com> |
31 |
|
|
- compiled for kernel version 2.6.32-696.23.1.el6.x86_64 |
32 |
|
|
|
33 |
|
|
* Sat Oct 07 2017 Mab974 <mab974@gmail.com> |
34 |
|
|
- compiled for kernel version 2.6.32-696.13.2.el6.x86_64 |
35 |
|
|
|
36 |
|
|
* Thu Sep 28 2017 Mab974 <mab974@gmail.com> |
37 |
|
|
- compiled for kernel version 2.6.32-696.10.3.el6.x86_64 |
38 |
|
|
- extensions (kmod) files ONLY. |
39 |
|
|
- patch disable WITH_IPV6 in extra/*c (-v6) |
40 |
|
|
|
41 |
|
|
%prep |
42 |
|
|
|
43 |
|
|
%setup -n %{name_src}-%{version} |
44 |
|
|
%patch0 -p1 |
45 |
|
|
|
46 |
|
|
./configure --prefix=/usr |
47 |
|
|
|
48 |
|
|
%build |
49 |
|
|
%{__make} |
50 |
|
|
|
51 |
|
|
%install |
52 |
|
|
%{__rm} -rf %{buildroot} |
53 |
|
|
%{__make} install DESTDIR="%{buildroot}" |
54 |
|
|
%{__rm} -rf %{buildroot}/lib64/ |
55 |
|
|
%{__rm} -rf %{buildroot}/usr/ |
56 |
|
|
|
57 |
|
|
%clean |
58 |
|
|
%{__rm} -rf %{buildroot} |
59 |
|
|
|
60 |
|
|
%pre |
61 |
|
|
|
62 |
|
|
%post |
63 |
|
|
|
64 |
|
|
%preun |
65 |
|
|
|
66 |
|
|
%postun |
67 |
|
|
|
68 |
|
|
%files |
69 |
|
|
%defattr(-, root, root, 0755) |
70 |
|
|
/lib/modules/* |