applyuidgid-caps (735B)
1 {% extends "genlinks" %} 2 {%- block script %} 3 #+{{pkg_install_name("musl-cross-make")}} 4 #+{{pkg_install_name("gnu-make")}} 5 #+{{pkg_install_name("busybox")}} 6 #+{{pkg_install_name("skalibs")}} 7 #+{{pkg_install_name("libcap")}} 8 #@sha256:{{files["applyuidgid-caps.c"]}}:applyuidgid-caps.c 9 10 name=applyuidgid-caps 11 {% include "functions/check_static" %} 12 {% include "functions/build_env_static" %} 13 {% include "functions/vars" %} 14 build_env_static 15 def_prefix 16 17 gcc -D_GNU_SOURCE -static -o $name $name.c $LDFLAGS -lskarnet -lcap 18 19 install -d "$pthbs_destdir/$prefix/command" 20 install -m 755 $name "$pthbs_destdir/$prefix/command" 21 check_static command/$name 22 {% endblock %} 23 {% block genlinks_begin %} 24 x["./command/applyuidgid-caps"]=1 25 {%- endblock %}