Skip to content

Commit c027f45

Browse files
committed
Initial commit
0 parents  commit c027f45

File tree

12 files changed

+910
-0
lines changed

12 files changed

+910
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
./build
2+
.*

.gitmodules

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[submodule "src/sbase"]
2+
path = src/sbase
3+
url = https://git.suckless.org/sbase
4+
[submodule "src/ubase"]
5+
path = src/ubase
6+
url = https://git.suckless.org/ubase
7+
[submodule "src/busybox"]
8+
path = src/busybox
9+
url = https://git.busybox.net/busybox
10+
[submodule "src/toybox"]
11+
path = src/toybox
12+
url = https://github.com/landley/toybox

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright (c) 2024-2025 xplshn <[email protected]>
2+
3+
Permission to use, copy, modify, and distribute this software for any
4+
purpose with or without fee is hereby granted, provided that the above
5+
copyright notice and this permission notice appear in all copies.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

LICENSE.RABRMS

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright © 2024-2025 <[email protected]>
2+
3+
This software is licensed under the "Revised Anyone But Richard M. Stallman" (RABRMS) license, described below.
4+
5+
===--------------------------------------------------===
6+
| The "Revised Anyone But Richard M. Stallman" license |
7+
===--------------------------------------------------===
8+
9+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
10+
11+
Conditions
12+
----------
13+
14+
1. Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer.
15+
16+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution.
17+
18+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
19+
20+
4. You can relicense under any license that meets the first 3 conditions and isn't copylefted, as long as you aren't Richard M. Stallman.
21+
22+
5. Richard M. Stallman (the guy behind GNU, etc.) may not make use of, redistribute, nor relicense this program or any of its derivatives.
23+
24+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.txt

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
1. `./cbuild.sh fetch` -> To fetch the submodules
2+
2. `./cbuild.sh -vvv` -> to build with full verbosity
3+
3. Profit
4+
5+
# ===== Core POSIX =====
6+
/bin/cat:sbase
7+
/bin/cp:sbase
8+
/bin/mv:sbase
9+
/bin/rm:sbase
10+
/bin/mkdir:sbase
11+
/bin/ln:busybox
12+
/bin/rmdir:sbase
13+
/bin/echo:sbase
14+
/bin/printf:sbase
15+
/bin/ls:toybox
16+
/bin/pwd:sbase
17+
/bin/chmod:sbase
18+
/bin/chown:sbase
19+
/bin/date:sbase
20+
/bin/touch:sbase
21+
/bin/du:sbase
22+
/bin/basename:sbase
23+
/bin/dirname:sbase
24+
/bin/tee:sbase
25+
/bin/test:/bin/[:sbase
26+
/bin/true:sbase
27+
/bin/false:sbase
28+
/bin/env:sbase
29+
/bin/which:sbase
30+
/bin/yes:sbase
31+
/bin/wc:sbase
32+
/bin/tr:sbase
33+
/bin/uniq:sbase
34+
/bin/nl:sbase
35+
/bin/paste:sbase
36+
/bin/join:sbase
37+
/bin/fold:sbase
38+
/bin/expand:sbase
39+
/bin/unexpand:sbase
40+
# ===== System / Privileged =====
41+
/bin/mount:ubase
42+
/bin/umount:ubase
43+
/bin/dmesg:ubase
44+
/bin/login:ubase
45+
/bin/su:ubase
46+
/bin/pivot_root:ubase
47+
/bin/switch_root:ubase
48+
/bin/halt:ubase
49+
/bin/getty:busybox
50+
# ===== Cron / users =====
51+
/bin/crond:toybox
52+
/bin/crontab:toybox
53+
/bin/chsh:toybox
54+
/bin/useradd:toybox
55+
/bin/userdel:toybox
56+
/bin/groupadd:toybox
57+
/bin/groupdel:toybox
58+
# ===== Shell / Core OS =====
59+
/bin/ash:/bin/sh:busybox
60+
/bin/vi:busybox
61+
/bin/depmod:busybox
62+
/bin/poweroff:busybox
63+
/bin/ps:toybox
64+
/bin/kill:toybox
65+
/bin/top:toybox
66+
/bin/watch:toybox
67+
/bin/df:toybox
68+
/bin/free:toybox
69+
/bin/uptime:toybox
70+
/bin/clear:toybox
71+
/bin/reset:toybox
72+
/bin/sync:toybox
73+
/bin/sleep:toybox
74+
/bin/timeout:toybox
75+
/bin/stat:toybox
76+
/bin/tty:toybox
77+
/bin/setsid:toybox
78+
/bin/reboot:busybox
79+
/bin/modprobe:toybox
80+
/bin/insmod:toybox
81+
/bin/rmmod:toybox
82+
/bin/lsmod:toybox
83+
# ===== Networking =====
84+
/bin/ip:busybox
85+
/bin/ifconfig:busybox
86+
/bin/route:busybox
87+
/bin/ping:busybox
88+
/bin/netstat:busybox
89+
/bin/nc:busybox
90+
/bin/ftpget:busybox
91+
/bin/ftpput:busybox
92+
/bin/hostname:toybox
93+
/bin/wget:busybox
94+
/bin/udhcpd:busybox
95+
/bin/udhcpc:busybox
96+
/bin/udhcpc6:busybox
97+
/bin/dhcprelay:busybox
98+
# ===== Build / Text / Archive / FS =====
99+
/bin/grep:toybox
100+
/bin/awk:toybox
101+
/bin/sed:toybox
102+
/bin/find:toybox
103+
/bin/cut:toybox
104+
/bin/sort:toybox
105+
/bin/head:toybox
106+
/bin/tail:toybox
107+
/bin/xargs:toybox
108+
/bin/patch:toybox
109+
/bin/diff:toybox
110+
/bin/file:toybox
111+
/bin/strings:toybox
112+
/bin/time:toybox
113+
/bin/realpath:toybox
114+
/bin/readlink:toybox
115+
/bin/install:toybox
116+
/bin/cksum:sbase
117+
/bin/md5sum:sbase
118+
/bin/sha1sum:sbase
119+
/bin/sha224sum:sbase
120+
/bin/sha256sum:sbase
121+
/bin/sha384sum:sbase
122+
/bin/sha512-224sum:sbase
123+
/bin/sha512-256sum:sbase
124+
/bin/sha512sum:sbase
125+
# ===== Archive / Compression =====
126+
# - archivers -
127+
/bin/cpio:toybox
128+
/bin/tar:busybox
129+
#/bin/ar:busybox
130+
# - gz -
131+
/bin/gzip:busybox
132+
/bin/gunzip:busybox
133+
/bin/zcat:busybox
134+
# - bz -
135+
/bin/bzip2:busybox
136+
/bin/bunzip2:busybox
137+
/bin/bzcat:busybox
138+
# - xz -
139+
/bin/xz:busybox
140+
/bin/unxz:busybox
141+
/bin/xzcat:busybox
142+
# - lz -
143+
/bin/lzma:busybox
144+
/bin/unlzma:busybox
145+
/bin/lzcat:busybox
146+
/bin/lzop:busybox
147+
# - zip -
148+
/bin/unzip:busybox

build/bin/baseutils

953 KB
Binary file not shown.

build/bin/baseutils-suid

937 KB
Binary file not shown.

0 commit comments

Comments
 (0)