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