mrrl

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

ccx-utils (1272B)


      1 {%- set pkg_source="git" -%}
      2 {% extends "genlinks" %}
      3 {%- do import_functions.update(["build_env_static", "check_static"]) %}
      4 {% block package_deps -%}
      5 #+{{pkg_install_name("musl-cross-make")}}
      6 #+{{pkg_install_name("gnu-make")}}
      7 #+{{pkg_install_name("skalibs")}}
      8 #+{{pkg_install_name("s6")}}
      9 {% endblock %}
     10 {% block build -%}
     11 build_env_static
     12 
     13 ./link.configure $LDFLAGS
     14 cd src
     15 for name in \
     16 	argv0exec \
     17 	nosuid \
     18 	pidns_run \
     19 	safelink \
     20 	spawn-pty \
     21 	fdsend \
     22 	fdrecv \
     23 	fdrecvto \
     24 	socketpair \
     25 	ptsname \
     26 	mtime_to_uuidv7 \
     27 	ucspi-socksserver \
     28 	ucspi-socksserver-connected \
     29 	ucspi-socksserver-access
     30 do
     31 	make $name
     32 	install -d "${dest}/command"
     33 	install -m 755 $name "${dest}/command"
     34 	check_static command/$name
     35 done
     36 {% endblock %}
     37 {% block install -%}
     38 {% endblock %}
     39 {% block genlinks_begin %}
     40 	x["./command/spawn-pty"]=1
     41 	x["./command/argv0exec"]=1
     42 	x["./command/nosuid"]=1
     43 	x["./command/pidns_run"]=1
     44 	x["./command/safelink"]=1
     45 	x["./command/spawn-pty"]=1
     46 	x["./command/fdsend"]=1
     47 	x["./command/fdrecv"]=1
     48 	x["./command/fdrecvto"]=1
     49 	x["./command/socketpair"]=1
     50 	x["./command/ptsname"]=1
     51 	x["./command/mtime_to_uuidv7"]=1
     52 	x["./command/ucspi-socksserver"]=1
     53 	x["./command/ucspi-socksserver-connected"]=1
     54 	x["./command/ucspi-socksserver-access"]=1
     55 {% endblock %}