Update package version to 2.77

This commit is contained in:
2025-11-01 11:12:37 +02:00
parent 8b6c9a741d
commit c4f8fa4d1e
2 changed files with 12 additions and 13 deletions
+12 -3
View File
@@ -1,9 +1,18 @@
name: libcap name: libcap
description: userspace interface to the POSIX 1003.1e capabilities in the linux kernel 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/ url: https://sites.google.com/site/fullycapable/
license: BSD-3-Clause,GPL2-only license: BSD-3-Clause,GPL2-only
architecture: any architecture: any
depends: ["glibc","pam"]
make_depends: ["golang"]
type: source 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
-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://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 # 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() {