CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
coreutils: updated to 8.26
authorVictor Martinez <pitillo@ono.com>
Wed, 5 Apr 2017 01:29:20 +0000 (01:29 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 5 Apr 2017 01:29:20 +0000 (01:29 +0000)
coreutils/.footprint
coreutils/.md5sum
coreutils/Pkgfile
coreutils/coreutils-8.26-Fix-cross.patch [new file with mode: 0644]

index 73512d479d2a197ac63e08cabf3e02eff5876f6b..2de41b3c3ffe893eb0151bb1dffe4e9c988c3322 100644 (file)
@@ -27,6 +27,8 @@ drwxr-xr-x    root/root       bin/
 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
index 0bbbb7ac30c0a698259b8ac9428c3385dc0df255..0e3d35f501efc21786321b85d9ad7d1c2d01a5e7 100644 (file)
@@ -1,2 +1,3 @@
-40efdbce865d2458d8da0a9dcee7c16c  coreutils-8.24.tar.xz
+a2de56a7c68e192d3e8a3a4a8bc0d826  coreutils-8.26-Fix-cross.patch
+d5aa2072f662d4118b9f4c63b94601a6  coreutils-8.26.tar.xz
 e14ef9dd59a7e6c7f3ae706771964d75  coreutils-uname.patch
index a673cea1874567d317befa78dc74a2d24f2821cc..48f583b0fe805e367297006d8be56240af9e2c8b 100644 (file)
@@ -5,15 +5,16 @@
 # 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
@@ -30,6 +31,10 @@ EOF
 
   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 \
diff --git a/coreutils/coreutils-8.26-Fix-cross.patch b/coreutils/coreutils-8.26-Fix-cross.patch
new file mode 100644 (file)
index 0000000..df96192
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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