Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
xtables-addons
> xtables-addons.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xtables-addons.spec of Package xtables-addons
Name: xtables-addons Version: 1.47.1 Release: 1 Group: Productivity/Networking/Security Summary: IP Packet Filter Administration Extensions License: GPL Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: kernel-source, kernel-syms, iptables-devel >= 1.4.5 BuildRequires: pkg-config >= 0.23 ##BuildRequires: libmnl-devel >= 1 BuildRequires: module-init-tools Requires: %{name}-kmp ##%if 0%{?suse_version} >= 1140 ##Provides: ipset = 6.10.0 ##%endif %if 0%{?suse_version} Recommends: %name-kmp Recommends: xtables-geoip %else Requires: xtables-geoip %endif %suse_kernel_module_package %description Xtables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Xtables-addons provides extra modules not present in the kernel. %prep %setup -q %build ##%if 0%{?suse_version} < 1140 ### ipset6-genl needs >=2.6.35, which is usually not present before 11.4 ##echo "build_ipset6=" >>mconfig; %if 0%{?suse_version} < 1210 # xt_ECHO needs kernel 3.x? echo "build_ECHO=" >>mconfig %endif pushd ../; for flavor in %{flavors_to_build}; do cp -a %{name}-%{version} %{name}-${flavor}-%{version}; pushd %{name}-${flavor}-%{version}/; %configure --with-kbuild=/usr/src/linux-obj/%{_target_cpu}/${flavor} --libexecdir=%{_libdir} %__make %{?jobs:-j%jobs}; popd; done; %install b="%buildroot"; rm -Rf "$b"; mkdir "$b"; pushd ../; for flavor in %{flavors_to_build}; do pushd %{name}-${flavor}-%{version}/; %__make install DESTDIR="$b"; popd; done; # There is no -devel package. So no need for these files. find "$b/%_prefix" -iname "*.la" -delete; find "$b/%_libdir" -maxdepth 1 -type l -iname "*.so" -delete; %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -Rf "%buildroot"; %files %defattr(-,root,root) %{_libdir}/xtables/* %{_libdir}/libxt_ACCOUNT_cl.so* %_mandir/*/* %_sbindir/* %dir %{_libdir}/xtables-addons %{_libdir}/xtables-addons/xt_geoip_build %{_libdir}/xtables-addons/xt_geoip_dl %changelog * Sat Oct 08 2011 Carsten Schoene <cs@linux-administrator.com> - 1.39-1 - update to release 1.39 * Sat Aug 20 2011 Carsten Schoene <cs@linux-administrator.com> - 1.38-1 - update to release 1.38 * Sat Jul 30 2011 Carsten Schoene <cs@linux-administrator.com> - 1.37-1 - update to release 1.37 * Tue Jun 07 2011 Carsten Schoene <cs@linux-administrator.com> - 1.36-1 - update to release 1.36 * Wed Feb 23 2011 Carsten Schoene <cs@linux-administrator.com> - 1.33-1 - update to release 1.33 * Sat Jan 08 2011 Carsten Schoene <cs@linux-administrator.com> - 1.32-1 - update to release 1.32 * Sun Oct 03 2010 Carsten Schoene <cs@linux-administrator.com> - 1.30-1 - update to release 1.30 * Sat Jul 24 2010 Carsten Schoene <cs@linux-administrator.com> - 1.28-1 - update to release 1.28 * Tue Apr 27 2010 Carsten Schoene <cs@linux-administrator.com> - 1.25-1 - update to release 1.25 - Numerous changes were made to xt_TEE from the review for inclusion into the Linux kernel. * Wed Mar 17 2010 Carsten Schoene <cs@linux-administrator.com> - 1.24-1 - update to release 1.24 - The ipp2p bittorrent command recognition was updated and minor build fixes have been applied. - changes in 1.23 - Support for Linux 2.6.33 and 2.6.34 has been added. - ipset was updated to 4.2. - Compile errors when IPv6 was turned off were fixed. * Mon Jan 25 2010 Carsten Schoene <cs@linux-administrator.com> - 1.22-1 - update to release 1.22 - Support for Linux 2.6.33 has been added. - xt_quota2 gained a "no-change" option. - ip_set_setlist is now built. - The location of the geoip data files has been changed to fit into the FHS. * Fri Nov 20 2009 Carsten Schoene <cs@linux-administrator.com> - 1.20-1 - update to release 1.20 - This release adds more boundary checks to xt_ipp2p, and endian issues have been corrected in xt_ACCUONT. - ipset was updated to version 4.1 * Tue Oct 13 2009 Carsten Schoene <cs@linux-administrator.com> - 1.19-1 - update to release 1.19 - This release adds a port knocking module and the missing userspace utilities for xt_ACCOUNT. * Wed Sep 09 2009 Carsten Schoene <cs@linux-administrator.com> - 1.18-1 - update to release 1.18 - ipt_ACCOUNT and xt_psd modules were merged - xt_quota2 now supports anonymous counters - Support has been extended to Linux kernel 2.6.31 - pset was upgraded to version 3.2 * Sun Jun 21 2009 Carsten Schoene <cs@linux-administrator.com> - 1.17-1 - initial build