diff --git a/adjust-installation-directories-for-openSUSE-SLE.patch b/adjust-installation-directories-for-openSUSE-SLE.patch index 4529af8..f17deb5 100644 --- a/adjust-installation-directories-for-openSUSE-SLE.patch +++ b/adjust-installation-directories-for-openSUSE-SLE.patch @@ -61,6 +61,6 @@ Match the directory layout of openSUSE and SLE. - snprintf(name, sizeof(name), "%s/%s.dist", get_tc_lib(), type); + snprintf(name, sizeof(name), "%s/%s.dist", PKGDATADIR, type); - if ((f = fopen(name, "r")) == NULL) { + f = fopen(name, "r"); + if (f == NULL) { fprintf(stderr, "No distribution data for %s (%s: %s)\n", - type, name, strerror(errno)); diff --git a/iproute2-5.16.0.tar.sign b/iproute2-5.16.0.tar.sign deleted file mode 100644 index fc33694..0000000 Binary files a/iproute2-5.16.0.tar.sign and /dev/null differ diff --git a/iproute2-5.16.0.tar.xz b/iproute2-5.16.0.tar.xz deleted file mode 100644 index f5dbb86..0000000 --- a/iproute2-5.16.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c064b66f6b001c2a35aa5224b5b1ac8aa4bee104d7dce30d6f10a84cb8b01e2f -size 862504 diff --git a/iproute2-5.17.0.tar.sign b/iproute2-5.17.0.tar.sign new file mode 100644 index 0000000..1edb22c Binary files /dev/null and b/iproute2-5.17.0.tar.sign differ diff --git a/iproute2-5.17.0.tar.xz b/iproute2-5.17.0.tar.xz new file mode 100644 index 0000000..1c9a439 --- /dev/null +++ b/iproute2-5.17.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e384f1b42c75e1a9daac57866da37dcff909090ba86eb25a6e764da7893660e +size 870908 diff --git a/iproute2.changes b/iproute2.changes index 741c0fa..eed34fc 100644 --- a/iproute2.changes +++ b/iproute2.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Mar 26 13:58:23 UTC 2022 - Callum Farmer + +- update to 5.17: + * lib/fs: fix memory leak in get_task_name() + * bridge: Remove vlan listing from `bridge link` + * bond: add arp_missed_max option + * libnetlink: fix socket leak in rtnl_open_byproto() + * dcb: Fix error reporting when accessing "dcb app" + * tc_util: Fix parsing action control with space and slash + * lib: fix ax25.h include for musl + * uapi: add missing rose and ax25 files + * rdma: Fix res_print_uint() and add res_print_u64() + * tc: Add support for ce_threshold_value/mask in fq_codel +- Add tmpfiles.d conf for /run/netns + ------------------------------------------------------------------- Fri Mar 4 09:43:42 UTC 2022 - Callum Farmer diff --git a/iproute2.spec b/iproute2.spec index 232f5a2..e28a310 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -18,7 +18,7 @@ %define _buildshell /bin/bash Name: iproute2 -Version: 5.16 +Version: 5.17 Release: 0 Summary: Linux network configuration utilities License: GPL-2.0-only @@ -31,6 +31,7 @@ URL: https://wiki.linuxfoundation.org/networking/iproute2 #Git-Mirror: https://github.com/shemminger/iproute2 ## not updated Source: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.0.tar.xz Source2: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.0.tar.sign +Source3: %name.tmpfiles Source9: %name.keyring Patch1: adjust-installation-directories-for-openSUSE-SLE.patch Patch2: use-sysconf-_SC_CLK_TCK-if-HZ-undefined.patch @@ -119,6 +120,7 @@ install -pm0644 "lib/libnetlink.a" "$b/%_libdir/" chmod -x "$b/%_libdir/libnetlink.a" install -pm0644 "include/libnetlink.h" "$b/%_includedir/" chmod -x "$b/%_includedir/libnetlink.h" +install -Dm0644 "%SOURCE3" "$b/%_tmpfilesdir/%name.conf" %if 0%{?usrmerged} ln -sf "%_sbindir/ip" "$b/%_bindir/ip" %else @@ -133,12 +135,17 @@ mkdir -p "$b/%_docdir/%name" cp -an README* examples/bpf "$b/%_docdir/%name/" %fdupes %buildroot/%_prefix +%post +%tmpfiles_create %_tmpfilesdir/%name.conf + %files %_bindir/lnstat %_bindir/nstat %_bindir/routel %_bindir/ss %_sbindir/* +%_tmpfilesdir/%name.conf +%ghost %dir %_rundir/netns %exclude %_sbindir/arpd %if 0%{?usrmerged} %_bindir/ip diff --git a/iproute2.tmpfiles b/iproute2.tmpfiles new file mode 100644 index 0000000..9fe53a9 --- /dev/null +++ b/iproute2.tmpfiles @@ -0,0 +1,2 @@ +#Type Path Mode User Group Age Argument +d /run/netns 0755 root root - -