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

Add more things Ed Maste says build on FreeBSD to bsd_defconfig.

github.com/landley/toybox - 93c8ea40a126b534f265c028307cbaf6491cb61f authored about 1 year ago by Rob Landley <[email protected]>
Mac and BSD use "gmake", so use $(MAKE) to pass along argv[0] name.

github.com/landley/toybox - 43c856a8891c3bdcbda7eccbbf8ec74144dad651 authored about 1 year ago by Rob Landley <[email protected]>
microcom: move from e[x]it to [q]uit.

Also, if we're going to have a single line of help, switch to the more
common format for such pr...

github.com/landley/toybox - 2bc5daeb78343a4c33e651248d7981de38f5da41 authored about 1 year ago by Elliott Hughes <[email protected]>
Move md5/sha1/sha256 hash code to lib/hash.c

github.com/landley/toybox - f7998feebdf85b0e764224582425e4faf3aa5c5e authored about 1 year ago by Rob Landley <[email protected]>
readelf: decode RISCV_ATTRIBUTES sections.

arc, arm32, and csky all have these sections too, but I've never seen
arc or csky in real life, ...

github.com/landley/toybox - 3b4ca7d53d7a0b1cde717a489a00edd3ebd25d36 authored about 1 year ago by Elliott Hughes <[email protected]>
Prepare to move hash code to lib/

github.com/landley/toybox - 3905be58763ce09a870ca0b01bac8a90bd2fd131 authored about 1 year ago by Rob Landley <[email protected]>
Catch corrupted tarballs so we don't set a nonsense mode.

github.com/landley/toybox - 922bdeb57a43738e4c137bdb206924aaa80da19c authored about 1 year ago by Rob Landley <[email protected]>
Recognize .tgz->.tar.

github.com/landley/toybox - ed64d01ab5c3c9046e58dcd8303be988c48828bd authored about 1 year ago by Rob Landley <[email protected]>
file: add arm32 ELF flag decoding.

Also fix finding the flags in the ELF header for riscv32; the existing
code only worked for 64-b...

github.com/landley/toybox - af344977ea8cfc8cef388bf2f0b4c60688856bea authored about 1 year ago by Elliott Hughes <[email protected]>
Merge ror() and ror64() using sizeof()

github.com/landley/toybox - bb67360aaba15fb3a7ad2b51d1926e4c56309fd8 authored about 1 year ago by Rob Landley <[email protected]>
Move lib.c elf functions into elf.c.

github.com/landley/toybox - 52c3f80176d9d837b572f900846c7182f0b39f9f authored about 1 year ago by Rob Landley <[email protected]>
riscv: decode ELF header e_flags.

github.com/landley/toybox - be24f19878329d2fd3be2b4a3752a59b9ffde9ab authored about 1 year ago by Elliott Hughes <[email protected]>
Wean su.c off shadow.h (so ndk can build it).

github.com/landley/toybox - 20eb4585a140a4bcd7901d4892a3222ff9f0d122 authored about 1 year ago by Rob Landley <[email protected]>
Don't use CTRL() macro that glibc leaks from termios.h but musl and bionic don't

github.com/landley/toybox - 6d1c046e732986fc31c76d5051955593c005c38f authored about 1 year ago by Rob Landley <[email protected]>
ip: improve 'ip link set' parsing

Some utilities expect that the order of parameters does not matter since
it is the behavior of i...

github.com/landley/toybox - b90a502652f44672263353d347fd6adc8110e8ec authored about 1 year ago by Mathieu Anquetin <[email protected]>
microcom: simple menu, new "paste file" functionality.

Rather than take up yet another key for the new functionality, I've moved
everything to a menu, ...

github.com/landley/toybox - 3b3ab4464c943a9da5e36e1375a86acbc264834c authored about 1 year ago by Elliott Hughes <[email protected]>
getconf: fix sense of #if conditional.

Luckily this was obvious because it broke the macOS build.

