/[smecontribs]/rpms/xtables-addons/contribs9/xtables-addons.spec
ViewVC logotype

Contents of /rpms/xtables-addons/contribs9/xtables-addons.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Tue Feb 19 01:18:03 2019 UTC (5 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: xtables-addons-1_47_1-8_el6_sme
Changes since 1.4: +12 -1 lines
* Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-8.sme
- include Michel Begue last patches and fixes
- changes for using GeoIP2 databases (download and build (-g2) + fetch)
  xtables-addons-1.47.1-g2.patch
- new dependency : perl-Socket
- new dependency : perl-IO-Socket-INET6 (bug sa-update)

1 %define name xtables-addons
2 %define version 1.47.1
3 %define release 8
4 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 Patch1: xtables-addons-1.47.1-g2.patch
15 Packager: Michel Begue <mab974@gmail.com>
16 BuildRoot: %RPM_BUILD_ROOT
17 #BuildRequires: e-smith-devtools
18 BuildRequires: iptables-devel
19 Requires: smeserver-release >= 9.0
20 Requires: xtables-addons-kmod >= 1.47.1-1
21 Requires: perl-Text-CSV_XS >= 0.80
22 Requires: perl-IO-Socket-INET6 >= 2.67
23 Requires: perl-Socket >= 2.021
24 AutoReqProv: no
25 Provides: %{name}-kmod-common = %{version}
26
27 %description
28 %{name} is a set of additional extensions for the Xtables packet filter that is present in the Linux kernel.
29
30 %changelog
31 * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-8.sme
32 - include Michel Begue last patches and fixes
33 - changes for using GeoIP2 databases (download and build (-g2) + fetch)
34 xtables-addons-1.47.1-g2.patch
35 - new dependency : perl-Socket
36 - new dependency : perl-IO-Socket-INET6 (bug sa-update)
37
38 * Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-7.sme
39 - fix missing Provides %{name}-kmod-common = %{version} [SME: 10734]
40
41 * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-6.sme
42 - first import for SMe buildserver
43 - added Build requirements iptables-devel
44 - do not build kernel module --without-kbuild kmod package will do
45 - add macro to build both x86_64 and i386
46
47 * Fri Sep 29 2017 Mab974 <mab974@gmail.com>
48 - extract "extensions" (kmod) from here to xtables-addons-kmod packet
49 - no more dependencie to kernel version
50
51 * Fri Sep 22 2017 Mab974 <mab974@gmail.com>
52 - initial release
53 - patch disable WITH_IPV6 in extra/*c
54
55 %prep
56
57 %setup
58 %patch0 -p1
59 %patch1 -p1
60
61 ./configure --prefix=/usr --without-kbuild
62
63 %build
64 %{__make}
65
66 %install
67 %{__rm} -rf %{buildroot}
68 %{__make} install DESTDIR="%{buildroot}"
69 %{__rm} -rf %{buildroot}/lib/modules/
70
71 %clean
72 %{__rm} -rf %{buildroot}
73
74 %pre
75
76 %post
77
78 %preun
79
80 %postun
81
82 %files
83 %defattr(-, root, root, 0755)
84 /%{_lib}/xtables/libxt_*
85 /usr/lib/libxt_*
86 /usr/libexec/xtables-*
87 /usr/sbin/iptaccount
88 /usr/share/man/man1/xt_*
89 /usr/share/man/man8/iptaccount.*
90 /usr/share/man/man8/xtables-*

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed