diff options
Diffstat (limited to 'meta/recipes-extended/iputils/iputils_20231222.bb')
| -rw-r--r-- | meta/recipes-extended/iputils/iputils_20231222.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-extended/iputils/iputils_20231222.bb b/meta/recipes-extended/iputils/iputils_20231222.bb new file mode 100644 index 0000000000..e919febd12 --- /dev/null +++ b/meta/recipes-extended/iputils/iputils_20231222.bb | |||
| @@ -0,0 +1,48 @@ | |||
| 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 = "84cdf26908b4a03b917a5429a6339b7374fcc38b" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>20\d+)" | ||
| 19 | |||
| 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." | ||
| 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" | ||
