X-Git-Url: http://git.pld-linux.org/?p=packages%2Fxtables-addons.git;a=blobdiff_plain;f=xtables-addons.spec;h=d49da351d04b7b2465640c1608266996cef71c89;hp=28b01465945cd76cb7c69e92fa5c3ca5f50a09b0;hb=ccd923fbd7579ad06c857834745782558f8cd6b0;hpb=bf806477e81616f9f85d7eaa88efe9db0caf9dca diff --git a/xtables-addons.spec b/xtables-addons.spec index 28b0146..d49da35 100644 --- a/xtables-addons.spec +++ b/xtables-addons.spec @@ -1,6 +1,6 @@ # -# UPDATE WARNING: xtables-addons 2.0 support only kernels 3.7+ -# xtables-addons 3.0 (XTADDONS_3 branch) support only kernels 4.15+ +# UPDATE WARNING: xtables-addons 3.0 support only kernels 4.15+ +# xtables-addons 2.0 (XTADDONS_2 branch) support kernels 3.7 - 4.14 # # Conditional build: %bcond_without kernel # don't build kernel modules @@ -26,24 +26,23 @@ exit 1 Summary: Additional extensions for xtables packet filtering system Summary(pl.UTF-8): Dodatkowe rozszerzenia do systemu filtrowania pakietów xtables Name: %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel} -Version: 2.14 +Version: 3.18 Release: %{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}} License: GPL v2 Group: Networking/Admin -Source0: http://downloads.sourceforge.net/xtables-addons/%{pname}-%{version}.tar.xz -# Source0-md5: ebb073119a5f250dbfe6b855fcad56fd -Patch0: kernel-4.15.patch +Source0: https://inai.de/files/xtables-addons/%{pname}-%{version}.tar.xz +# Source0-md5: 755471b1dc6808f274f914fa11552698 URL: http://xtables-addons.sourceforge.net/ BuildRequires: autoconf >= 2.65 BuildRequires: automake >= 1:1.11 -BuildRequires: iptables-devel >= 1.4.5 -%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:3.7.0}} +BuildRequires: iptables-devel >= 1.6.0 +%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:4.18.0}} BuildRequires: libtool -BuildRequires: pkgconfig >= 0.9.0 -BuildRequires: rpmbuild(macros) >= 1.678 +BuildRequires: pkgconfig >= 1:0.9.0 +BuildRequires: rpmbuild(macros) >= 1.746 BuildRequires: tar >= 1.22 BuildRequires: xz -Requires: iptables >= 1.4.5 +Requires: iptables >= 1.6.0 Obsoletes: iptables-ipp2p BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n) @@ -111,7 +110,6 @@ done\ %prep %setup -q -n %{pname}-%{version} -%patch0 -p1 %build %configure \ @@ -163,9 +161,11 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc README doc/{README.psd,changelog.txt} %attr(755,root,root) %{_sbindir}/iptaccount +%attr(755,root,root) %{_sbindir}/pknlusr %attr(755,root,root) %{_libdir}/libxt_ACCOUNT_cl.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libxt_ACCOUNT_cl.so.0 %attr(755,root,root) %{_libdir}/xtables/libxt_*.so %{_mandir}/man8/iptaccount.8* %{_mandir}/man8/xtables-addons.8* +%{_mandir}/man8/pknlusr.8* %endif