2023-03-30 08:43:53 +03:00
|
|
|
distributable:
|
|
|
|
url: https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-{{ version.raw }}.tar.xz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2
|
|
|
|
match: /libcap-\d+\.\d+\.tar\.xz/
|
|
|
|
strip:
|
|
|
|
- /libcap-/
|
|
|
|
- /\.tar\.xz/
|
2023-03-30 08:43:53 +03:00
|
|
|
|
2023-04-24 22:57:50 +03:00
|
|
|
platforms: linux
|
2023-04-24 21:34:24 +03:00
|
|
|
|
2023-03-30 08:43:53 +03:00
|
|
|
build:
|
2023-04-24 21:34:24 +03:00
|
|
|
script: make $ARGS --jobs {{ hw.concurrency }} install
|
2023-03-30 08:43:53 +03:00
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- prefix="{{prefix}}"
|
|
|
|
- lib=lib
|
|
|
|
- RAISE_SETFCAP=no
|
|
|
|
|
|
|
|
provides:
|
2023-04-24 21:34:24 +03:00
|
|
|
- sbin/capsh
|
|
|
|
- sbin/getcap
|
|
|
|
- sbin/getpcaps
|
|
|
|
- sbin/setcap
|
2023-03-30 08:43:53 +03:00
|
|
|
|
2023-04-24 21:34:24 +03:00
|
|
|
test: getcap "{{ prefix }}/sbin/capsh"
|