Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
iproute2


Commits:
31446677 by Henrik Juul Pedersen at 2024-07-24T08:57:57+02:00
do not install libnetlink or libnetlink.h

The libnetlink is private to iproute2, and should not be used
outside the project.

libnetlink will not currently link without libutil, which is also
private to libnetlink, and not provided by this package.

I could not identify a requirement for libnetlink or its header
by any package depending on iproute2, and it should thus be removed
to clear confusion from packages such as libmnl or libnl.

Fixes: 
https://gitlab.archlinux.org/archlinux/packaging/packages/iproute2/-/issues/2
Signed-off-by: Henrik Juul Pedersen <[email protected]>

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -56,8 +56,4 @@ package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
   make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install
-
-  # libnetlink isn't installed, install it FS#19385
-  install -Dm0644 include/libnetlink.h "${pkgdir}/usr/include/libnetlink.h"
-  install -Dm0644 lib/libnetlink.a "${pkgdir}/usr/lib/libnetlink.a"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/iproute2/-/commit/314466774a20836ee89f874b7e9c5fb82c721c2c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/iproute2/-/commit/314466774a20836ee89f874b7e9c5fb82c721c2c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to