PKGNAME=iproute2
PKGDES="IP routing utilities"
PKGSEC=admin
PKGESS=1
# NOTE: active checking without a way to disable dependencies.
# - iptables for xtables.h, used by tc(8).
# - elfutils for BPF support.
# - libbpf for BPF support.
# - libbsd for strlcpy().
# - libcap for execing commands with Virtual Routing and Forwarding (VRF).
# - SELinux is disabled by patch.
# - Berkeley DB for arpd(8) utility.
# - libtirpc for protocol detection on IPv6 sockets.
# - libmnl for interfacing with the Netlink layer.
PKGDEP="glibc db iptables libbsd elfutils libbpf libcap libtirpc libmnl"

# No SELinux and BPF support for Afterglow.
PKGDEP__RETRO="glibc db iptables libbsd libtirpc libmnl"

ABTYPE=self
NOSTATIC=0

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
