iproute2: 5.14.0 -> 5.17.0

5.17.0 changelog: https://lore.kernel.org/netdev/20220323140712.5b593820@hermes.local/
5.16.0 changelog: https://lore.kernel.org/netdev/20220110153223.253e1954@hermes.local/
5.15.0 changelog: https://lore.kernel.org/netdev/20211101164705.6f4f2e41@hermes.local/

While at it added trivial udupdater.
This commit is contained in:
Sergei Trofimovich 2022-04-01 17:51:37 +01:00
parent 50941984a3
commit 9ac0f3c915

View File

@ -1,15 +1,16 @@
{ lib, stdenv, fetchurl, fetchpatch
, buildPackages, bison, flex, pkg-config
, db, iptables, libelf, libmnl
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "iproute2";
version = "5.14.0";
version = "5.17.0";
src = fetchurl {
url = "mirror://kernel/linux/utils/net/${pname}/${pname}-${version}.tar.xz";
sha256 = "1m4ifnxq7lxnm95l5354z8dk3xj6w9isxmbz53266drgln2sf3r1";
sha256 = "bjhPG0LHXhqdqsV4Zto33P+QkJC6huslpudk2niTZg4=";
};
patches = [
@ -48,6 +49,13 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
inherit pname version;
# No nicer place to find latest release.
url = "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git";
rev-prefix = "v";
};
meta = with lib; {
homepage = "https://wiki.linuxfoundation.org/networking/iproute2";
description = "A collection of utilities for controlling TCP/IP networking and traffic control in Linux";