Switch to new download format and remove dependencies field from esvm service

This commit is contained in:
2025-11-09 16:17:46 +02:00
parent 12a2f9a1d9
commit d6a3794745
3 changed files with 15 additions and 14 deletions
+15 -3
View File
@@ -1,9 +1,21 @@
name: wpa_supplicant
description: A utility providing key negotiation for WPA wireless networks
version: 2.11
version: "2.11"
revision: 2
url: https://w1.fi/wpa_supplicant/
license: BSD-3-Clause
architecture: any
depends: ["glibc","dbus","libnl","openssl","readline"]
keep: ["etc/wpa_supplicant/wpa_supplicant.conf"]
type: source
keep:
- etc/wpa_supplicant/wpa_supplicant.conf
depends:
- glibc
- dbus
- libnl
- openssl
- readline
downloads:
- url: https://w1.fi/releases/wpa_supplicant-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 912ea06f74e30a8e36fbb68064d6cdff218d8d591db0fc5d75dee6c81ac7fc0a
-1
View File
@@ -1,6 +1,5 @@
name: wpa_supplicant
description: WPA supplicant daemon
dependencies: ["udevd"]
type: background
start_cmd: /etc/esvm/scripts/wpa_supplicant.sh
exit_method: kill
-10
View File
@@ -2,16 +2,6 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://w1.fi/releases/wpa_supplicant-${BPM_PKG_VERSION}.tar.gz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {