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:
parent
2c561090c4
commit
e89f2382c1
@ -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", get_tc_lib(), type);
|
||||||
+ snprintf(name, sizeof(name), "%s/%s.dist", PKGDATADIR, 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",
|
fprintf(stderr, "No distribution data for %s (%s: %s)\n",
|
||||||
type, name, strerror(errno));
|
|
||||||
|
Binary file not shown.
@ -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
BIN
iproute2-5.17.0.tar.sign
Normal file
Binary file not shown.
3
iproute2-5.17.0.tar.xz
Normal file
3
iproute2-5.17.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6e384f1b42c75e1a9daac57866da37dcff909090ba86eb25a6e764da7893660e
|
||||||
|
size 870908
|
@ -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>
|
Fri Mar 4 09:43:42 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define _buildshell /bin/bash
|
%define _buildshell /bin/bash
|
||||||
Name: iproute2
|
Name: iproute2
|
||||||
Version: 5.16
|
Version: 5.17
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Linux network configuration utilities
|
Summary: Linux network configuration utilities
|
||||||
License: GPL-2.0-only
|
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
|
#Git-Mirror: https://github.com/shemminger/iproute2 ## not updated
|
||||||
Source: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.0.tar.xz
|
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
|
Source2: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.0.tar.sign
|
||||||
|
Source3: %name.tmpfiles
|
||||||
Source9: %name.keyring
|
Source9: %name.keyring
|
||||||
Patch1: adjust-installation-directories-for-openSUSE-SLE.patch
|
Patch1: adjust-installation-directories-for-openSUSE-SLE.patch
|
||||||
Patch2: use-sysconf-_SC_CLK_TCK-if-HZ-undefined.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"
|
chmod -x "$b/%_libdir/libnetlink.a"
|
||||||
install -pm0644 "include/libnetlink.h" "$b/%_includedir/"
|
install -pm0644 "include/libnetlink.h" "$b/%_includedir/"
|
||||||
chmod -x "$b/%_includedir/libnetlink.h"
|
chmod -x "$b/%_includedir/libnetlink.h"
|
||||||
|
install -Dm0644 "%SOURCE3" "$b/%_tmpfilesdir/%name.conf"
|
||||||
%if 0%{?usrmerged}
|
%if 0%{?usrmerged}
|
||||||
ln -sf "%_sbindir/ip" "$b/%_bindir/ip"
|
ln -sf "%_sbindir/ip" "$b/%_bindir/ip"
|
||||||
%else
|
%else
|
||||||
@ -133,12 +135,17 @@ mkdir -p "$b/%_docdir/%name"
|
|||||||
cp -an README* examples/bpf "$b/%_docdir/%name/"
|
cp -an README* examples/bpf "$b/%_docdir/%name/"
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
|
%post
|
||||||
|
%tmpfiles_create %_tmpfilesdir/%name.conf
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%_bindir/lnstat
|
%_bindir/lnstat
|
||||||
%_bindir/nstat
|
%_bindir/nstat
|
||||||
%_bindir/routel
|
%_bindir/routel
|
||||||
%_bindir/ss
|
%_bindir/ss
|
||||||
%_sbindir/*
|
%_sbindir/*
|
||||||
|
%_tmpfilesdir/%name.conf
|
||||||
|
%ghost %dir %_rundir/netns
|
||||||
%exclude %_sbindir/arpd
|
%exclude %_sbindir/arpd
|
||||||
%if 0%{?usrmerged}
|
%if 0%{?usrmerged}
|
||||||
%_bindir/ip
|
%_bindir/ip
|
||||||
|
2
iproute2.tmpfiles
Normal file
2
iproute2.tmpfiles
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#Type Path Mode User Group Age Argument
|
||||||
|
d /run/netns 0755 root root - -
|
Loading…
Reference in New Issue
Block a user