-rwxr-xr-x root/root usr/bin/nice
-rwxr-xr-x root/root usr/bin/nl
-rwxr-xr-x root/root usr/bin/nohup
+-rwxr-xr-x root/root usr/bin/nproc
-rwxr-xr-x root/root usr/bin/od
-rwxr-xr-x root/root usr/bin/paste
-rwxr-xr-x root/root usr/bin/pathchk
-rwxr-xr-x root/root usr/bin/sort
-rwxr-xr-x root/root usr/bin/split
-rwxr-xr-x root/root usr/bin/stat
+-rwxr-xr-x root/root usr/bin/stdbuf
-rwxr-xr-x root/root usr/bin/sum
-rwxr-xr-x root/root usr/bin/tac
-rwxr-xr-x root/root usr/bin/tail
-rwxr-xr-x root/root usr/bin/who
-rwxr-xr-x root/root usr/bin/whoami
-rwxr-xr-x root/root usr/bin/yes
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/coreutils/
+-rwxr-xr-x root/root usr/lib/coreutils/libstdbuf.so
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/base64.1.gz
-rw-r--r-- root/root usr/man/man1/nice.1.gz
-rw-r--r-- root/root usr/man/man1/nl.1.gz
-rw-r--r-- root/root usr/man/man1/nohup.1.gz
+-rw-r--r-- root/root usr/man/man1/nproc.1.gz
-rw-r--r-- root/root usr/man/man1/od.1.gz
-rw-r--r-- root/root usr/man/man1/paste.1.gz
-rw-r--r-- root/root usr/man/man1/pathchk.1.gz
-rw-r--r-- root/root usr/man/man1/sort.1.gz
-rw-r--r-- root/root usr/man/man1/split.1.gz
-rw-r--r-- root/root usr/man/man1/stat.1.gz
+-rw-r--r-- root/root usr/man/man1/stdbuf.1.gz
-rw-r--r-- root/root usr/man/man1/stty.1.gz
-rw-r--r-- root/root usr/man/man1/sum.1.gz
-rw-r--r-- root/root usr/man/man1/sync.1.gz
# Depends on: libgmp
name=coreutils
-version=7.4
+version=8.2
release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz
coreutils-uname.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/coreutils-uname.patch
- touch man/uname.1 man/hostname.1
+ touch man/uname.1 man/hostname.1 man/arch.1
cat > config.cache <<EOF
+ac_cv_search_clock_gettime=no
fu_cv_sys_stat_statfs2_bsize=yes
gl_cv_func_rename_trailing_slash_bug=no
gl_cv_func_mbrtowc_incomplete_state=yes
EOF
DEFAULT_POSIX2_VERSION=199209 \
+ GPERF=false \
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \