/[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.6 - (hide annotations) (download)
Wed Feb 20 00:35:46 2019 UTC (5 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: xtables-addons-1_47_1-9_el6_sme
Changes since 1.5: +6 -2 lines
* Tue Feb 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.47.1-9.sme
- change requires xtables-addons-kmod to kmod-xtables-addons [SME: 10739]
  while it does not respect the rpmfusion doc, this seems the way to get depmod on install

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

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