Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
688476200a | |||
|
bae314c3da | ||
9617474643 | |||
|
418ff3820f |
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1746233205
|
||||||
|
commit: 79d271cfa81d82914652e93b9056b0eff9b8b3cd95e8cbaaa1721eeed76badbb
|
||||||
|
url: https://src.opensuse.org/jengelh/iptables
|
||||||
|
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:086e42b502e8c9cb0f95ceb91bce9df379f1f019aeac6e6b5e56b76d34d734fb
|
||||||
|
size 256
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package iptables
|
# spec file for package iptables
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -66,8 +66,8 @@ Requires(post): update-alternatives
|
|||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
%endif
|
||||||
%else
|
%else
|
||||||
Provides: %{name}-backend-nft = %version-%release
|
Provides: %name-backend-nft = %version-%release
|
||||||
Obsoletes: %{name}-backend-nft < %version-%release
|
Obsoletes: %name-backend-nft < %version-%release
|
||||||
Provides: ebtables
|
Provides: ebtables
|
||||||
%endif
|
%endif
|
||||||
# During the update to iptables 1.8, ip6tables-restore-translate, ip6tables-translate,
|
# During the update to iptables 1.8, ip6tables-restore-translate, ip6tables-translate,
|
||||||
@@ -80,14 +80,12 @@ Conflicts: iptables-nft = 1.6.2
|
|||||||
iptables is used to set up, maintain, and inspect the rule tables of
|
iptables is used to set up, maintain, and inspect the rule tables of
|
||||||
the various Netfilter packet filter engines inside the Linux kernel.
|
the various Netfilter packet filter engines inside the Linux kernel.
|
||||||
|
|
||||||
%if %{with legacy_backend}
|
|
||||||
%package backend-nft
|
%package backend-nft
|
||||||
Summary: Metapackage to make nft the default backend for iptables/arptables/ebtables
|
Summary: Metapackage to make nft the default backend for iptables/arptables/ebtables
|
||||||
Group: Productivity/Networking/Security
|
Group: Productivity/Networking/Security
|
||||||
Requires: iptables >= 1.8.0
|
Requires: iptables >= 1.8.0
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
Requires: alts
|
Requires: alts
|
||||||
BuildRequires: alts
|
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
@@ -100,7 +98,6 @@ Installation of this package adds higher priority alternatives (cf.
|
|||||||
update-alternatives) that makes the iptables, ip6tables, arptables
|
update-alternatives) that makes the iptables, ip6tables, arptables
|
||||||
and ebtables commands point to a program variant that uses the
|
and ebtables commands point to a program variant that uses the
|
||||||
nftables kernel interface.
|
nftables kernel interface.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package -n xtables-plugins
|
%package -n xtables-plugins
|
||||||
Summary: Match and target extension plugins for iptables
|
Summary: Match and target extension plugins for iptables
|
||||||
@@ -215,7 +212,7 @@ for i in iptables iptables-restore iptables-save ip6tables ip6tables-restore \
|
|||||||
ip6tables-save arptables arptables-restore arptables-save ebtables \
|
ip6tables-save arptables arptables-restore arptables-save ebtables \
|
||||||
ebtables-restore ebtables-save; do
|
ebtables-restore ebtables-save; do
|
||||||
%if %{with legacy_backend}
|
%if %{with legacy_backend}
|
||||||
%if ! %{with libalternatives}
|
%if !%{with libalternatives}
|
||||||
ln -fsv "%_sysconfdir/alternatives/$i" "$b/%_sbindir/$i"
|
ln -fsv "%_sysconfdir/alternatives/$i" "$b/%_sbindir/$i"
|
||||||
%else
|
%else
|
||||||
ln -fsv %_bindir/alts "$b/%_sbindir/$i"
|
ln -fsv %_bindir/alts "$b/%_sbindir/$i"
|
||||||
@@ -366,7 +363,7 @@ fi
|
|||||||
%_sbindir/ip6tables-legacy*
|
%_sbindir/ip6tables-legacy*
|
||||||
%_sbindir/xtables-legacy-multi
|
%_sbindir/xtables-legacy-multi
|
||||||
# backend-legacy (implicit)
|
# backend-legacy (implicit)
|
||||||
%if ! %{with libalternatives}
|
%if !%{with libalternatives}
|
||||||
%ghost %_sysconfdir/alternatives/iptables
|
%ghost %_sysconfdir/alternatives/iptables
|
||||||
%ghost %_sysconfdir/alternatives/iptables-restore
|
%ghost %_sysconfdir/alternatives/iptables-restore
|
||||||
%ghost %_sysconfdir/alternatives/iptables-save
|
%ghost %_sysconfdir/alternatives/iptables-save
|
||||||
@@ -405,7 +402,7 @@ fi
|
|||||||
|
|
||||||
%if %{with legacy_backend}
|
%if %{with legacy_backend}
|
||||||
%files backend-nft
|
%files backend-nft
|
||||||
%if ! %{with libalternatives}
|
%if !%{with libalternatives}
|
||||||
%ghost %_sysconfdir/alternatives/iptables
|
%ghost %_sysconfdir/alternatives/iptables
|
||||||
%ghost %_sysconfdir/alternatives/iptables-restore
|
%ghost %_sysconfdir/alternatives/iptables-restore
|
||||||
%ghost %_sysconfdir/alternatives/iptables-save
|
%ghost %_sysconfdir/alternatives/iptables-save
|
||||||
|
Reference in New Issue
Block a user