Bug 278481

Summary: sysutils/toybox: update to 0.8.11
Product: Ports & Packages Reporter: Vidar Karlsen <vidar>
Component: Individual Port(s)Assignee: Nuno Teixeira <eduardo>
Status: Closed FIXED    
Severity: Affects Only Me CC: eduardo
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://landley.net/toybox/news.html#08-04-2024
Attachments:
Description Flags
git format-patch
vidar: maintainer-approval+
git format-patch vidar: maintainer-approval+

Description Vidar Karlsen 2024-04-20 12:57:17 UTC
Created attachment 250102 [details]
git format-patch

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

QA:
poudriere testport ok on:
- 13.2-amd64
- 13.2-arm64.aarch64
- 14.0-amd64
- 14.0-arm64.aarch64

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():
https://github.com/landley/toybox/commit/7d9ee89d3cf80f5e712badd7caa988ce235ccda1
Comment 1 Vidar Karlsen 2024-04-20 19:38:39 UTC
Created attachment 250110 [details]
git format-patch
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-04-27 16:45:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5bfa5d580da5a49a09768211eba04a76117d6c7e

commit 5bfa5d580da5a49a09768211eba04a76117d6c7e
Author:     Vidar Karlsen <vidar@karlsen.tech>
AuthorDate: 2024-04-20 12:52:42 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-27 16:45:16 +0000

    sysutils/toybox: Update to 0.8.11

    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():
    https://github.com/landley/toybox/commit/7d9ee89d3cf80f5e712badd7caa988ce235ccda1

    PR:             278481

 sysutils/toybox/Makefile                           | 36 +++-------------------
 sysutils/toybox/distinfo                           |  6 ++--
 .../toybox/files/patch-kconfig_freebsd__miniconfig | 18 +++++------
 .../toybox/files/patch-lib_portability.c (new)     | 11 +++++++
 sysutils/toybox/pkg-plist                          | 36 +++++++++++++++++++++-
 5 files changed, 63 insertions(+), 44 deletions(-)
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-27 16:46:29 UTC
Committed, thanks!