From c4f8fa4d1e8a251a601fcf719aa564483c03c56d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 1 Nov 2025 11:12:37 +0200 Subject: [PATCH] Update package version to 2.77 --- pkg.info | 15 ++++++++++++--- source.sh | 10 ---------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index 0340f3d..8bbae91 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,18 @@ name: libcap description: userspace interface to the POSIX 1003.1e capabilities in the linux kernel -version: 2.76 +version: "2.77" +revision: 1 url: https://sites.google.com/site/fullycapable/ license: BSD-3-Clause,GPL2-only architecture: any -depends: ["glibc","pam"] -make_depends: ["golang"] type: source +depends: + - glibc + - pam +make_depends: + - golang +downloads: + - url: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 897bc18b44afc26c70e78cead3dbb31e154acc24bee085a5a09079a88dbf6f52 diff --git a/source.sh b/source.sh index 89b2f06..2bce058 100644 --- a/source.sh +++ b/source.sh @@ -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://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${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 # This function is used to compile the source code build() {