|
@@ -1,7 +1,7 @@
|
|
|
Summary: Packet filtering tool
|
|
|
Summary(ja): パケットフィルタリングツール
|
|
|
Name: iptables
|
|
|
-Version: 1.4.10
|
|
|
+Version: 1.4.16.2
|
|
|
Release: 1%{?_dist_release}
|
|
|
License: GPL
|
|
|
Group: System Environment/Base
|
|
@@ -9,7 +9,7 @@ URL: http://www.netfilter.org/
|
|
|
Source0: http://netfilter.samba.org/%{name}-%{version}.tar.bz2
|
|
|
Source1: iptables.init
|
|
|
Source2: iptables-config
|
|
|
-Patch5: iptables-1.4.3.1-cloexec.patch
|
|
|
+# Patch5: iptables-1.4.3.1-cloexec.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: perl
|
|
@@ -58,24 +58,36 @@ protocol) support for iptables. Iptables controls the Linux kernel
|
|
|
network packet filtering code, allowing you to set up firewalls and IP
|
|
|
masquerading.
|
|
|
|
|
|
-%description -l ja
|
|
|
+%description ipv6 -l ja
|
|
|
iptables-ipv6 は iptables で IPv6 をサポートするためのパッケージです。
|
|
|
これを用いることで、IPv6 環境におけるファイアウオールや IP マスカレー
|
|
|
ディング, NAT などを設定することができます。
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch5 -p1 -b .cloexec
|
|
|
+# %patch5 -p1 -b .cloexec
|
|
|
|
|
|
%build
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
|
|
-./configure --enable-devel --enable-libipq --bindir=/bin --sbindir=/sbin --sysconfdir=/etc --libdir=/%{_libdir} --libexecdir=/%{_lib} --mandir=%{_mandir} --includedir=%{_includedir} --with-kernel=/usr --with-kbuild=/usr --with-ksource=/usr
|
|
|
+./configure --enable-devel \
|
|
|
+ --enable-libipq \
|
|
|
+ --bindir=/bin \
|
|
|
+ --sbindir=/sbin \
|
|
|
+ --sysconfdir=/etc \
|
|
|
+ --libdir=%{_libdir} \
|
|
|
+ --libexecdir=/%{_lib} \
|
|
|
+ --with-xtlibdir=/%{_lib}/xtables \
|
|
|
+ --mandir=%{_mandir} \
|
|
|
+ --includedir=%{_includedir} \
|
|
|
+ --with-kernel=/usr \
|
|
|
+ --with-kbuild=/usr \
|
|
|
+ --with-ksource=/usr
|
|
|
|
|
|
# do not use rpath
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
-make
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
@@ -129,6 +141,8 @@ fi
|
|
|
%attr(0755,root,root) /etc/rc.d/init.d/iptables
|
|
|
%config(noreplace) %attr(0600,root,root) /etc/sysconfig/iptables-config
|
|
|
/sbin/iptables*
|
|
|
+/sbin/xtables-multi
|
|
|
+%{_mandir}/man1/iptables-xml*
|
|
|
%{_mandir}/man8/iptables*
|
|
|
%dir /%{_lib}/xtables
|
|
|
/%{_lib}/xtables/libipt*
|
|
@@ -158,9 +172,18 @@ fi
|
|
|
%{_libdir}/libip*tc.so
|
|
|
%{_libdir}/libxtables.so
|
|
|
%{_libdir}/pkgconfig/libiptc.pc
|
|
|
+%{_libdir}/pkgconfig/libip4tc.pc
|
|
|
+%{_libdir}/pkgconfig/libip6tc.pc
|
|
|
+%{_libdir}/pkgconfig/libipq.pc
|
|
|
%{_libdir}/pkgconfig/xtables.pc
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Oct 18 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.16.2
|
|
|
+- new upstream release 1.4.16.2
|
|
|
+- fix ipv6 subpackage ja discription
|
|
|
+- drop old patch
|
|
|
+- add with-xtlibdir in configure section
|
|
|
+
|
|
|
* Fri Apr 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.10-1
|
|
|
- update to 1.4.10
|
|
|
|