From 6408c4d7aae158b0ffef55429f32c7a1ce37f71f Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Sep 16 2004 16:12:07 +0000 Subject: [tw] - applied second part of cleanup patch from (#131848): thanks to Steve Grubb for the patch --- diff --git a/iptables-1.2.11-cleanup.patch b/iptables-1.2.11-cleanup.patch new file mode 100644 index 0000000..e4a9b3d --- /dev/null +++ b/iptables-1.2.11-cleanup.patch @@ -0,0 +1,12 @@ +diff -ur iptables-1.2.11.orig/extensions/libipt_rpc.c iptables-1.2.11/extensions/libipt_rpc.c +--- iptables-1.2.11.orig/extensions/libipt_rpc.c 2004-09-05 11:27:50.000000000 -0400 ++++ iptables-1.2.11/extensions/libipt_rpc.c 2004-09-05 11:41:11.000000000 -0400 +@@ -252,7 +252,7 @@ + + idup = 0; + memset(buf, 0, sizeof(buf)); +- dst = (char *)buf - 1; ++ dst = (char *)buf; + } + } + diff --git a/iptables.spec b/iptables.spec index 82313a1..a57593c 100644 --- a/iptables.spec +++ b/iptables.spec @@ -4,7 +4,7 @@ Name: iptables Summary: Tools for managing Linux kernel packet filtering capabilities. Version: 1.2.11 -Release: 2 +Release: 3 Source: http://www.netfilter.org/%{name}-%{version}.tar.bz2 Source1: iptables.init Source2: iptables-config @@ -16,6 +16,7 @@ Patch4: iptables-1.2.9-netlink.patch Patch5: iptables-1.2.9-selinux.patch Patch6: iptables-1.2.10-counters.patch Patch7: iptables-1.2.11-free.patch +Patch8: iptables-1.2.11-cleanup.patch Group: System Environment/Base URL: http://www.netfilter.org/ BuildRoot: %{_tmppath}/%{name}-buildroot @@ -72,6 +73,7 @@ cd .. %patch5 -p1 -b .selinux %patch6 -p1 -b .counters %patch7 -p1 -b .free +%patch8 -p1 -b .cleanup # Put it to a reasonable place find . -type f -exec perl -pi -e "s,/usr/local,%{prefix},g" {} \; @@ -146,6 +148,10 @@ fi %endif %changelog +* Thu Sep 16 2004 Thomas Woerner 1.2.11-3 +- applied second part of cleanup patch from (#131848): thanks to Steve Grubb + for the patch + * Wed Aug 25 2004 Thomas Woerner 1.2.11-2 - fixed free bug in iptables (#128322)