All Projects → Duncaen → lobase

Duncaen / lobase

Licence: other
Port of the OpenBSD userland to Linux.

Programming Languages

c
50402 projects - #5 most used programming language
Roff
2310 projects
shell
77523 projects
Makefile
30231 projects
Yacc
648 projects
perl
6916 projects

Projects that are alternatives of or similar to lobase

uapi
Unix API
Stars: ✭ 18 (-79.78%)
Mutual labels:  unix, openbsd
Oksh
Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh).
Stars: ✭ 142 (+59.55%)
Mutual labels:  unix, openbsd
Ecominit
eComInit is a free init system and service manager designed to scale from lightweight desktops to web-scale cloud deployments. It aims to offer feature-parity with systemd but with a modular, portable architecture compliant with software engineering best-practice.
Stars: ✭ 352 (+295.51%)
Mutual labels:  unix, openbsd
coreutils
Core utils re-implementation for UNIX/UNIX-like systems written in Rust
Stars: ✭ 96 (+7.87%)
Mutual labels:  unix, coreutils
coreutils
Unix core utilities implemented in Haskell
Stars: ✭ 22 (-75.28%)
Mutual labels:  unix, coreutils
OpenBSDFirewall
Simple OpenBSD Home Firewall Config for ALIX Board
Stars: ✭ 41 (-53.93%)
Mutual labels:  unix, openbsd
Mg
Micro (GNU) Emacs-like text editor ❤️ public-domain
Stars: ✭ 117 (+31.46%)
Mutual labels:  unix, openbsd
torgo
A UNIX-like Non-GNU command line toolkit
Stars: ✭ 44 (-50.56%)
Mutual labels:  unix, coreutils
InitWare
The InitWare Suite of Middleware allows you to manage services and system resources as logical entities called units. Its main component is a service management ("init") system.
Stars: ✭ 164 (+84.27%)
Mutual labels:  unix, openbsd
bf256
Brainfuck compiler under 256 bytes in size.
Stars: ✭ 21 (-76.4%)
Mutual labels:  unix, openbsd
mg
OpenBSD Mg editor. Portable Public Domain Micro Emacs for *BSD, Cygwin, Linux, Mac OS X.
Stars: ✭ 99 (+11.24%)
Mutual labels:  unix, openbsd
BSDCoreUtils
BSD coreutils is a port of many utilities from BSD to Linux and macOS.
Stars: ✭ 30 (-66.29%)
Mutual labels:  unix, coreutils
Awesome Unix
All the UNIX and UNIX-Like: Linux, BSD, macOS, Illumos, 9front, and more.
Stars: ✭ 973 (+993.26%)
Mutual labels:  unix, openbsd
Purritobin
ultra fast, minimalistic, encrypted command line paste-bin
Stars: ✭ 171 (+92.13%)
Mutual labels:  unix, openbsd
InitKit
Neo-InitWare is a modular, cross-platform reimplementation of the systemd init system. It is experimental.
Stars: ✭ 364 (+308.99%)
Mutual labels:  unix, openbsd
WendzelNNTPd
A usable and IPv6-ready Usenet-server (NNTP daemon). It is portable (Linux/*BSD/*nix), supports AUTHINFO authentication, contains ACL as well as role based ACL and provides "invisible" newsgroups. It can run on MySQL and SQLite backends.
Stars: ✭ 43 (-51.69%)
Mutual labels:  unix, openbsd
ls
Zsh plugin for ls
Stars: ✭ 73 (-17.98%)
Mutual labels:  coreutils
bask
A runner and framework for command-centric Bash scripts.
Stars: ✭ 31 (-65.17%)
Mutual labels:  unix
jh-weapp-demo
微信小程序项目- 实现一些常用效果、封装通用组件和工具类
Stars: ✭ 60 (-32.58%)
Mutual labels:  utils
wildpwn
unix wildcard attacks
Stars: ✭ 119 (+33.71%)
Mutual labels:  unix
lobase
======

lobase is a port of the OpenBSD userland to Linux.

Caution
-------

There are subtle differences in GNU coreutils and the OpenBSD userland,
replacing coreutils on Linux system without caution will result in
issues with varying impact.

If you build your own linux system from the ground up and you know that
your scripts are all portable you can use lobase as main coreutils.

Otherwise I suggest to use a prefixed installation and adding lobase to
your users shell `PATH`.

Installation
------------

	$ autoreconf -fi
	$ ./configure
	$ make
	# make install

To speed up the compilation use multiple make jobs:

	$ MAKE_JOBS=$(cat /proc/cpuinfo|grep processor|wc -l)
	$ make -j"$MAKE_JOBS"
	# make -j"$MAKE_JOBS" install


Prefix Installation
-------------------

You can install lobase into its own prefix and then use the `PATH`
environment variable to prefer lobases binaries over the default
coreutils for your users shell.

	$ ./configure --prefix=/usr/local/lobase

Build and install lobase and then add lobases bin and sbin directories
to your path.
To make this permanent, set `PATH` in your shell profile.

	$ PATH=/usr/local/lobase/bin:/usr/local/lobase/sbin:$PATH

Simple test to verify that lobase is used:

	$ which which
	/usr/local/lobase/bin/which


Dependencies
------------

- autoconf
- make (GNU Make)
- cc (gcc, clang)
- yacc (byacc, bison)
- lex (flex)

- libedit (bc)
- libevent (cu)
- libressl
  - libcrypto (bc,dc)
- ncurses (bc,ul)
- zlib (grep)

Debian:

	# apt-get install libedit-dev libevent-dev libssl-dev libz-dev

Void Linux:

	# xbps-install libedit-devel libevent-devel libressl-devel zlib-dev

Not included
------------

Some projects already have portable versions and are not included in lobase.

- acme-client	https://github.com/kristapsdz/acme-client-portable
- cwm		https://github.com/chneukirchen/cwm
- file		https://github.com/brynet/file
- libressl	https://www.libressl.org/
  - nc
- mandoc	http://mandoc.bsd.lv/
  - man
  - apropos
- sndio		http://www.sndio.org/
  - aucat
  - aucatctl
- smtpd		https://www.opensmtpd.org/
- ssh		https://www.openssh.com/

Broken
------

- cu		should be simple to fix
- ftp


TODO
----

- mk/bsd.prog.mk
  - add DPADD support

- mk/bsd.lib.mk
  - install headers
  - build shared libraries?

- libtool?

lib
---

liboutil	Parts of OpenBSDs libutil
libopenbsd	Parts of OpenBSDs libc

bin
---

cat
chmod           Some small differences because OpenBSD support permissions for symlinks
cp
date
dd              No SIGINFO support, use SIGUSR1 instead
df              No support for raw devices on linux
domainname
echo
ed
expr
hostname
kill
ksh
ln
ls              No support for file flags (-o)
md5
mkdir
mv
pax
pwd
rm
rmdir
sleep
stty
sync
test

sbin
----
mknod
nologin

usr.bin
-------

apply
awk
banner
basename
bc
biff
cal
calendar
cap_mkdb
cmp
col
colrm
column
comm
compress
csplit
ctags
cu
cut
dc
deroff
diff
diff3
dirname
du
encrypt
env
expand
false
file
find
fmt
fold
from
ftp
getconf
getent
getopt
grep
head
hexdump
htpasswd
id              Does not support -R to show the current processes routing table
indent
join
jot
lam
leave
lndir
logger
logname
look
lorder
mail
mkdep
mktemp
newsyslog
nice
nl
nohup
paste
patch
pkg-config
pr
printenv
printf
readlink
renice
rev
rs
sdiff
sed
shar
signify
sort
spell
split
stat            Does not support file flags, generations and birthtime on linux
tail            There are small differences in how -f handles file truncations,
                kqueue provides events for file truncations, inotify just notifies
                about a file modification.
tee
telnet
tftp
time
touch
tr
true
tsort
tty
ul
uname
unexpand
unifdef
uniq
units
unvis
uudecode
uuencode
vacation
vis
wc
what
which
whois
xargs
xinstall        Does not support file flags (-f)
yes

usr.sbin
--------

chroot
dev_mkdb
mtree           No file flags support
rdate
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].