/[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.9 - (hide annotations) (download)
Thu Mar 7 03:35:06 2019 UTC (5 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: xtables-addons-1_47_1-12_el6_sme
Changes since 1.8: +3 -3 lines
* Wed Mar 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-12.sme
- set XT_GEOIP_MAX from 15 to 50 [SME: 10749]

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

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