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

blkid cleanup: Convert tabs to spaces.

github.com/landley/toybox - ef13522938025fbc56a1a6fc27c6887965d98630 authored over 11 years ago by Rob Landley <[email protected]>
Add blkid.c

I finally figured out the NTFS labels after reading a rant on how UTF-8 rocks
and how MS switche...

github.com/landley/toybox - 730d5a851fd8d8d39497e1dbb334baa583816c61 authored over 11 years ago by Brad Conroy <[email protected]>
It's not a problem to exactly fill up the buffer with a run if the next symbol is the terminating symbol. Fixes https://jira.cyanogenmod.org/browse/CYAN-1896

github.com/landley/toybox - 507026bca26a38d448a624776c596f722c672262 authored over 11 years ago by Rob Landley <[email protected]>
Whitespace tweaks and remove unused variable.

github.com/landley/toybox - 04051858fca12d1157155f0273e0f65458a51909 authored over 11 years ago by Rob Landley <[email protected]>
top submitted by Ashwini Sharma

github.com/landley/toybox - 3ae3cf47bb4bbaa75f27064cdc9b75a3b0e8c9aa authored over 11 years ago by Rob Landley <[email protected]>
Typo: fdisk != fsck.

github.com/landley/toybox - d277414eb61add9ab0139bc7bb06be705708375a authored over 11 years ago by Rob Landley <[email protected]>
Switch flag generation from shell to C.

