Name iproute2-doc
Description networking and traffic control tools - documentation
Version 6.1.0-1ubuntu6.2
Package Base iproute2
Homepage https://wiki.linuxfoundation.org/networking/iproute2
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Luca Boccassi <bluca@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/iproute2/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/iproute2-doc/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/iproute2/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/iproute2/plain/debian/patches/0001-ip-fix-UB-in-strncpy-e.g.-truncated-ip-route-output.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/iproute2/plain/debian/patches/1000-ubuntu-poc-fan-driver.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/iproute2/plain/debian/patches/1001-ubuntu-poc-fan-driver-v3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/iproute2/plain/debian/patches/1002-ubuntu-poc-fan-driver-vxlan.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/iproute2/plain/debian/patches/series?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['bison', 'debhelper-compat', 'flex', 'libxtables-dev', 'libatm1-dev', 'libbsd-dev', 'libbpf-dev', 'libcap-dev', 'libdb-dev', 'libelf-dev', 'libmnl-dev', 'libselinux1-dev', 'linux-libc-dev', 'pkg-config', 'po-debconf', 'zlib1g-dev']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 97b3c98b71d0a2e8870dbe0700ca7699b166e00ee2c20b6c1a940da41b5c93f0
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# for DEB_* variables
include /usr/share/dpkg/default.mk

ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
	export CC=$(DEB_HOST_GNU_TYPE)-gcc
	export HOSTCC=gcc
	export PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config
else
	# some tools are to be built with the host compiler and intentionally
	# ignore the *FLAGS, use them anyway in a non-cross build to make
	# dpkg-buildflags-missing happy
	export CBUILD_CFLAGS=$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
endif

ifneq (,$(findstring terse,$(DEB_BUILD_OPTIONS)))
export VERBOSE=0
else
export VERBOSE=1
endif

export KERNEL_INCLUDE=./include
export NETNS_RUN_DIR=/run/netns

%:
	dh $@

execute_after_dh_clean:
	make distclean

override_dh_shlibdeps:
	dh_shlibdeps -a -Xq_atm.so -Xm_xt.so -Xm_ipt.so
	dh_shlibdeps -a -- -pipmods -dRecommends -e debian/iproute2/usr/lib/$(DEB_HOST_MULTIARCH)/tc/m_xt.so -e debian/iproute2/usr/lib/$(DEB_HOST_MULTIARCH)/tc/q_atm.so -xlibc6

override_dh_auto_test:
	# upstream test suite needs root and leaves machine unclean, skip it

# We are not shipping the ifstat binary as it conflicts with another Debian
# package, so avoid shipping the manpage as well. See #873818
override_dh_install:
	dh_install -Xifstat.8