|
@@ -1,7 +1,7 @@
|
|
Summary: Packet filtering tool
|
|
Summary: Packet filtering tool
|
|
Summary(ja): パケットフィルタリングツール
|
|
Summary(ja): パケットフィルタリングツール
|
|
Name: iptables
|
|
Name: iptables
|
|
-Version: 1.4.21
|
|
|
|
|
|
+Version: 1.6.2
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
Group: System Environment/Base
|
|
Group: System Environment/Base
|
|
@@ -12,8 +12,13 @@ Source2: iptables-config
|
|
# Patch5: iptables-1.4.3.1-cloexec.patch
|
|
# Patch5: iptables-1.4.3.1-cloexec.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: perl
|
|
|
|
|
|
+BuildRequires: bison flex perl
|
|
BuildRequires: kernel-headers >= 2.4.0
|
|
BuildRequires: kernel-headers >= 2.4.0
|
|
|
|
+BuildRequires: libmnl-devel
|
|
|
|
+BuildRequires: libnetfilter_conntrack-devel
|
|
|
|
+BuildRequires: libnfnetlink-devel
|
|
|
|
+BuildRequires: libnftnl-devel
|
|
|
|
+BuildRequires: libpcap-devel
|
|
Conflicts : kernel < 2.4.20
|
|
Conflicts : kernel < 2.4.20
|
|
Requires(post): chkconfig
|
|
Requires(post): chkconfig
|
|
Requires(preun): chkconfig
|
|
Requires(preun): chkconfig
|
|
@@ -69,8 +74,11 @@ iptables-ipv6 は iptables で IPv6 をサポートするためのパッケー
|
|
|
|
|
|
%build
|
|
%build
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
|
-./configure --enable-devel \
|
|
|
|
|
|
+./configure \
|
|
|
|
+ --enable-devel \
|
|
|
|
+ --enable-bpf-compiler \
|
|
--enable-libipq \
|
|
--enable-libipq \
|
|
|
|
+ --prefix=/usr \
|
|
--bindir=/bin \
|
|
--bindir=/bin \
|
|
--sbindir=/sbin \
|
|
--sbindir=/sbin \
|
|
--sysconfdir=/etc \
|
|
--sysconfdir=/etc \
|
|
@@ -140,16 +148,26 @@ fi
|
|
%doc COPYING INSTALL INCOMPATIBILITIES
|
|
%doc COPYING INSTALL INCOMPATIBILITIES
|
|
%attr(0755,root,root) /etc/rc.d/init.d/iptables
|
|
%attr(0755,root,root) /etc/rc.d/init.d/iptables
|
|
%config(noreplace) %attr(0600,root,root) /etc/sysconfig/iptables-config
|
|
%config(noreplace) %attr(0600,root,root) /etc/sysconfig/iptables-config
|
|
|
|
+%config(noreplace) %attr(0600,root,root) /etc/ethertypes
|
|
|
|
+/sbin/arptables-compat
|
|
|
|
+/sbin/ebtables-compat
|
|
/sbin/iptables*
|
|
/sbin/iptables*
|
|
|
|
+/sbin/nfbpf_compile
|
|
|
|
+/sbin/nfnl_osf
|
|
|
|
+/sbin/xtables-compat-multi
|
|
/sbin/xtables-multi
|
|
/sbin/xtables-multi
|
|
%{_mandir}/man1/iptables-xml*
|
|
%{_mandir}/man1/iptables-xml*
|
|
%{_mandir}/man8/iptables*
|
|
%{_mandir}/man8/iptables*
|
|
|
|
+%{_mandir}/man8/nfnl_osf.8*
|
|
%dir /%{_lib}/xtables
|
|
%dir /%{_lib}/xtables
|
|
|
|
+/%{_lib}/xtables/libarpt*
|
|
|
|
+/%{_lib}/xtables/libebt*
|
|
/%{_lib}/xtables/libipt*
|
|
/%{_lib}/xtables/libipt*
|
|
/%{_lib}/xtables/libxt*
|
|
/%{_lib}/xtables/libxt*
|
|
%{_libdir}/libip*tc.so.*
|
|
%{_libdir}/libip*tc.so.*
|
|
%{_libdir}/libxtables.so.*
|
|
%{_libdir}/libxtables.so.*
|
|
%{_libdir}/libipq.so.*
|
|
%{_libdir}/libipq.so.*
|
|
|
|
+%{_datadir}/xtables/pf.os
|
|
|
|
|
|
%files ipv6
|
|
%files ipv6
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -178,6 +196,9 @@ fi
|
|
%{_libdir}/pkgconfig/xtables.pc
|
|
%{_libdir}/pkgconfig/xtables.pc
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.2-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Tue Dec 10 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.21
|
|
* Tue Dec 10 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.21
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|