drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/[
+-rwxr-xr-x root/root usr/bin/b2sum
+-rwxr-xr-x root/root usr/bin/base32
-rwxr-xr-x root/root usr/bin/base64
-rwxr-xr-x root/root usr/bin/basename
-rwxr-xr-x root/root usr/bin/chroot
-40efdbce865d2458d8da0a9dcee7c16c coreutils-8.24.tar.xz
+a2de56a7c68e192d3e8a3a4a8bc0d826 coreutils-8.26-Fix-cross.patch
+d5aa2072f662d4118b9f4c63b94601a6 coreutils-8.26.tar.xz
e14ef9dd59a7e6c7f3ae706771964d75 coreutils-uname.patch
# Depends on: libgmp acl libcap
name=coreutils
-version=8.24
-release=2
+version=8.26
+release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.xz \
- $name-uname.patch)
+ $name-uname.patch $name-$version-Fix-cross.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-uname.patch
+ patch -p1 -i $SRC/$name-$version-Fix-cross.patch
cat > config.cache <<EOF
ac_cv_search_clock_gettime=no
export FORCE_UNSAFE_CONFIGURE=1
+ # fix to avoid build manpages
+ sed "s|UBDIRS = po . gnulib-tests|UBDIRS = . gnulib-tests|g" -i Makefile.am
+ sed 's|include $(top_srcdir)/man/local.mk||g' -i Makefile.am
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--- /dev/null
+--- coreutils-8.26.orig/src/local.mk 2017-02-14 15:50:02.555173014 +0000
++++ coreutils-8.26/src/local.mk 2017-02-14 15:50:54.405173651 +0000
+@@ -645,7 +645,7 @@ check-duplicate-no-install: src/tr
+
+ # Use the just-built 'ginstall', when not cross-compiling.
+ if CROSS_COMPILING
+-cu_install_program = @INSTALL_PROGRAM@
++cu_install_program = @INSTALL@
+ else
+ cu_install_program = src/ginstall
+ endif