getent (632B)
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 #@sha256:002c1a216f6bed0f816ab1cfebde94a0b127193ef410c36b2190599983e015b8:getent.c 7 8 name=getent 9 {% include "functions/check_static" %} 10 {% include "functions/build_env_static" %} 11 {% include "functions/vars" %} 12 build_env_static 13 def_prefix 14 15 gcc -static -o $name $name.c 16 17 install -d "$pthbs_destdir/$prefix/command" 18 install -m 755 $name "$pthbs_destdir/$prefix/command" 19 check_static command/$name 20 {% endblock %} 21 {% block genlinks_begin %} 22 x["./command/getent"]=1 23 {%- endblock %}