diff options
Diffstat (limited to 'meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb')
-rw-r--r-- | meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb new file mode 100644 index 000000000..0b5c9e467 --- /dev/null +++ b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb | |||
@@ -0,0 +1,58 @@ | |||
1 | DESCRIPTION = "This package includes some useful diagnostics tools for \ | ||
2 | IPv6 networks, including ndisc6, rdisc6, tcptraceroute6 and traceroute6." | ||
3 | SECTION = "net" | ||
4 | HOMEPAGE = "http://www.remlab.net/ndisc6/" | ||
5 | LICENSE = "GPL-2.0" | ||
6 | |||
7 | # The tcptraceroute6 and tracert6 commands depend on rltraceroute6 to | ||
8 | # perform the actual trace operation. | ||
9 | RDEPENDS_${PN}-tcptraceroute6 = "${PN}-rltraceroute6" | ||
10 | RDEPENDS_${PN}-tracert6 = "${PN}-rltraceroute6" | ||
11 | RDEPENDS_${PN}-misc += "perl" | ||
12 | |||
13 | SRC_URI = "http://www.remlab.net/files/ndisc6/ndisc6-${PV}.tar.bz2 \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "21afdaa3a5a5c1ce50eb7f2b7d795989" | ||
16 | SRC_URI[sha256sum] = "0f41d6caf5f2edc1a12924956ae8b1d372e3b426bd7b11eed7d38bc974eec821" | ||
17 | |||
18 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
19 | |||
20 | inherit autotools gettext | ||
21 | |||
22 | ALLOW_EMPTY_${PN} = "1" | ||
23 | |||
24 | # Split into seperate packages since we normal don't want them all | ||
25 | # The main package is left empty and therefore not created. | ||
26 | PACKAGES += "${PN}-ndisc6 ${PN}-tcpspray6 ${PN}-rdisc6 \ | ||
27 | ${PN}-tcptraceroute6 ${PN}-rltraceroute6 \ | ||
28 | ${PN}-tracert6 ${PN}-rdnssd ${PN}-misc" | ||
29 | FILES_${PN} = "" | ||
30 | FILES_${PN}-ndisc6 = "${bindir}/ndisc6" | ||
31 | FILES_${PN}-tcpspray6 = "${bindir}/tcpspray6" | ||
32 | FILES_${PN}-rdisc6 = "${bindir}/rdisc6" | ||
33 | FILES_${PN}-tcptraceroute6 = "${bindir}/tcptraceroute6" | ||
34 | FILES_${PN}-rltraceroute6 = "${bindir}/rltraceroute6" | ||
35 | FILES_${PN}-tracert6 = "${bindir}/tracert6" | ||
36 | FILES_${PN}-rdnssd = "${sbindir}/rdnssd ${sysconfdir}/rdnssd" | ||
37 | FILES_${PN}-misc = "${bindir}/dnssort ${bindir}/name2addr ${bindir}/tcpspray ${bindir}/addr2name" | ||
38 | |||
39 | DESCRIPTION_${PN}-ndisc6 = "ICMPv6 Neighbor Discovery tool. \ | ||
40 | Performs IPv6 neighbor discovery in userland. Replaces arping from the \ | ||
41 | IPv4 world." | ||
42 | DESCRIPTION_${PN}-rdisc6 = "ICMPv6 Router Discovery tool. \ | ||
43 | Queries IPv6 routers on the network for advertised prefixes. Can be used \ | ||
44 | to detect rogue IPv6 routers, monitor legitimate IPv6 routers." | ||
45 | DESCRITPION_${PN}-tcpspray6 = "Performs bandwidth measurements of TCP \ | ||
46 | sessions between the local system and a remote echo server in either IPv6 \ | ||
47 | or IPv4." | ||
48 | |||
49 | DESCRITPION_${PN}-rdnssd = "Daemon to autoconfigure the list of DNS \ | ||
50 | servers through slateless IPv6 autoconfiguration." | ||
51 | |||
52 | do_install_append () { | ||
53 | rm -rf ${D}${localstatedir} | ||
54 | # Enable SUID bit for applications that need it | ||
55 | chmod 4555 ${D}${bindir}/rltraceroute6 | ||
56 | chmod 4555 ${D}${bindir}/ndisc6 | ||
57 | chmod 4555 ${D}${bindir}/rdisc6 | ||
58 | } | ||