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)
committerRosen Penev <rosenp@gmail.com>
Mon, 30 Oct 2023 20:28:50 +0000 (13:28 -0700)
commitbd21652b79175de0ec017761ff1e259a562104e9
tree4439f3d7cd1fa040e8ce2acfe2ac1e46ff2f3546
parent9a40592543e7e55e4738e4b85f3dbb3ebd038ec1
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>
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]