mrrl

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

ccx-utils (1357B)


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