Accepting request 502791 from home:msmeissn:branches:security:netfilter

- split link and compile steps for binaries, so LDFLAGS and CFLAGS
  are not mixed so the the PIE default build work.

  * bridge: vlan: add support to display per-vlan statistics
  * tipc: add the ability to get UDP bearer options
  * tc: flower: Introduce vlan support
  * ss: output TCP BBR diag information
  * iptnl: add support for collect_md flag in IPv4 and IPv6 tunnels
  * ss: Support displaying and filtering on socket marks.
  * tc: fq: display unthrottle latency
  * ip link: Add support to configure SR-IOV VF to vlan protocol
    802.1ad (VST QinQ)
  * ip rule: add selector support
  * bridge: add support for the multicast flood flag
  * ip: update link types to show 6lowpan and ieee802.15.4 monitor
  * ss: Add support for SCTP protocol
  * iproute2: macvlan: add "source" mode
- split link and compile steps for binaries, so LDFLAGS and CFLAGS
  are not mixed so the the PIE default build work.

OBS-URL: https://build.opensuse.org/request/show/502791
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=134
This commit is contained in:
Jan Engelhardt 2017-06-12 20:54:51 +00:00 committed by Git OBS Bridge
parent 0bf88c342e
commit f737f27079
5 changed files with 67 additions and 17 deletions

View File

@ -1,21 +1,27 @@
-------------------------------------------------------------------
Sat Jun 10 14:29:22 UTC 2017 - meissner@suse.com
- split link and compile steps for binaries, so LDFLAGS and CFLAGS
are not mixed so the the PIE default build work.
-------------------------------------------------------------------
Tue Dec 13 14:05:49 UTC 2016 - jengelh@inai.de
- Update to new upstream release 4.9
* bridge: vlan: add support to display per-vlan statistics
* tipc: add the ability to get UDP bearer options
* tc: flower: Introduce vlan support
* ss: output TCP BBR diag information
* iptnl: add support for collect_md flag in IPv4 and IPv6 tunnels
* ss: Support displaying and filtering on socket marks.
* tc: fq: display unthrottle latency
* ip link: Add support to configure SR-IOV VF to vlan protocol 802.1ad (VST QinQ)
* ip rule: add selector support
* bridge: add support for the multicast flood flag
* ip: update link types to show 6lowpan and ieee802.15.4 monitor
* ss: Add support for SCTP protocol
* iproute2: macvlan: add "source" mode
* bridge: vlan: add support to display per-vlan statistics
* tipc: add the ability to get UDP bearer options
* tc: flower: Introduce vlan support
* ss: output TCP BBR diag information
* iptnl: add support for collect_md flag in IPv4 and IPv6 tunnels
* ss: Support displaying and filtering on socket marks.
* tc: fq: display unthrottle latency
* ip link: Add support to configure SR-IOV VF to vlan protocol
802.1ad (VST QinQ)
* ip rule: add selector support
* bridge: add support for the multicast flood flag
* ip: update link types to show 6lowpan and ieee802.15.4 monitor
* ss: Add support for SCTP protocol
* iproute2: macvlan: add "source" mode
-------------------------------------------------------------------
Wed Nov 16 08:29:11 UTC 2016 - jslaby@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package iproute2-doc
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

37
iproute2-split-make.patch Normal file
View File

@ -0,0 +1,37 @@
Index: iproute2-4.9.0/misc/Makefile
===================================================================
--- iproute2-4.9.0.orig/misc/Makefile
+++ iproute2-4.9.0/misc/Makefile
@@ -17,23 +17,24 @@ endif
ifeq ($(IP_CONFIG_SETNS),y)
CFLAGS += -DHAVE_SETNS
endif
+CFLAGS += -I$(DBM_INCLUDE)
all: $(TARGETS)
ss: $(SSOBJ)
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
-nstat: nstat.c
- $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o nstat nstat.c $(LIBNETLINK) -lm
+nstat: nstat.o
+ $(QUIET_CC)$(CC) $(LDFLAGS) -o nstat nstat.o $(LIBNETLINK) -lm
-ifstat: ifstat.c
- $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o ifstat ifstat.c $(LIBNETLINK) -lm
+ifstat: ifstat.o
+ $(QUIET_CC)$(CC) $(LDFLAGS) -o ifstat ifstat.o $(LIBNETLINK) -lm
-rtacct: rtacct.c
- $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o rtacct rtacct.c $(LIBNETLINK) -lm
+rtacct: rtacct.o
+ $(QUIET_CC)$(CC) $(LDFLAGS) -o rtacct rtacct.o $(LIBNETLINK) -lm
-arpd: arpd.c
- $(QUIET_CC)$(CC) $(CFLAGS) -I$(DBM_INCLUDE) $(LDFLAGS) -o arpd arpd.c $(LIBNETLINK) -ldb -lpthread
+arpd: arpd.o
+ $(QUIET_CC)$(CC) $(LDFLAGS) -o arpd arpd.o $(LIBNETLINK) -ldb -lpthread
ssfilter.c: ssfilter.y
$(QUIET_YACC)bison ssfilter.y -o ssfilter.c

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 10 14:29:22 UTC 2017 - meissner@suse.com
- split link and compile steps for binaries, so LDFLAGS and CFLAGS
are not mixed so the the PIE default build work.
-------------------------------------------------------------------
Tue Dec 13 14:05:49 UTC 2016 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package iproute2
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -38,6 +38,7 @@ Patch3: revert-pdf-creation.diff
Patch4: revert-bison-fix.diff
Patch5: kernel_xfrm6_raw.patch
Patch6: man-fix-documentation-references-in-manual-pages.patch
Patch7: iproute2-split-make.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison
BuildRequires: db-devel
@ -89,7 +90,7 @@ bash command line completion support for iproute.
%if 0%{?sles_version} == 11
%patch -P 4 -p1
%endif
%patch -P 5 -P 6 -p1
%patch -P 5 -P 6 -P 7 -p1
find . -name *.orig -delete
%build