[packages/iptables] - updated install time libnftnl version - removed overwriting of already existing symlinks

qboosh qboosh at pld-linux.org
Wed Jul 11 21:23:04 CEST 2018


commit e026a28234d940e2ece2efd0a5629211f66feea9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jul 11 21:24:50 2018 +0200

    - updated install time libnftnl version
    - removed overwriting of already existing symlinks

 iptables.spec | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/iptables.spec b/iptables.spec
index 65d23ff..313ac41 100644
--- a/iptables.spec
+++ b/iptables.spec
@@ -108,7 +108,7 @@ Requires:	%{orgname}-libs = %{version}-%{release}
 %{?with_nftables:Requires:	libmnl >= 1.0}
 Requires:	libnetfilter_conntrack >= 1.0.6
 Requires:	libnfnetlink >= 1.0
-%{?with_nftables:Requires:	libnftnl >= 1.0.5}
+%{?with_nftables:Requires:	libnftnl >= 1.1.1}
 Provides:	arptables
 Provides:	firewall-userspace-tool
 %{?with_vserver:Provides:	iptables = %{version}-%{release}}
@@ -219,14 +219,23 @@ Obsoletes:	ebtables
 %{?with_vserver:Provides:	ebtables = %{version}-%{release}}
 
 %description ebtables
-ebtables is a tool for managing Linux 2.5.x (and above) Link Layer firewalling
-subsystem.
+ebtables is a tool for managing Linux 2.5.x (and above) Link Layer
+firewalling subsystem.
 
-This package contains a compatibility wrapper over xtables providing some
-functionality of the original ebtables tool.
+This package contains a compatibility wrapper over xtables providing
+some functionality of the original ebtables tool.
 
 Note: this is not really a fully-compatible drop-in replacement!
 
+%description ebtables -l pl.UTF-8
+ebtables to narzędzie do zarządzania podsystemem firewalla warstwy
+połączenia (Link Layer) Linuksa 2.5.x (i nowszych).
+
+Ten pakiet zawiera warstwę zgodności dla xtables zapewniającą część
+funkcjonalności oryginalnego narzędzia ebtables.
+
+Uwaga: nie jest to w pełni zgodny zamiennik!
+
 %prep
 %setup -q -n iptables-%{version} -a1
 %patch0 -p1
@@ -282,10 +291,6 @@ install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
 	MANDIR=%{_mandir} \
 	LIBDIR=%{_libdir}
 
-# not installed; provide so we can obsolete arptables and ebtables packages
-ln -sf xtables-compat-multi $RPM_BUILD_ROOT%{_sbindir}/arptables
-ln -sf xtables-compat-multi $RPM_BUILD_ROOT%{_sbindir}/ebtables
-
 # upstream solution with empty library with two DT_NEEDED entries doesn't work
 # with PLD's default LDFLAGS (--as-needed --no-copy-dt-needed-entries);
 # use ld script instead (see no-libiptc.patch for source)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/iptables.git/commitdiff/e026a28234d940e2ece2efd0a5629211f66feea9



More information about the pld-cvs-commit mailing list