linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
commit ed338259652655d41f2c07d82505b6e916e865e3 parent 3d215d8e92ba1c77ed4d81573bc9e82fc9e8afd1 Author: Jul <jul@9o.is> Date: Sun, 13 Jul 2025 19:15:38 -0400 add yash Diffstat:
| M | .gitmodules | | | 4 | ++++ |
| A | pkg/yash/build | | | 15 | +++++++++++++++ |
| A | pkg/yash/config.h | | | 52 | ++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | pkg/yash/repo | | | 1 | + |
4 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/.gitmodules b/.gitmodules @@ -3,3 +3,7 @@ url = https://git.suckless.org/st branch = master ignore = all +[submodule "yash"] + path = pkg/yash/repo + url = https://github.com/magicant/yash.git + ignore = all diff --git a/pkg/yash/build b/pkg/yash/build @@ -0,0 +1,15 @@ +#!/bin/sh + +# required: +# ncurses-devel +# asciidoc + +rm -rf "$outdir" + +( + cd $srcdir/repo + ./configure --prefix="$outdir" +) + +cp "$srcdir/config.h" "$srcdir/repo" +make -C "$srcdir/repo" install diff --git a/pkg/yash/config.h b/pkg/yash/config.h @@ -0,0 +1,52 @@ +#define NDEBUG 1 +#define _POSIX_C_SOURCE 200809L +#define _XOPEN_SOURCE 700 +#define YASH_ENABLE_SOCKET 1 +#define HAVE_NGETTEXT 1 +#define HAVE_GETTEXT 1 +#define HAVE_CURSES_H 1 +#define HAVE_TERM_H 1 +#define YASH_ENABLE_LINEEDIT 1 +#define HAVE_PROC_SELF_EXE 1 +#define HAVE_STRNLEN 1 +#define HAVE_STRDUP 1 +#define HAVE_WCSNLEN 1 +#define HAVE_WCSDUP 1 +#define HAVE_WCSCASECMP 1 +#define HAVE_WCSNRTOMBS 1 +#define HAVE_WCSTOLD 1 +#define HAVE_WCWIDTH 1 +#define HAVE_S_ISVTX 1 +#define UNSETENV_RETURNS_INT 1 +#define HAVE_ST_ATIM 1 +#define HAVE_ST_MTIM 1 +#define HAVE_WCONTINUED 1 +#define HAVE_FACCESSAT 1 +#define HAVE_STRSIGNAL 1 +#define HAVE_GETPWENT 1 +#define HAVE_PW_GECOS 1 +#define HAVE_GETGRENT 1 +#define HAVE_GETHOSTENT 1 +#define HAVE_PATHS_H 1 +#define GETCWD_AUTO_MALLOC 1 +#define HAVE_TIOCGWINSZ 1 +#define YASH_ENABLE_ARRAY 1 +#define YASH_ENABLE_DOUBLE_BRACKET 1 +#define YASH_ENABLE_DIRSTACK 1 +#define YASH_ENABLE_HELP 1 +#define YASH_ENABLE_HISTORY 1 +#define YASH_ENABLE_PRINTF 1 +#define YASH_ENABLE_TEST 1 +#define HAVE_RLIMIT 1 +#define YASH_ENABLE_ULIMIT 1 +#define HAVE_RLIM_SAVED_CUR 1 +#define HAVE_RLIM_SAVED_MAX 1 +#define HAVE_RLIMIT_AS 1 +#define HAVE_RLIMIT_LOCKS 1 +#define HAVE_RLIMIT_MEMLOCK 1 +#define HAVE_RLIMIT_MSGQUEUE 1 +#define HAVE_RLIMIT_NICE 1 +#define HAVE_RLIMIT_NPROC 1 +#define HAVE_RLIMIT_RSS 1 +#define HAVE_RLIMIT_RTPRIO 1 +#define HAVE_RLIMIT_SIGPENDING 1 diff --git a/pkg/yash/repo b/pkg/yash/repo @@ -0,0 +1 @@ +Subproject commit 97f4858970e7cbf790452a7b3d578ecb75a8ec96