diff options
author | Vijay Anusuri <vanusuri@mvista.com> | 2023-11-21 09:34:05 +0530 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-12-17 15:36:42 -0500 |
commit | 57e58dc62fa5cc819bdfc2971898b8aa443fef29 (patch) | |
tree | 0e1fd6f7a33af8bc03ed7944d1f189e5fdcca12f /meta-networking/recipes-support/traceroute/traceroute_2.1.3.bb | |
parent | 91a1284a8ca86bb269087ecd6fcff1ff40534130 (diff) | |
download | meta-openembedded-57e58dc62fa5cc819bdfc2971898b8aa443fef29.tar.gz |
traceroute: upgrade 2.1.0 -> 2.1.3
This upgrade incorporates the CVE-2023-46316 fix and other bug fixes.
Changelog:
----------
- Interpret ipv4-mapped ipv6 addresses (::ffff:A.B.C.D) as true ipv4.
- Return back more robast poll(2) loop handling.
- Fix unprivileged ICMP tracerouting with Linux kernel >= 6.1 (Eric Dumazet, SF bug #14)
- Fix command line parsing in wrappers.
References:
https://security-tracker.debian.org/tracker/CVE-2023-46316
https://sourceforge.net/projects/traceroute/files/traceroute/traceroute-2.1.3/
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/traceroute/traceroute_2.1.3.bb')
-rw-r--r-- | meta-networking/recipes-support/traceroute/traceroute_2.1.3.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.1.3.bb b/meta-networking/recipes-support/traceroute/traceroute_2.1.3.bb new file mode 100644 index 000000000..c1ad203bc --- /dev/null +++ b/meta-networking/recipes-support/traceroute/traceroute_2.1.3.bb | |||
@@ -0,0 +1,46 @@ | |||
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+ & LGPL-2.1+" | ||
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 | file://filter-out-the-patches-from-subdirs.patch \ | ||
20 | " | ||
21 | |||
22 | SRC_URI[sha256sum] = "05ebc7aba28a9100f9bbae54ceecbf75c82ccf46bdfce8b5d64806459a7e0412" | ||
23 | |||
24 | EXTRA_OEMAKE = "VPATH=${STAGING_LIBDIR}" | ||
25 | |||
26 | do_compile() { | ||
27 | export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp" | ||
28 | oe_runmake "env=yes" | ||
29 | } | ||
30 | |||
31 | do_install() { | ||
32 | install -d ${D}${bindir} | ||
33 | install -m755 ${BPN}/${BPN} ${D}${bindir} | ||
34 | |||
35 | install -m755 wrappers/tcptraceroute ${D}${bindir} | ||
36 | |||
37 | install -d ${D}${mandir}/man8 | ||
38 | install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir}/man8 | ||
39 | ln -s ${BPN}.8 ${D}${mandir}/man8/${BPN}6.8 | ||
40 | ln -s ${BPN}.8 ${D}${mandir}/man8/tcptraceroute.8 | ||
41 | |||
42 | } | ||
43 | |||
44 | ALTERNATIVE_PRIORITY = "60" | ||
45 | ALTERNATIVE_${PN} = "traceroute" | ||
46 | ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute" | ||