Package: iproute2 Version: 4.9.0-1 Severity: wishlist Tags: patch Dear Maintainer,
iproute2 upstream provides an ifstat binary as alternative to the one we have in the ifstat package in the archive. The attached patches add a package, which provides this version of the ifstat command. Best regards, Julian Wollrath -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.12.10 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages iproute2 depends on: ii libc6 2.24-17 ii libdb5.3 5.3.28-13.1 ii libelf1 0.168-1 ii libmnl0 1.0.4-2 ii libselinux1 2.6-3+b2 Versions of packages iproute2 recommends: pn libatm1 <none> ii libxtables12 1.6.1-2 Versions of packages iproute2 suggests: pn iproute2-doc <none> -- no debconf information -- () ascii ribbon campaign - against html e-mail /\ - against proprietary attachments
From 65e222b4852f2b89ca3618748bd02a2f3fdd204d Mon Sep 17 00:00:00 2001 From: Julian Wollrath <jwollr...@web.de> Date: Thu, 31 Aug 2017 15:18:48 +0200 Subject: [PATCH 1/2] Only install manpages related to contents of the package --- debian/iproute2.install | 1 - debian/iproute2.manpages | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/debian/iproute2.install b/debian/iproute2.install index f7e67384..0b2c2675 100644 --- a/debian/iproute2.install +++ b/debian/iproute2.install @@ -15,4 +15,3 @@ sbin/tc sbin/tipc usr/lib/tc/ usr/share/bash-completion/ -usr/share/man/ diff --git a/debian/iproute2.manpages b/debian/iproute2.manpages index 22e2de19..32d7111f 100644 --- a/debian/iproute2.manpages +++ b/debian/iproute2.manpages @@ -1,2 +1,16 @@ +man/man3/libnetlink.3 +man/man7/*.7 +man/man8/arpd.8 +man/man8/bridge.8 +man/man8/ctstat.8 man/man8/devlink*.8 man/man8/genl.8 +man/man8/ifcfg.8 +man/man8/ip*.8 +man/man8/lnstat.8 +man/man8/nstat.8 +man/man8/routel.8 +man/man8/routef.8 +man/man8/rt*.8 +man/man8/tc*.8 +man/man8/tipc*.8 -- 2.14.1
From 1cdcfaf1c8e29806b26c620ae1e29bc351245458 Mon Sep 17 00:00:00 2001 From: Julian Wollrath <jwollr...@web.de> Date: Thu, 31 Aug 2017 15:21:05 +0200 Subject: [PATCH 2/2] Introduce iproute2-ifstat containing the ifstat binary --- debian/control | 18 ++++++++++++++++++ debian/iproute2-ifstat.install | 1 + debian/iproute2-ifstat.manpages | 1 + debian/rules | 4 ++++ 4 files changed, 24 insertions(+) create mode 100644 debian/iproute2-ifstat.install create mode 100644 debian/iproute2-ifstat.manpages diff --git a/debian/control b/debian/control index d89be8d1..15bceb06 100644 --- a/debian/control +++ b/debian/control @@ -57,6 +57,24 @@ Description: networking and traffic control tools - documentation . This package contains the documentation for iproute. +Package: iproute2-ifstat +Priority: optional +Architecture: any +Provides: ifstat +Conflicts: ifstat +Depends: iproute2, ${misc:Depends}, ${shlibs:Depends} +Suggests: iproute2-doc +Multi-Arch: foreign +Description: networking and traffic control tools + The iproute2 suite is a collection of utilities for networking and + traffic control. + . + These tools communicate with the Linux kernel via the (rt)netlink + interface, providing advanced features not available through the + legacy net-tools commands 'ifconfig' and 'route'. + . + This package contains the ifstat utility. + Package: iproute Depends: iproute2, ${misc:Depends} Architecture: all diff --git a/debian/iproute2-ifstat.install b/debian/iproute2-ifstat.install new file mode 100644 index 00000000..6fcf8e81 --- /dev/null +++ b/debian/iproute2-ifstat.install @@ -0,0 +1 @@ +sbin/ifstat /usr/bin/ diff --git a/debian/iproute2-ifstat.manpages b/debian/iproute2-ifstat.manpages new file mode 100644 index 00000000..be713780 --- /dev/null +++ b/debian/iproute2-ifstat.manpages @@ -0,0 +1 @@ +man/man8/ifstat.8 diff --git a/debian/rules b/debian/rules index e5d74670..ccb8163e 100755 --- a/debian/rules +++ b/debian/rules @@ -30,6 +30,10 @@ override_dh_auto_build: $(MAKE) -C doc all txt $(MAKE) KERNEL_INCLUDE=./include $(CROSS) +override_dh_installdocs: + dh_installdocs -Niproute2-ifstat + dh_installdocs -piproute2-ifstat --link-doc=iproute2 + # bump version of the transitional packages... override_dh_gencontrol: dh_gencontrol -piproute -- -v1:$(DEB_VERSION) -- 2.14.1
pgp67M9LNcVSG.pgp
Description: Digitale Signatur von OpenPGP