This should actually generate FLAG_longopt 0 #defines for disabled bare
longopts (ala ls without...

github.com/landley/toybox - 207cadacd3cef42fa918981423c951f49443f032 authored over 11 years ago by Rob Landley <[email protected]>
New toy: reboot/halt/poweroff

github.com/landley/toybox - 9b2b24a1e88f4e96e431b0292831d13995fbdd7f authored over 11 years ago by Elie De Brauwer <[email protected]>
traceroute from Ashwini Sharma

github.com/landley/toybox - 7dc773bad5dc436518b822ba8c8ae400b5f36272 authored over 11 years ago by Rob Landley <[email protected]>
Fix generated/oldtoys.h to contain option strings with USE() macros in them.

github.com/landley/toybox - 75a18150dc75de8f9ac9f0cc97f0630e0e7c168e authored over 11 years ago by Rob Landley <[email protected]>
Update lib/args.c docs.

github.com/landley/toybox - b911d4dd15369a049f27b872fa0982fb83105d33 authored over 11 years ago by Rob Landley <[email protected]>
Tweak args (yank old + that never worked, rename | to +), and add uname -o as a synonym for -s.

github.com/landley/toybox - c705b95cef54b13f2caf801d929207ec7f5fbce7 authored over 11 years ago by Rob Landley <[email protected]>
Fluff out option parsing documentation, add another DEBUG test.

github.com/landley/toybox - dc6db1a81ab2642927a2c431b7ffab120eeb92ca authored over 11 years ago by Rob Landley <[email protected]>
Release announcement on web page.

github.com/landley/toybox - 5cab994e5c7d42ec6358e88b3d74f8f37246552a authored over 11 years ago by Rob Landley <[email protected]>
Fix -t c0 and -J as reported by heehooman at gmail on the list.

Also fix up help text, and hook up -c.

github.com/landley/toybox - bc382bed736d161b32e22a615489c226173ca030 authored over 11 years ago by Rob Landley <[email protected]>
Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. (Fix it.)

github.com/landley/toybox - cd0b70e739055e5e8a5d9d6f823bdd3fa97ee509 authored over 11 years ago by Rob Landley <[email protected]>
First pass of cut cleanup, and make test script slightly happier with the concept of 80 character lines.

github.com/landley/toybox - 9b9a1ef58763c9a6fc0cd23f125353716824b8bc authored over 11 years ago by Rob Landley <[email protected]>
Remove two unused functions and shrink another.

github.com/landley/toybox - e3e80849a6980f675289195225542c35154f756f authored over 11 years ago by Rob Landley <[email protected]>
Cleanup on acpi, switch to default y.

github.com/landley/toybox - dc44b6bb4ce30a8e515d49c2285b87e3e40dc408 authored over 11 years ago by Rob Landley <[email protected]>
I got tired of trying to guess how much terminal time I could get in on my phone, so here's a basic acpi.

I could probably add -c fairly easily (print type, cur_state, and max_state)
-t is more difficul...

github.com/landley/toybox - 7f4e24ed1385be7342b691c0300d6fd3aa8736cd authored over 11 years ago by Isaac Dunham <[email protected]>
Minor cleanups.

github.com/landley/toybox - 64aae2b41f10704acad3bfb8e37e1a5b8a4c2155 authored over 11 years ago by Rob Landley <[email protected]>
Don't write a zero past end of toybuf with large -d value.

github.com/landley/toybox - f93d4862a92b58be01de879b18705fb1d3349bde authored over 11 years ago by Rob Landley <[email protected]>
Minor cosmetic tweaks to expand.

Working my way through the to-review list that predates the "pending"
directory. This gets expan...

github.com/landley/toybox - 94fdf492936c6ebe6074d8bf5f471823b0c6b94c authored over 11 years ago by Rob Landley <[email protected]>
Adjust patch to use dlist_pop()

github.com/landley/toybox - bb215e4a1fece603cdede556c1107135b31312a0 authored over 11 years ago by Rob Landley <[email protected]>
Redo tail closer to the original design. Add more tests for large data sets. (Still no -f support yet.)

github.com/landley/toybox - 5f57bccc41c8893914121b00e16a96dd16282486 authored over 11 years ago by Rob Landley <[email protected]>
Fix [-group] argument dropping.

github.com/landley/toybox - 9d4cd46b82b4e5d05c26dc4fa40ef20174ca0355 authored over 11 years ago by Rob Landley <[email protected]>
Ashwini Sharma submitted route.c, adding it to pending.

github.com/landley/toybox - 12c8814cc534f40ca74441f99313f7a71a88cb72 authored over 11 years ago by Rob Landley <[email protected]>
Make [-abc] exclude logic clear argument slots when disabling options.

github.com/landley/toybox - c8a49971cbec622573980c276c860aa43ba43b36 authored over 11 years ago by Rob Landley <[email protected]>
Fix for xpidfile spotted by Felix Janda.

github.com/landley/toybox - 46e8e1dcb3f616a675bf33c83531ee05a4dd8374 authored over 11 years ago by Rob Landley <[email protected]>
Missing typecast in recent rm fix. Oops.

github.com/landley/toybox - b6dd79b93db4c6ff0ef21d4ca11610e18533173f authored over 11 years ago by Rob Landley <[email protected]>
Pending cleanup page, less than half done. Some of it should probably move to the code style section.

github.com/landley/toybox - b7ca39c9473ecc3f5fbb71e2c9e40ad99b79e03e authored over 11 years ago by Rob Landley <[email protected]>
Allow shipped generated/help.h to still be used, until I rewrite the generator in C.

github.com/landley/toybox - 21d4d71c39fa7c4b72d0190212b18a30a36ade22 authored over 11 years ago by Rob Landley <[email protected]>
env - there were 2 segfaults when run on my Ubuntu 12.04 machine:

- one is because eglibc sets environ to NULL on clearenv(). I added check for environ being n...

github.com/landley/toybox - ba84528d41d39adb0b26fdac0fafacc0614af7d4 authored over 11 years ago by Jacek Bukarewicz <[email protected]>
Make chdir handle permissions according to posix, reported by Jacek Bukarewicz..

github.com/landley/toybox - 314dc6881f0439478f483d26726c52c1c3f536ff authored over 11 years ago by Rob Landley <[email protected]>
fix rm to handle "mkdir sub/sub && chmod 007 sub/sub && rm -rf sub".

Previous version didn't delete it, but exited without error. Neither was right.

github.com/landley/toybox - 829497311b541b63e08aa17768c8e67e95b73638 authored over 11 years ago by Rob Landley <[email protected]>
Don't pad stat's %a field.

github.com/landley/toybox - 1f747f730f4bd94e8266f4cb763fc0eb1cbf1948 authored over 11 years ago by Rob Landley <[email protected]>
First pass at umount, not quite done yet.

github.com/landley/toybox - f514143a3321866636c3da8c60df8f2a176607a8 authored over 11 years ago by Rob Landley <[email protected]>
Replace for_each_pid_with_name_in_array_perform_callback_function_upon_translated_value() with name_to_pid(), comparing absolute paths or just basename() consistently as spotted by Lukasz Skalski, and adjust callers.

github.com/landley/toybox - 7d64dae54bde70744a9154b8ac1cbb09d03881c9 authored over 11 years ago by Rob Landley <[email protected]>
Introduce libbuf analogous to toybuf but for use by lib/*.c. Change readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL.

github.com/landley/toybox - 8fdcfdb4479dff7a993a25a63253f0e749fd99fe authored over 11 years ago by Rob Landley <[email protected]>
Remove itoa/utoa, let libc do this with sprintf.

github.com/landley/toybox - f538f420deffc242742ce2d0661a39fa9a3b5399 authored over 11 years ago by Rob Landley <[email protected]>
Convert dhcp/dhcpd from utoa() to sprintf().

github.com/landley/toybox - 79d8bc70539b7a3d459630c97e38d3cdff77e591 authored over 11 years ago by Rob Landley <[email protected]>
Switch ls from utoa to sprintf.

github.com/landley/toybox - 01f828d9d80ce2ad80e21638fece083f924318a9 authored over 11 years ago by Rob Landley <[email protected]>
Cleanup pwdx

github.com/landley/toybox - 7f8f9ec5113bff8c0f7bd3e9341b688d8af91258 authored over 11 years ago by Rob Landley <[email protected]>
pwdx by Lukasz Skalski.

github.com/landley/toybox - 23186636fcb261d263f417e605cbe8b7e2103ca5 authored over 11 years ago by Rob Landley <[email protected]>
Implement ls --color=auto, suggested by Rich Felker.

github.com/landley/toybox - 408d4f2670df910180988747f11b6290551ddaa7 authored over 11 years ago by Rob Landley <[email protected]>
Improve --longopt parsing: general bugfixes, better error reporting, new ; option for optional arguments only suppliable with =.

github.com/landley/toybox - b7162a47e71a69e30bb9103b5caae72e5097f68f authored over 11 years ago by Rob Landley <[email protected]>
Update status and roadmap pages, and status page generator script.

github.com/landley/toybox - c166faf9c14b377f7005d97abd4f0658b3bbc7ce authored over 11 years ago by Rob Landley <[email protected]>
tail: Some fixes

- Rewrite most of the not lseek() logic
- Change meaning of len in line_list
- Use single instea...

github.com/landley/toybox - 4b9c20351f5facff4b84c37757c335709af51133 authored over 11 years ago by Felix Janda <[email protected]>
Allow getmountlist to read fstab too.

github.com/landley/toybox - 42adb7a56ba7b251ebc0a2d7aced81d3be5342a3 authored over 11 years ago by Rob Landley <[email protected]>
make.sh: Fix probing for python2.x and be verbose in error reporting

github.com/landley/toybox - eee90c0f1bc00d4103e55d9dbe98131ab634d0c4 authored over 11 years ago by Elie De Brauwer <[email protected]>
uname: Fix help string

github.com/landley/toybox - afe3fbda7320af5e0452040e6c79bbaef8fffef5 authored over 11 years ago by Elie De Brauwer <[email protected]>
Add scripts/single.sh to build individual non-multiplexed standalone commands.

Alas, you can't quite do this yet:

make defconfig
make
for i in $(./toybox)
do
echo...

github.com/landley/toybox - d04dc1feb92a279e27e4487c502944f454d43837 authored over 11 years ago by Rob Landley <[email protected]>
PID and UID namespaces for unshare, pointed out by [email protected].

github.com/landley/toybox - dd4bed0f1dff419b9dca9424f2945baab727c3dd authored over 11 years ago by Rob Landley <[email protected]>
Rewrite pmap to be simpler and match other implementation's output more closely.

github.com/landley/toybox - 455865a837f2a6c44f91e5a5a2cd40c3a64d4b68 authored over 11 years ago by Rob Landley <[email protected]>
Add pmap.

github.com/landley/toybox - 8b5c671958071ee2a9967551f0490623b73e30b5 authored over 11 years ago by Ashwini Sharma <[email protected]>
syslogd: cleanup

- fix bugs introduced in the cleanups
- inline addrfds() and open_unix_socks() and simplify them...

github.com/landley/toybox - dccfb2a9c156d03b6399120ae3dd4b23ff00b43f authored over 11 years ago by Felix Janda <felix.janda at posteo.de>
syslogd: cleanup

- fix bugs in previous cleanups
- remove config from struct logfile
- simplify parse_config()

github.com/landley/toybox - 8fad256b1956bb478fc416a21573f0dec3bf11c0 authored over 11 years ago by Felix Janda <felix.janda at posteo.de>
syslogd: stop abusing arg_list

github.com/landley/toybox - 6aa39fc3b236d67e67d25f53f4e03e6da4f8cde0 authored over 11 years ago by Felix Janda <felix.janda at posteo.de>
syslogd: cleanup

- simplify resolveconfig() -> now logger_lookup is also used in syslogd.c
- inline addrfds
- sma...

github.com/landley/toybox - afa4de01ff6f97382cb1d3de1b29ab03f3e2a9c6 authored over 11 years ago by Felix Janda <felix.janda at posteo.de>
syslogd: cleanup

- remove flag macros
- remove some unecessary gotos
- inline open_udp_socks() and getport()
- si...

github.com/landley/toybox - dcdd3aa9cb6f49f766f94907ba42dccdfba16a99 authored over 11 years ago by Felix Janda <[email protected]>
Fix bug where exit code was only correct for -q.

github.com/landley/toybox - e6e685cdb8f6e30607c25dcac5f8dc93d4230c20 authored over 11 years ago by Rob Landley <[email protected]>
Fix --help option to multiplexer.

github.com/landley/toybox - 5f80533836c60a167f69b71624fad5c494057ee2 authored over 11 years ago by Rob Landley <[email protected]>
syslogd: cleanup

- Remove structure fd_pair so that sigfd can go into GLOBALS
- Remove struct typedefs
- Inline s...

github.com/landley/toybox - 57da5bfa162f7c6cd6f165d0cdbedecda4d7d1e0 authored over 11 years ago by Felix Janda <[email protected]>
Add watch and ps, sent by Ashwini Sharma.

github.com/landley/toybox - 7459c34c83156f37eb31dbba83807d497a64277f authored over 11 years ago by Rob Landley <[email protected]>
In logger and syslogd remove duplicated definitions of facilities and priorities

In syslogd.c get the definitions from <syslog.h>. For logger.c we
can't do this as well since it...

github.com/landley/toybox - 276a99f9fe7c2819ea61accfcb35088707882b58 authored over 11 years ago by Felix Janda <[email protected]>
Move grep from pending to posix, switch default to y.

github.com/landley/toybox - 205b496e42ceb72bf0755fec4f4675a467c401e1 authored over 11 years ago by Rob Landley <[email protected]>
Finish grep rewrite and fleshing out test suite. Several of the grep tests fail with the ubuntu version, I _think_ these are upstream bugs? (Second opinions welcome...)

github.com/landley/toybox - fce85e9d287cef03777d3c2d97b2a0b43242ee21 authored over 11 years ago by Rob Landley <[email protected]>
Use OPTSTR_command macro for more oldtoys, to avoid keeping two option strings in sync. (todo: figure out how to make OLDTOY() automatically use macro. Still need the raw version for subset ala cp/mv though.)

github.com/landley/toybox - 9fbd5ef63087f0825ef9903e05a8afdc6b76166f authored over 11 years ago by Rob Landley <[email protected]>
Document the toybox entry path from main() into a command.

github.com/landley/toybox - 270483405021e237f54ffe6d02eecf11744fd1aa authored over 11 years ago by Rob Landley <[email protected]>
Fix wrong printf type.

github.com/landley/toybox - 2fed34c0a881749fa84be346e051d4bfbe410fa0 authored over 11 years ago by Rob Landley <[email protected]>
Whitespace changes to passwd.

github.com/landley/toybox - d364e141c112efba37882001a49da77d90da28a4 authored over 11 years ago by Rob Landley <[email protected]>
Fix usage: lines for a couple commands.

github.com/landley/toybox - 1afe7fae553244309eaba0eb0379675fe185864a authored over 11 years ago by Rob Landley <[email protected]>
Remove files du no longer needs.

github.com/landley/toybox - 100fb2399417316fb6d5818fbc4e3a843d189bf3 authored over 11 years ago by Rob Landley <[email protected]>
Cleanup du.

github.com/landley/toybox - 880d4a96523c94d84bee1f066de5cf03756877a3 authored over 11 years ago by Rob Landley <[email protected]>
cut tests from Kyungwan Han.

github.com/landley/toybox - 427f19c0dd09afabf432094d6bc2845807c348f3 authored over 11 years ago by Rob Landley <[email protected]>
su: cleanery

* make help message more like others
* s/TT\.(.)Argu/TT.\1/g
* move environ to toys.h
* simplify...

github.com/landley/toybox - 59bf7ce6a5114ed228cf3bf847ff96a35aa86f54 authored over 11 years ago by Strake <[email protected]>
Normalize df menu entry and tweak help text.

github.com/landley/toybox - 9b504b4afe16636b31b0e52dea69e7478d6fb780 authored over 11 years ago by Rob Landley <[email protected]>
Forgot to check in toys.h when generated/oldtoys.h went in. (Oops.)

github.com/landley/toybox - 982c38dd65209f96434ab094950129e25b07eb58 authored over 11 years ago by Rob Landley <[email protected]>
DHCP client and server, from Ashwini Sharma.

github.com/landley/toybox - 415c960b22b4084057577fc371510864378354dd authored over 11 years ago by Rob Landley <[email protected]>
Add su.

github.com/landley/toybox - 0d26ded25ea945362c9752016120b3cfdedb2833 authored over 11 years ago by M. Farkas-Dyck <[email protected]>
Add a new optimization flag at the suggestion of the musl guys telling gcc not to produce a large unused dwarf table for C++ style stack unwinding.

github.com/landley/toybox - 0d74ad383b8bb8aa82e9cb6449b509ec6d4794a5 authored over 11 years ago by Rob Landley <[email protected]>
More grep tests, remove obsolete comment.

github.com/landley/toybox - 9f088a16471c8f9560062da0fe6677e22fb83d53 authored over 11 years ago by Rob Landley <[email protected]>
grep: -om counts matching lines, not matching parts of lines.

github.com/landley/toybox - 030970bd70e14849b0f2598bfa0982402fc7e2e7 authored over 11 years ago by Rob Landley <[email protected]>
More grep work: name "(standard input)" correctly, make multiple -e work, regex with embedded newline, multiple regex without -E.

github.com/landley/toybox - 31f07104445bc0c0cbc942d86ee9d31d08c344d8 authored over 11 years ago by Rob Landley <[email protected]>
More grep cleanup, and make OPTSTR_command macros for use with OLDTOY()

github.com/landley/toybox - dd2d23930241a30a8eb4f0fc9d70bc86c4a6cb6e authored over 11 years ago by Rob Landley <[email protected]>
fdisk: remove goto; inline valid(); merge xprintf() calls; shrink sys_types

sys_types had used char[_PATH_MAX] for 22-char max strings.
When this is done 48 times, it nearl...

github.com/landley/toybox - 9d44ab3f179e0e914abc1d6edc79a22c265baaa9 authored over 11 years ago by Isaac Dunham <[email protected]>
Ashwini Sharma said that Kyungwan Han should be in the contact info for the commands he sent recently.

github.com/landley/toybox - 1c8b0090a6529ce35f877973778e7814387c1e3f authored over 11 years ago by Rob Landley <[email protected]>
More grep tests.

github.com/landley/toybox - 133cc5b85f3363bf0c252a3f8bf6fd259177b066 authored over 11 years ago by Rob Landley <[email protected]>
Add daemonize function to lib for klogd and syslogd

github.com/landley/toybox - e49fe14705f78ba5a865ca4efd6ee53c78eeb253 authored over 11 years ago by Felix Janda <[email protected]>
Cleanup klogd

Remove #if and inline most functions

github.com/landley/toybox - 35104f47f9d36a9afb43de8c863137fe76c9ff3f authored over 11 years ago by Felix Janda <[email protected]>
New toy: fallocate

github.com/landley/toybox - 5ebaea605a26775186a493ed6bb401c6de7226ec authored over 11 years ago by Felix Janda <[email protected]>
Achille Fouilleul pointed out that fdlength wasn't returning the right length in the binary search case.

(This code was originally written for mke2fs, and applies to block devices. The regular file cas...

github.com/landley/toybox - 035f27ae4df2b973b8974730bb1b23a25f6160e8 authored over 11 years ago by Rob Landley <[email protected]>
Forgot to check in xfdopen(). My bad.

Failure of fdopen() is most likely failure of malloc() for the FILE structure.

github.com/landley/toybox - 1aa75118c46c8fbe0eeead18974d25e5f13274d5 authored over 11 years ago by Rob Landley <[email protected]>
This is the preliminary version of lspci text output support (the location

of pci.ids is hard-coded to /usr/share/misc/pci.ids, as found on Debian/Ubuntu).
+88 lines in two...

github.com/landley/toybox - 17ea5644d93ff1ced28d3602ac244cb6022f3ba6 authored over 11 years ago by Isaac Dunham <[email protected]>
I have implemented FDISK command.

This supports '-l' option for listing and other options [-bCHS] for giving
values like block size...

github.com/landley/toybox - 142ebdcfbe01007cd86d699d85dc608bbcaacf82 authored over 11 years ago by Ashwini Sharma <[email protected]>
Fluff out grep test suite some more, including lots of things we don't pass yet.

github.com/landley/toybox - 7b72ab4c9bdcdfe08018f0e9cc6eee7d20cb415e authored over 11 years ago by Rob Landley <[email protected]>
Cleanup grep, make it pass the current test suite.

github.com/landley/toybox - dad378bb17f1910014383bf196e87028e98d81d6 authored over 11 years ago by Rob Landley <[email protected]>
System V style init, submitted by Kyungwan Han.

github.com/landley/toybox - 147b2fc06e449f106c9f4d47290e2c0b5967af39 authored over 11 years ago by Rob Landley <[email protected]>
Need to specify bool for CP_MV_MORE config symbol to avoid warnings.

github.com/landley/toybox - b56e7d509ae38bde269168f4311b51f75c547e5e authored over 11 years ago by Rob Landley <[email protected]>
ls --color should depend on LS in menuconfig.

github.com/landley/toybox - b2bc38289143c52dee88ce3b0187aba091f668c6 authored over 11 years ago by Rob Landley <[email protected]>