linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
commit 5667d9cb284f3dbcfc8ad8d05b1cce1547e927f4 parent 5a8789a892902935ca3f181bc53a670a9e48ac60 Author: Jul <jul@9o.is> Date: Thu, 27 Nov 2025 10:11:12 -0500 add netcat in openbsd Diffstat:
| M | pkg/genfn.sh | | | 2 | +- |
| M | pkg/openbsd/gen.sh | | | 14 | +++++++++++++- |
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/pkg/genfn.sh b/pkg/genfn.sh @@ -169,7 +169,7 @@ compile() { _cflags="$_cflags $1" shift ;; - -iquote|-include) + -iquote|-include|-isystem) _cflags="$_cflags $1 $2" shift 2 ;; diff --git a/pkg/openbsd/gen.sh b/pkg/openbsd/gen.sh @@ -34,7 +34,10 @@ cflags " cflags -D '"DEF_WEAK(n)=_Static_assert(1, \"\")"' -dep $dir/headers +dep " + $dir/headers + libtls-bearssl/headers +" include --src-prefix include " fts.h @@ -190,6 +193,14 @@ bin m4 --src-prefix usr.bin/m4 -Wno-old-style-declaration " libbsd.a " +bin nc --src-prefix usr.bin/nc -isystem $pkgdir/libtls-bearssl/include " + atomicio.c + netcat.c + socks.c + $pkgdir/libtls-bearssl/libtls.a.d + libbsd.a +" + sym bin/cpio tar man usr.bin/diff/diff.1 @@ -203,3 +214,4 @@ man usr.bin/rsync/rsyncd.5 man usr.bin/doas/doas.1 man usr.bin/doas/doas.conf.5 man usr.bin/m4/m4.1 +man usr.bin/nc/nc.1