diff options
Diffstat (limited to 'meta-networking/recipes-support/traceroute/traceroute_2.1.6.bb')
| -rw-r--r-- | meta-networking/recipes-support/traceroute/traceroute_2.1.6.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.1.6.bb b/meta-networking/recipes-support/traceroute/traceroute_2.1.6.bb new file mode 100644 index 0000000000..b72c375400 --- /dev/null +++ b/meta-networking/recipes-support/traceroute/traceroute_2.1.6.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | SUMMARY = "A new modern implementation of traceroute(8) utility for Linux systems" | ||
| 2 | DESCRIPTION = "The traceroute utility displays the route used by IP packets on \ | ||
| 3 | their way to a specified network (or Internet) host. Traceroute displays \ | ||
| 4 | the IP number and host name (if possible) of the machines along the \ | ||
| 5 | route taken by the packets. Traceroute is used as a network debugging \ | ||
| 6 | tool. If you're having network connectivity problems, traceroute will \ | ||
| 7 | show you where the trouble is coming from along the route." | ||
| 8 | SECTION = "net" | ||
| 9 | HOMEPAGE = "http://traceroute.sourceforge.net/" | ||
| 10 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" | ||
| 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 12 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | ||
| 13 | |||
| 14 | inherit update-alternatives | ||
| 15 | |||
| 16 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/traceroute/files/traceroute/" | ||
| 17 | |||
| 18 | SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/${BP}/${BP}.tar.gz \ | ||
| 19 | " | ||
| 20 | SRC_URI[sha256sum] = "9ccef9cdb9d7a98ff7fbf93f79ebd0e48881664b525c4b232a0fcec7dcb9db5e" | ||
| 21 | |||
| 22 | EXTRA_OEMAKE = "VPATH=${STAGING_LIBDIR}" | ||
| 23 | LTOEXTRA += "-flto-partition=none" | ||
| 24 | |||
| 25 | do_compile() { | ||
| 26 | oe_runmake "env=yes" | ||
| 27 | } | ||
| 28 | |||
| 29 | do_install() { | ||
| 30 | install -d ${D}${bindir} | ||
| 31 | install -m755 ${BPN}/${BPN} ${D}${bindir} | ||
| 32 | |||
| 33 | install -m755 wrappers/tcptraceroute ${D}${bindir} | ||
| 34 | |||
| 35 | install -d ${D}${mandir}/man8 | ||
| 36 | install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir}/man8 | ||
| 37 | ln -s ${BPN}.8 ${D}${mandir}/man8/${BPN}6.8 | ||
| 38 | ln -s ${BPN}.8 ${D}${mandir}/man8/tcptraceroute.8 | ||
| 39 | |||
| 40 | } | ||
| 41 | |||
| 42 | ALTERNATIVE_PRIORITY = "100" | ||
| 43 | ALTERNATIVE:${PN} = "traceroute" | ||
| 44 | ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute" | ||
