wok-current rev 24671
updated iproute2 (5.5.0 -> 5.16.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 17:25:23 2022 +0100 (2022-03-11) |
parents | 6a20a6709dd5 |
children | 5c32fbe35985 |
files | iproute2/description.txt iproute2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/iproute2/description.txt Fri Mar 11 17:25:23 2022 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +Iproute2 is a collection of utilities for controlling TCP/IP networking 1.5 +and traffic control in Linux. 1.6 + 1.7 +Most network configuration manuals still refer to ifconfig and route as 1.8 +the primary network configuration tools, but ifconfig is known to behave 1.9 +inadequately in modern network environments. 1.10 +They should be deprecated, but most distros still include them. 1.11 +Most network configuration systems make use of ifconfig and thus provide 1.12 +a limited feature set. 1.13 +The /etc/net project aims to support most modern network technologies, 1.14 +as it doesn't use ifconfig and allows a system administrator to make use 1.15 +of all iproute2 features, including traffic control.
2.1 --- a/iproute2/receipt Fri Mar 11 17:07:08 2022 +0100 2.2 +++ b/iproute2/receipt Fri Mar 11 17:25:23 2022 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="iproute2" 2.7 -VERSION="5.5.0" 2.8 +VERSION="5.16.0" 2.9 CATEGORY="network" 2.10 TAGS="network route" 2.11 SHORT_DESC="Utilites for networking and traffic control." 2.12 @@ -12,7 +12,7 @@ 2.13 TARBALL="$PACKAGE-$VERSION.tar.xz" 2.14 WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL" 2.15 2.16 -DEPENDS="db iptables" 2.17 +DEPENDS="db iptables libmnl libnl" 2.18 BUILD_DEPENDS="bison db-dev flex iptables-dev libmnl-dev libnl-dev" 2.19 2.20 # What is the latest version available today? 2.21 @@ -25,14 +25,16 @@ 2.22 # Rules to configure and make the package. 2.23 compile_rules() 2.24 { 2.25 - sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' \ 2.26 + export LDFLAGS="$LDFLAGS -lrt" 2.27 + 2.28 + sed -i 's|<net/if.h>|<net/if.h>\n#include <linux/ip.h>|' \ 2.29 ip/link_gre.c 2.30 2.31 ./configure \ 2.32 --prefix=/usr \ 2.33 $CONFIGURE_ARGS && 2.34 make && 2.35 - make DESTDIR=$DESTDIR install 2.36 + make install DESTDIR=$DESTDIR 2.37 } 2.38 2.39 # Rules to gen a SliTaz package suitable for Tazpkg. 2.40 @@ -40,9 +42,11 @@ 2.41 { 2.42 mkdir -p $fs/bin 2.43 2.44 - cp -a $install/usr $fs 2.45 - cp -a $install/etc $fs 2.46 - cp -a $install/var $fs 2.47 - cp -a $install/sbin $fs 2.48 + cook_copy_folders etc 2.49 + cook_copy_folders include 2.50 + cook_copy_folders lib 2.51 + cook_copy_folders sbin 2.52 + cook_copy_folders var 2.53 + 2.54 ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/ 2.55 }