Upgrade to 5.7 (#1844204)

This commit is contained in:
Robert Scheck 2020-06-06 00:53:06 +02:00
parent 1b16a21db0
commit 940546ea4c
3 changed files with 5 additions and 31 deletions

View File

@ -1,27 +0,0 @@
From 59eacac2c78ba321cb6bfb0acb18678010817d6e Mon Sep 17 00:00:00 2001
From: Robert Scheck <robert@fedoraproject.org>
Date: Tue, 12 May 2020 20:33:12 +0200
Subject: [PATCH] Rewrite printf() due to -Werror=format-security
Avoid -Werror=format-security leading to: netlink/settings.c:378:2: error:
format not a string literal and no format arguments [-Werror=format-security]
---
netlink/settings.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/netlink/settings.c b/netlink/settings.c
index c8a911d..0212465 100644
--- a/netlink/settings.c
+++ b/netlink/settings.c
@@ -375,7 +375,7 @@ static int dump_link_modes(struct nl_context *nlctx,
after:
if (first && if_none)
printf("%s", if_none);
- printf(after);
+ printf("%s", after);
return 0;
err:
--
1.8.3.1

View File

@ -1,12 +1,11 @@
Name: ethtool
Epoch: 2
Version: 5.6
Version: 5.7
Release: 1%{?dist}
Summary: Settings tool for Ethernet NICs
License: GPLv2
URL: https://www.kernel.org/pub/software/network/%{name}/
Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
Patch0: ethtool-5.6-format-security.patch
BuildRequires: gcc
BuildRequires: libmnl-devel
Conflicts: filesystem < 3
@ -18,7 +17,6 @@ network devices, especially of Ethernet devices.
%prep
%setup -q
%patch0 -p1 -b .format-security
%build
%configure
@ -37,6 +35,9 @@ network devices, especially of Ethernet devices.
%{_mandir}/man8/%{name}.8*
%changelog
* Fri Jun 05 2020 Robert Scheck <robert@fedoraproject.org> - 2:5.7-1
- Upgrade to 5.7 (#1844204)
* Tue May 12 2020 Robert Scheck <robert@fedoraproject.org> - 2:5.6-1
- Upgrade to 5.6 (#1834893)

View File

@ -1 +1 @@
SHA512 (ethtool-5.6.tar.xz) = 9308f8e4a297d842a7a5a51419e408951e669da1f58cb1eed41f52be4cd2f32f811d1d19e9bee59d8297938a6d5a4abff2b9bbf789d0c49ed5074a78826d3199
SHA512 (ethtool-5.7.tar.xz) = 195e24c48201412e0eaad7d7ca4e530c3a8cf50f3518cfe49d299fd091cf9198007c5d23be95109c735ceb2ccad37ac9f2e9cde0fb36ea426ab17b1dd064d4a9