2021-04-09 19:48:35 +00:00
|
|
|
pkgname=wpa_supplicant
|
|
|
|
pkgver=2.9
|
|
|
|
|
|
|
|
fetch() {
|
|
|
|
curl "https://w1.fi/releases/wpa_supplicant-2.9.tar.gz" -o $pkgname-$pkgver.tar.xz
|
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
|
|
cp ../config .
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2021-04-11 09:11:43 +00:00
|
|
|
#############################################################################
|
|
|
|
# This software is unlikely to be secure in the way that we are building it #
|
|
|
|
# #
|
|
|
|
# USE AT YOUR OWN RISK! #
|
|
|
|
# #
|
|
|
|
#############################################################################
|
|
|
|
|
2021-04-09 19:48:35 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cd $pkgname
|
|
|
|
cp ../../config .config
|
|
|
|
|
2021-06-20 10:25:53 +00:00
|
|
|
CFLAGS='-D_GNU_SOURCE -DCONFIG_LIBNL20 -DCONFIG_LIBNL20 -DLIBNL1_COMPAT -I/usr/include/libnl-tiny' gmake CONFIG_LIBNL_TINY=y
|
2021-04-09 19:48:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cd $pkgname
|
2021-09-30 14:01:41 +00:00
|
|
|
bad --gmake gmake install DESTDIR=$pkgdir BINDIR=/usr/sbin
|
2021-04-09 19:48:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-06-20 10:25:53 +00:00
|
|
|
cat COPYING
|
2021-04-09 19:48:35 +00:00
|
|
|
}
|