aircrack-ng: fix wrong inclusion of libbsd if detected
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 28 Oct 2023 16:48:16 +0000 (18:48 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 31 Oct 2023 22:18:39 +0000 (23:18 +0100)
commit6ab71e2894a08906bb81ddbfb6dde3dabf1758b4
tree941ebd51716b621fdf886f5bfdbe2ca7059dcb98
parent96e1b50f1f2d292dce232d8e06e9817f02ab4cb2
aircrack-ng: fix wrong inclusion of libbsd if detected

Currently aircrack-ng try to link with libbsd if it does detect the
library in staging_dir. This is the case with buildbot where every
package is selected and compiled.

Fix this by adding a pending patch that permits to disable libbsd
inclusion even if detected and set the related config flag.

aircrack-ng use 2 function of libbsd and it's not worth to include the
entire library for 2 simple function for string manipulation.

Also add an additional patch that permits to use musl or glibc version
of these string functions.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit bd21652b79175de0ec017761ff1e259a562104e9)
net/aircrack-ng/Makefile
net/aircrack-ng/patches/104-build-add-option-to-disable-bsd-library-inclusion.patch [new file with mode: 0644]
net/aircrack-ng/patches/105-build-support-strlcat-strlcpy-from-musl-or-recent-gl.patch [new file with mode: 0644]