Name iproute2
Description networking and traffic control tools
Version 6.15.0-1
Package Base
Homepage https://wiki.linuxfoundation.org/networking/iproute2
Maintainers ['Debian Kernel Team <debian-kernel@lists.debian.org>']
Contributors ['Luca Boccassi <bluca@debian.org>']
Distro-repo https://salsa.debian.org/kernel-team/iproute2
Sources ['https://sources.debian.org/data/main/i/iproute2/6.15.0-1/debian/watch', 'https://sources.debian.org/src/iproute2/6.15.0-1/debian/patches/0001-Add-moo-feature.patch', 'https://sources.debian.org/src/iproute2/6.15.0-1/debian/patches/series']
Dependencies ['debconf', 'libbpf1', 'libc6', 'libcap2', 'libcap2-bin', 'libdb5.3t64', 'libelf1t64', 'libmnl0', 'libselinux1', 'libtirpc3t64', 'libxtables12']
Optional-Dependencies ['python3']
Build-Dependencies ['bison', 'debhelper-compat', 'dh-package-notes', 'dh-sequence-movetousr', 'flex', 'libxtables-dev', 'libatm1-dev', 'libbsd-dev', 'libbpf-dev', 'libcap-dev', 'libdb-dev', 'libelf-dev', 'libmnl-dev', 'libnsl-dev', 'libselinux1-dev', 'linux-libc-dev', 'pkgconf', 'po-debconf', 'zlib1g-dev']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 7b2dcade4a83ded723fcab21c5a53c47f29352c9c5e1661a089a1e481b3fb48a
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# for DEB_* variables
include /usr/share/dpkg/default.mk
include /usr/share/debhelper/dh_package_notes/package-notes.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_auto_configure:
	dh_auto_configure -- --color=auto

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

override_dh_auto_install:
	dh_auto_install --destdir $(CURDIR)/debian/tmp/