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

This commit is contained in:
2025-11-09 14:41:52 +02:00
parent 52cfeb51ef
commit 4acb4328f2
3 changed files with 13 additions and 13 deletions
+12 -1
View File
@@ -1,8 +1,19 @@
name: dhcpcd name: dhcpcd
description: A DHCP and DHCPv6 client description: A DHCP and DHCPv6 client
version: 10.2.4 version: 10.2.4
revision: 2
url: https://roy.marples.name/projects/dhcpcd url: https://roy.marples.name/projects/dhcpcd
license: BSD-2-Clause license: BSD-2-Clause
architecture: any architecture: any
depends: ["glibc","libmd","openssl","udev"]
type: source type: source
depends:
- glibc
- libmd
- openssl
- sh
- udev
downloads:
- url: https://github.com/NetworkConfiguration/dhcpcd/releases/download/v${BPM_PKG_VERSION}/dhcpcd-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 6721e606609226dbf4d864a78802a9e96beec0ee034a1bd84138b3e037bba7d9
+1 -2
View File
@@ -1,6 +1,5 @@
name: dhcpcd name: dhcpcd
description: run dhcpcd on all clients description: Run dhcpcd on all clients
dependencies: ["udevd"]
type: background type: background
start_cmd: dhcpcd -B -M start_cmd: dhcpcd -B -M
exit_method: kill 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 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://github.com/NetworkConfiguration/dhcpcd/releases/download/v${BPM_PKG_VERSION}/dhcpcd-${BPM_PKG_VERSION}.tar.xz"
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() {