Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Toybox

Toybox provides common Linux command line utilities together in a single BSD-licensed executable that's simple, small, fast, and reasonably standards-compliant.
Collective - Host: opensource - https://opencollective.com/toybox - Website: https://landley.net/toybox/about.html - Code: https://github.com/landley/toybox

Fix some typos pointed out by Peter Ennis.

github.com/landley/toybox - 22d59612c17e14ac0de1f5fa008feb80dad79eec authored almost 3 years ago by Rob Landley <[email protected]>
Move a struct from lib.h into the one toys/pending command that uses it.

github.com/landley/toybox - 3b06f9600e3ff93e883cc5e21f6ce318e655bb5a authored almost 3 years ago by Rob Landley <[email protected]>
flags.h can #define its own CLEANUP_ macros for the next #include

so gearshifts between flag contexts require less setup.

github.com/landley/toybox - eee419c1d7580c4700c909fffcac2d56de22dd0a authored almost 3 years ago by Rob Landley <[email protected]>
Factor out parse_dev_ids() into its own function.

github.com/landley/toybox - e6ad3338edad973d4912fefe8335323994e5bc2a authored almost 3 years ago by Rob Landley <[email protected]>
More documentation tweaks.

github.com/landley/toybox - 068c82efae6e688f57e3f2f7b84270e82da28619 authored almost 3 years ago by Rob Landley <[email protected]>
Freshen up design.html a bit.

github.com/landley/toybox - 0b47b7e62b8859cd30142df2555c6737fd6d9408 authored almost 3 years ago by Rob Landley <[email protected]>
Create the timer after installing the SIGALRM handler.

github.com/landley/toybox - 73f5ecd7726daddc291855a5cd6c59f4ec2e0419 authored almost 3 years ago by Rob Landley <[email protected]>
Search a path for usb.ids and handle usb.ids.gz via zcat.

github.com/landley/toybox - 0e4cd0ffb4616d042cb0b37134e2818f713294a4 authored almost 3 years ago by Rob Landley <[email protected]>
Move -Wno-string-plus-int to configure instead of probing for it.

llvm still emits "C++ programmers do not understand C" warnings unless muzzled,
but gcc versions...

github.com/landley/toybox - ebde3b8a5b9a62f3f9e18116adb58e68ad5966fd authored almost 3 years ago by Rob Landley <[email protected]>
Fix generated/build.sh

github.com/landley/toybox - 679146ec3510c6d3eb0cd6385b7640b02b44894b authored almost 3 years ago by Rob Landley <[email protected]>
Move some of the uglier make.sh plumbing into portability.sh.

github.com/landley/toybox - 515a1f2eddc19bc08be2e029557f14c7c1438cc9 authored almost 3 years ago by Rob Landley <[email protected]>
Move lib/lib.c into main.c so make.sh doesn't have to split it out seperately. (Nothing else in lib/ has to rebuild when command list changes.)

github.com/landley/toybox - fc0fbe6788845379ee39fa9d0182c9775b335725 authored almost 3 years ago by Rob Landley <[email protected]>
Minor cleanups.

github.com/landley/toybox - 1ea6e127d5a3f0fa4ef4e423505cd5552fee7092 authored almost 3 years ago by Rob Landley <[email protected]>
lspci: use a different default location for pci.ids on Android.

github.com/landley/toybox - de539b70fd65ac0fa53ec440522c59a00d9c8f16 authored almost 3 years ago by Elliott Hughes <[email protected]>
Fix @time.nanosecond parsing, and add test.

github.com/landley/toybox - eaf3949cb749de250651ca5f7824840220a25bc3 authored almost 3 years ago by Rob Landley <[email protected]>
Fix -newerXY and add test.

github.com/landley/toybox - cfa8d336db1b63a761be1d11251ad5d06b702d81 authored almost 3 years ago by Rob Landley <[email protected]>
Sort PENDING items into started and not started, and note kernel patch that

would remove an entry from toolchain list.

