summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-02-06 16:39:46 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-04-24 20:51:33 -0500
commit7bed6b8848a9cb785c78e657e2698331f7de8b3c (patch)
treeecce1f496120f1d7d4f24a16b60c6431fbc32667 /system
parent4547a19f3148e9c12591b7522b0711cdd4f7b247 (diff)
downloadpackages-7bed6b8848a9cb785c78e657e2698331f7de8b3c.tar.gz
packages-7bed6b8848a9cb785c78e657e2698331f7de8b3c.tar.bz2
packages-7bed6b8848a9cb785c78e657e2698331f7de8b3c.tar.xz
packages-7bed6b8848a9cb785c78e657e2698331f7de8b3c.zip
system/libcap: Update to 2.63, enable tests
Diffstat (limited to 'system')
-rw-r--r--system/libcap/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/libcap/APKBUILD b/system/libcap/APKBUILD
index 110d3d9b9..7bf2b0938 100644
--- a/system/libcap/APKBUILD
+++ b/system/libcap/APKBUILD
@@ -1,11 +1,10 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=libcap
-pkgver=2.62
+pkgver=2.63
pkgrel=0
pkgdesc="POSIX 1003.1e capabilities"
arch="all"
-options="!check"
license="BSD-3-Clause OR GPL-2.0-only"
url="https://www.friedhoff.org/posixfilecaps.html"
depends=""
@@ -16,13 +15,17 @@ makedepends="$makedepends_build $makedepends_host"
subpackages="$pkgname-static:_static $pkgname-doc $pkgname-dev"
source="https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$pkgver.tar.xz"
-build () {
+build() {
make \
BUILD_CC=gcc \
CC="${CC:-gcc}" \
lib=lib
}
+check() {
+ make test
+}
+
_static() {
pkgdesc="$pkgdesc (static library)"
depends="$pkgname-dev"
@@ -38,4 +41,4 @@ package() {
DESTDIR="$pkgdir" install
}
-sha512sums="61ac004920c5cd3382a5443db2eacfc2041b7a8c0814b27084c1d111125639fe3950dea4325d0f7fb6bfb0d5de114452c3a62230cc958edb05ffdb83b213f9b3 libcap-2.62.tar.xz"
+sha512sums="832842b71ca32db8f53ca5f1a3010f14e7f42693f62f29632e9948c860f990899bb094165c37307ce8b9e5bc5eb1c833e780ebca98442df3e6d900e4b238834b libcap-2.63.tar.xz"