[tw]
- new version 1.3.4 - dropped free_opts patch (upstream fixed) - made libipq PIC (#158623) - additional configuration options for iptables startup script (#172929) Thanks to Jan Gruenwald for the patch - spec file cleanup (dropped linux_header define and usage)
This commit is contained in:
parent
9cc8b9cede
commit
e62f16132b
@ -2,3 +2,4 @@ iptables-1.2.11.tar.bz2
|
|||||||
iptables-1.3.0.tar.bz2
|
iptables-1.3.0.tar.bz2
|
||||||
iptables-1.3.1.tar.bz2
|
iptables-1.3.1.tar.bz2
|
||||||
iptables-1.3.2.tar.bz2
|
iptables-1.3.2.tar.bz2
|
||||||
|
iptables-1.3.4.tar.bz2
|
||||||
|
@ -1,3 +1,23 @@
|
|||||||
|
--- iptables-1.3.0/extensions/libipt_rpc.c.cleanup 2005-11-09 16:37:34.000000000 +0100
|
||||||
|
+++ iptables-1.3.0/extensions/libipt_rpc.c 2005-11-09 16:37:38.000000000 +0100
|
||||||
|
@@ -205,7 +205,7 @@
|
||||||
|
|
||||||
|
memset(buf, 0, sizeof(buf));
|
||||||
|
|
||||||
|
- for (src=string, dst=buf; term != 1 ; src++, dst++) {
|
||||||
|
+ for (src=string, dst=buf; term != 1 ; src++) {
|
||||||
|
|
||||||
|
if ( *src != ',' && *src != '\0' ) {
|
||||||
|
if ( ( *src >= 65 && *src <= 90 ) || ( *src >= 97 && *src <= 122) ) {
|
||||||
|
@@ -220,7 +220,7 @@
|
||||||
|
string, src - string + 1);
|
||||||
|
|
||||||
|
}
|
||||||
|
-
|
||||||
|
+ dst++;
|
||||||
|
} else {
|
||||||
|
*dst = '\0';
|
||||||
|
if ( idup == 1 ) {
|
||||||
--- iptables-1.3.0/extensions/libipt_rpc.c.cleanup 2005-03-18 16:25:34.174370567 +0100
|
--- iptables-1.3.0/extensions/libipt_rpc.c.cleanup 2005-03-18 16:25:34.174370567 +0100
|
||||||
+++ iptables-1.3.0/extensions/libipt_rpc.c 2005-03-18 16:25:32.000000000 +0100
|
+++ iptables-1.3.0/extensions/libipt_rpc.c 2005-03-18 16:25:32.000000000 +0100
|
||||||
@@ -252,7 +252,7 @@
|
@@ -252,7 +252,7 @@
|
||||||
|
@ -1,16 +1,12 @@
|
|||||||
%define build_devel 1
|
%define build_devel 1
|
||||||
%define linux_header 0
|
|
||||||
|
|
||||||
Name: iptables
|
Name: iptables
|
||||||
Summary: Tools for managing Linux kernel packet filtering capabilities.
|
Summary: Tools for managing Linux kernel packet filtering capabilities.
|
||||||
Version: 1.3.2
|
Version: 1.3.4
|
||||||
Release: 1
|
Release: 1
|
||||||
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
|
||||||
%if %{linux_header}
|
|
||||||
Source3: netfilter-2.4.20.tar.gz
|
|
||||||
%endif
|
|
||||||
Patch2: iptables-1.2.8-nolibnsl.patch
|
Patch2: iptables-1.2.8-nolibnsl.patch
|
||||||
Patch4: iptables-1.2.9-netlink.patch
|
Patch4: iptables-1.2.9-netlink.patch
|
||||||
Patch5: iptables-1.3.0-selinux.patch
|
Patch5: iptables-1.3.0-selinux.patch
|
||||||
@ -18,7 +14,7 @@ Patch6: iptables-1.2.10-counters.patch
|
|||||||
Patch8: iptables-1.3.0-cleanup.patch
|
Patch8: iptables-1.3.0-cleanup.patch
|
||||||
Patch9: iptables-1.3.0-autoload.patch
|
Patch9: iptables-1.3.0-autoload.patch
|
||||||
Patch10: iptables-1.3.0-no_root.patch
|
Patch10: iptables-1.3.0-no_root.patch
|
||||||
Patch11: iptables-1.3.2-free_opts.patch
|
Patch11: iptables-1.3.4-status.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
|
||||||
@ -65,11 +61,6 @@ you should install this package.
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
%if %{linux_header}
|
|
||||||
cd include
|
|
||||||
tar -zxf %{SOURCE3}
|
|
||||||
cd ..
|
|
||||||
%endif
|
|
||||||
%patch2 -p1 -b .nolibnsl
|
%patch2 -p1 -b .nolibnsl
|
||||||
%patch4 -p1 -b .netlink
|
%patch4 -p1 -b .netlink
|
||||||
%patch5 -p1 -b .selinux
|
%patch5 -p1 -b .selinux
|
||||||
@ -77,14 +68,14 @@ cd ..
|
|||||||
%patch8 -p1 -b .cleanup
|
%patch8 -p1 -b .cleanup
|
||||||
%patch9 -p1 -b .autoload
|
%patch9 -p1 -b .autoload
|
||||||
%patch10 -p1 -b .no_root
|
%patch10 -p1 -b .no_root
|
||||||
%patch11 -p1 -b .free_opts
|
%patch11 -p1 -b .status
|
||||||
|
|
||||||
# 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" {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
TOPDIR=`pwd`
|
TOPDIR=`pwd`
|
||||||
OPT="$RPM_OPT_FLAGS -I$TOPDIR/include"
|
OPT="$RPM_OPT_FLAGS -I$TOPDIR/include -fPIC"
|
||||||
make COPT_FLAGS="$OPT" KERNEL_DIR=/usr LIBDIR=/%{_lib}
|
make COPT_FLAGS="$OPT" KERNEL_DIR=/usr LIBDIR=/%{_lib}
|
||||||
make COPT_FLAGS="$OPT" KERNEL_DIR=/usr LIBDIR=/%{_lib} iptables-save iptables-restore
|
make COPT_FLAGS="$OPT" KERNEL_DIR=/usr LIBDIR=/%{_lib} iptables-save iptables-restore
|
||||||
make COPT_FLAGS="$OPT" KERNEL_DIR=/usr LIBDIR=/%{_lib} ip6tables-save ip6tables-restore
|
make COPT_FLAGS="$OPT" KERNEL_DIR=/usr LIBDIR=/%{_lib} ip6tables-save ip6tables-restore
|
||||||
@ -152,6 +143,14 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 18 2005 Thomas Woerner <twoerner@redhat.com> 1.3.4-1
|
||||||
|
- new version 1.3.4
|
||||||
|
- dropped free_opts patch (upstream fixed)
|
||||||
|
- made libipq PIC (#158623)
|
||||||
|
- additional configuration options for iptables startup script (#172929)
|
||||||
|
Thanks to Jan Gruenwald for the patch
|
||||||
|
- spec file cleanup (dropped linux_header define and usage)
|
||||||
|
|
||||||
* Mon Jul 18 2005 Thomas Woerner <twoerner@redhat.com> 1.3.2-1
|
* Mon Jul 18 2005 Thomas Woerner <twoerner@redhat.com> 1.3.2-1
|
||||||
- new version 1.3.2 with additional patch for the misplaced free_opts call
|
- new version 1.3.2 with additional patch for the misplaced free_opts call
|
||||||
from Marcus Sundberg
|
from Marcus Sundberg
|
||||||
|
Loading…
Reference in New Issue
Block a user