github.com/landley/toybox - 7b6cc658745460212e2a4d44c17bd12f906f434c authored almost 3 years ago by Rob Landley <[email protected]>
mkroot: Use $'' syntax to avoid needing ugly (unindented) newline mid-string.

github.com/landley/toybox - 3a950a357e671f0e529d3a6ba565a639746dc982 authored almost 3 years ago by Rob Landley <[email protected]>
mkroot: if devtmpfs already mounted on /dev, still need to create dev/pts dir.

github.com/landley/toybox - ffe3425d08bce5ead090550e95025f0bb55becf8 authored almost 3 years ago by Rob Landley <[email protected]>
Move ANSI escape cheat sheet to tty.c

github.com/landley/toybox - 7fe3cb1fa90aeee775ea0ee6e8f1a0396e9b8325 authored almost 3 years ago by Rob Landley <[email protected]>
Top: move sort change to SHIFT LEFT/RIGHT, and make LEFT/RIGHT move list.

(It's actually skipping X many fields at the start, up to showing just the
last field across the...

github.com/landley/toybox - da73d0c5421644e5c807d93cef12fd77a3239e8b authored almost 3 years ago by Rob Landley <[email protected]>
Rename remains of linestack.c to utf8.c

github.com/landley/toybox - 66ecd116ed26f5909877f5ed0406dfd928c78672 authored almost 3 years ago by Rob Landley <[email protected]>
Remove the linestack plumbing, an old unfinished todo item that got

interrupted long enough ago it would be easier to restart from scratch.
It was never used and has...

github.com/landley/toybox - 0f5f00c1d8b15abe41acc15cefb11dcb900c2a62 authored almost 3 years ago by Rob Landley <[email protected]>
Fix sed bug with multiple w to same file.

github.com/landley/toybox - b607b5790992e29f93e6140ba9d8e7f3ed17b3ce authored almost 3 years ago by Rob Landley <[email protected]>
vi: fix recent changes.

vi was segfaulting because some of the printf() arguments were the wrong
way round. The file con...

github.com/landley/toybox - e7e4229c059f4a45eaf0ff0cb0f228275e3e7772 authored almost 3 years ago by Elliott Hughes <[email protected]>
vi: fix build.

xputsn() only takes one argument; the other place this function
outputs the same escape sequence...

github.com/landley/toybox - 5c0bb0e44390756223a9fa5a548cf4e0d2c6427b authored almost 3 years ago by Elliott Hughes <[email protected]>
Let lsusb to use /etc/usb.ids for english descriptions.

github.com/landley/toybox - 66471ddcec217a08d2017a375cd82d33f2e073f8 authored almost 3 years ago by Rob Landley <[email protected]>
Shut up an unused variable warning triggered by an #ifdef.

github.com/landley/toybox - 64f12b4f6a43c71d803db7991fd153821dd6b2e9 authored almost 3 years ago by Rob Landley <[email protected]>
Fix distro version skew in TEST_HOST.

github.com/landley/toybox - 6cc6d5b0651f1eba689a9c6e6d53d4502334208b authored almost 3 years ago by Rob Landley <[email protected]>
Work around QEMU bug still unfixed after 3 years:

https://bugs.launchpad.net/qemu/+bug/1790975

github.com/landley/toybox - aed8b63ca3c2622272179b38d2589c7477c7ee34 authored almost 3 years ago by Rob Landley <[email protected]>
Fix Darwin build.

The recent changes to strip harder on Linux broke Darwin, which
doesn't have those options.

github.com/landley/toybox - 4991ae7261671f00040c85a1c2d2eb39fd6a05ae authored almost 3 years ago by Elliott Hughes <[email protected]>
A little bit more mkroot polishing.

github.com/landley/toybox - 5ded47eff0e3a9f4295448cbe75cb913cedb6da7 authored almost 3 years ago by Rob Landley <[email protected]>
Reword some command directory READMEs (this tweaks menuconfig display).

github.com/landley/toybox - 3e8b019665b0dc18661a8a7e0ab32d177e4a6f42 authored almost 3 years ago by Rob Landley <[email protected]>
Cleanup nl (it had a stale TODO entry).

Also, the user of FLAG(E) depended on it being 1 and it wasn't, finish -E test.

github.com/landley/toybox - 37f94908b8c4f996713a094340b9f15a09227d97 authored almost 3 years ago by Rob Landley <[email protected]>
File time's realtime output and switch to clock_gettime().

github.com/landley/toybox - 46a369dc387135675183ef071915e62d99e002ad authored almost 3 years ago by Rob Landley <[email protected]>
Add LL to 0 to prevent gcc from warning that 0<<32 might produce 0.

github.com/landley/toybox - ef363a8af2c6250041099381eeab9383bcb44ffe authored almost 3 years ago by Rob Landley <[email protected]>
Work around linux kernel bug to make "ping" work.

github.com/landley/toybox - f1289c44c7c506b4ad5e92e4083ce9533eeea7b0 authored about 3 years ago by Rob Landley <[email protected]>
Replace \033 with \e in strings.

github.com/landley/toybox - c3f3f842c55429353cf1ce490b8d635380ef9326 authored about 3 years ago by Rob Landley <[email protected]>
Remove tty_esc() and tty_jump() wrappers, just output ANSI directly.

github.com/landley/toybox - 9a1b068c3593d87ef23c6cc0d05cc230aee5070c authored about 3 years ago by Rob Landley <[email protected]>
Have -B remove more characters Ted Tso's implementation doesn't emit.

github.com/landley/toybox - 25fd949e513b13f0f9ca01417875a4788aa5e336 authored about 3 years ago by Rob Landley <[email protected]>
Wean hexedit off tty_esc() and tty_jump(), just output sequences directly.

github.com/landley/toybox - c2410a38e2031b730dc9d074b20a324644c5aa48 authored about 3 years ago by Rob Landley <[email protected]>
Remove non-posix "sort -h".

The man page says this is EXPECTED to be in the wrong order:

$ echo -e '12345K\n1M' | sort -h...

github.com/landley/toybox - b0a4a96e36da616dabff85917c0155b1dd59f45c authored about 3 years ago by Rob Landley <[email protected]>
Yank some unnecessarily exported global variables that should be static.

github.com/landley/toybox - 59e16e10b41c764327fd92fd1ad800859e1fd797 authored about 3 years ago by Rob Landley <[email protected]>
Teach sort -h to handle decimals.

(Didn't want to tangle it into the "isinf/nan" stuff with -g, but forgot
to actually add the dec...

github.com/landley/toybox - 7aaf3f36f86dc2c17ec1e86c77b1790d706d41bd authored about 3 years ago by Rob Landley <[email protected]>
Move ext2.html into www/doc and convert mount.txt to mount.html

github.com/landley/toybox - 218e3aa7eb15c62a0f37dd07f2b3e2170636b5c5 authored about 3 years ago by Rob Landley <[email protected]>
Add sort -h (human readable), have -u imply -s, and general cleanup.

github.com/landley/toybox - e28e5bb465f7f559f19763903c6a462c4c42c11e authored about 3 years ago by Rob Landley <[email protected]>
Teach host to look up nameserver in /etc/resolv.conf and use same

codepath for specified nameservers and system nameservers.

This means bionic not having res_send...

github.com/landley/toybox - 3a33734a8402d2c1ace1b0a28012f40936eb7c46 authored about 3 years ago by Rob Landley <[email protected]>
Promote host to net

github.com/landley/toybox - 9e0547cb94c8532b46072f76c9d626d63dbc6a66 authored about 3 years ago by Rob Landley <[email protected]>
Move #include <sys/syscall.h> into toys.h.

github.com/landley/toybox - 61cb6ab6b97b0d1ce826d058bdc91b2877315b3e authored about 3 years ago by Rob Landley <[email protected]>
Have llist_pop(0) return NULL the same way dlist_pop() does.

github.com/landley/toybox - 7dc743d21fe0cd74ee6a57c29235a57b2d17cb16 authored about 3 years ago by Rob Landley <[email protected]>
Don't remove the atexit() and then call it manually right before exiting.

github.com/landley/toybox - 34a025cc0eae658b264e81b4bdba19920e88f510 authored about 3 years ago by Rob Landley <[email protected]>
Make xsignal_all_killers() slightly less magic. (Use SIG_DFL instead of NULL.)

github.com/landley/toybox - de0e3fc0fb96df55bbd5b5474433f3ed9a583664 authored about 3 years ago by Rob Landley <[email protected]>
Move QEMU bug workaround from host wrapper to target init script.

(QEMU's bios inexplicably outputs the DEC private mode wordwrap disable
sequence from "man 4 con...

github.com/landley/toybox - 42ff6bd1de346e63bf90800b279fa02144101c90 authored about 3 years ago by Rob Landley <[email protected]>
Add cmp -n and wire up skip1 and skip2, plus new test, FLAG() conversions...

github.com/landley/toybox - f4f5fd5d785120a12cb61d6da5c684eac9d6f4af authored about 3 years ago by Rob Landley <[email protected]>
When building with -funsigned-char, warning about passing a "char *" to an

"unsigned char *" is 100% useless.

github.com/landley/toybox - 9827d4aa03723be43778c7fe70beb048d8eac94c authored about 3 years ago by Rob Landley <[email protected]>
Clean up host.

github.com/landley/toybox - 95578350a3e893519ddd51f24d8bfe617ee651cc authored about 3 years ago by Rob Landley <[email protected]>
Fix a typo in my name

This fixes a typo in my name, thanks for crediting me!

github.com/landley/toybox - 34d660ecda7caed8bcb57372f602f6b647e02bdc authored about 3 years ago by Firas Khalil Khana <[email protected]>
Attempt to make --preserve=xattr,context work together and individually.

Note: context should really be using setfscreatecon(), but that involves
scanning (cacheing) xat...

github.com/landley/toybox - e1917654af98842cf8e0e3b170565ef3fc97c5fe authored about 3 years ago by Rob Landley <[email protected]>
Fix logic to avoid copying selinux context xattr.

github.com/landley/toybox - 887ba4eb7a3f826f3e7c1a9c1de8f9fa71ddee95 authored about 3 years ago by Dario Freni <[email protected]>
Fix inappropriate use of sigatexit()

github.com/landley/toybox - 794a0247d0b1b775cb008c43da03a20025066646 authored about 3 years ago by Rob Landley <[email protected]>
Minor cleanups: comments, whitespace, use \e instead of \033

github.com/landley/toybox - f1b91e30c44064ecb324d7fad61fad114dda348c authored about 3 years ago by Rob Landley <[email protected]>
iggyvolz pointed out that mkroot targets with builtin initramfs were

quietly exiting with failure near the end. (Ooops, my bad.)

github.com/landley/toybox - ea4748a7cbfa5e2f3ef188f917d4e5aeac70dd0f authored about 3 years ago by Rob Landley <[email protected]>
Promote uclampset to other.

github.com/landley/toybox - 8b7e02f42843768119945623d12dce155bacb168 authored about 3 years ago by Rob Landley <[email protected]>
Cleanup uclampset.

github.com/landley/toybox - ee69001bba01bf731346da1eb479ffa1c4b91d80 authored about 3 years ago by Rob Landley <[email protected]>
Add uclampset(1).

No standard, but part of util-linux.

github.com/landley/toybox - f1b22c5de077303da48827d75f6b995e154632fb authored about 3 years ago by Elliott Hughes <[email protected]>
Add -samefile, collate help text, cleanup, update tests.

github.com/landley/toybox - 4824756b7a0ac7714d35ccbc6467b4afe6b9bab8 authored about 3 years ago by Rob Landley <[email protected]>
Clean up password plumbing.

github.com/landley/toybox - 0f51bfc50c0ddf5dd44976672d43d9ffa8680459 authored about 3 years ago by Rob Landley <[email protected]>
Move get_line() out of lib/ into last user.

github.com/landley/toybox - 15cbb92dffc855e6016f0c21cfbeff97a578f1d9 authored about 3 years ago by Rob Landley <[email protected]>
Tiny cleanup.

github.com/landley/toybox - d42cb27e0bb7360e503d10da8ed70e3f9466b724 authored about 3 years ago by Rob Landley <[email protected]>
strace: fix m68k build.

github.com/landley/toybox - ca6fcbbc86009392645e094aa5fed6b34a328a05 authored about 3 years ago by Elliott Hughes <[email protected]>
Running mkroot package builds in a subshell means they can't set QEMU_MORE.

github.com/landley/toybox - 8cf1722f0fde510ea81d13b31bde1e48917a0306 authored about 3 years ago by Rob Landley <[email protected]>
The /etc/rc source didn't have the directory so was searching the $PATH,

and package builds like dropbear were what was using $QEMU_MORE so put
it back.

github.com/landley/toybox - 864370cab12d6f950a1b94bebc060f2be8edead0 authored about 3 years ago by Rob Landley <[email protected]>
Update version to 0.8.6 and add release notes.

github.com/landley/toybox - a558435edcec48a532e5230c7d645cd58c9517be authored about 3 years ago by Rob Landley <[email protected]>
More work on mkroot.

Reorder stuff to be easier to explain.
Don't shift $@ or the recursive call won't have arguments...

github.com/landley/toybox - a3830574443b89b6e79fc9a48dd35d82c121053c authored about 3 years ago by Rob Landley <[email protected]>
Update package versions

github.com/landley/toybox - 1f413768287dd9dd8eb83f29be016d196f73cd8b authored about 3 years ago by Rob Landley <[email protected]>
Update status.html generator.

Get pending back on the status page, add shell builtins as a category.

github.com/landley/toybox - 0e4975712a3a501d995db9a4fc06f91c68267845 authored about 3 years ago by Rob Landley <[email protected]>
mkroot isn't setting CROSS_BASE anymore, so have the consumer do it.

github.com/landley/toybox - 67ce5b6e50b703550d32d15b2df395921e2e987f authored about 3 years ago by Rob Landley <[email protected]>
Fix CROSS_COMPILE setting CROSS.

github.com/landley/toybox - 706c637e0d45854f85995e300fef704bb88b3ad2 authored about 3 years ago by Rob Landley <[email protected]>
A little more mkroot polishing before release.

github.com/landley/toybox - 24e1386fdf1f4e0031cb7767921033c16481e7cf authored about 3 years ago by Rob Landley <[email protected]>
Teach test suite to combine VERBOSE options, ala VERBOSE=allquiet

github.com/landley/toybox - 15d00e0dcf59f6f5a6921165949bb1ebc296a7a0 authored about 3 years ago by Rob Landley <[email protected]>
Fix unused variable warnings found by clang/llvm 13.

github.com/landley/toybox - 0aeca08240660c2c99f1850ab419f92c066ea4ba authored about 3 years ago by Rob Landley <[email protected]>
Make time -p output exact posix format, remove TOYBOX_FLOAT dependency,

make -pv switch each other off.

github.com/landley/toybox - 16b9f7cd0f25db8f34dea2ece267f47b72a06099 authored about 3 years ago by Rob Landley <[email protected]>
Files linked from checked in html (and on the web page) that aren't checked in.

github.com/landley/toybox - 3ca47ae2f3718f3c5cec1f7c4552ef77eb59b3dd authored about 3 years ago by Rob Landley <[email protected]>
Always test -r and have plumbing set -r for -R

github.com/landley/toybox - 3471149f1eaff891f2bb3814b3fec0dae61a0005 authored about 3 years ago by Rob Landley <[email protected]>
Add VERBOSE=spam to show successful tests.

github.com/landley/toybox - ddf01ab133900decbb9ad46df205f7647d43936e authored about 3 years ago by Rob Landley <[email protected]>
Fix $((math)) recursion order, handle "" as 0, and add more tests.

github.com/landley/toybox - fac49481c6b4639e5a2fad6ea08ab6cd29b9304c authored about 3 years ago by Rob Landley <[email protected]>
Make CROSS=all and record-commands play nice together.

github.com/landley/toybox - b422cc51ea6e811c0282541ea5093f110842f7b7 authored about 3 years ago by Rob Landley <[email protected]>
More mkroot changes. Add record-commands logging, more error checking,

ensure package scripts run in order, reorder for intelligibility.

github.com/landley/toybox - a0d8377466ee7333966fc0dcbdb311f36bc9df68 authored about 3 years ago by Rob Landley <[email protected]>
Don't search for "configure" out of $PATH.

github.com/landley/toybox - eff1703cc300a34befd72c7adb99972b54893594 authored about 3 years ago by Rob Landley <[email protected]>
Update script/record-commands and rename logwrapper->logpath.

github.com/landley/toybox - 9fb4ebd690a1cec28706fc7fea71cfd0ceabd6de authored about 3 years ago by Rob Landley <[email protected]>
Remove scripts/single.sh depedency on existing defconfig for global symbols.

It'll use it if there, but creates its own defconfig in .singleconfig if not,
thus using default...

github.com/landley/toybox - b9cae21853934cf294e5c02f7fe005d7494f4156 authored about 3 years ago by Rob Landley <[email protected]>
Add support for more targets.

github.com/landley/toybox - 1c5e9467f56bc00b257004eaac49ab8bd074f8d4 authored about 3 years ago by Rob Landley <[email protected]>
Implement declare, fix nommu subshell marshalling, fix blank int var assigns.

github.com/landley/toybox - 8ead6936e1e8bf28747d99839b78b1dc017db537 authored about 3 years ago by Rob Landley <[email protected]>
Replace various x = x declarations with QUIET macro to shut up gcc.

(Note: llvm does not produce these false positive warnings, only gcc does.)

github.com/landley/toybox - 039d59d227f2880dbdcb6d0fd4cfeb4f09d8e238 authored about 3 years ago by Rob Landley <[email protected]>
Fix env properly: env -i uses old $PATH, but use new PATH= when redefined.

Also add QUIET macro to shut up gcc's "isn't actually used uninitalized"
warnings, instead of do...

github.com/landley/toybox - 284a27675c5d3274965a4fc312d3f410c090f25f authored about 3 years ago by Rob Landley <[email protected]>
Yank -lrt linking entirely: when statically linked it pulls in pthreads for non-threaded programs, and neither bionic nor musl have it. (This means glibc always does the HASTIMERS syscall wrap.)

github.com/landley/toybox - f8883bd296bb6dad1f4bd90dba806877eaa32ba4 authored about 3 years ago by Rob Landley <[email protected]>
Don't forbid grep -Fw combination, it works find and the

linux powerpc64le build uses it.

github.com/landley/toybox - 52e27717aedce6da25ec8f2f035736d56dbdc005 authored about 3 years ago by Rob Landley <[email protected]>
Multiple mkroot changes.

github.com/landley/toybox - 1b8fa91f836c3d5b4f57db88134d72dcd4dfc5cb authored about 3 years ago by Rob Landley <[email protected]>
Take status.html version info from toybox binary, not repo.

Also, washing the sed call through /bin/sh confuses it. Don't do that.

github.com/landley/toybox - f60b420eec7df324b78be2c99ad0929c0150ad5d authored about 3 years ago by Rob Landley <[email protected]>
Generate status.html directly instead of ssi-ing a status.gen.

github.com/landley/toybox - 21263839e15d8be719cd35a00fd4533577dcef50 authored about 3 years ago by Rob Landley <[email protected]>