diff options
Diffstat (limited to 'meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb')
-rw-r--r-- | meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb new file mode 100644 index 000000000..4b49c7686 --- /dev/null +++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb | |||
@@ -0,0 +1,42 @@ | |||
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 = "console/network" | ||
9 | HOMEPAGE = "http://traceroute.sourceforge.net/" | ||
10 | LICENSE = "GPL-2.0 LGPL-2.1" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
12 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | ||
13 | |||
14 | inherit update-alternatives | ||
15 | |||
16 | SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/${BP}/${BP}.tar.gz \ | ||
17 | file://filter-out-the-patches-from-subdirs.patch \ | ||
18 | " | ||
19 | |||
20 | SRC_URI[md5sum] = "559f104e155e0e14ee0c717776a745fa" | ||
21 | SRC_URI[sha256sum] = "2facba9525c95428d7bff3a313fc6ecfd8c529c678ae666c73015558a0edc271" | ||
22 | |||
23 | do_compile() { | ||
24 | export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp" | ||
25 | oe_runmake "env=yes" | ||
26 | } | ||
27 | |||
28 | do_install() { | ||
29 | install -d ${D}${bindir} | ||
30 | install -m755 ${BPN}/${BPN} ${D}${bindir} | ||
31 | |||
32 | install -m755 wrappers/tcptraceroute ${D}${bindir} | ||
33 | |||
34 | install -d ${D}${mandir} | ||
35 | install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir} | ||
36 | ln -s ${BPN}.8 ${D}${mandir}/${BPN}6.8 | ||
37 | ln -s ${BPN}.8 ${D}${mandir}/tcptraceroute.8 | ||
38 | |||
39 | } | ||
40 | |||
41 | ALTERNATIVE_${PN} = "traceroute" | ||
42 | ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute" | ||