summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-09-18 17:36:33 +0000
committerZach van Rijn <me@zv.io>2023-09-18 17:36:33 +0000
commitcf682e9d505acf791a27e255884c0eb9d29f92d4 (patch)
tree69e8b76f8175f9925ea5201df78371fc49d16ee9
parent7a30d67a3a456bd33eb27e4fb82bf9477467e3e9 (diff)
downloadpackages-cf682e9d505acf791a27e255884c0eb9d29f92d4.tar.gz
packages-cf682e9d505acf791a27e255884c0eb9d29f92d4.tar.bz2
packages-cf682e9d505acf791a27e255884c0eb9d29f92d4.tar.xz
packages-cf682e9d505acf791a27e255884c0eb9d29f92d4.zip
system/coreutils: bump { 9.2 --> 9.4 }. fixes #1043.
-rw-r--r--system/coreutils/APKBUILD14
-rw-r--r--system/coreutils/csplit-vm-test.patch30
-rw-r--r--system/coreutils/disable-csplit-io-err-test.patch11
-rw-r--r--system/coreutils/disable-mbrtowc-test.patch10
-rw-r--r--system/coreutils/test-tee-avoid-eintr.patch15
5 files changed, 3 insertions, 77 deletions
diff --git a/system/coreutils/APKBUILD b/system/coreutils/APKBUILD
index 6201d14ed..71dea2518 100644
--- a/system/coreutils/APKBUILD
+++ b/system/coreutils/APKBUILD
@@ -2,8 +2,8 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=coreutils
-pkgver=9.2
-pkgrel=1
+pkgver=9.4
+pkgrel=0
pkgdesc="Basic file, shell, and text manipulation utilities"
url="https://www.gnu.org/software/coreutils/"
arch="all"
@@ -15,14 +15,10 @@ subpackages="$pkgname-doc"
[ "${CBUILD}" = "${CHOST}" ] && subpackages="$subpackages $pkgname-lang"
install="$pkgname.post-deinstall"
source="https://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.xz
- csplit-vm-test.patch
- disable-csplit-io-err-test.patch
- disable-mbrtowc-test.patch
gnulib-tests-dont-require-gpg-passphrase.patch
gnulib-test-fixes.patch
localename-test-fix.patch
test-df-symlink-bindmount.patch
- test-tee-avoid-eintr.patch
revert-gnulib-getcwd-speedup-linux.patch
"
[ "${CBUILD}" != "${CHOST}" ] && source="$source
@@ -71,15 +67,11 @@ package() {
done
}
-sha512sums="7e3108fefba4ef995cc73c64ac5f4e09827a44649a97ddd624eb61d67ce82da5ed6dc8c0f79d3e269f5cdb7d43877a61ef5b93194dd905bec432a7e31f9f479c coreutils-9.2.tar.xz
-5f5eab0ae69b26d0906b890a7681b9b5bbfefdd87f3caf84e307d6764ec4a23ec764c18df3404d5ceda9b90b4b5fef150aac7a6d709afa0be6f90a25793fd62c csplit-vm-test.patch
-bd8b5cecba59eba30458c8afa895877d39a987b989bc06b70cd6836e0ef684677aaadcb4949b58a713779fe1df1e15e3903e9be14e306671b86b69018b75de8b disable-csplit-io-err-test.patch
-595be7f580f8906467624959c7eddbd6d7007571d92668b6a1ea5543b73764035b44b02ab5f352c67ec6562a368f220af445edd0a0965fb9826bccfd25ddbdba disable-mbrtowc-test.patch
+sha512sums="7c55ee23b685a0462bbbd118b04d25278c902604a0dcf3bf4f8bf81faa0500dee5a7813cba6f586d676c98e520cafd420f16479619305e94ea6798d8437561f5 coreutils-9.4.tar.xz
fd97fccd661befc558b3afb3e32c82dd2cef511a05e6129d49540599297c1b59ab1f109e63a12f585a2348c26c28fb98330c348829d1fe61cf8149d0dd1c989c gnulib-tests-dont-require-gpg-passphrase.patch
eaba7ad1c5b43d25dc96baaf6f01be5976f9f64c26ea55e1c78d6a3f12825f2f0e998aae7f2ad6d9b2637a3d11586ffe21b87fbbd3c1bb6c9898c5963cb2a32c gnulib-test-fixes.patch
b1509e5678a05f24d6e764c047546e5e34a7fbd5edb59c7debedb144a0096d8ac247c7e2722a5f68c90751e5280bec743c9a6ed3e1433c1916294d68d7bca109 localename-test-fix.patch
15a91b343b6c4d6ef31b322cd2787893eacccb81a7e0202aeac17c3aa18130e6feb5ddb32f39187b4cf2a5d6a9a536a0a6f992e4da90d954a72f158d0df6e4ba test-df-symlink-bindmount.patch
-43bf6a1934a22478c93f4680180f1d7f157c9a5f7320bd8efac3f6e850db08bb57d32f4658eca34ee711e61538ef1932bd6abf730b4d2371e1a128c6d148939f test-tee-avoid-eintr.patch
84b8c141052a5db99f4d470a0f6f74ca01041f04e573ca0774f69a931bbe061c1b95cf5b09ab5f08f4322e04c6fc124449f368b51ccd6e837dec686b8521d86a revert-gnulib-getcwd-speedup-linux.patch"
[ "${CBUILD}" != "${CHOST}" ] && sha512sums="
bae804f057252c25452ac178c545dc2c4b4775cbfbdcfd4775edd1a4ed6507882bfac39e2b11ad01b74230ca48d761bf62f11bde5bcbc35a6e5a61cbe4a46e36 051_all_coreutils-mangen.patch
diff --git a/system/coreutils/csplit-vm-test.patch b/system/coreutils/csplit-vm-test.patch
deleted file mode 100644
index da2e1ad15..000000000
--- a/system/coreutils/csplit-vm-test.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From aa99b99f0cc03fac8a7db00b6aec8887756a499c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
-Date: Thu, 30 Mar 2023 14:28:03 +0100
-Subject: [PATCH] tests: adjust csplit VM limit
-
-* tests/misc/csplit-heap.sh: More memory is required to avoid
-a false failure on some systems. Noticed with musl libc
-with bash as the shell. This is confirmed to still easily
-trigger with the original memory leak being tested.
-Addresses https://bugs.gnu.org/62542
----
- tests/misc/csplit-heap.sh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/misc/csplit-heap.sh b/tests/misc/csplit-heap.sh
-index 2ba3c4500..36b286b93 100755
---- a/tests/misc/csplit-heap.sh
-+++ b/tests/misc/csplit-heap.sh
-@@ -25,7 +25,7 @@ vm=$(get_min_ulimit_v_ csplit -z f %n%1) \
- || skip_ "this shell lacks ulimit support"
-
- (
-- ulimit -v $(($vm + 1000)) \
-+ ulimit -v $(($vm + 4000)) \
- && { yes | head -n2500000; echo n; } | csplit -z - %n%1
- ) || fail=1
-
---
-2.26.2
-
diff --git a/system/coreutils/disable-csplit-io-err-test.patch b/system/coreutils/disable-csplit-io-err-test.patch
deleted file mode 100644
index 035d84486..000000000
--- a/system/coreutils/disable-csplit-io-err-test.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/tests/misc/csplit-io-err.sh 2017-09-20 01:17:21.000000000 +0000
-+++ b/tests/misc/csplit-io-err.sh 2018-08-02 09:14:34.897772887 +0000
-@@ -20,6 +20,8 @@
- print_ver_ csplit
- require_gcc_shared_
-
-+skip_ 'test relies on glibc-specific behavior'
-+
- if ! test -w /dev/full || ! test -c /dev/full; then
- skip_ '/dev/full is required'
- fi
diff --git a/system/coreutils/disable-mbrtowc-test.patch b/system/coreutils/disable-mbrtowc-test.patch
deleted file mode 100644
index fb595df0e..000000000
--- a/system/coreutils/disable-mbrtowc-test.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- coreutils-8.27/gnulib-tests/test-mbrtowc5.sh.old 2016-12-31 13:54:43.000000000 +0000
-+++ coreutils-8.27/gnulib-tests/test-mbrtowc5.sh 2017-07-30 17:29:50.879924130 +0000
-@@ -1,6 +1,2 @@
- #!/bin/sh
--# Test whether the POSIX locale has encoding errors.
--LC_ALL=C \
--${CHECKER} ./test-mbrtowc${EXEEXT} 5 || exit
--LC_ALL=POSIX \
--${CHECKER} ./test-mbrtowc${EXEEXT} 5
-+exit 77
diff --git a/system/coreutils/test-tee-avoid-eintr.patch b/system/coreutils/test-tee-avoid-eintr.patch
deleted file mode 100644
index c513486f7..000000000
--- a/system/coreutils/test-tee-avoid-eintr.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Upstream report: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62542
-
-diff --git a/tests/misc/tee.sh b/tests/misc/tee.sh
-index 0b97a9ea3..444cb688a 100755
---- a/tests/misc/tee.sh
-+++ b/tests/misc/tee.sh
-@@ -99,7 +99,7 @@ dd count=20 bs=100K if=/dev/zero status=none |
- dd count=0 oflag=nonblock status=none
- tee || { cleanup_; touch tee.fail; }
- } >fifo
--test -f tee.fail && fail=1
-+test -f tee.fail && fail=1 || cleanup_
-
- # Ensure tee honors --output-error modes
- read_fifo() { timeout 10 dd count=1 if=fifo of=/dev/null status=none & }