Upgrade to 5.6 (#1834893)
This commit is contained in:
parent
5023a35c30
commit
1b16a21db0
27
ethtool-5.6-format-security.patch
Normal file
27
ethtool-5.6-format-security.patch
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
||||
|
10
ethtool.spec
10
ethtool.spec
@ -1,12 +1,14 @@
|
||||
Name: ethtool
|
||||
Epoch: 2
|
||||
Version: 5.4
|
||||
Release: 2%{?dist}
|
||||
Version: 5.6
|
||||
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
|
||||
|
||||
%description
|
||||
@ -16,6 +18,7 @@ network devices, especially of Ethernet devices.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .format-security
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -34,6 +37,9 @@ network devices, especially of Ethernet devices.
|
||||
%{_mandir}/man8/%{name}.8*
|
||||
|
||||
%changelog
|
||||
* Tue May 12 2020 Robert Scheck <robert@fedoraproject.org> - 2:5.6-1
|
||||
- Upgrade to 5.6 (#1834893)
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (ethtool-5.4.tar.xz) = c7bfe7eae2ba207d710716274e9f5ae275c57d0bebc0a9acb95677125e64f1b42ef610032011fb59894aab46973988bad40fddbc5ccc238893e7da66f913255b
|
||||
SHA512 (ethtool-5.6.tar.xz) = 9308f8e4a297d842a7a5a51419e408951e669da1f58cb1eed41f52be4cd2f32f811d1d19e9bee59d8297938a6d5a4abff2b9bbf789d0c49ed5074a78826d3199
|
||||
|
Loading…
Reference in New Issue
Block a user