mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

ccx-utils (1357B)


      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("s6")}}
      8 #@git:{{submodule.current["ccx-utils"]}}:ccx-utils
      9 
     10 {% include "functions/check_static" %}
     11 {% include "functions/build_env_static" %}
     12 {% include "functions/vars" %}
     13 build_env_static
     14 def_prefix
     15 
     16 ./ccx-utils/link.configure $LDFLAGS
     17 cd ccx-utils/src
     18 
     19 for name in \
     20 	argv0exec \
     21 	nosuid \
     22 	pidns_run \
     23 	safelink \
     24 	spawn-pty \
     25 	fdsend \
     26 	fdrecv \
     27 	fdrecvto \
     28 	socketpair \
     29 	ptsname \
     30 	mtime_to_uuidv7 \
     31 	ucspi-socksserver \
     32 	ucspi-socksserver-connected \
     33 	ucspi-socksserver-access
     34 do
     35 	make $name
     36 	install -d "$pthbs_destdir/$prefix/command"
     37 	install -m 755 $name "$pthbs_destdir/$prefix/command"
     38 	check_static command/$name
     39 done
     40 {% endblock %}
     41 {% block genlinks_begin %}
     42 	x["./command/spawn-pty"]=1
     43 	x["./command/argv0exec"]=1
     44 	x["./command/nosuid"]=1
     45 	x["./command/pidns_run"]=1
     46 	x["./command/safelink"]=1
     47 	x["./command/spawn-pty"]=1
     48 	x["./command/fdsend"]=1
     49 	x["./command/fdrecv"]=1
     50 	x["./command/fdrecvto"]=1
     51 	x["./command/socketpair"]=1
     52 	x["./command/ptsname"]=1
     53 	x["./command/mtime_to_uuidv7"]=1
     54 	x["./command/ucspi-socksserver"]=1
     55 	x["./command/ucspi-socksserver-connected"]=1
     56 	x["./command/ucspi-socksserver-access"]=1
     57 {%- endblock %}