Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame] | 1 | SUMMARY = "Network monitoring tools" |
| 2 | DESCRIPTION = "Utilities for the IP protocol, including traceroute6, \ |
| 3 | tracepath, tracepath6, ping, ping6 and arping." |
| 4 | HOMEPAGE = "https://github.com/iputils/iputils" |
| 5 | SECTION = "console/network" |
| 6 | |
| 7 | LICENSE = "BSD & GPLv2+" |
| 8 | |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=55aa8c9fcad0691cef0ecd420361e390" |
| 10 | |
| 11 | DEPENDS = "gnutls" |
| 12 | |
| 13 | SRC_URI = "git://github.com/iputils/iputils" |
| 14 | SRCREV = "13e00847176aa23683d68fce1d17ffb523510946" |
| 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>s\d+)" |
| 19 | |
Brad Bishop | 1d80a2e | 2019-11-15 16:35:03 -0500 | [diff] [blame] | 20 | # Fixed in 2000-10-10, but the versioning of iputils |
| 21 | # breaks the version order. |
| 22 | CVE_CHECK_WHITELIST += "CVE-2000-1213 CVE-2000-1214" |
| 23 | |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame] | 24 | PACKAGECONFIG ??= "libcap libgcrypt rarpd traceroute6" |
| 25 | PACKAGECONFIG[libcap] = "-DUSE_CAP=true, -DUSE_CAP=false, libcap" |
| 26 | PACKAGECONFIG[libgcrypt] = "-DUSE_CRYPTO=gcrypt, -DUSE_CRYPTO=none, libgcrypt" |
| 27 | PACKAGECONFIG[libidn] = "-DUSE_IDN=true, -DUSE_IDN=false, libidn2" |
| 28 | PACKAGECONFIG[gettext] = "-DUSE_GETTEXT=true, -DUSE_GETTEXT=false, gettext" |
| 29 | PACKAGECONFIG[rarpd] = "-DBUILD_RARPD=true,-DBUILD_RARPD=false," |
| 30 | PACKAGECONFIG[traceroute6] = "-DBUILD_TRACEROUTE6=true,-DBUILD_TRACEROUTE6=false," |
| 31 | PACKAGECONFIG[docs] = "-DBUILD_HTML_MANS=true -DBUILD_MANS=true,-DBUILD_HTML_MANS=false -DBUILD_MANS=false, libxslt" |
| 32 | |
| 33 | inherit meson update-alternatives |
| 34 | |
| 35 | EXTRA_OEMESON += "--prefix=${root_prefix}/" |
| 36 | |
| 37 | ALTERNATIVE_PRIORITY = "100" |
| 38 | |
| 39 | ALTERNATIVE_${PN}-ping = "ping" |
| 40 | ALTERNATIVE_LINK_NAME[ping] = "${base_bindir}/ping" |
| 41 | |
| 42 | SPLITPKGS = "${PN}-ping ${PN}-arping ${PN}-tracepath ${PN}-traceroute6 ${PN}-clockdiff ${PN}-tftpd ${PN}-rarpd ${PN}-rdisc ${PN}-ninfod" |
| 43 | PACKAGES += "${SPLITPKGS}" |
| 44 | |
| 45 | ALLOW_EMPTY_${PN} = "1" |
| 46 | ALLOW_EMPTY_${PN}-rarpd = "1" |
| 47 | ALLOW_EMPTY_${PN}-traceroute6 = "1" |
| 48 | RDEPENDS_${PN} += "${SPLITPKGS}" |
| 49 | |
| 50 | FILES_${PN} = "" |
| 51 | FILES_${PN}-ping = "${base_bindir}/ping.${BPN}" |
| 52 | FILES_${PN}-arping = "${base_bindir}/arping" |
| 53 | FILES_${PN}-tracepath = "${base_bindir}/tracepath" |
| 54 | FILES_${PN}-traceroute6 = "${base_bindir}/traceroute6" |
| 55 | FILES_${PN}-clockdiff = "${base_bindir}/clockdiff" |
| 56 | FILES_${PN}-tftpd = "${base_bindir}/tftpd" |
| 57 | FILES_${PN}-rarpd = "${base_sbindir}/rarpd" |
| 58 | FILES_${PN}-rdisc = "${base_sbindir}/rdisc" |
| 59 | FILES_${PN}-ninfod = "${base_sbindir}/ninfod ${sysconfdir}/init.d/ninfod.sh" |