]> git.pld-linux.org Git - packages/xtables-addons.git/commitdiff
- up to 2.8 auto/th/xtables-addons-2.8-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 27 Sep 2015 16:40:06 +0000 (18:40 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 27 Sep 2015 16:40:06 +0000 (18:40 +0200)
linux-4.1.patch [deleted file]
xtables-addons.spec

diff --git a/linux-4.1.patch b/linux-4.1.patch
deleted file mode 100644 (file)
index 77cf1d2..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
---- a/extensions/xt_TARPIT.c   2014-09-29 03:33:13.000000000 -0500
-+++ b/extensions/xt_TARPIT.c   2015-06-29 11:38:26.582851153 -0500
-@@ -250,7 +250,11 @@
- #ifdef CONFIG_BRIDGE_NETFILTER
-       if (hook != NF_INET_FORWARD || (nskb->nf_bridge != NULL &&
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)
-           nskb->nf_bridge->mask & BRNF_BRIDGED))
-+#else
-+          nskb->nf_bridge->physoutdev))
-+#endif
- #else
-       if (hook != NF_INET_FORWARD)
- #endif
-@@ -279,7 +279,12 @@
-       nf_ct_attach(nskb, oldskb);
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)
-       NF_HOOK(NFPROTO_IPV4, NF_INET_LOCAL_OUT, nskb, NULL,
-               skb_dst(nskb)->dev, dst_output);
-+#else
-+      NF_HOOK(NFPROTO_IPV4, NF_INET_LOCAL_OUT, NULL, nskb, NULL,
-+              skb_dst(nskb)->dev, dst_output_sk);
-+#endif
-       return;
-@@ -394,7 +394,12 @@
-       nf_ct_attach(nskb, oldskb);
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)
-       NF_HOOK(NFPROTO_IPV6, NF_INET_LOCAL_OUT, nskb, NULL,
-               skb_dst(nskb)->dev, dst_output);
-+#else
-+      NF_HOOK(NFPROTO_IPV6, NF_INET_LOCAL_OUT, NULL, nskb, NULL,
-+              skb_dst(nskb)->dev, dst_output_sk);
-+#endif
-       return;
---- a/extensions/xt_DELUDE.c   2014-09-29 03:33:13.000000000 -0500
-+++ b/extensions/xt_DELUDE.c   2015-06-29 10:10:00.622867945 -0500
-@@ -107,7 +107,11 @@
-       addr_type = RTN_UNSPEC;
- #ifdef CONFIG_BRIDGE_NETFILTER
-       if (hook != NF_INET_FORWARD || (nskb->nf_bridge != NULL &&
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)
-           nskb->nf_bridge->mask & BRNF_BRIDGED))
-+#else
-+          nskb->nf_bridge->physoutdev))
-+#endif
- #else
-       if (hook != NF_INET_FORWARD)
- #endif
index e9061cac4250ce168ec746206c7eaa9117df0274..7ef038b4a66bb74eb4303af6fe1aa2f8a68fc546 100644 (file)
@@ -26,13 +26,12 @@ 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.6
+Version:       2.8
 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: 087835ba7e564481b6fd398692268340
-Patch0:                linux-4.1.patch
+# Source0-md5: 246ec2f1f75c32c6e04ae9ae75b578c9
 URL:           http://xtables-addons.sourceforge.net/
 BuildRequires: autoconf >= 2.65
 BuildRequires: automake >= 1:1.11
@@ -111,7 +110,6 @@ done\
 
 %prep
 %setup -q -n %{pname}-%{version}
-%patch0 -p1
 
 %build
 %configure \
This page took 0.056629 seconds and 4 git commands to generate.