From 32aaedb1a1bccb42a062591e86f1160f88c5a849 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 11 Jun 2011 13:40:43 +0000 Subject: [PATCH] - updated to 1.36 Changed files: kernelrelease.patch -> 1.10 xtables-addons.spec -> 1.112 --- kernelrelease.patch | 23 +++++++++-------------- xtables-addons.spec | 5 +++-- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/kernelrelease.patch b/kernelrelease.patch index ec496fa..28d2531 100644 --- a/kernelrelease.patch +++ b/kernelrelease.patch @@ -1,6 +1,6 @@ ---- xtables-addons-1.35/configure.ac.orig 2011-04-11 18:37:32.000000000 +0200 -+++ xtables-addons-1.35/configure.ac 2011-05-06 20:03:27.286191084 +0200 -@@ -40,44 +40,6 @@ +--- xtables-addons-1.36/configure.ac.orig 2011-06-03 16:45:29.000000000 +0200 ++++ xtables-addons-1.36/configure.ac 2011-06-11 14:23:36.451762729 +0200 +@@ -40,39 +40,6 @@ -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \ -Winline -pipe"; @@ -25,19 +25,14 @@ - echo "WARNING: Version detection did not succeed. Continue at own luck."; - else - echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir"; -- if test "$kmajor" -gt 2 -o "$kminor" -gt 6 -o "$kmicro" -gt 38; then +- if test "$kmajor" -gt 3 -o "$kmajor" -eq 3 -a "$kminor" -gt 1; then - echo "WARNING: You are trying a newer kernel. Results may vary. :-)"; -- elif test "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -ge 29; then -- :; # everything ok -- elif test \( "$kmajor" -lt 2 -o \ -- \( "$kmajor" -eq 2 -a "$kminor" -lt 6 \) -o \ -- \( "$kmajor" -eq 2 -a "$kminor" -eq 0 -a "$kmicro" -lt 17 \) -o \ -- \( "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -eq 18 -a \ -- "$kstable" -lt 5 \) \); then -- echo "ERROR: That kernel version is not supported at all. Please see INSTALL for minimum configuration."; -- exit 1; +- elif test "$kmajor" -eq 3; then +- :; +- elif test "$kmajor" -eq 2 -a "$kminor" -ge 29; then +- :; - else -- echo "WARNING: That kernel version has been recently deprecated for use with Xtables-addons). Compilation may fail."; +- echo "WARNING: That kernel version is not supported."; - fi; - fi; -fi; diff --git a/xtables-addons.spec b/xtables-addons.spec index 686f749..541a74c 100644 --- a/xtables-addons.spec +++ b/xtables-addons.spec @@ -19,12 +19,12 @@ Summary: Additional extensions for xtables packet filtering system Summary(pl.UTF-8): Dodatkowe rozszerzenia do systemu filtrowania pakietów xtables Name: xtables-addons -Version: 1.35 +Version: 1.36 Release: %{rel} License: GPL v2 Group: Networking/Admin Source0: http://downloads.sourceforge.net/xtables-addons/%{name}-%{version}.tar.xz -# Source0-md5: c2d8c972182945c5535c90e33992250c +# Source0-md5: 2b976f502f626ed2245d276d83efc451 Patch0: kernelrelease.patch URL: http://xtables-addons.sourceforge.net/ BuildRequires: autoconf >= 2.50 @@ -152,6 +152,7 @@ rm -rf $RPM_BUILD_ROOT %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* %endif -- 2.43.0