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

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

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


Revision 1.12 - (hide annotations) (download)
Tue Jan 14 14:47:14 2020 UTC (4 years, 4 months ago) by michel
Branch: MAIN
CVS Tags: xtables-addons-1_47_1-15_el6_sme, HEAD
Changes since 1.11: +2 -2 lines
* Sat Jan 11 2020 Michel Begue <mab974@gmail.com> 1.47.1-15.sme
- add license_key in download script of bases

1 jpp 1.1 %define name xtables-addons
2     %define version 1.47.1
3 michel 1.12 %define release 15
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 jpp 1.5 Patch1: xtables-addons-1.47.1-g2.patch
15 jpp 1.9 Patch2: xtables-addons-1.47.1-10749-maxcountries.patch
16 michel 1.10 Patch3: xtables-addons-1.47.1-10797-no_counters.patch
17 michel 1.11 Patch4: xtables-addons-1.47.1-bz10860-license_key.patch
18 michel 1.10
19 jpp 1.1 Packager: Michel Begue <mab974@gmail.com>
20     BuildRoot: %RPM_BUILD_ROOT
21     #BuildRequires: e-smith-devtools
22 jpp 1.2 BuildRequires: iptables-devel
23 jpp 1.1 Requires: smeserver-release >= 9.0
24 jpp 1.7 Requires: xtables-addons-kmod >= 1.47.1-1
25 jpp 1.1 Requires: perl-Text-CSV_XS >= 0.80
26 jpp 1.5 Requires: perl-IO-Socket-INET6 >= 2.67
27     Requires: perl-Socket >= 2.021
28 jpp 1.1 AutoReqProv: no
29 jpp 1.4 Provides: %{name}-kmod-common = %{version}
30 jpp 1.1
31     %description
32     %{name} is a set of additional extensions for the Xtables packet filter that is present in the Linux kernel.
33    
34     %changelog
35 michel 1.12 * Sat Jan 11 2020 Michel Begue <mab974@gmail.com> 1.47.1-15.sme
36 michel 1.11 - add license_key in download script of bases
37    
38 michel 1.10 * Mon Nov 25 2019 Michel Begue <mab974@gmail.com> 1.47.1-13.sme
39     - comment out "print STDERR" counters in xt_geoip-build [SME: 10797]
40    
41 jpp 1.9 * Wed Mar 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-12.sme
42 jpp 1.8 - set XT_GEOIP_MAX from 15 to 50 [SME: 10749]
43    
44 jpp 1.7 * Tue Feb 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-10.sme
45     - rel 9 change requires xtables-addons-kmod to kmod-xtables-addons [SME: 10739]
46 jpp 1.6 while it does not respect the rpmfusion doc, this seems the way to get depmod on install
47 jpp 1.7 - rel 10 reverse previous changes
48 jpp 1.6
49 jpp 1.5 * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-8.sme
50     - include Michel Begue last patches and fixes
51     - changes for using GeoIP2 databases (download and build (-g2) + fetch)
52     xtables-addons-1.47.1-g2.patch
53     - new dependency : perl-Socket
54     - new dependency : perl-IO-Socket-INET6 (bug sa-update)
55    
56 jpp 1.4 * Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-7.sme
57     - fix missing Provides %{name}-kmod-common = %{version} [SME: 10734]
58    
59 jpp 1.3 * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-6.sme
60 jpp 1.2 - first import for SMe buildserver
61     - added Build requirements iptables-devel
62     - do not build kernel module --without-kbuild kmod package will do
63 jpp 1.3 - add macro to build both x86_64 and i386
64 jpp 1.2
65 jpp 1.1 * Fri Sep 29 2017 Mab974 <mab974@gmail.com>
66     - extract "extensions" (kmod) from here to xtables-addons-kmod packet
67     - no more dependencie to kernel version
68    
69     * Fri Sep 22 2017 Mab974 <mab974@gmail.com>
70     - initial release
71     - patch disable WITH_IPV6 in extra/*c
72    
73     %prep
74    
75     %setup
76     %patch0 -p1
77 jpp 1.5 %patch1 -p1
78 jpp 1.8 %patch2 -p1
79 michel 1.10 %patch3 -p1
80 michel 1.11 %patch4 -p1
81 jpp 1.1
82 jpp 1.2 ./configure --prefix=/usr --without-kbuild
83 jpp 1.1
84     %build
85     %{__make}
86    
87     %install
88     %{__rm} -rf %{buildroot}
89     %{__make} install DESTDIR="%{buildroot}"
90     %{__rm} -rf %{buildroot}/lib/modules/
91    
92     %clean
93     %{__rm} -rf %{buildroot}
94    
95     %pre
96    
97     %post
98    
99     %preun
100    
101     %postun
102    
103     %files
104     %defattr(-, root, root, 0755)
105 jpp 1.3 /%{_lib}/xtables/libxt_*
106 jpp 1.1 /usr/lib/libxt_*
107     /usr/libexec/xtables-*
108     /usr/sbin/iptaccount
109     /usr/share/man/man1/xt_*
110     /usr/share/man/man8/iptaccount.*
111     /usr/share/man/man8/xtables-*

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