summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-03-06 22:23:10 +0100
committerDaniel Engberg <diizzy@FreeBSD.org>2023-03-06 23:21:23 +0100
commit9bc2075ac31b7578c2447da5f7bc6bac1b5f8b3d (patch)
tree8288b99927b492151717f76a60e0aa0ac9c5a233 /sysutils
parentab37f90e025b0a02e946d6782fd4823b33b9aba3 (diff)
downloadfreebsd-ports-9bc2075ac31b7578c2447da5f7bc6bac1b5f8b3d.zip
sysutils/rust-coreutils: Provide more utils and reduce install size
- Use cargo to follow framework options more closely, this also allows including more utilities - Use multi binary as it substantially reduces install size and allows better overall optimization This drops shell completions but it shouldn't be much work enabling again by adapting the helper script and using cargo PR: 269832 Reviewed by: pkubaj (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rust-coreutils/Makefile46
-rw-r--r--sysutils/rust-coreutils/files/symlink-install-helper.sh.in2
-rw-r--r--sysutils/rust-coreutils/pkg-plist518
3 files changed, 159 insertions, 407 deletions
diff --git a/sysutils/rust-coreutils/Makefile b/sysutils/rust-coreutils/Makefile
index 9b4cee89fdce..02056f20dd64 100644
--- a/sysutils/rust-coreutils/Makefile
+++ b/sysutils/rust-coreutils/Makefile
@@ -1,6 +1,6 @@
PORTNAME= rust-coreutils
PORTVERSION= 0.0.17
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
PATCH_SITES= https://github.com/uutils/coreutils/commit/
@@ -13,13 +13,13 @@ WWW= https://github.com/uutils/coreutils
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cargo gmake
-CARGO_BUILD= no
-MAKE_ARGS= PROG_PREFIX=uu- PREFIX=${LOCALBASE}
+LIB_DEPENDS= libonig.so:devel/oniguruma
+
+USES= cargo pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= uutils
GH_PROJECT= coreutils
-TEST_TARGET= check
+#TEST_TARGET= check
CARGO_CRATES= Inflector-0.11.4 \
adler-1.0.2 \
@@ -289,7 +289,41 @@ CARGO_CRATES= Inflector-0.11.4 \
z85-3.0.5 \
zip-0.6.3
+CARGO_ENV= CARGO_PROFILE_RELEASE_LTO="true" \
+ CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+CARGO_FEATURES= unix
+# Fails when CARGO_PROFILE_RELEASE_PANIC="abort" is set
+LTO_UNSAFE= yes
+BINPREFIX= uu-
+PLIST_SUB= BINPREFIX=${BINPREFIX}
+
+post-build:
+ ${INSTALL_SCRIPT} ${FILESDIR}/symlink-install-helper.sh.in ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+ @${REINPLACE_CMD} -e 's|%%GREP%%|${GREP}|g' \
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+ @${REINPLACE_CMD} -e 's|%%CARGO_TARGET_DIR%%|${CARGO_TARGET_DIR}|g' \
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+ @${REINPLACE_CMD} -e 's|%%CARGO_BUILD_TARGET%%|${CARGO_BUILD_TARGET}|g' \
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+ @${REINPLACE_CMD} -e 's|%%SED%%|${SED}|g' \
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+ @${REINPLACE_CMD} -e 's|%%TR%%|${TR}|g' \
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+ @${REINPLACE_CMD} -e 's|%%RLN%%|${RLN}|g' \
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+ @${REINPLACE_CMD} -e 's|%%STAGEDIR%%|${STAGEDIR}|g' \
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+ @${REINPLACE_CMD} -e 's|%%BINPREFIX%%|${BINPREFIX}|g' \
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+
do-install:
- cd ${WRKSRC}; ${MAKE_CMD} ${MAKE_ARGS} install
+ ${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/release/coreutils \
+ ${STAGEDIR}${PREFIX}/bin/${BINPREFIX}coreutils
+ ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/symlink-install-helper.sh
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${BINPREFIX}coreutils
.include <bsd.port.mk>
diff --git a/sysutils/rust-coreutils/files/symlink-install-helper.sh.in b/sysutils/rust-coreutils/files/symlink-install-helper.sh.in
new file mode 100644
index 000000000000..981db5f277b8
--- /dev/null
+++ b/sysutils/rust-coreutils/files/symlink-install-helper.sh.in
@@ -0,0 +1,2 @@
+#!/bin/sh
+for i in $(%%GREP%% -o '".*"' %%CARGO_TARGET_DIR%%/%%CARGO_BUILD_TARGET%%/*/build/coreutils-*/out/uutils_map.rs | %%SED%% 's/"//g'| %%SED%% 's/$/ /g'| %%TR%% -d '\n'| %%TR%% -d '\r'); do %%RLN%% %%STAGEDIR%%%%PREFIX%%/bin/%%BINPREFIX%%coreutils %%STAGEDIR%%%%PREFIX%%/bin/%%BINPREFIX%%${i}; done
diff --git a/sysutils/rust-coreutils/pkg-plist b/sysutils/rust-coreutils/pkg-plist
index 22db02fe8c9d..0c19dd6bd81f 100644
--- a/sysutils/rust-coreutils/pkg-plist
+++ b/sysutils/rust-coreutils/pkg-plist
@@ -1,401 +1,117 @@
-bin/uu-[
-bin/uu-arch
-bin/uu-base32
-bin/uu-base64
-bin/uu-basename
-bin/uu-basenc
-bin/uu-cat
-bin/uu-chgrp
-bin/uu-chmod
-bin/uu-chown
-bin/uu-chroot
-bin/uu-cksum
-bin/uu-comm
-bin/uu-cp
-bin/uu-csplit
-bin/uu-cut
-bin/uu-date
-bin/uu-dd
-bin/uu-df
-bin/uu-dir
-bin/uu-dircolors
-bin/uu-dirname
-bin/uu-du
-bin/uu-echo
-bin/uu-env
-bin/uu-expand
-bin/uu-expr
-bin/uu-factor
-bin/uu-false
-bin/uu-fmt
-bin/uu-fold
-bin/uu-groups
-bin/uu-hashsum
-bin/uu-head
-bin/uu-hostid
-bin/uu-hostname
-bin/uu-id
-bin/uu-install
-bin/uu-join
-bin/uu-kill
-bin/uu-link
-bin/uu-ln
-bin/uu-logname
-bin/uu-ls
-bin/uu-mkdir
-bin/uu-mkfifo
-bin/uu-mknod
-bin/uu-mktemp
-bin/uu-more
-bin/uu-mv
-bin/uu-nice
-bin/uu-nl
-bin/uu-nohup
-bin/uu-nproc
-bin/uu-numfmt
-bin/uu-od
-bin/uu-paste
-bin/uu-pathchk
-bin/uu-pinky
-bin/uu-pr
-bin/uu-printenv
-bin/uu-printf
-bin/uu-ptx
-bin/uu-pwd
-bin/uu-readlink
-bin/uu-realpath
-bin/uu-relpath
-bin/uu-rm
-bin/uu-rmdir
-bin/uu-seq
-bin/uu-shred
-bin/uu-shuf
-bin/uu-sleep
-bin/uu-sort
-bin/uu-split
-bin/uu-stat
-bin/uu-stdbuf
-bin/uu-sum
-bin/uu-sync
-bin/uu-tac
-bin/uu-tail
-bin/uu-tee
-bin/uu-test
-bin/uu-timeout
-bin/uu-touch
-bin/uu-tr
-bin/uu-true
-bin/uu-truncate
-bin/uu-tsort
-bin/uu-tty
-bin/uu-uname
-bin/uu-unexpand
-bin/uu-uniq
-bin/uu-unlink
-bin/uu-uptime
-bin/uu-users
-bin/uu-vdir
-bin/uu-wc
-bin/uu-who
-bin/uu-whoami
-bin/uu-yes
-share/bash-completion/completions/uu-arch
-share/bash-completion/completions/uu-base32
-share/bash-completion/completions/uu-base64
-share/bash-completion/completions/uu-basename
-share/bash-completion/completions/uu-basenc
-share/bash-completion/completions/uu-cat
-share/bash-completion/completions/uu-chgrp
-share/bash-completion/completions/uu-chmod
-share/bash-completion/completions/uu-chown
-share/bash-completion/completions/uu-chroot
-share/bash-completion/completions/uu-cksum
-share/bash-completion/completions/uu-comm
-share/bash-completion/completions/uu-cp
-share/bash-completion/completions/uu-csplit
-share/bash-completion/completions/uu-cut
-share/bash-completion/completions/uu-date
-share/bash-completion/completions/uu-dd
-share/bash-completion/completions/uu-df
-share/bash-completion/completions/uu-dir
-share/bash-completion/completions/uu-dircolors
-share/bash-completion/completions/uu-dirname
-share/bash-completion/completions/uu-du
-share/bash-completion/completions/uu-echo
-share/bash-completion/completions/uu-env
-share/bash-completion/completions/uu-expand
-share/bash-completion/completions/uu-expr
-share/bash-completion/completions/uu-factor
-share/bash-completion/completions/uu-false
-share/bash-completion/completions/uu-fmt
-share/bash-completion/completions/uu-fold
-share/bash-completion/completions/uu-groups
-share/bash-completion/completions/uu-hashsum
-share/bash-completion/completions/uu-head
-share/bash-completion/completions/uu-hostid
-share/bash-completion/completions/uu-hostname
-share/bash-completion/completions/uu-id
-share/bash-completion/completions/uu-install
-share/bash-completion/completions/uu-join
-share/bash-completion/completions/uu-kill
-share/bash-completion/completions/uu-link
-share/bash-completion/completions/uu-ln
-share/bash-completion/completions/uu-logname
-share/bash-completion/completions/uu-ls
-share/bash-completion/completions/uu-mkdir
-share/bash-completion/completions/uu-mkfifo
-share/bash-completion/completions/uu-mknod
-share/bash-completion/completions/uu-mktemp
-share/bash-completion/completions/uu-more
-share/bash-completion/completions/uu-mv
-share/bash-completion/completions/uu-nice
-share/bash-completion/completions/uu-nl
-share/bash-completion/completions/uu-nohup
-share/bash-completion/completions/uu-nproc
-share/bash-completion/completions/uu-numfmt
-share/bash-completion/completions/uu-od
-share/bash-completion/completions/uu-paste
-share/bash-completion/completions/uu-pathchk
-share/bash-completion/completions/uu-pinky
-share/bash-completion/completions/uu-pr
-share/bash-completion/completions/uu-printenv
-share/bash-completion/completions/uu-printf
-share/bash-completion/completions/uu-ptx
-share/bash-completion/completions/uu-pwd
-share/bash-completion/completions/uu-readlink
-share/bash-completion/completions/uu-realpath
-share/bash-completion/completions/uu-relpath
-share/bash-completion/completions/uu-rm
-share/bash-completion/completions/uu-rmdir
-share/bash-completion/completions/uu-seq
-share/bash-completion/completions/uu-shred
-share/bash-completion/completions/uu-shuf
-share/bash-completion/completions/uu-sleep
-share/bash-completion/completions/uu-sort
-share/bash-completion/completions/uu-split
-share/bash-completion/completions/uu-stat
-share/bash-completion/completions/uu-stdbuf
-share/bash-completion/completions/uu-sum
-share/bash-completion/completions/uu-sync
-share/bash-completion/completions/uu-tac
-share/bash-completion/completions/uu-tail
-share/bash-completion/completions/uu-tee
-share/bash-completion/completions/uu-test
-share/bash-completion/completions/uu-timeout
-share/bash-completion/completions/uu-touch
-share/bash-completion/completions/uu-tr
-share/bash-completion/completions/uu-true
-share/bash-completion/completions/uu-truncate
-share/bash-completion/completions/uu-tsort
-share/bash-completion/completions/uu-tty
-share/bash-completion/completions/uu-uname
-share/bash-completion/completions/uu-unexpand
-share/bash-completion/completions/uu-uniq
-share/bash-completion/completions/uu-unlink
-share/bash-completion/completions/uu-uptime
-share/bash-completion/completions/uu-users
-share/bash-completion/completions/uu-vdir
-share/bash-completion/completions/uu-wc
-share/bash-completion/completions/uu-who
-share/bash-completion/completions/uu-whoami
-share/bash-completion/completions/uu-yes
-share/fish/vendor_completions.d/uu-arch.fish
-share/fish/vendor_completions.d/uu-base32.fish
-share/fish/vendor_completions.d/uu-base64.fish
-share/fish/vendor_completions.d/uu-basename.fish
-share/fish/vendor_completions.d/uu-basenc.fish
-share/fish/vendor_completions.d/uu-cat.fish
-share/fish/vendor_completions.d/uu-chgrp.fish
-share/fish/vendor_completions.d/uu-chmod.fish
-share/fish/vendor_completions.d/uu-chown.fish
-share/fish/vendor_completions.d/uu-chroot.fish
-share/fish/vendor_completions.d/uu-cksum.fish
-share/fish/vendor_completions.d/uu-comm.fish
-share/fish/vendor_completions.d/uu-cp.fish
-share/fish/vendor_completions.d/uu-csplit.fish
-share/fish/vendor_completions.d/uu-cut.fish
-share/fish/vendor_completions.d/uu-date.fish
-share/fish/vendor_completions.d/uu-dd.fish
-share/fish/vendor_completions.d/uu-df.fish
-share/fish/vendor_completions.d/uu-dir.fish
-share/fish/vendor_completions.d/uu-dircolors.fish
-share/fish/vendor_completions.d/uu-dirname.fish
-share/fish/vendor_completions.d/uu-du.fish
-share/fish/vendor_completions.d/uu-echo.fish
-share/fish/vendor_completions.d/uu-env.fish
-share/fish/vendor_completions.d/uu-expand.fish
-share/fish/vendor_completions.d/uu-expr.fish
-share/fish/vendor_completions.d/uu-factor.fish
-share/fish/vendor_completions.d/uu-false.fish
-share/fish/vendor_completions.d/uu-fmt.fish
-share/fish/vendor_completions.d/uu-fold.fish
-share/fish/vendor_completions.d/uu-groups.fish
-share/fish/vendor_completions.d/uu-hashsum.fish
-share/fish/vendor_completions.d/uu-head.fish
-share/fish/vendor_completions.d/uu-hostid.fish
-share/fish/vendor_completions.d/uu-hostname.fish
-share/fish/vendor_completions.d/uu-id.fish
-share/fish/vendor_completions.d/uu-install.fish
-share/fish/vendor_completions.d/uu-join.fish
-share/fish/vendor_completions.d/uu-kill.fish
-share/fish/vendor_completions.d/uu-link.fish
-share/fish/vendor_completions.d/uu-ln.fish
-share/fish/vendor_completions.d/uu-logname.fish
-share/fish/vendor_completions.d/uu-ls.fish
-share/fish/vendor_completions.d/uu-mkdir.fish
-share/fish/vendor_completions.d/uu-mkfifo.fish
-share/fish/vendor_completions.d/uu-mknod.fish
-share/fish/vendor_completions.d/uu-mktemp.fish
-share/fish/vendor_completions.d/uu-more.fish
-share/fish/vendor_completions.d/uu-mv.fish
-share/fish/vendor_completions.d/uu-nice.fish
-share/fish/vendor_completions.d/uu-nl.fish
-share/fish/vendor_completions.d/uu-nohup.fish
-share/fish/vendor_completions.d/uu-nproc.fish
-share/fish/vendor_completions.d/uu-numfmt.fish
-share/fish/vendor_completions.d/uu-od.fish
-share/fish/vendor_completions.d/uu-paste.fish
-share/fish/vendor_completions.d/uu-pathchk.fish
-share/fish/vendor_completions.d/uu-pinky.fish
-share/fish/vendor_completions.d/uu-pr.fish
-share/fish/vendor_completions.d/uu-printenv.fish
-share/fish/vendor_completions.d/uu-printf.fish
-share/fish/vendor_completions.d/uu-ptx.fish
-share/fish/vendor_completions.d/uu-pwd.fish
-share/fish/vendor_completions.d/uu-readlink.fish
-share/fish/vendor_completions.d/uu-realpath.fish
-share/fish/vendor_completions.d/uu-relpath.fish
-share/fish/vendor_completions.d/uu-rm.fish
-share/fish/vendor_completions.d/uu-rmdir.fish
-share/fish/vendor_completions.d/uu-seq.fish
-share/fish/vendor_completions.d/uu-shred.fish
-share/fish/vendor_completions.d/uu-shuf.fish
-share/fish/vendor_completions.d/uu-sleep.fish
-share/fish/vendor_completions.d/uu-sort.fish
-share/fish/vendor_completions.d/uu-split.fish
-share/fish/vendor_completions.d/uu-stat.fish
-share/fish/vendor_completions.d/uu-stdbuf.fish
-share/fish/vendor_completions.d/uu-sum.fish
-share/fish/vendor_completions.d/uu-sync.fish
-share/fish/vendor_completions.d/uu-tac.fish
-share/fish/vendor_completions.d/uu-tail.fish
-share/fish/vendor_completions.d/uu-tee.fish
-share/fish/vendor_completions.d/uu-test.fish
-share/fish/vendor_completions.d/uu-timeout.fish
-share/fish/vendor_completions.d/uu-touch.fish
-share/fish/vendor_completions.d/uu-tr.fish
-share/fish/vendor_completions.d/uu-true.fish
-share/fish/vendor_completions.d/uu-truncate.fish
-share/fish/vendor_completions.d/uu-tsort.fish
-share/fish/vendor_completions.d/uu-tty.fish
-share/fish/vendor_completions.d/uu-uname.fish
-share/fish/vendor_completions.d/uu-unexpand.fish
-share/fish/vendor_completions.d/uu-uniq.fish
-share/fish/vendor_completions.d/uu-unlink.fish
-share/fish/vendor_completions.d/uu-uptime.fish
-share/fish/vendor_completions.d/uu-users.fish
-share/fish/vendor_completions.d/uu-vdir.fish
-share/fish/vendor_completions.d/uu-wc.fish
-share/fish/vendor_completions.d/uu-who.fish
-share/fish/vendor_completions.d/uu-whoami.fish
-share/fish/vendor_completions.d/uu-yes.fish
-share/zsh/site-functions/_uu-arch
-share/zsh/site-functions/_uu-base32
-share/zsh/site-functions/_uu-base64
-share/zsh/site-functions/_uu-basename
-share/zsh/site-functions/_uu-basenc
-share/zsh/site-functions/_uu-cat
-share/zsh/site-functions/_uu-chgrp
-share/zsh/site-functions/_uu-chmod
-share/zsh/site-functions/_uu-chown
-share/zsh/site-functions/_uu-chroot
-share/zsh/site-functions/_uu-cksum
-share/zsh/site-functions/_uu-comm
-share/zsh/site-functions/_uu-cp
-share/zsh/site-functions/_uu-csplit
-share/zsh/site-functions/_uu-cut
-share/zsh/site-functions/_uu-date
-share/zsh/site-functions/_uu-dd
-share/zsh/site-functions/_uu-df
-share/zsh/site-functions/_uu-dir
-share/zsh/site-functions/_uu-dircolors
-share/zsh/site-functions/_uu-dirname
-share/zsh/site-functions/_uu-du
-share/zsh/site-functions/_uu-echo
-share/zsh/site-functions/_uu-env
-share/zsh/site-functions/_uu-expand
-share/zsh/site-functions/_uu-expr
-share/zsh/site-functions/_uu-factor
-share/zsh/site-functions/_uu-false
-share/zsh/site-functions/_uu-fmt
-share/zsh/site-functions/_uu-fold
-share/zsh/site-functions/_uu-groups
-share/zsh/site-functions/_uu-hashsum
-share/zsh/site-functions/_uu-head
-share/zsh/site-functions/_uu-hostid
-share/zsh/site-functions/_uu-hostname
-share/zsh/site-functions/_uu-id
-share/zsh/site-functions/_uu-install
-share/zsh/site-functions/_uu-join
-share/zsh/site-functions/_uu-kill
-share/zsh/site-functions/_uu-link
-share/zsh/site-functions/_uu-ln
-share/zsh/site-functions/_uu-logname
-share/zsh/site-functions/_uu-ls
-share/zsh/site-functions/_uu-mkdir
-share/zsh/site-functions/_uu-mkfifo
-share/zsh/site-functions/_uu-mknod
-share/zsh/site-functions/_uu-mktemp
-share/zsh/site-functions/_uu-more
-share/zsh/site-functions/_uu-mv
-share/zsh/site-functions/_uu-nice
-share/zsh/site-functions/_uu-nl
-share/zsh/site-functions/_uu-nohup
-share/zsh/site-functions/_uu-nproc
-share/zsh/site-functions/_uu-numfmt
-share/zsh/site-functions/_uu-od
-share/zsh/site-functions/_uu-paste
-share/zsh/site-functions/_uu-pathchk
-share/zsh/site-functions/_uu-pinky
-share/zsh/site-functions/_uu-pr
-share/zsh/site-functions/_uu-printenv
-share/zsh/site-functions/_uu-printf
-share/zsh/site-functions/_uu-ptx
-share/zsh/site-functions/_uu-pwd
-share/zsh/site-functions/_uu-readlink
-share/zsh/site-functions/_uu-realpath
-share/zsh/site-functions/_uu-relpath
-share/zsh/site-functions/_uu-rm
-share/zsh/site-functions/_uu-rmdir
-share/zsh/site-functions/_uu-seq
-share/zsh/site-functions/_uu-shred
-share/zsh/site-functions/_uu-shuf
-share/zsh/site-functions/_uu-sleep
-share/zsh/site-functions/_uu-sort
-share/zsh/site-functions/_uu-split
-share/zsh/site-functions/_uu-stat
-share/zsh/site-functions/_uu-stdbuf
-share/zsh/site-functions/_uu-sum
-share/zsh/site-functions/_uu-sync
-share/zsh/site-functions/_uu-tac
-share/zsh/site-functions/_uu-tail
-share/zsh/site-functions/_uu-tee
-share/zsh/site-functions/_uu-test
-share/zsh/site-functions/_uu-timeout
-share/zsh/site-functions/_uu-touch
-share/zsh/site-functions/_uu-tr
-share/zsh/site-functions/_uu-true
-share/zsh/site-functions/_uu-truncate
-share/zsh/site-functions/_uu-tsort
-share/zsh/site-functions/_uu-tty
-share/zsh/site-functions/_uu-uname
-share/zsh/site-functions/_uu-unexpand
-share/zsh/site-functions/_uu-uniq
-share/zsh/site-functions/_uu-unlink
-share/zsh/site-functions/_uu-uptime
-share/zsh/site-functions/_uu-users
-share/zsh/site-functions/_uu-vdir
-share/zsh/site-functions/_uu-wc
-share/zsh/site-functions/_uu-who
-share/zsh/site-functions/_uu-whoami
-share/zsh/site-functions/_uu-yes
+bin/%%BINPREFIX%%coreutils
+bin/%%BINPREFIX%%[
+bin/%%BINPREFIX%%arch
+bin/%%BINPREFIX%%b2sum
+bin/%%BINPREFIX%%b3sum
+bin/%%BINPREFIX%%base32
+bin/%%BINPREFIX%%base64
+bin/%%BINPREFIX%%basename
+bin/%%BINPREFIX%%basenc
+bin/%%BINPREFIX%%cat
+bin/%%BINPREFIX%%chgrp
+bin/%%BINPREFIX%%chmod
+bin/%%BINPREFIX%%chown
+bin/%%BINPREFIX%%chroot
+bin/%%BINPREFIX%%cksum
+bin/%%BINPREFIX%%comm
+bin/%%BINPREFIX%%cp
+bin/%%BINPREFIX%%csplit
+bin/%%BINPREFIX%%cut
+bin/%%BINPREFIX%%date
+bin/%%BINPREFIX%%dd
+bin/%%BINPREFIX%%df
+bin/%%BINPREFIX%%dir
+bin/%%BINPREFIX%%dircolors
+bin/%%BINPREFIX%%dirname
+bin/%%BINPREFIX%%du
+bin/%%BINPREFIX%%echo
+bin/%%BINPREFIX%%env
+bin/%%BINPREFIX%%expand
+bin/%%BINPREFIX%%expr
+bin/%%BINPREFIX%%factor
+bin/%%BINPREFIX%%false
+bin/%%BINPREFIX%%fmt
+bin/%%BINPREFIX%%fold
+bin/%%BINPREFIX%%groups
+bin/%%BINPREFIX%%hashsum
+bin/%%BINPREFIX%%head
+bin/%%BINPREFIX%%hostname
+bin/%%BINPREFIX%%id
+bin/%%BINPREFIX%%install
+bin/%%BINPREFIX%%join
+bin/%%BINPREFIX%%kill
+bin/%%BINPREFIX%%link
+bin/%%BINPREFIX%%ln
+bin/%%BINPREFIX%%logname
+bin/%%BINPREFIX%%ls
+bin/%%BINPREFIX%%md5sum
+bin/%%BINPREFIX%%mkdir
+bin/%%BINPREFIX%%mkfifo
+bin/%%BINPREFIX%%mknod
+bin/%%BINPREFIX%%mktemp
+bin/%%BINPREFIX%%more
+bin/%%BINPREFIX%%mv
+bin/%%BINPREFIX%%nice
+bin/%%BINPREFIX%%nl
+bin/%%BINPREFIX%%nohup
+bin/%%BINPREFIX%%nproc
+bin/%%BINPREFIX%%numfmt
+bin/%%BINPREFIX%%od
+bin/%%BINPREFIX%%paste
+bin/%%BINPREFIX%%pathchk
+bin/%%BINPREFIX%%pinky
+bin/%%BINPREFIX%%pr
+bin/%%BINPREFIX%%printenv
+bin/%%BINPREFIX%%printf
+bin/%%BINPREFIX%%ptx
+bin/%%BINPREFIX%%pwd
+bin/%%BINPREFIX%%readlink
+bin/%%BINPREFIX%%realpath
+bin/%%BINPREFIX%%relpath
+bin/%%BINPREFIX%%rm
+bin/%%BINPREFIX%%rmdir
+bin/%%BINPREFIX%%seq
+bin/%%BINPREFIX%%sha1sum
+bin/%%BINPREFIX%%sha224sum
+bin/%%BINPREFIX%%sha256sum
+bin/%%BINPREFIX%%sha3-224sum
+bin/%%BINPREFIX%%sha3-256sum
+bin/%%BINPREFIX%%sha3-384sum
+bin/%%BINPREFIX%%sha3-512sum
+bin/%%BINPREFIX%%sha384sum
+bin/%%BINPREFIX%%sha3sum
+bin/%%BINPREFIX%%sha512sum
+bin/%%BINPREFIX%%shake128sum
+bin/%%BINPREFIX%%shake256sum
+bin/%%BINPREFIX%%shred
+bin/%%BINPREFIX%%shuf
+bin/%%BINPREFIX%%sleep
+bin/%%BINPREFIX%%sort
+bin/%%BINPREFIX%%split
+bin/%%BINPREFIX%%stat
+bin/%%BINPREFIX%%stdbuf
+bin/%%BINPREFIX%%stty
+bin/%%BINPREFIX%%sum
+bin/%%BINPREFIX%%sync
+bin/%%BINPREFIX%%tac
+bin/%%BINPREFIX%%tail
+bin/%%BINPREFIX%%tee
+bin/%%BINPREFIX%%test
+bin/%%BINPREFIX%%timeout
+bin/%%BINPREFIX%%touch
+bin/%%BINPREFIX%%tr
+bin/%%BINPREFIX%%true
+bin/%%BINPREFIX%%truncate
+bin/%%BINPREFIX%%tsort
+bin/%%BINPREFIX%%tty
+bin/%%BINPREFIX%%uname
+bin/%%BINPREFIX%%unexpand
+bin/%%BINPREFIX%%uniq
+bin/%%BINPREFIX%%unlink
+bin/%%BINPREFIX%%uptime
+bin/%%BINPREFIX%%users
+bin/%%BINPREFIX%%vdir
+bin/%%BINPREFIX%%wc
+bin/%%BINPREFIX%%who
+bin/%%BINPREFIX%%whoami
+bin/%%BINPREFIX%%yes