[tw] - applied second part of cleanup patch from (#131848): thanks to Steve
Grubb for the patch
This commit is contained in:
parent
02e432f320
commit
6408c4d7aa
12
iptables-1.2.11-cleanup.patch
Normal file
12
iptables-1.2.11-cleanup.patch
Normal file
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -4,7 +4,7 @@
|
|||||||
Name: iptables
|
Name: iptables
|
||||||
Summary: Tools for managing Linux kernel packet filtering capabilities.
|
Summary: Tools for managing Linux kernel packet filtering capabilities.
|
||||||
Version: 1.2.11
|
Version: 1.2.11
|
||||||
Release: 2
|
Release: 3
|
||||||
Source: http://www.netfilter.org/%{name}-%{version}.tar.bz2
|
Source: http://www.netfilter.org/%{name}-%{version}.tar.bz2
|
||||||
Source1: iptables.init
|
Source1: iptables.init
|
||||||
Source2: iptables-config
|
Source2: iptables-config
|
||||||
@ -16,6 +16,7 @@ Patch4: iptables-1.2.9-netlink.patch
|
|||||||
Patch5: iptables-1.2.9-selinux.patch
|
Patch5: iptables-1.2.9-selinux.patch
|
||||||
Patch6: iptables-1.2.10-counters.patch
|
Patch6: iptables-1.2.10-counters.patch
|
||||||
Patch7: iptables-1.2.11-free.patch
|
Patch7: iptables-1.2.11-free.patch
|
||||||
|
Patch8: iptables-1.2.11-cleanup.patch
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://www.netfilter.org/
|
URL: http://www.netfilter.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||||
@ -72,6 +73,7 @@ cd ..
|
|||||||
%patch5 -p1 -b .selinux
|
%patch5 -p1 -b .selinux
|
||||||
%patch6 -p1 -b .counters
|
%patch6 -p1 -b .counters
|
||||||
%patch7 -p1 -b .free
|
%patch7 -p1 -b .free
|
||||||
|
%patch8 -p1 -b .cleanup
|
||||||
|
|
||||||
# Put it to a reasonable place
|
# Put it to a reasonable place
|
||||||
find . -type f -exec perl -pi -e "s,/usr/local,%{prefix},g" {} \;
|
find . -type f -exec perl -pi -e "s,/usr/local,%{prefix},g" {} \;
|
||||||
@ -146,6 +148,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 16 2004 Thomas Woerner <twoerner@redhat.com> 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 <twoerner@redhat.com> 1.2.11-2
|
* Wed Aug 25 2004 Thomas Woerner <twoerner@redhat.com> 1.2.11-2
|
||||||
- fixed free bug in iptables (#128322)
|
- fixed free bug in iptables (#128322)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user