Skip to content

heliumhydride/zenithutils

Repository files navigation

zenithutils

An nth implementation of coreutils / util-linux / chimerautils / busybox / sbase / ubase / plan9base / ...

implements:

  • coreutils (ls, cp, uname, ln, chmod, mv, rm, ...)
  • util-linux (fdisk, lsblk, lscpu, losetup, mount, ...)
  • procps-ng programs and psutils programs (groupped as procutils in Makefile)
  • sharutils (shar, uuencode, uudecode)
  • find
  • iconv
  • diff
  • grep
  • sed
  • patch
  • su
  • which
  • gzip
  • possible future implementations of awk and bc
  • read, time from sh
  • strings
  • ed (integrated in coreutils in Makefile)
  • dos2unix/unix2dos (integrated in coreutils in Makefile)
  • portions of shadow (passwdutils in Makefile)

required dependencies:

  • a c99 toolchain such as gcc / mingw / Clang+LLVM / tcc... but not visual c
  • GNU make
  • mkdir+cp commands from coreutils/busybox (yes quite ironic i know...)
  • libsodium for 'uuidgen', 'rng' and 'mktemp'
  • openpam / linux-pam for 'su'
  • zlib / zlib-ng with zlib compat for 'gzip'
  • netbsd-curses / ncurses for Linux/*BSD OR pdcurses for Windows
  • libicu for iconv

recommended to go along with zenithutils:

  • for a more feature-packed environment:

    • onetrueawk (build fails for Windows)
    • bc-gh (build fails for Windows)
    • nq (useful when building large software) (not supported on Windows)
    • libarchive // paxmirabilis (aka. mircpio) (not supported on Windows)
    • mksh (not supported on Windows) // mksh/win32
    • yash (not supported on Windows)
  • for bootable linux systems:

why ? the alternatives work pretty well.

  • Because I wanted a replacement for chimerautils + util-linux on my custom distro im making
  • I also wanted a userland that could compile for both Linux and Windows NT without needing Cygwin (akin to busybox-w32) but more complete and more BSD-like
  • I learn stuff and I'm bored

compatibility goals (in order of priority):

  • Linux with musl, glibc, uclibc-ng, bionic libc (Android) and llvm libc
  • Windows 2000+ (x86_64, x86, arm64, arm)
  • *BSD
  • MacOS (x86_64, arm64)
  • Cosmopolitan libc

About

A WIP replacement for coreutils/busybox/...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published