Netbase is a port of the NetBSD's utilities to another unix like operating systems.
-
im working to add new utilities and add some functions to libutil so if you see eny error on build time remove efun.c on lib/libutil/Makefile and sort from usr.bin/GNUmakefile
-
now are avaible ~50 commands ported from netbsd
- gnu make
- clang/llvm (or gcc and binutils)
- zlib
- libbz2
- libacl
- libfts ( for musl )
- posix shell (link to /bin/sh )
in the compat/include folder there are some headers for compatibility. they add some macros like __COPYRIGHT and __RCSID, besides in compat/libcompat are two libraries, libnetbsd(libcompat) and libutil, with these the programs link statically against these librarues but dynamically with the rest of the system ,so no additional runtime dependencies are need(Note: This may change in the future).
- The compat libraries use only code from the netbsd source tree.
- The goal of this project is port netbsd userland to another systems without any (or tiny) modifications to the original source.
if you see build or runtime errors tell me.(Note: The utils are tested on Arch and only with a basic use of them).
the commands available are listed on details/
| Platform | Status |
|---|---|
| Linux glibc | ☑️ Works |
| Linux musl | ☑️ Works |
| GNU/Hurd |
if you run only g/make may fail so i recommend execute the build script instead:
./build.sh
use:
-b, --build
run make with configs and variables depending on the platform (default).
-c, --clean
remove object files and clean the source tree.
| Plataform/Goal | Status |
|---|---|
| linux (glibc/musl) | ☑️ yes |
| Full Userland (! GNU) | 🧪 close (coreutils) |