blob: 7d94271a645e28393d211f2dd251f9f92ac45db1 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "Network monitoring tools"
2DESCRIPTION = "Utilities for the IP protocol, including \
3tracepath, tracepath6, ping, ping6 and arping."
4HOMEPAGE = "https://github.com/iputils/iputils"
5SECTION = "console/network"
6
7LICENSE = "BSD-3-Clause & GPL-2.0-or-later"
8
9LIC_FILES_CHKSUM = "file://LICENSE;md5=627cc07ec86a45951d43e30658bbd819"
10
11DEPENDS = "gnutls"
12
13SRC_URI = "git://github.com/iputils/iputils;branch=master;protocol=https"
14SRCREV = "5ffabc4190cab975c7332645259e286a032e183b"
15
16S = "${WORKDIR}/git"
17
18UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>20\d+)"
19
Andrew Geissler8f840682023-07-21 09:09:43 -050020CVE_STATUS[CVE-2000-1213] = "fixed-version: Fixed in 2000-10-10, but the versioning of iputils breaks the version order."
21CVE_STATUS[CVE-2000-1214] = "fixed-version: Fixed in 2000-10-10, but the versioning of iputils breaks the version order."
Andrew Geissler517393d2023-01-13 08:55:19 -060022
23PACKAGECONFIG ??= "libcap"
24PACKAGECONFIG[libcap] = "-DUSE_CAP=true, -DUSE_CAP=false -DNO_SETCAP_OR_SUID=true, libcap libcap-native"
25PACKAGECONFIG[libidn] = "-DUSE_IDN=true, -DUSE_IDN=false, libidn2"
26PACKAGECONFIG[gettext] = "-DUSE_GETTEXT=true, -DUSE_GETTEXT=false, gettext"
27PACKAGECONFIG[docs] = "-DBUILD_HTML_MANS=true -DBUILD_MANS=true,-DBUILD_HTML_MANS=false -DBUILD_MANS=false, libxslt"
28
29inherit meson update-alternatives pkgconfig
30
31EXTRA_OEMESON += "--prefix=${root_prefix}/ -DSKIP_TESTS=true"
32
33ALTERNATIVE_PRIORITY = "100"
34
35ALTERNATIVE:${PN}-ping = "ping"
36ALTERNATIVE_LINK_NAME[ping] = "${base_bindir}/ping"
37
38SPLITPKGS = "${PN}-ping ${PN}-arping ${PN}-tracepath ${PN}-clockdiff"
39PACKAGES += "${SPLITPKGS}"
40
41ALLOW_EMPTY:${PN} = "1"
42RDEPENDS:${PN} += "${SPLITPKGS}"
43
44FILES:${PN} = ""
45FILES:${PN}-ping = "${base_bindir}/ping.${BPN}"
46FILES:${PN}-arping = "${base_bindir}/arping"
47FILES:${PN}-tracepath = "${base_bindir}/tracepath"
48FILES:${PN}-clockdiff = "${base_bindir}/clockdiff"