SHA256
1
0
forked from pool/iproute2

Accepting request 965034 from home:gmbr3:Active

- 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

OBS-URL: https://build.opensuse.org/request/show/965034
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=222
This commit is contained in:
Jan Engelhardt 2022-03-26 14:50:12 +00:00 committed by Git OBS Bridge
parent 2c561090c4
commit e89f2382c1
8 changed files with 31 additions and 6 deletions

View File

@ -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));

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c064b66f6b001c2a35aa5224b5b1ac8aa4bee104d7dce30d6f10a84cb8b01e2f
size 862504

BIN
iproute2-5.17.0.tar.sign Normal file

Binary file not shown.

3
iproute2-5.17.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e384f1b42c75e1a9daac57866da37dcff909090ba86eb25a6e764da7893660e
size 870908

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Mar 26 13:58:23 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- 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 <gmbr3@opensuse.org>

View File

@ -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

2
iproute2.tmpfiles Normal file
View File

@ -0,0 +1,2 @@
#Type Path Mode User Group Age Argument
d /run/netns 0755 root root - -