update to 12.4-systemd: iproute2-6.16.0

This commit is contained in:
wyj
2025-12-22 03:15:12 -05:00
parent e430edb786
commit 07a0dae105
+25
View File
@@ -0,0 +1,25 @@
pkgname=iproute2
pkgver=6.16.0
pkgdesc='IP Routing Utilities'
arch=('x86_64')
license=('GPL-2.0-or-later')
homepage='https://www.kernel.org/pub/linux/utils/net/iproute2/'
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://www.kernel.org/pub/linux/utils/net/${pkgname}/${sources[0]}")
md5sums=("80e1f91bf59d572acc15d5c6eb4f3e7c")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
sed -i /ARPD/d Makefile
rm -fv man/man8/arpd.8
./configure --color auto
make NETNS_RUN_DIR=/run/netns
}
src_install() {
make DESTDIR="${pkgdir}" SBINDIR=/usr/bin/ install
install -vDm644 COPYING README* -t "${pkgdir}"/usr/share/doc/iproute2-${pkgver}
}