github.com/landley/toybox - 5e9d2fa14895d2eacd9cb2a59da851847819002e authored about 1 year ago by Elliott Hughes <[email protected]>
Cleanup: move #ifdef around the CONF block and eliminate stub list.

The apple entries we stub out are scattered through the table, but this
is a contiguous all-or-n...

github.com/landley/toybox - 4df5dbb5c4dc3e0068ee4b93298bd7f081caae20 authored about 1 year ago by Rob Landley <[email protected]>
getconf: add cache size sysconf() queries.

It can otherwise be quite awkward to get at this --- riscv64 puts it all
neatly in the ELF auxv,...

github.com/landley/toybox - 7bb0170516c1506c11ad007b2f989844403869e9 authored about 1 year ago by Elliott Hughes <[email protected]>
Fix tr -t no set2 segfault and help text

github.com/landley/toybox - d9793bee00aae304b1d7b550600bec7bdb601702 authored about 1 year ago by Oliver Webb <[email protected]>
Fix rate calculation.

github.com/landley/toybox - 2f93b89b62d10fa75a6869a4f84cad861c0aea1b authored about 1 year ago by Rob Landley <[email protected]>
Minor cleanup.

github.com/landley/toybox - d435ccd7e0b67f679378233486042f3b5ae8cdb6 authored about 1 year ago by Rob Landley <[email protected]>
Added tr -t and test case for it, Minor formatting cleanup in tr.c

github.com/landley/toybox - 8051186b8faee032253bfb5d9fec574545c38008 authored about 1 year ago by Oliver Webb <[email protected]>
Switch yes to writev() a redundant iovec to produce output in bigger chunks,

speeding it up from megabytes to gigabytes.

Also, move #include uio.h from dd.c to toys.h (it's ...

github.com/landley/toybox - d3cef27b10ec91b14c917f52ff0d4550d81327f6 authored about 1 year ago by Rob Landley <[email protected]>
vi.c: add backwards search, add j(oin) ex command

github.com/landley/toybox - 67b2094c2cef42432165f398d82d373d2f7a72a8 authored about 1 year ago by Oliver Webb <[email protected]>
Replaced some calles to run_vi_cmd to more direct calls, Fixed memory leak in line range code, Removed Trailing whitespace

github.com/landley/toybox - 16079eab9df264d46968e1ba551db6d9273fde1a authored about 1 year ago by Oliver Webb <[email protected]>
Add count -l, suggested by Oliver Webb.

github.com/landley/toybox - 464ab9faa5c41889f217c56a7975912278a3ce97 authored about 1 year ago by Rob Landley <[email protected]>
vi.c: Added 'v' command and updated help text

github.com/landley/toybox - d213cc94e33de383ea3591befc1553ea09fe8e80 authored about 1 year ago by Oliver Webb <[email protected]>
Tweak help text.

github.com/landley/toybox - bea61f704dfb59f1b8b71792e3d57d321e53d74e authored about 1 year ago by Rob Landley <[email protected]>
devmem: unify error reporting.

github.com/landley/toybox - a03007c188526140195e3640808afd6a093258bb authored about 1 year ago by Elliott Hughes <[email protected]>
Simplify bloatcheck a little.

github.com/landley/toybox - 574b26b9605efcce7ed38914e8796568abdce0ed authored about 1 year ago by Rob Landley <[email protected]>
Fix pidof tests when stdout is a socket

The pidof tests try to block a subprocess forever by reading from
stdout via /proc/self/fd/1. T...

github.com/landley/toybox - 6424bebf49c5519feb21899032ff49857fba4999 authored about 1 year ago by Colin Cross <[email protected]>
csplit: Don't count excluded lines as part of the filesize. Fix help text

github.com/landley/toybox - 61856b336bd24ad8fe67aa50fd478b6fe26a7ce5 authored about 1 year ago by Oliver Webb <[email protected]>
vi.c: Added ex 'g' command, Replaced "sleep(1)" with getchar() in error handler

github.com/landley/toybox - 52e0ed4ff0444574385d0e832b1bfdac52c3e03e authored about 1 year ago by Oliver Webb <[email protected]>
Add some (void) typecasts to shut up busybody compiler "unused result" warnings.

If watchdog writes fail, the system is about to reboot. No recovery possible.

If the init task ...

github.com/landley/toybox - 657f94698c7fc7d4f9838cbcf3b4b78e38939d5c authored about 1 year ago by Rob Landley <[email protected]>
SID can be 0 before PID 1 calls setsid()

github.com/landley/toybox - 94913b5d0c5687f19ed2a79f57a21a92e056eaa6 authored about 1 year ago by Rob Landley <[email protected]>
Switch devmem to use long instead of long long, to be nicer to 32 bit targets.

(Zaps warning, and you can't do an atomic 8 byte write on 32 bit targets.)

github.com/landley/toybox - 5f153b56214f32c679b7eef18eff59d7052c132c authored about 1 year ago by Rob Landley <[email protected]>
Storing nothing on ecryptfs wastes more space than expected.

github.com/landley/toybox - 19a1a11f305c36bbd2005afefc69c6cfd359bfe5 authored about 1 year ago by Rob Landley <[email protected]>
The maximum filename length on ecryptfs is 143 bytes.

github.com/landley/toybox - 71197a67521d678a497079c20d954b9677f419f2 authored about 1 year ago by Rob Landley <[email protected]>
Initialize plen.

github.com/landley/toybox - 47946f241a4e69454b9cea0e18a3a1d457363d81 authored about 1 year ago by Rob Landley <[email protected]>
diff.test: mksh compatibility.

This test never passed on Android, but a quirk of how we were running
it meant we never noticed ...

github.com/landley/toybox - 85a40984244a82e193ec65ec7434b091c6e2e8c5 authored about 1 year ago by Elliott Hughes <[email protected]>
Take exit code from SIGCHLD siginfo instead of wait.

Trying to fix race condition where SIGCHLD happens before parent calls wait().
We need the signa...

github.com/landley/toybox - acac56a2babe2fcc44cedb5c3542b59bb367970f authored about 1 year ago by Rob Landley <[email protected]>
Make "about" the default web page index.html points to.

Move "current release" into header, update release.txt, redo quickstart again.

github.com/landley/toybox - fcea979dc0908e40d637b671c135f47e3a63e5cc authored about 1 year ago by Rob Landley <[email protected]>
Commit xgetdelim() used by fold(). (Oops.)

github.com/landley/toybox - 0674deaed1dc59ee9c7c14ed147cd4c4c90abe09 authored about 1 year ago by Rob Landley <[email protected]>
Whitespace, and move a couple variable declarations.

github.com/landley/toybox - c0332904df17117774de2ee38cb5465b8a720f03 authored about 1 year ago by Rob Landley <[email protected]>
Tweak help text.

github.com/landley/toybox - 2ca6945cadefcd820e1646847c5d886ede1b1d6a authored about 1 year ago by Rob Landley <[email protected]>
vi: list commands supported in help desc

implelemented commands are listed and grouped
command functionality is not described

github.com/landley/toybox - e46579dc35a3d2beb821d969d6768aa177a3f27c authored about 1 year ago by Jarno Mäkipää <[email protected]>
Promote tsort (and tweak help text).

github.com/landley/toybox - 5289ecee1c5d7b8bafa4421f623394824a5d1f3f authored about 1 year ago by Rob Landley <[email protected]>
Add tests, minor fixes.

github.com/landley/toybox - 1240e35d8c16e605865e3d18a07d14b7c7f64268 authored about 1 year ago by Rob Landley <[email protected]>
Shut the stupid compiler up.

github.com/landley/toybox - a069d33edeb7fe08803bf49e0948ddd798124e60 authored about 1 year ago by Rob Landley <[email protected]>
Fix duplicate suppression for "f a c f" input, don't print output before

we know there aren't any loops.

github.com/landley/toybox - 628fb8899907fefeb632291de5b2806a2f03ab0e authored about 1 year ago by Rob Landley <[email protected]>
With tar -h, any file can be a hardlink.

github.com/landley/toybox - 658a944a6f77a58bd5f50d24b703ad6c118b1071 authored about 1 year ago by Rob Landley <[email protected]>
Set DIRTREE_SYMFOLLOW when we followed a symlink to this node.

(Mask out the bit in callers that just want DIRTREE_COMEAGAIN.)

github.com/landley/toybox - 97d03ecf95957fefc5bb9fdb5110e71f1000a4de authored about 1 year ago by Rob Landley <[email protected]>
vi.c: Fixed line gotos, added CTL() macro, Line ranges (and "%"), CTRL-D, Replaced '27' with '\e'

github.com/landley/toybox - e606e0f906998e49f9a729b5a8b88601d2b1fb53 authored about 1 year ago by Oliver Webb <[email protected]>
Cleanup pass on lsattr.

github.com/landley/toybox - 731c89b677975ee272f00a29c1fa0ed0120f14cf authored about 1 year ago by Rob Landley <[email protected]>
Add missing follow symlink check.

github.com/landley/toybox - d595e2a0a3d55589e432e7a5a1334293439455d0 authored about 1 year ago by Rob Landley <[email protected]>
Promote fold.

github.com/landley/toybox - c6c168f05d6262adc439d13a5711e8595d450867 authored about 1 year ago by Rob Landley <[email protected]>
Break tabs to match terminal behavior, and add wide/combining char tests.

Even thought modern terminals remember tabs vs spaces for cut-and-paste,
backspace backs up exac...

github.com/landley/toybox - d01fc8e922cdfd5f814f8321bfe0e4ba3701321f authored about 1 year ago by Rob Landley <[email protected]>
Fold tests and corresponding fixes.

github.com/landley/toybox - ac7d28f7efee5ebd9576ddd577a53240c4ad6765 authored about 1 year ago by Rob Landley <[email protected]>
Rewrite fold to handle unicode and match other implementations output.

github.com/landley/toybox - 3219337f549ac164456e1f43db1325a42b5c1f73 authored about 1 year ago by Rob Landley <[email protected]>
vi.c: Added line gotos in ex mode, Replaced Hex Values with characters, replaced strstr() with strncmp() while processing ex commands

github.com/landley/toybox - b3fd188e6e6ccc2af77412cd261feeedaab249a1 authored about 1 year ago by Oliver Webb <[email protected]>
Remove TOYFLAG_LOCALE.

We've unconditionally set a utf8 locale in main.c for a while, and
sprintf("%.*s", len, str) is ...

github.com/landley/toybox - 593bd728fc12573885191471b2978ae4fb0e28fa authored over 1 year ago by Rob Landley <[email protected]>
Michael Shavit pointed out strtoul->strtoull and requested checking errno

(presumably to catch overflow that doesn't leave unconsumed digits).

github.com/landley/toybox - 85ae0e1b52487adfe8f06509f5e02bc089d3702e authored over 1 year ago by Rob Landley <[email protected]>
Cleanup pass on csplit.

Whitespace (code style, don't mix space/tab, trailing whitespace, etc).
Various "don't break aft...

github.com/landley/toybox - 92ca424e72cf94c6a52c6442c475fcaf7990cf1d authored over 1 year ago by Rob Landley <[email protected]>
Fixed relative line numbers, code formatting, number offsets

github.com/landley/toybox - 58123f54a5855198581f33ac77abd1235ad06860 authored over 1 year ago by Oliver Webb <[email protected]>
Another pass on quickstart text.

github.com/landley/toybox - c503c772dd925ffbc1d9fa476591b70a7b201446 authored over 1 year ago by Rob Landley <[email protected]>
Fix reset command.

Teach set_terminal to do a proper cfmakecooked() and have
reset.c use it so "stty -echo; reset" ...

github.com/landley/toybox - d93384a1050919c093ffa2532e88e7371db9ac33 authored over 1 year ago by Rob Landley <[email protected]>
Only need one "no such file or directory" error message from exec.

github.com/landley/toybox - 5ac55758ad9a2b1bdf8e9126f40f223ab7c591b2 authored over 1 year ago by Rob Landley <[email protected]>
Don't exec NOFORK commands.

github.com/landley/toybox - e92d3ea99892b6e2c5caa45abcccee7b550861ae authored over 1 year ago by Rob Landley <[email protected]>
Minor fixes in csplit, got %regex% to exclude stuff

github.com/landley/toybox - 2017aaaee99c4cae6a0548364f2cf7b7a4d3c526 authored over 1 year ago by Oliver Webb <[email protected]>
Variable declarations go at the start of blocks (see design.html Coding Style)

and we already have a "rel" variable for relative time: use the more obvious
initialization for t...

github.com/landley/toybox - b1700594c3cae193d8e9e1b3d72cf815a3d91add authored over 1 year ago by Rob Landley <[email protected]>
Fixed Memory Leak in ts.c and make -i and -s use gmtime

github.com/landley/toybox - 49bd9632941f6da43c66591261049837c24a6c6e authored over 1 year ago by Oliver Webb <[email protected]>
Implementation of csplit command

github.com/landley/toybox - 8ebc96f25cce0a5c1dea6bbc7bbc4d65d60dea6c authored over 1 year ago by Oliver Webb <[email protected]>
Promote ts.

github.com/landley/toybox - 42963c1d2ea457269c430c4779646e7b0412bff6 authored over 1 year ago by Rob Landley <[email protected]>
Add -m milliseconds option.

github.com/landley/toybox - 6b2898bc81b056945ac93161b40544c10075fca4 authored over 1 year ago by Rob Landley <[email protected]>
First stab at tsort.

github.com/landley/toybox - ee3cceeb7a4428f0200959b3036ef26f28a16e91 authored over 1 year ago by Rob Landley <[email protected]>
Cleanup ts and add -s flag.

github.com/landley/toybox - e802bd49b8b736b3cbb44d0574b0a32fbc51f965 authored over 1 year ago by Rob Landley <[email protected]>
A implementation of the ts command

github.com/landley/toybox - 290aa60e6994eacc52645fe0916bbe69d9101337 authored over 1 year ago by Oliver Webb <[email protected]>
Use 64 bit comparisons.

github.com/landley/toybox - 251be88968c12a2fb8689564f93f330b23a36fd5 authored over 1 year ago by Rob Landley <[email protected]>
Better fix for backslash issue: parse_word(x, 1) never return NULL.

github.com/landley/toybox - 0c13db50305406b4a104fbe075daa4625b40580b authored over 1 year ago by Rob Landley <[email protected]>
modified: toys/pending/sh.c

When toysh processes a escaped newline, A segfault can occur if the
command is formatted in...

github.com/landley/toybox - ca6b4798102d1b758ebf1e15806894b946353b39 authored over 1 year ago by Oliver Webb <[email protected]>
Cleanup pass.

github.com/landley/toybox - cb5b1996577f4c41420f4b80a8b8924b8d00dc95 authored over 1 year ago by Rob Landley <[email protected]>
Switch 2k global to malloc().

github.com/landley/toybox - 2018dbab3dac93b2c22cc247660b4c084e57f99c authored over 1 year ago by Rob Landley <[email protected]>
No real need for 1k of global data in cksum.

Downside is we re-init the table for each file, but eh. Inline the
per-byte functions while we'r...

github.com/landley/toybox - c05616ad42c8a1e3adce40e995d9d3203156aec3 authored over 1 year ago by Rob Landley <[email protected]>
Slight simplification.

github.com/landley/toybox - 2aafb7dd9abc54b6e8ac1ea0b4a2bf3a6cf9779c authored over 1 year ago by Rob Landley <[email protected]>
Michael Shavit hit a problem with 8 byte wide writes, so switch from

signed atolx() to unsigned strtoul() which has the side effect of not
parsing the kmg suffixes. (...

github.com/landley/toybox - ad36c8765d8a2fae0bf33460588f815d136ac9a0 authored over 1 year ago by Rob Landley <[email protected]>
xxd: better error message.

`xxd -r` with `-p` format input (rather than the `xxd -r -p` that
you actually need to decode th...

github.com/landley/toybox - 495a33e6577b02362acd37ffd454c2793803fda3 authored over 1 year ago by Elliott Hughes <[email protected]>
strace: various fixes and improvements.

More system calls and better decoding of existing syscalls.

github.com/landley/toybox - 10a7149b27c73e8e79e4dfd5992c621f92f2a18c authored over 1 year ago by Elliott Hughes <[email protected]>
Add mkpasswd tests and allow -m sha* salt length range 8-16 instead of just 16.

github.com/landley/toybox - acfe7ab66f201773cd13f07bb97dafd5ecabdf8f authored over 1 year ago by Rob Landley <[email protected]>
Redo lib/password.c to remove shadow.h.

Implement internal common plumbing to modify colon separated files.
Doesn't handle "pam" but the...

github.com/landley/toybox - 6c30b3534205719650bce51a498492b7748228d1 authored over 1 year ago by Rob Landley <[email protected]>
Temporarily un-promote passwd.c until the lib/password.c rewrite

gets waaaay more testing. (And migrating to internal hash functions
since glibc 2.38 decided to s...

github.com/landley/toybox - f614f4b93030b356e279659d89c7a86905c458f2 authored over 1 year ago by Rob Landley <[email protected]>
fix compiler error

github.com/landley/toybox - 2c36636377e1c0615bfa2394eec49488f032e95d authored over 1 year ago by enh <[email protected]>
Convert a few stray error_msg("%s", x) to error_msg_raw(x).

github.com/landley/toybox - 4376a74b614fbee7a581b1598e868a0464a0bf57 authored over 1 year ago by Rob Landley <[email protected]>
One more step in the release procedure...

github.com/landley/toybox - ea57f2f2009db97a2acf190ff59cd58d88a9c5b0 authored over 1 year ago by Rob Landley <[email protected]>
Add quickstart page and redirect index.html to it.

Pointing new users at release notes was never ideal. It highlights
"project is alive and activel...

github.com/landley/toybox - 598eb8a38c22f6b24ec2fea091e1e25d4a71371d authored over 1 year ago by Rob Landley <[email protected]>
Document -F

github.com/landley/toybox - 57b2c9057964ddb059c1d21aee824972347073a5 authored over 1 year ago by Rob Landley <[email protected]>
Copy xattrs for directories too.

github.com/landley/toybox - 896b64db351a2ba94df82f4f604004c4fb84fb67 authored over 1 year ago by Rob Landley <[email protected]>
Make ls -k switch off --block-size, document it, and two fixes to lib/args.c.

1) handle the high bit octal escape syntax in [-abc]
2) switching off an option sets it back to ...

github.com/landley/toybox - 4c535fe4adb1b282b58354dfa442f858128e2168 authored over 1 year ago by Rob Landley <[email protected]>
Make negative sort offsets in -k keys count right to left.

github.com/landley/toybox - 8deb5891fb4c4baedf5f2e7a36d5464053a10224 authored over 1 year ago by Rob Landley <[email protected]>
Cleanup pass on expr.

github.com/landley/toybox - c214dcda05d5e513eaecb392c62fef90f93927d5 authored over 1 year ago by Rob Landley <[email protected]>