Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: https://landley.net/toybox/news.html#08-04-2024 - New toys: dd, fold, nbd-server, su, ts, tsort, uname - Bugfix: df now works - passwd is temporarily removed waiting on an infrastructure rewrite Changes to the port itself: - I reworked the install portion to stay closer to upstream's way of doing it. This reduces the amount of clutter in the Makefile and makes it easier to update the port in the future. - The port patches[1][2] have been sent upstream. [1] Enabling shuf and uname [2] Fixing the portability shim to use the correct parameters with getmntinfo(): landley/toybox@7d9ee89 PR: 278481
- Loading branch information
1 parent
8002d63
commit 5bfa5d5
Showing
5 changed files
with
63 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1690881504 | ||
SHA256 (toybox-0.8.10.tar.gz) = d3afee05ca90bf425ced73f527e418fecd626c5340b5f58711a14531f8d7d108 | ||
SIZE (toybox-0.8.10.tar.gz) = 3534989 | ||
TIMESTAMP = 1712845660 | ||
SHA256 (toybox-0.8.11.tar.gz) = 15aa3f832f4ec1874db761b9950617f99e1e38144c22da39a71311093bfe67dc | ||
SIZE (toybox-0.8.11.tar.gz) = 3550912 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- kconfig/freebsd_miniconfig.orig 2023-07-30 09:41:04 UTC | ||
--- kconfig/freebsd_miniconfig.orig 2024-04-09 01:50:07 UTC | ||
+++ kconfig/freebsd_miniconfig | ||
@@ -49,6 +49,7 @@ CONFIG_RENICE=y | ||
CONFIG_RM=y | ||
CONFIG_RMDIR=y | ||
CONFIG_SED=y | ||
+CONFIG_SHUF=y | ||
CONFIG_SLEEP=y | ||
CONFIG_SORT=y | ||
CONFIG_SPLIT=y | ||
@@ -150,6 +150,7 @@ CONFIG_SYNC=y | ||
CONFIG_SEQ=y | ||
CONFIG_SU=y | ||
CONFIG_SYNC=y | ||
+CONFIG_UNAME=y | ||
CONFIG_TOYBOX_SUID=y | ||
CONFIG_TOYBOX_FLOAT=y | ||
CONFIG_TOYBOX_HELP=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- lib/portability.c.orig 2024-04-09 01:50:07 UTC | ||
+++ lib/portability.c | ||
@@ -65,7 +65,7 @@ struct mtab_list *xgetmountlist(char *path) | ||
int i, count; | ||
|
||
if (path) error_exit("xgetmountlist"); | ||
- if ((count = getmntinfo(&entries, 0)) == 0) perror_exit("getmntinfo"); | ||
+ if (!(count = getmntinfo(&entries, MNT_NOWAIT))) perror_exit("getmntinfo"); | ||
|
||
// The "test" part of the loop is done before the first time through and | ||
// again after each "increment", so putting the actual load there avoids |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters