# HG changeset patch # User Hans-G?nter Theisgen # Date 1647015923 -3600 # Node ID 518bb01fa67ceb1eb865b778acadc4b9aaab9271 # Parent 6a20a6709dd534b0aeef905e90442afb17777c79 updated iproute2 (5.5.0 -> 5.16.0) diff -r 6a20a6709dd5 -r 518bb01fa67c iproute2/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iproute2/description.txt Fri Mar 11 17:25:23 2022 +0100 @@ -0,0 +1,12 @@ +Iproute2 is a collection of utilities for controlling TCP/IP networking +and traffic control in Linux. + +Most network configuration manuals still refer to ifconfig and route as +the primary network configuration tools, but ifconfig is known to behave +inadequately in modern network environments. +They should be deprecated, but most distros still include them. +Most network configuration systems make use of ifconfig and thus provide +a limited feature set. +The /etc/net project aims to support most modern network technologies, +as it doesn't use ifconfig and allows a system administrator to make use +of all iproute2 features, including traffic control. diff -r 6a20a6709dd5 -r 518bb01fa67c iproute2/receipt --- a/iproute2/receipt Fri Mar 11 17:07:08 2022 +0100 +++ b/iproute2/receipt Fri Mar 11 17:25:23 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="iproute2" -VERSION="5.5.0" +VERSION="5.16.0" CATEGORY="network" TAGS="network route" SHORT_DESC="Utilites for networking and traffic control." @@ -12,7 +12,7 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL" -DEPENDS="db iptables" +DEPENDS="db iptables libmnl libnl" BUILD_DEPENDS="bison db-dev flex iptables-dev libmnl-dev libnl-dev" # What is the latest version available today? @@ -25,14 +25,16 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's//\n#include /' \ + export LDFLAGS="$LDFLAGS -lrt" + + sed -i 's||\n#include |' \ ip/link_gre.c ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -40,9 +42,11 @@ { mkdir -p $fs/bin - cp -a $install/usr $fs - cp -a $install/etc $fs - cp -a $install/var $fs - cp -a $install/sbin $fs + cook_copy_folders etc + cook_copy_folders include + cook_copy_folders lib + cook_copy_folders sbin + cook_copy_folders var + ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/ }