From 4192355923cd08e4fc47f938e1cc851ec455b2ee Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 6 Feb 2022 21:17:10 +0000 Subject: edited added iw --- repo/util/iw.xibuild | 22 ++++++++++++++++++++++ repo/util/wpa_supplicant.xibuild | 12 ++++++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 repo/util/iw.xibuild (limited to 'repo/util') diff --git a/repo/util/iw.xibuild b/repo/util/iw.xibuild new file mode 100644 index 0000000..0870143 --- /dev/null +++ b/repo/util/iw.xibuild @@ -0,0 +1,22 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libnl) + +PKG_VER=5.16 +SOURCE=https://www.kernel.org/pub/software/network/iw/iw-$PKG_VER.tar.xz +DESC="nl80211 based CLI configuration utility for wireless devices" + +prepare () { + sed -i "/INSTALL.*gz/s/.gz//" Makefile +} + +build () { + make +} + +package () { + make DESTDIR=$PKG_DEST install +} + + diff --git a/repo/util/wpa_supplicant.xibuild b/repo/util/wpa_supplicant.xibuild index 38001e1..5126587 100644 --- a/repo/util/wpa_supplicant.xibuild +++ b/repo/util/wpa_supplicant.xibuild @@ -7,6 +7,11 @@ PKG_VER=2.10 SOURCE=https://w1.fi/releases/wpa_supplicant-$PKG_VER.tar.gz DESC="A utility providng key negotiation for WPA wireless networks" +BOOTSCRIPTS=blfs-bootscripts-20210826 +ADDITIONAL=( + https://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/$BOOTSCRIPTS.tar.xz + ) + prepare () { cat > wpa_supplicant/.config << "EOF" @@ -58,8 +63,11 @@ package () { install -v -d -m755 $PKG_DEST/etc/dbus-1/system.d && install -v -m644 dbus/dbus-wpa_supplicant.conf \ $PKG_DEST/etc/dbus-1/system.d/wpa_supplicant.conf - - + + cd .. + tar xf $BOOTSCRIPTS.tar.xz + cd $BOOTSCRIPTS + make DESTDIR=$PKG_DEST install-service-wpa } -- cgit v1.2.1