SHA256
1
0
forked from pool/iptables
Jan Engelhardt 2018-09-07 11:47:03 +00:00 committed by Git OBS Bridge
parent 93bd5c4922
commit f916ded102

View File

@ -24,8 +24,8 @@ License: GPL-2.0-only AND Artistic-2.0
Group: Productivity/Networking/Security
Url: http://netfilter.org/projects/iptables/
#Git-Clone: git://git.netfilter.org/iptables
#Source: http://netfilter.org/projects/iptables/files/%name-%version.tar.bz2
#Source2: http://netfilter.org/projects/iptables/files/%name-%version.tar.bz2.sig
#Source: http://netfilter.org/projects/iptables/files/%%name-%%version.tar.bz2
#Source2: http://netfilter.org/projects/iptables/files/%%name-%%version.tar.bz2.sig
Source: %name-%version.tar.xz
Source3: %name.keyring
Patch3: iptables-batch.patch
@ -182,7 +182,7 @@ update-alternatives \
--slave "%_sbindir/ip6tables-restore" ip6tables-restore "%_sbindir/xtables-legacy-multi" \
--slave "%_sbindir/ip6tables-save" ip6tables-save "%_sbindir/xtables-legacy-multi"
%preun
%postun
if test "$1" = 0; then
update-alternatives --remove iptables "%_sbindir/xtables-legacy-multi"
fi
@ -202,7 +202,7 @@ update-alternatives --install "%_sbindir/ebtables" ebtables "%_sbindir/xtables-n
--slave "%_sbindir/ebtables-restore" ebtables-restore "%_sbindir/xtables-nft-multi" \
--slave "%_sbindir/ebtables-save" ebtables-save "%_sbindir/xtables-nft-multi"
%preun backend-nft
%postun backend-nft
if test "$1" = 0; then
update-alternatives --remove iptables "%_sbindir/xtables-nft-multi"
update-alternatives --remove arptables "%_sbindir/xtables-nft-multi"
@ -238,12 +238,12 @@ fi
%ghost %_sysconfdir/alternatives/ip6tables
%ghost %_sysconfdir/alternatives/ip6tables-restore
%ghost %_sysconfdir/alternatives/ip6tables-save
%ghost %_sbindir/iptables
%ghost %_sbindir/iptables-restore
%ghost %_sbindir/iptables-save
%ghost %_sbindir/ip6tables
%ghost %_sbindir/ip6tables-restore
%ghost %_sbindir/ip6tables-save
%_sbindir/iptables
%_sbindir/iptables-restore
%_sbindir/iptables-save
%_sbindir/ip6tables
%_sbindir/ip6tables-restore
%_sbindir/ip6tables-save
%files backend-nft
%ghost %_sysconfdir/alternatives/iptables
@ -258,18 +258,18 @@ fi
%ghost %_sysconfdir/alternatives/ebtables
%ghost %_sysconfdir/alternatives/ebtables-restore
%ghost %_sysconfdir/alternatives/ebtables-save
%ghost %_sbindir/iptables
%ghost %_sbindir/iptables-restore
%ghost %_sbindir/iptables-save
%ghost %_sbindir/ip6tables
%ghost %_sbindir/ip6tables-restore
%ghost %_sbindir/ip6tables-save
%ghost %_sbindir/arptables
%ghost %_sbindir/arptables-restore
%ghost %_sbindir/arptables-save
%ghost %_sbindir/ebtables
%ghost %_sbindir/ebtables-restore
%ghost %_sbindir/ebtables-save
%_sbindir/iptables
%_sbindir/iptables-restore
%_sbindir/iptables-save
%_sbindir/ip6tables
%_sbindir/ip6tables-restore
%_sbindir/ip6tables-save
%_sbindir/arptables
%_sbindir/arptables-restore
%_sbindir/arptables-save
%_sbindir/ebtables
%_sbindir/ebtables-restore
%_sbindir/ebtables-save
%files -n xtables-plugins
%_libdir/xtables/