mirror of
https://git.yoctoproject.org/poky
synced 2026-02-24 02:19:39 +01:00
Changelog: - Allow to disable reverse DNS resolution (PTR lookup) with with environment variable IPUTILS_PING_PTR_LOOKUP=0 - Lower max allowed -s value to 65507 (IPv4) or 65527 (IPv6). That is the maximum the Linux kernel supports. - Include pre-generated man pages & HTML docs in dist tarballs. This allows to avoid libxslt, docbook, ... as a build dependencies. - require meson >= 0.44 - ping has new option -3 (From OE-Core rev: 6e950f5edd36a2ef1b1a7c46c1bb860ddce7a70f) Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
60 lines
2.1 KiB
BlitzBasic
60 lines
2.1 KiB
BlitzBasic
SUMMARY = "Network monitoring tools"
|
|
DESCRIPTION = "Utilities for the IP protocol, including \
|
|
tracepath, tracepath6, ping, ping6 and arping."
|
|
HOMEPAGE = "https://github.com/iputils/iputils"
|
|
SECTION = "console/network"
|
|
|
|
LICENSE = "BSD-3-Clause & GPL-2.0-or-later"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=627cc07ec86a45951d43e30658bbd819"
|
|
|
|
DEPENDS = "gnutls"
|
|
|
|
SRC_URI = "git://github.com/iputils/iputils;branch=master;protocol=https"
|
|
SRCREV = "10b50784aae3fb75c96cdf9b1668916b49557dd5"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>20\d+)"
|
|
|
|
CVE_STATUS[CVE-2000-1213] = "fixed-version: Fixed in 2000-10-10, but the versioning of iputils breaks the version order."
|
|
CVE_STATUS[CVE-2000-1214] = "fixed-version: Fixed in 2000-10-10, but the versioning of iputils breaks the version order."
|
|
|
|
PACKAGECONFIG ??= "libcap"
|
|
PACKAGECONFIG[libcap] = "-DUSE_CAP=true, -DUSE_CAP=false -DNO_SETCAP_OR_SUID=true, libcap libcap-native"
|
|
PACKAGECONFIG[libidn] = "-DUSE_IDN=true, -DUSE_IDN=false, libidn2"
|
|
PACKAGECONFIG[gettext] = "-DUSE_GETTEXT=true, -DUSE_GETTEXT=false, gettext"
|
|
PACKAGECONFIG[docs] = "-DBUILD_HTML_MANS=true -DBUILD_MANS=true,-DBUILD_HTML_MANS=false -DBUILD_MANS=false, libxslt"
|
|
|
|
inherit meson update-alternatives pkgconfig
|
|
|
|
EXTRA_OEMESON += "--prefix=${root_prefix}/ -DSKIP_TESTS=true"
|
|
|
|
ALTERNATIVE_PRIORITY = "100"
|
|
|
|
ALTERNATIVE:${PN}-ping = "ping"
|
|
ALTERNATIVE_LINK_NAME[ping] = "${base_bindir}/ping"
|
|
|
|
ALTERNATIVE:${PN}-ping6 = "ping6"
|
|
ALTERNATIVE_LINK_NAME[ping6] = "${base_bindir}/ping6"
|
|
|
|
SPLITPKGS = "${PN}-ping ${PN}-arping ${PN}-tracepath ${PN}-clockdiff \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '${PN}-ping6', '', d)}"
|
|
PACKAGES += "${SPLITPKGS}"
|
|
|
|
ALLOW_EMPTY:${PN} = "1"
|
|
RDEPENDS:${PN} += "${SPLITPKGS}"
|
|
|
|
FILES:${PN} = ""
|
|
FILES:${PN}-ping = "${base_bindir}/ping.${BPN}"
|
|
FILES:${PN}-ping6 = "${base_bindir}/ping6.${BPN}"
|
|
FILES:${PN}-arping = "${base_bindir}/arping"
|
|
FILES:${PN}-tracepath = "${base_bindir}/tracepath"
|
|
FILES:${PN}-clockdiff = "${base_bindir}/clockdiff"
|
|
|
|
do_install:append() {
|
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'true', 'false', d)}; then
|
|
ln -sf ping ${D}/${base_bindir}/ping6
|
|
fi
|
|
}
|