wpa_supplicant: unbundle libnl-tiny

This commit is contained in:
git-bruh 2022-09-30 13:23:21 +05:30
parent 4c2b0fc0b0
commit cbc060db21
No known key found for this signature in database
8 changed files with 9 additions and 20 deletions

3
extra/libnl-tiny/build Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh -e
make ALL_LIBS=libnl-tiny.a DESTDIR="$1" prefix=/usr install

View File

@ -0,0 +1 @@
a80020e61e68285d4e285ecaef22d87915ad550053b18be5694ed7a7b93ffe30

1
extra/libnl-tiny/sources Normal file
View File

@ -0,0 +1 @@
https://github.com/sabotage-linux/libnl-tiny/archive/39ec78bb012edc2739c3d3d0058e4076411068b1.tar.gz

1
extra/libnl-tiny/version Normal file
View File

@ -0,0 +1 @@
28c44ca97cd546ef8168e7476472a0da022b3421 1

View File

@ -1,23 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
# The wpa_supplicant package is built statically using export CFLAGS="$CFLAGS $(pkg-config --cflags libnl-tiny)"
# libnl-tiny which is a minimal version of libnl maintained
# by OpenWRT.
mv libnl-tiny* libnl.tar.gz
tar xf libnl.tar.gz
mv libnl-tiny* libnl
export CFLAGS="$CFLAGS -D_GNU_SOURCE -I$PWD/libnl/include"
export LDFLAGS="$LDFLAGS -L$PWD/libnl"
(
cd libnl
# CFLAGS must expand to individual arguments.
# shellcheck disable=2086
${CC:-cc} $CFLAGS $CPPFLAGS -c ./*.c
${AR:-ar} rc libnl-tiny.a ./*.o
)
cd wpa_supplicant cd wpa_supplicant

View File

@ -1,4 +1,3 @@
20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f 20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f
60c1ea251398be80667c3a77622abe862e2e1e61390e4484500351592f5f5e83
ea81361a44cede64fb42309e783f26ca1d0a4f6677a21550aad925b25405eeb0 ea81361a44cede64fb42309e783f26ca1d0a4f6677a21550aad925b25405eeb0
1f3fe30e9470467bc05a6cf782eab68c7c851953d412b01dd622f4aa35c48abc 1f3fe30e9470467bc05a6cf782eab68c7c851953d412b01dd622f4aa35c48abc

View File

@ -1,2 +1,4 @@
libnl-tiny make
linux-headers make linux-headers make
openssl openssl
pkgconf make

View File

@ -1,4 +1,3 @@
https://w1.fi/releases/wpa_supplicant-VERSION.tar.gz https://w1.fi/releases/wpa_supplicant-VERSION.tar.gz
https://git.openwrt.org/?p=project/libnl-tiny.git;a=snapshot;h=8e0555fb39f51a5d6436b4f1370850caa03611ea;sf=tgz
files/.config wpa_supplicant files/.config wpa_supplicant
files/wpa_supplicant.run wpa_supplicant files/wpa_supplicant.run wpa_supplicant