summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
downloadmeta-openembedded-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb')
-rw-r--r--meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
new file mode 100644
index 0000000000..236bd12c30
--- /dev/null
+++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
@@ -0,0 +1,44 @@
1SUMMARY = "A new modern implementation of traceroute(8) utility for Linux systems"
2DESCRIPTION = "The traceroute utility displays the route used by IP packets on \
3their way to a specified network (or Internet) host. Traceroute displays \
4the IP number and host name (if possible) of the machines along the \
5route taken by the packets. Traceroute is used as a network debugging \
6tool. If you're having network connectivity problems, traceroute will \
7show you where the trouble is coming from along the route."
8SECTION = "console/network"
9HOMEPAGE = "http://traceroute.sourceforge.net/"
10LICENSE = "GPL-2.0 LGPL-2.1"
11LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
12 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
13
14PR = "r1"
15
16inherit update-alternatives
17
18SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/traceroute-2.0.18/traceroute-2.0.18.tar.gz \
19 file://filter-out-the-patches-from-subdirs.patch \
20"
21
22SRC_URI[md5sum] = "b7254149b7f081cce07f4b9e065ba5ef"
23SRC_URI[sha256sum] = "5994a88520927fefe3c9754aaf1e02b4d0f3f8fb1f521a68fa86215c3fcab9ef"
24
25do_compile() {
26 export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp"
27 oe_runmake "env=yes"
28}
29
30do_install() {
31 install -d ${D}${bindir}
32 install -m755 ${BPN}/${BPN} ${D}${bindir}
33
34 install -m755 wrappers/tcptraceroute ${D}${bindir}
35
36 install -d ${D}${mandir}
37 install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir}
38 ln -s ${BPN}.8 ${D}${mandir}/${BPN}6.8
39 ln -s ${BPN}.8 ${D}${mandir}/tcptraceroute.8
40
41}
42
43ALTERNATIVE_${PN} = "traceroute"
44ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute"