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

Tweak .gitignore.

github.com/landley/toybox - ad72a55c9aa5c3ccee1853fc21bfa0350c20d48b authored almost 10 years ago by Rob Landley <[email protected]>
Tweak README

github.com/landley/toybox - a6916cd7dbae9cd8ec9d70668f5cb63e5922ff15 authored almost 10 years ago by Rob Landley <[email protected]>
Update multiplexer help text for --version

github.com/landley/toybox - 0a403900d689ecbe011ec41ee87b6dcbd615b405 authored almost 10 years ago by Rob Landley <[email protected]>
Revert last mdev commit because it copied code out of a GPLv2 program.

Guys, you CANNOT COPY CODE FROM BUSYBOX. I don't care if I was the initial
author of that file, ...

github.com/landley/toybox - d5959c27779e556fda4694d4fa8ea214138af35b authored almost 10 years ago by Rob Landley <[email protected]>
Adding --version broke ./toybox command list. (Oops.)

github.com/landley/toybox - e7acb4749dc655fee22d08f2723ea783f0d75fb6 authored almost 10 years ago by Rob Landley <[email protected]>
Announce switch to git.

github.com/landley/toybox - e0269f14c765abdc212f464d480fc3361fd7815b authored almost 10 years ago by Rob Landley <[email protected]>
Add --version to multiplexer.

Can't think of a better place to stick the actual version info than a #define
at the top of main...

github.com/landley/toybox - ad602aa127e44eade76fbb05fd27ee8f5825282a authored almost 10 years ago by Rob Landley <[email protected]>
Bite the bullet and switch over to git.

github.com/landley/toybox - dabd89c86484595a8a44f0ba38b0f28825c72e64 authored almost 10 years ago by Rob Landley <[email protected]>
To ensure that toybox can be installed alongside busybox without

confusing update-alternatives, the paths of the links installed by toybox should
match those inst...

github.com/landley/toybox - 1dd3704c5ffea926f61a96bb7de7d9dbee52fa44 authored almost 10 years ago by Paul Barker <[email protected]>
Another in-progress ps snapshot.

github.com/landley/toybox - 08089370c99af7a38d8896c4aa18c6b4bbd5ffc7 authored almost 10 years ago by Rob Landley <[email protected]>
Add readfileat() to lib

github.com/landley/toybox - e10483fdc9ef8b69b2a420e8d991b865e05b85b9 authored almost 10 years ago by Rob Landley <[email protected]>
ps checkpoint du jour. Does not work yet.

github.com/landley/toybox - 97c536c40eb4cc732b8a11688e0196281e90d81b authored almost 10 years ago by Rob Landley <[email protected]>
Redoing ps from scratch. Random checkpoint that probably doesn't even compile.

Checking in a stopping point where I figured out what I did wrong, before changing it.

github.com/landley/toybox - 9a733fc03f009beec6882520b928651e6a474f29 authored almost 10 years ago by Rob Landley <[email protected]>
Add head test for -123.

github.com/landley/toybox - d5c92c55c424d21fc5ab84ccc8b6d3e905fede6b authored almost 10 years ago by Rob Landley <[email protected]>
Fix head bug pointed out by felix janda (recent -123 code broke first file argument of -n).

github.com/landley/toybox - 857912ee354ae0c94ce18a99f7c7dd32b8169b87 authored almost 10 years ago by Rob Landley <[email protected]>
Fix sed bug David Halls hit trying to compile libiconv.

github.com/landley/toybox - a64e35b336dbca32aa16228b09670ff8f83029d2 authored almost 10 years ago by Rob Landley <[email protected]>
Fix printf bug (%.s should be %.0s not %s) reported by Isabella Parakiss.

github.com/landley/toybox - 5d431d1e1f9172587775c00a07b767f9b544cb91 authored almost 10 years ago by Rob Landley <[email protected]>
Fix an obvious typo in Makefile.

