Created attachment 231214 [details] Patch to update toybox to 0.8.6 Update sysutils/toybox to 0.8.6. QA: - poudriere testport: 12.3 & 13.0, builds and runs - portlint -C: looks fine - I disabled toys/other/chvt for now because it no longer builds on FreeBSD Changelog: http://landley.net/toybox/#30-11-2021 (too long to list here)
Created attachment 231265 [details] New and better patch I found some extra time so I improved upon the upgrade: - reverted chvt to an earlier version that builds on FreeBSD - it now installs symlinks to the toybox binary in ${PREFIX}/toybox/[bin|sbin|usr/bin|usr/sbin]
Hi Vidar, Any reason why we can't use http://landley.net/toybox/downloads/toybox-0.8.6.tar.gz as recommended in the USE_GITHUB section in Porters Handbook? Can you also try to push these patches upstream? Best regards, Daniel
Created attachment 231270 [details] Newer and betterer patch Switching from GH to MASTER_SITES=http://landley.net/toybox/downloads/
(In reply to Daniel Engberg from comment #2) Good point, Daniel! I see no reason not to do that, so I uploaded a revised patch using the official MASTER_SITE. As for upstreaming, I tried that some time ago to no avail. Upstream has moved since then, so I had to rebase the patches. I'll reach out to them again and try to get them accepted.
L2 in pkg-list looks wrong?
(In reply to Daniel Engberg from comment #5) It is actually supposed to be there, this is the good old posix test(1): # ls -l toybox/bin total 197 lrwxr-xr-x 1 root wheel 6 Jan 23 20:43 [ -> toybox # file toybox/bin/\[ toybox/bin/[: symbolic link to toybox
Poudriere testport OK 12.3-RELEASE (amd64) Poudriere testport OK 13.0-RELEASE (i386)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fac8a211bfa41f0b8dfe18771ea0e159f83b3690 commit fac8a211bfa41f0b8dfe18771ea0e159f83b3690 Author: Vidar Karlsen <vidar@karlsen.tech> AuthorDate: 2022-02-13 19:19:26 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-02-13 19:43:32 +0000 sysutils/toybox: update to 0.8.6 Changelog: http://landley.net/toybox/#30-11-2021 PR: 261380 sysutils/toybox/Makefile | 38 ++++++- sysutils/toybox/distinfo | 6 +- sysutils/toybox/files/patch-lib_portability.c | 42 +++++-- sysutils/toybox/files/patch-lib_portability.h | 13 ++- .../toybox/files/patch-toys_other_chvt.c (new) | 25 +++++ sysutils/toybox/pkg-plist (new) | 125 +++++++++++++++++++++ 6 files changed, 231 insertions(+), 18 deletions(-)
Committed, thanks!