Switch to new download format and remove dependencies field from esvm service
This commit is contained in:
@@ -1,9 +1,21 @@
|
|||||||
name: wpa_supplicant
|
name: wpa_supplicant
|
||||||
description: A utility providing key negotiation for WPA wireless networks
|
description: A utility providing key negotiation for WPA wireless networks
|
||||||
version: 2.11
|
version: "2.11"
|
||||||
|
revision: 2
|
||||||
url: https://w1.fi/wpa_supplicant/
|
url: https://w1.fi/wpa_supplicant/
|
||||||
license: BSD-3-Clause
|
license: BSD-3-Clause
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc","dbus","libnl","openssl","readline"]
|
|
||||||
keep: ["etc/wpa_supplicant/wpa_supplicant.conf"]
|
|
||||||
type: source
|
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,6 +1,5 @@
|
|||||||
name: wpa_supplicant
|
name: wpa_supplicant
|
||||||
description: WPA supplicant daemon
|
description: WPA supplicant daemon
|
||||||
dependencies: ["udevd"]
|
|
||||||
type: background
|
type: background
|
||||||
start_cmd: /etc/esvm/scripts/wpa_supplicant.sh
|
start_cmd: /etc/esvm/scripts/wpa_supplicant.sh
|
||||||
exit_method: kill
|
exit_method: kill
|
||||||
|
|||||||
@@ -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 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
|
# 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
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Reference in New Issue
Block a user