github.com/landley/toybox - 58e06423be7f568076d273a358975317c14de30a authored almost 10 years ago by Elliott Hughes <[email protected]>
update the Android section of roadmap.html

Four obsolete tools were removed from Android, and runcon moved to toybox.

github.com/landley/toybox - e00c7861a9f25db6333d85aebd6ca4e6b9b37d39 authored almost 10 years ago by Elliott Hughes <[email protected]>
Promote setenforce to android.

github.com/landley/toybox - 32422d1b640617a56688370e3ebf4025bb3cf087 authored almost 10 years ago by Rob Landley <[email protected]>
Cleanup setenforce.

github.com/landley/toybox - 960cad18087dd629567b5156331cbb03ef7d28d0 authored almost 10 years ago by Rob Landley <[email protected]>
Promote getenforce.

github.com/landley/toybox - 3fd794f7416380417cc75d075a26559b80d3059a authored almost 10 years ago by Rob Landley <[email protected]>
Cleanup getenforce.

github.com/landley/toybox - e3a2ab391d8946f458d6f0b3a4332bf0c0e13161 authored almost 10 years ago by Rob Landley <[email protected]>
Flag to make llvm shut up about a broken warning.

github.com/landley/toybox - ccccc2bfdd33b1e82bdd7c612fa3a99e0c8be567 authored almost 10 years ago by Rob Landley <[email protected]>
tail: add old -123 support and comment out #-f until it's actually implemented.

github.com/landley/toybox - 8d3b3987b8861ea09e2f7f5bd8fcd7b1195e6ae1 authored almost 10 years ago by Rob Landley <[email protected]>
Promote load_policy to android.

github.com/landley/toybox - 9c25bcb645c754f4c09d9d6b8da41bbded862f6c authored almost 10 years ago by Rob Landley <[email protected]>
Minor cleanup of load_policy.

github.com/landley/toybox - d410645aec7d51d49884a05863cf10497e43f0bc authored almost 10 years ago by Rob Landley <[email protected]>
Explain the craptacular nature of kconfig, and the plan to replace it.

github.com/landley/toybox - a89f05496c2b5f88f980a136fc9f9cc4c271584e authored almost 10 years ago by Rob Landley <[email protected]>
Fix toybox build with C99 compilers

toybox "make menuconfig" currently fails to build if the compiler is in C99
mode (clang 3.6 and ...

github.com/landley/toybox - 76f148583ab6eb709bd930aeec6855663619a68b authored almost 10 years ago by Bernhard Rosenkr?nzer <[email protected]>
Implement load_policy.

Note that this is a case where Android's tool isn't the same as the
usual tool. Ours takes an ex...

github.com/landley/toybox - d6d4ad0663dc91a448139d9bac4fecab43a41b30 authored almost 10 years ago by Elliott Hughes <[email protected]>
Promote runcon to android (and add an android menu).

github.com/landley/toybox - 47dd32825ea32796f3094f45f4e4b0e7e1657520 authored almost 10 years ago by Rob Landley <[email protected]>
Trivial runcon cleanups.

github.com/landley/toybox - 9a4128f32978c71dd417d9ce5fa4677f00dd4683 authored almost 10 years ago by Rob Landley <[email protected]>
Add runcon(1).

github.com/landley/toybox - fd1ff92b160b500a0a443bcdbd86a6e1709e9495 authored almost 10 years ago by Elliott Hughes <[email protected]>
add missing space in dd output

Also, coreutils says "s" instead of "seconds". POSIX specifies the
format of the previous two li...

github.com/landley/toybox - 845dc93c1a41d03a329d934a96d292541c0435d7 authored almost 10 years ago by Elliott Hughes <[email protected]>
Tweak of Elliott Hughes's fix for an off by one error in human_readable

(137 returned "137 KB".)

github.com/landley/toybox - 4b77d5419a0f2f4f8fdb9ad39dceddf75305b2a1 authored almost 10 years ago by Rob Landley <[email protected]>
Update the Android section of the roadmap.

I've removed the reference to fs_mgr, since that's really part of vold
rather than a subset of m...

github.com/landley/toybox - 2c7028ad7572d1860c20e3dca2e48a7f6ca2cb00 authored almost 10 years ago by Elliott Hughes <[email protected]>
Another bug from David Halls: find -exec wasn't consuming its argument when it didn't activate.

test: find . -name README -exec echo one '{}' ';' -or -exec echo two '{}' ';'

github.com/landley/toybox - 33f04551f3c9a5182aabe9dfe36d6a0b88298686 authored almost 10 years ago by Rob Landley <[email protected]>
install -D bugfix from David Halls.

(I tweaked some comment text while I was there.)

github.com/landley/toybox - 0d39f2f52bad3df1b156bc51dcd8e6f1debc09f7 authored almost 10 years ago by Rob Landley <[email protected]>
Patch from David Halls to fix mac/ios portability issue.

github.com/landley/toybox - cff8e136c02fb3c03289acd98e274f85dca42023 authored almost 10 years ago by Rob Landley <[email protected]>
Add -123 support to head (suggested by Elliott Hughes).

github.com/landley/toybox - 2fd8a74dcae1cd01879a3e9a733d798bb386dc16 authored almost 10 years ago by Rob Landley <[email protected]>
mdev : add hotplugin feature

As internal needs, Ranjan Kumar (ranjankumar.bth at gmail.com) added hotplug
feature into mdev.

github.com/landley/toybox - 893a092f62a6652ec9668e1e0fc68910dedc2acc authored almost 10 years ago by Hyejin Kim <[email protected]>
Fix mount -a segfault without -O, reported by Janus Troelsen.

github.com/landley/toybox - 4437be0e2610c8b537ba90c2ef35ddcf0bb5fc78 authored almost 10 years ago by Rob Landley <[email protected]>
Rename a function to better describe what it does.

github.com/landley/toybox - d111b9572125b70f821e89ac118c80bc4d9ad5b6 authored almost 10 years ago by Rob Landley <[email protected]>
I added error handling code in write_rotate().

I think that it is better to check tf->logfd before doing
truncate()/write() and getting error.

github.com/landley/toybox - a9f4ec26c8594df7410fa0e22dd7044d9ac6d5c6 authored almost 10 years ago by Hyejin Kim <[email protected]>
More ps cleanup, mostly refactoring.

github.com/landley/toybox - d0bc1a39ef65fb2a726b2ff49ba29dbaa9a78aba authored almost 10 years ago by Rob Landley <[email protected]>
Minor ps refactoring.

github.com/landley/toybox - 98d8203cb85e1514bff1f654cb5636aeeb7c0df7 authored almost 10 years ago by Rob Landley <[email protected]>
Clean up sort help text.

Use tabs for option indent and don't have -g show up in menu (TOYBOX_FLOAT is
the decision).

github.com/landley/toybox - 438ad4ce2cffc27b2471b213c48f73375608510e authored almost 10 years ago by Rob Landley <[email protected]>
Switch nsenter to default y.

github.com/landley/toybox - 052df4052fc5adba22a7a00593dbd19a6e4390df authored almost 10 years ago by Rob Landley <[email protected]>
Implement shred -u and switch to default y in defconfig.

github.com/landley/toybox - bbaa683b7d5fe0a77072f778050ba98e0a778b89 authored almost 10 years ago by Rob Landley <[email protected]>
Remove cat -v help text debris.

github.com/landley/toybox - 9330bcb8ed38a27e1af87df9605527e369722632 authored almost 10 years ago by Rob Landley <[email protected]>
The time command depends on floating point support.

github.com/landley/toybox - c1ab8dadd0d8d3e64c20a9e3bc74d5f985c04017 authored almost 10 years ago by Rob Landley <[email protected]>
Make find accept numeric uid/gid, and simplify makedevs using the new infrastructure.

github.com/landley/toybox - be4048dd2509f2b9e968a4d03c06050d847971d3 authored almost 10 years ago by Rob Landley <[email protected]>
Make install support numeric uid/gids (reported by Kylie McClain).

github.com/landley/toybox - 9ff639cef3c2f73ce876c6cab4c4f517e512bf13 authored almost 10 years ago by Rob Landley <[email protected]>
Factor out xgetgrnamid() and xgetpwnamid() into xwrap.c.

github.com/landley/toybox - b8140d18800e7094cdacb0a61526f46181dc132d authored almost 10 years ago by Rob Landley <[email protected]>
Fix mktemp when TMPDIR is set to empty string, reported by Kylie McClain.

github.com/landley/toybox - 128928f123d7192d07538d6ea6bbda2b1a75fd5b authored almost 10 years ago by Rob Landley <[email protected]>
Add -m to mknod

github.com/landley/toybox - 4216f59cec17699298f5b4043db513e4859bd232 authored almost 10 years ago by Rob Landley <[email protected]>
Use xsignal() instead of signal().

github.com/landley/toybox - c776bde13bb2767db2943bc3b02df737a465c035 authored almost 10 years ago by Rob Landley <[email protected]>
Fix thinko (don't &toybuf to get scratch space) and add -v option.

github.com/landley/toybox - 8a3c0edadbf915b9d2f318412587f6107a8e6d42 authored almost 10 years ago by Rob Landley <[email protected]>
Upgrade oneit with -r (restart), -3 (send exiting PID values to child), and signal handling.

github.com/landley/toybox - e6abb61e057d55a08c263a48648aaf7b776dfcee authored almost 10 years ago by Rob Landley <[email protected]>
sed depends on -r to be rightmost flag to simplify the REG_EXTENDED test.

(If a flag is 1, you can multiply it by the value you want and get that value
else zero without ...

github.com/landley/toybox - e3edd6cda410d25082135a6526cf7bfa17b49d8c authored almost 10 years ago by Rob Landley <[email protected]>
The "no }" error with find | xargs sed is because toy_init() wasn't blanking the GLOBALS() block on a recursive call. (How that ever worked...)

github.com/landley/toybox - 1e2399b91cfd9895939876c4fb47af11c13ddf89 authored almost 10 years ago by Rob Landley <[email protected]>
Yank $STRIP from config (and STRIP=no weirdness) and just allow strip to fail.

github.com/landley/toybox - 1f44b5f0b236df260cee8741efce8a2887a59e36 authored almost 10 years ago by Rob Landley <[email protected]>
scripts/mkflags.c : main function need return 0 if normal exit

github.com/landley/toybox - 3b741474b722723a208c9ecc3595451884a887c7 authored almost 10 years ago by Hyejin Kim <[email protected]>
Quick cleanup pass on tar.

github.com/landley/toybox - 40f7fb02aaceecee2625191afecaeea8ca95e259 authored almost 10 years ago by Rob Landley <[email protected]>
On 64 bit, subtracting two pointers produces a long result. On 32 bit, it's an int. Even though long _is_ 32 bits on a 32 bit systems, gcc warns about it because reasons.

Also, the warning being that "expects int, but type is wchar_t"... no, type
is not wchar_t. Type...

github.com/landley/toybox - 38e5485c6a8ece99aa8aac2f318f14764857ee24 authored almost 10 years ago by Rob Landley <[email protected]>
Fix several printf_format warnings.

github.com/landley/toybox - 5f1f34ae1a227edbb4b0bba7fe99009d4efd94bd authored almost 10 years ago by Rob Landley <[email protected]>
Only switch on printf format warnings for error_exit() and friends when TOYBOX_DEBUG enabled.

One again gcc manages to be incompetent about producing warnings. For example,
in bzcat we error...

github.com/landley/toybox - eb4b1143b1f54a96002a83ea961d40d3169e1ae2 authored almost 10 years ago by Rob Landley <[email protected]>
let the compiler check format strings

i'll be AFK for a week, so here's the patch i've been using this
evening to find other format st...

github.com/landley/toybox - 1be99e695059ba7dbe44765f4b477f7e173e98d1 authored almost 10 years ago by Elliott Hughes <[email protected]>
fix format problems in tar.c

%o is unsigned, but off_t is signed.
* takes an int.
an error_msg call was missing an argument.
...

github.com/landley/toybox - 4bbec1e41580c9200cae03c9549fb032596b2b30 authored almost 10 years ago by Elliott Hughes <[email protected]>
Patches from Elliott Hughes to fix various printf() format strings.

(Don't specify the space flag when it's the default behavior. The ifconfig
stuff was actual bugs.)

github.com/landley/toybox - 30c36d87280f3c45db157056b94ff67922f03fbf authored almost 10 years ago by Rob Landley <[email protected]>
Patches from Elliott Hughes to add missing arguments to error_exit() calls.

github.com/landley/toybox - 70a84a356b1c56743618362867b9300007d11998 authored almost 10 years ago by Rob Landley <[email protected]>
remove accidental space in format string

the ' ' flag makes no sense for %c.

github.com/landley/toybox - 7c3c6a9639ee41fb750f78d87dc8a6cbe4e421a5 authored almost 10 years ago by Elliott Hughes <[email protected]>
fix copy/paste-o in useradd.test

github.com/landley/toybox - 2ee0cd90d8642c9aeee62cf321765ee29cc9e11a authored almost 10 years ago by Elliott Hughes <[email protected]>
Minor toysh cleanup: remove another unnecessary option.

github.com/landley/toybox - 3737aae349b793dc6c6e93d764072536e85bbeda authored almost 10 years ago by Rob Landley <[email protected]>
BSD sed uses -E instead of -r to enable ERE.

GNU sed silently supports -E as an alias for -r too.

github.com/landley/toybox - 6b0755085f5e020d461966489c04afc4bf26f4e0 authored almost 10 years ago by Isabella Bosia <[email protected]>
Add LDFLAGS and STRIP=no support.

github.com/landley/toybox - 57f93c8badf944b5b3ed712e2887b3db33147efb authored almost 10 years ago by Rob Landley <[email protected]>
Add "make change" output to .hgignore

github.com/landley/toybox - ab5cbfcb8bdbf8802d793520ec7b81c5eb392b5f authored almost 10 years ago by Rob Landley <[email protected]>
Cleanup pass on ps.

github.com/landley/toybox - 3db3414ff55caef397059c8947c082f6be324f92 authored almost 10 years ago by Rob Landley <[email protected]>
0.5.2 release notes.

github.com/landley/toybox - ba3e32b81935135f8560f59e44d87d032fbc4653 authored almost 10 years ago by Rob Landley <[email protected]>
More 'splaining.

github.com/landley/toybox - 0fdb450a2c06b7b3707c7ea7cf04edd9d4e9fc9d authored almost 10 years ago by Rob Landley <[email protected]>
Added tag 0.5.2 for changeset 8ce8c5365f8b

github.com/landley/toybox - 5a524b6bbb5136926d6b4c30df41aac9fa9249f9 authored almost 10 years ago by Rob Landley <[email protected]>
stat -f didn't work on 32 bit systems because type sizes wrong (fix from Elliott Hughes).

github.com/landley/toybox - e4c8055a9eff649fe862e24a3f921ce56756ac7b authored almost 10 years ago by Rob Landley <[email protected]>
Patch from Isaac Dunham to add -r, fixed up so it doesn't try to include two flag contexts simultaneously.

github.com/landley/toybox - fb4a241f35cf4baa6d6f2ebef9f3fd9929f4989b authored almost 10 years ago by Rob Landley <[email protected]>
Separate 'userdel' from testing syntax.

When I test toybox with toybox/tests/*.test scripts,
I got many false FAILs from it. So, I tried...

github.com/landley/toybox - 268330739fd7ab6313b9d7096b9bc0aa9a25f321 authored almost 10 years ago by Yeongdeok Suh <[email protected]>
Add --remove-destination longopt for -F because the host version doesn't have a shortopt for it.

github.com/landley/toybox - 54c712712436ddd10cb177afe0d86e6d4e11ddef authored almost 10 years ago by Rob Landley <[email protected]>
Only discard optargs in toy_exec() after finding the command to run (otherwise the fallback exevp() segfaults).

github.com/landley/toybox - 7c5ed1cedaa881fff52da019da96f9bf6735dc5d authored almost 10 years ago by Rob Landley <[email protected]>
Make egrep and fgrep build standalone.

github.com/landley/toybox - c49b9a97559d2009e9076e063b2e9acbc13fb9ef authored almost 10 years ago by Rob Landley <[email protected]>
Fix --help for single.sh builds.

github.com/landley/toybox - 55fc1603b4162786565106e703da14106295171e authored almost 10 years ago by Rob Landley <[email protected]>
Split out unix2dos so scripts/single.sh and "make change" can build it standalone.

github.com/landley/toybox - 7fcd90b39ce63f282d5498c06f78118bc03acf18 authored almost 10 years ago by Rob Landley <[email protected]>
Move guts of "make change" to scripts/change.sh, don't try to build sh or help standalone.

sh builtin commands need multiplexer, help describes other enabled commands.

github.com/landley/toybox - 45962a70e01c817dea7e7bf872b4e33748df7921 authored almost 10 years ago by Rob Landley <[email protected]>
Fix bug introduced by last commit (print template instead of toybuf).

Also, xstrdup() the unmodified template because changing the environment string
could make the c...

github.com/landley/toybox - 67d9ea5a81c8083875ac7420d7e6a62766b48b6f authored almost 10 years ago by Rob Landley <[email protected]>
Only apply mktemp directory to targets that aren't already paths.

github.com/landley/toybox - b2bb6e65f3461d1dfdcd3614c3c63f7a1453840b authored almost 10 years ago by Rob Landley <[email protected]>
Fix longopts (pointed out by Hyejin Kim).

github.com/landley/toybox - ca6a91063d241d48a5c83f9042ed370e3918b639 authored almost 10 years ago by Rob Landley <[email protected]>
One more cleanup pass on hwclock factoring out common code.

github.com/landley/toybox - fb49bf09694439102959fbce896404ab819bdf99 authored almost 10 years ago by Rob Landley <[email protected]>
Inline rtc_open() and get_rtc_seconds(), perform resulting cleanups.

github.com/landley/toybox - 2c9b0e3009cf76e9d7fca772945711675678d181 authored almost 10 years ago by Rob Landley <[email protected]>
Cleanup/refactoring pass on hwclock.

Inline open_wall_clock_rtc() into rtc_open(), factor out xtzset(),
inline set_sysclock_from_hwcl...

github.com/landley/toybox - c277f347bba2417106b32212d9d40aceb4a88fb5 authored almost 10 years ago by Rob Landley <[email protected]>
Promote chcon to "other".

github.com/landley/toybox - 452dcd5f7d5374411da86777de9fe94f5a88f709 authored almost 10 years ago by Rob Landley <[email protected]>
Cleanup pass on chcon.

github.com/landley/toybox - 36a06d36c9865695090a17fd1a1d532d6e0f8997 authored almost 10 years ago by Rob Landley <[email protected]>
Rewrite of a patch from Elliott Hughes to implement touch -h and switch API to utimensat() which offers nanosecond granularity and UTIME_OMIT/UTIME_NOW.

github.com/landley/toybox - 9628107532c705b69a211e0f595815a33d390724 authored almost 10 years ago by Rob Landley <[email protected]>
For some reason, ifconfig was explicitly excluding "ifconfig lo:0 127.0.0.2" style alias address assignments. No idea why.

github.com/landley/toybox - 5ff746852503b86717deb7d978d9069ba7288a7c authored almost 10 years ago by Rob Landley <[email protected]>