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

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

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


Revision 1.1 - (hide annotations) (download)
Mon Jun 22 20:12:58 2020 UTC (4 years, 5 months ago) by michel
Branch: MAIN
CVS Tags: xtables-addons-2_14-01_el7_sme, HEAD
* Mon Jun 22 2020 Michel Begue <mab974@gmail.com> 2.14-01.sme
- initial release 2.14 for sme10
- comment out build_TARPIT (Centos 7 compatibility pbm)
- set XT_GEOIP_MAX from 15 to 50
- comment out "print STDERR" counters in xt_geoip-build
- add license_key in download script of bases
- changes for using GeoIP2 databases (download and build (-g2) + fetch)
- dependency : perl-IO-Socket-INET6 (bug sa-update)

1 michel 1.1 %define name xtables-addons
2     %define version 2.14
3     %define release 01
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-2.14-init.patch
14    
15     Packager: Michel Begue <mab974@gmail.com>
16     BuildRoot: %RPM_BUILD_ROOT
17     BuildRequires: iptables-devel
18     Requires: smeserver-release >= 10.0
19     Requires: xtables-addons-kmod >= 2.14
20     Requires: perl-Text-CSV_XS >= 1.00
21     Requires: perl-IO-Socket-INET6 >= 2.69
22     Requires: perl-Socket >= 2.010
23     Requires: perl-Net-CIDR-Lite >= 0.21
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 Jun 22 2020 Michel Begue <mab974@gmail.com> 2.14-01.sme
32     - initial release 2.14 for sme10
33     - comment out build_TARPIT (Centos 7 compatibility pbm)
34     - set XT_GEOIP_MAX from 15 to 50
35     - comment out "print STDERR" counters in xt_geoip-build
36     - add license_key in download script of bases
37     - changes for using GeoIP2 databases (download and build (-g2) + fetch)
38     - dependency : perl-IO-Socket-INET6 (bug sa-update)
39    
40     %prep
41    
42     %setup
43     %patch0 -p1
44    
45     ./configure --prefix=/usr --without-kbuild
46    
47     %build
48     %{__make}
49    
50     %install
51     %{__rm} -rf %{buildroot}
52     %{__make} install DESTDIR="%{buildroot}"
53     %{__rm} -rf %{buildroot}/lib/modules/
54    
55     %clean
56     %{__rm} -rf %{buildroot}
57    
58     %pre
59    
60     %post
61    
62     %preun
63    
64     %postun
65    
66     %files
67     %defattr(-, root, root, 0755)
68     /usr/lib/libxt_ACCOUNT_cl.*
69     /usr/%{_lib}/xtables/libxt_*.so
70     /usr/libexec/xtables-addons/xt_geoip_*
71     /usr/sbin/iptaccount
72     /usr/share/man/man1/*.1.gz
73     /usr/share/man/man8/*.8.gz

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