Skip to content

Commit 45aa783

Browse files
committed
coreutils - update from 9.5 to 9.6
1 parent b0f3edd commit 45aa783

8 files changed

+46
-69
lines changed

build/coreutils/build.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
# }}}
1414

1515
# Copyright 2017 OmniTI Computer Consulting, Inc. All rights reserved.
16-
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
16+
# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
1717

1818
. ../../lib/build.sh
1919

2020
PROG=coreutils
21-
VER=9.5
21+
VER=9.6
2222
PKG=file/gnu-coreutils
2323
SUMMARY="coreutils - GNU core utilities"
2424
DESC="GNU core utilities"
@@ -69,7 +69,8 @@ function post_install {
6969
init
7070
download_source $PROG $PROG $VER
7171
patch_source
72-
run_autoreconf -fi
72+
run_aclocal --force -I m4
73+
run_autoconf
7374
prep_build
7475
build
7576
run_testsuite check

build/coreutils/patches/gcc14.patch

-19
This file was deleted.

build/coreutils/patches/pkglibdir.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
diff -wpruN --no-dereference '--exclude=*.orig' a~/m4/configmake.m4 a/m4/configmake.m4
22
--- a~/m4/configmake.m4 1970-01-01 00:00:00
33
+++ a/m4/configmake.m4 1970-01-01 00:00:00
4-
@@ -29,7 +29,7 @@ AC_DEFUN([gl_CONFIGMAKE_PREP],
4+
@@ -31,7 +31,7 @@ AC_DEFUN([gl_CONFIGMAKE_PREP],
55
AC_SUBST([pkgdatadir], ['${datadir}/${PACKAGE}'])
66
AC_SUBST([pkgincludedir], ['${includedir}/${PACKAGE}'])
77
AC_SUBST([pkglibdir], ['${libdir}/${PACKAGE}'])

build/coreutils/patches/pthread.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
diff -wpruN --no-dereference '--exclude=*.orig' a~/m4/threadlib.m4 a/m4/threadlib.m4
22
--- a~/m4/threadlib.m4 1970-01-01 00:00:00
33
+++ a/m4/threadlib.m4 1970-01-01 00:00:00
4-
@@ -242,6 +242,7 @@ AC_DEFUN([gl_PTHREADLIB_BODY],
4+
@@ -244,6 +244,7 @@ AC_DEFUN([gl_PTHREADLIB_BODY],
55
[gl_pthread_in_glibc=yes],
66
[])
77
;;

build/coreutils/patches/series

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ who.c.patch
77
tests_df_no-mtab-status.sh.patch
88
set-permission.c.patch
99
stdbuf.c.patch
10-
gcc14.patch
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,22 @@
11
diff -wpruN --no-dereference '--exclude=*.orig' a~/tests/df/no-mtab-status.sh a/tests/df/no-mtab-status.sh
22
--- a~/tests/df/no-mtab-status.sh 1970-01-01 00:00:00
33
+++ a/tests/df/no-mtab-status.sh 1970-01-01 00:00:00
4-
@@ -35,9 +35,13 @@ cat > k.c <<EOF || framework_failure_
4+
@@ -24,9 +24,6 @@ require_gcc_shared_
5+
# Protect against inaccessible remote mounts etc.
6+
timeout 10 df || skip_ "df fails"
7+
8+
-grep '^#define HAVE_GETMNTENT 1' $CONFIG_HEADER > /dev/null \
9+
- || skip_ "getmntent is not used on this system"
10+
-
11+
# Simulate "mtab" failure.
12+
cat > k.c <<EOF || framework_failure_
513
#define _GNU_SOURCE
6-
#include <stdio.h>
14+
@@ -34,7 +31,7 @@ cat > k.c <<EOF || framework_failure_
15+
#include <stdlib.h>
716
#include <errno.h>
17+
#include <fcntl.h>
818
-#include <mntent.h>
19+
+#include <sys/mnttab.h>
920
#include <string.h>
21+
#include <stdarg.h>
1022
#include <dlfcn.h>
11-
+#ifdef __illumos__
12-
+#include <sys/mnttab.h>
13-
+#else
14-
+#include <mntent.h>
15-
+#endif
16-
17-
#define STREQ(a, b) (strcmp (a, b) == 0)
18-
19-
@@ -69,7 +73,11 @@ FILE* fopen(const char *path, const char
20-
return fopen_func(path, mode);
21-
}
22-
23-
+#ifdef __illumos__
24-
+int getmntent (FILE *fp, struct mnttab *mp)
25-
+#else
26-
struct mntent *getmntent (FILE *fp)
27-
+#end
28-
{
29-
/* Prove that LD_PRELOAD works. */
30-
static int done = 0;
31-
@@ -80,7 +88,11 @@ struct mntent *getmntent (FILE *fp)
32-
}
33-
/* Now simulate the failure. */
34-
errno = ENOENT;
35-
+#ifdef __illumos__
36-
+ return -1;
37-
+#else
38-
return NULL;
39-
+#endif
40-
}
41-
EOF
42-

build/coreutils/testsuite.log

+25-9
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ PASS: tests/ptx/ptx-overrun.sh
100100
PASS: tests/misc/xstrtol.pl
101101
PASS: tests/tail/overlay-headers.sh
102102
PASS: tests/tail/pid.sh
103+
PASS: tests/tail/pid-pipe.sh
103104
PASS: tests/od/od.pl
104105
PASS: tests/od/od-endian.sh
105106
PASS: tests/od/od-float.sh
@@ -186,6 +187,7 @@ PASS: tests/misc/printenv.sh
186187
PASS: tests/printf/printf.sh
187188
PASS: tests/printf/printf-cov.pl
188189
PASS: tests/printf/printf-hex.sh
190+
PASS: tests/printf/printf-indexed.sh
189191
PASS: tests/printf/printf-mb.sh
190192
PASS: tests/printf/printf-surprise.sh
191193
PASS: tests/printf/printf-quote.sh
@@ -470,7 +472,6 @@ PASS: tests/ls/m-option.sh
470472
PASS: tests/ls/w-option.sh
471473
PASS: tests/ls/multihardlink.sh
472474
PASS: tests/ls/no-arg.sh
473-
SKIP: tests/ls/no-cap.sh
474475
PASS: tests/ls/selinux-segfault.sh
475476
PASS: tests/ls/quote-align.sh
476477
PASS: tests/ls/size-align.sh
@@ -479,6 +480,7 @@ PASS: tests/ls/recursive.sh
479480
SKIP: tests/ls/removed-directory.sh
480481
PASS: tests/ls/root-rel-symlink-color.sh
481482
PASS: tests/ls/rt-1.sh
483+
SKIP: tests/ls/selinux.sh
482484
SKIP: tests/ls/slink-acl.sh
483485
SKIP: tests/ls/stat-dtype.sh
484486
PASS: tests/ls/stat-failed.sh
@@ -596,6 +598,7 @@ SKIP: tests/du/bind-mount-dir-cycle-v2.sh
596598
SKIP: tests/id/setgid.sh
597599
SKIP: tests/install/install-C-root.sh
598600
SKIP: tests/ls/capability.sh
601+
SKIP: tests/ls/no-cap.sh
599602
SKIP: tests/ls/nameless-uid.sh
600603
SKIP: tests/chcon/chcon.sh
601604
SKIP: tests/chroot/chroot-credentials.sh
@@ -651,13 +654,22 @@ SKIP: tests/factor/t33.sh
651654
SKIP: tests/factor/t34.sh
652655
SKIP: tests/factor/t35.sh
653656
SKIP: tests/factor/t36.sh
654-
# TOTAL: 653
655-
# PASS: 500
656-
# SKIP: 152
657+
SKIP: tests/factor/t37.sh
658+
# TOTAL: 657
659+
# PASS: 502
660+
# SKIP: 154
657661
# XFAIL: 0
658662
# FAIL: 1
659663
# XPASS: 0
660664
# ERROR: 0
665+
NAME="OmniOS"
666+
PRETTY_NAME="OmniOS Community Edition v11 r151053"
667+
CPE_NAME="cpe:/o:omniosce:omnios:11:151053:0"
668+
ID=omnios
669+
VERSION=r151053
670+
VERSION_ID=r151053
671+
BUILD_ID=151053.0.2025.01.12
672+
HOME_URL="https://omnios.org/"
661673
SKIP: tests/tail/inotify-race
662674
SKIP tests/tail/inotify-race.sh (exit status: 77)
663675
SKIP: tests/tail/inotify-race2
@@ -825,10 +837,10 @@ SKIP: tests/install/install-Z-selinux
825837
SKIP tests/install/install-Z-selinux.sh (exit status: 77)
826838
SKIP: tests/ls/acl
827839
SKIP tests/ls/acl.sh (exit status: 77)
828-
SKIP: tests/ls/no-cap
829-
SKIP tests/ls/no-cap.sh (exit status: 77)
830840
SKIP: tests/ls/removed-directory
831841
SKIP tests/ls/removed-directory.sh (exit status: 77)
842+
SKIP: tests/ls/selinux
843+
SKIP tests/ls/selinux.sh (exit status: 77)
832844
SKIP: tests/ls/slink-acl
833845
SKIP tests/ls/slink-acl.sh (exit status: 77)
834846
SKIP: tests/ls/stat-dtype
@@ -889,6 +901,8 @@ SKIP: tests/install/install-C-root
889901
SKIP tests/install/install-C-root.sh (exit status: 77)
890902
SKIP: tests/ls/capability
891903
SKIP tests/ls/capability.sh (exit status: 77)
904+
SKIP: tests/ls/no-cap
905+
SKIP tests/ls/no-cap.sh (exit status: 77)
892906
SKIP: tests/ls/nameless-uid
893907
SKIP tests/ls/nameless-uid.sh (exit status: 77)
894908
SKIP: tests/chcon/chcon
@@ -999,9 +1013,11 @@ SKIP: tests/factor/t35
9991013
SKIP tests/factor/t35.sh (exit status: 77)
10001014
SKIP: tests/factor/t36
10011015
SKIP tests/factor/t36.sh (exit status: 77)
1002-
# TOTAL: 653
1003-
# PASS: 500
1004-
# SKIP: 152
1016+
SKIP: tests/factor/t37
1017+
SKIP tests/factor/t37.sh (exit status: 77)
1018+
# TOTAL: 657
1019+
# PASS: 502
1020+
# SKIP: 154
10051021
# XFAIL: 0
10061022
# FAIL: 1
10071023
# XPASS: 0

doc/packages.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
| developer/versioning/sccs | 5.09 | https://sourceforge.net/projects/sccs/files/
3232
| driver/tuntap | 1.3.3 | https://github.com/kaizawa/tuntap/tags
3333
| editor/vim | 9.1 | https://www.vim.org/download.php https://github.com/vim/vim
34-
| file/gnu-coreutils | 9.5 | https://ftp.gnu.org/gnu/coreutils/
34+
| file/gnu-coreutils | 9.6 | https://ftp.gnu.org/gnu/coreutils/
3535
| file/gnu-findutils | 4.10.0 | https://ftp.gnu.org/pub/gnu/findutils/
3636
| library/c++/sigcpp | 3.6.0 | https://download.gnome.org/sources/libsigc++/cache.json https://github.com/libsigcplusplus/libsigcplusplus/blob/master/NEWS
3737
| library/expat | 2.6.4 | https://github.com/libexpat/libexpat/releases

0 commit comments

Comments
 (0)