new package: traceroute

This commit is contained in:
Tee KOBAYASHI 2021-12-11 20:19:33 +09:00 committed by Leonid Pliushch
parent 53add687eb
commit 161926b36d
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,13 @@
TERMUX_PKG_HOMEPAGE=http://traceroute.sourceforge.net/
TERMUX_PKG_DESCRIPTION="A new modern implementation of traceroute(8) utility for Linux systems"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.1.0
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/traceroute/traceroute/traceroute-${TERMUX_PKG_VERSION}/traceroute-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=3669d22a34d3f38ed50caba18cd525ba55c5c00d5465f2d20d7472e5d81603b6
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="prefix=$TERMUX_PREFIX -e"
termux_step_configure() {
:
}

View File

@ -0,0 +1,18 @@
--- a/traceroute/flowlabel.h
+++ b/traceroute/flowlabel.h
@@ -6,6 +6,7 @@
conflicts with "netinet/in.h" .
*/
+#ifndef __ANDROID__
struct in6_flowlabel_req
{
struct in6_addr flr_dst;
@@ -18,6 +19,7 @@
__u32 __flr_pad;
/* Options in format of IPV6_PKTOPTIONS */
};
+#endif
#define IPV6_FL_A_GET 0
#define IPV6_FL_A_PUT 1