diff options
Diffstat (limited to 'community/coreutils')
| -rwxr-xr-x | community/coreutils/build | 9 | ||||
| -rw-r--r-- | community/coreutils/checksums | 4 | ||||
| -rw-r--r-- | community/coreutils/patches/busybox-style.patch | 16 | ||||
| -rw-r--r-- | community/coreutils/sources | 3 | ||||
| -rw-r--r-- | community/coreutils/version | 2 |
5 files changed, 30 insertions, 4 deletions
diff --git a/community/coreutils/build b/community/coreutils/build index bbd53ee2..c58225c9 100755 --- a/community/coreutils/build +++ b/community/coreutils/build @@ -1,9 +1,16 @@ #!/bin/sh -e +patch -p1 < busybox-style.patch + export LDFLAGS="$LDFLAGS -static" ./configure \ - --prefix=/usr + --prefix=/usr \ + --enable-single-binary=symlinks \ + --with-packager="Carbs Linux" \ + --without-libgmp \ + --disable-libcap \ + --disable-nls make make DESTDIR="$1" install diff --git a/community/coreutils/checksums b/community/coreutils/checksums index ed6feeaf..eb2f9e8f 100644 --- a/community/coreutils/checksums +++ b/community/coreutils/checksums @@ -1 +1,3 @@ -4458d8de7849df44ccab15e16b1548b285224dbba5f08fac070c1c0e0bcc4cfa coreutils-8.32.tar.xz +%BLAKE3 +fac6952d22ebea535d52fc05f8ecaa8efd3497853e2491488e38262ba6068c09 coreutils-9.5.tar.xz +3094ae77f6bba5766dae1498668ac0f3dabe8faa40d77ab6762c69490fe2b7b4 busybox-style.patch diff --git a/community/coreutils/patches/busybox-style.patch b/community/coreutils/patches/busybox-style.patch new file mode 100644 index 00000000..fbd7f3b3 --- /dev/null +++ b/community/coreutils/patches/busybox-style.patch @@ -0,0 +1,16 @@ +This adds a busybox-style usage that a lot of people are used to, to the +coreutils(1) program. +--- a/src/coreutils.c Wed Jul 5 13:09:55 2023 ++++ b/src/coreutils.c Wed Sep 6 16:21:00 2023 +@@ -169,6 +169,11 @@ + else + arg_name = prog_name; + } ++ else if (!STRPREFIX (argv[1], "-")) ++ { ++ nskip = 1; ++ arg_name = prog_name = argv[1]; ++ } + + if (nskip) + { diff --git a/community/coreutils/sources b/community/coreutils/sources index 7b35a7a8..f222f987 100644 --- a/community/coreutils/sources +++ b/community/coreutils/sources @@ -1 +1,2 @@ -https://ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.xz +https://ftp.gnu.org/gnu/coreutils/coreutils-9.5.tar.xz +patches/busybox-style.patch diff --git a/community/coreutils/version b/community/coreutils/version index 8eaeab46..4965dbd3 100644 --- a/community/coreutils/version +++ b/community/coreutils/version @@ -1 +1 @@ -8.32 1 +9.5 1 |
