[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/net-tools/net-tools.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] Copyright (C) 1998 - 2003 ROCK Linux Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] Configuration tools for Linux networking [T] This package includes the important tools for controlling the network [T] subsystem of the Linux kernel. This includes arp, hostname, ifconfig, [T] netstat, rarp and route. Additionally, this package contains [T] utilities relating to particular network hardware types (plipconfig, [T] slattach) and a "netmask calculator" called 'ipnm2nwbc'. [U] https://sourceforge.net/projects/net-tools/ [A] Phil Blundell [A] Bernd Eckenfels [M] Rene Rebe [C] base/system [F] CROSS DIETLIBC [L] GPL [S] Stable [V] 2.10 [P] X --2--5---9 184.500 [D] 4d1b22d16b0fac06d5f645a13c87702df2030426d928f664000e3a1c net-tools-2.10.tar.xz http://dl.sourceforge.net/net-tools/ [D] 6f63a0afdc6342634fea20fe1ee4145b7207f417ff3bccdd516c7a75 ether-wake.c https://raw.githubusercontent.com/sailfishos/net-tools/refs/tags/2.10-1/ [D] 4edce71920b547a1a5d689cc2bf9a03e13a65672643521177d4a9d2c ether-wake.8 https://raw.githubusercontent.com/sailfishos/net-tools/refs/tags/2.10-1/ [D] 669245cf252fb35956018f00e46cbe339b813b4ec174f349219764c9 mii-diag.c https://raw.githubusercontent.com/sailfishos/net-tools/refs/tags/2.10-1/ [D] fb2bb5e23ec7cb9a473d9fffc2ec7bbb67c8a660910e265e795d0eaa mii-diag.8 https://raw.githubusercontent.com/sailfishos/net-tools/refs/tags/2.10-1/ if [ $target == "dietlibc" ]; then hook_add premake 5 "cp $confdir/config.h.diet config.h" hook_add premake 5 "cp $confdir/config.status.diet config.status" else hook_add prepatch 5 "cp $confdir/config.{h,status} ." fi # don't run configure.sh as we supply preconfigured config files anyway hook_add premake 5 "sed -i -e 's/config.h:/#config.h:/g' Makefile" var_append makeopt ' ' "LD='$CC' COPTS='$CFLAGS'" var_append makeinstopt ' ' BASEDIR=$root var_append makeopt ' ' 'HAVE_ARP_TOOLS=1 HAVE_HOSTNAME_TOOLS=1 HAVE_IP_TOOLS=1 HAVE_MII=1 HAVE_PLIP_TOOLS=1 HAVE_SERIAL_TOOLS=1' var_append makeinstopt ' ' 'HAVE_ARP_TOOLS=1 HAVE_HOSTNAME_TOOLS=1 HAVE_IP_TOOLS=1 HAVE_MII=1 HAVE_PLIP_TOOLS=1 HAVE_SERIAL_TOOLS=1' hook_add inmake 5 "$CC -o ether-wake $(match_source_file -p ether-wake.c)" hook_add inmake 5 "$CC -o mii-diag $(match_source_file -p mii-diag.c)" hook_add postmake 5 "install ether-wake mii-diag $root$bindir/" hook_add postmake 5 "install $(match_source_file -p ether-wake.8) $root$mandir/man8/" hook_add postmake 5 "install $(match_source_file -p mii-diag.8) $root$mandir/man8/"