From 539deca82561c903b104cb2495e29367d5bf5b67 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Jan 25 2018 19:21:19 +0000 Subject: vars/build.vars:coreutils: updates coreutils to v8.29 (via Redfoxmoon.) patches/coreutils{,_minipix}-8.29.local.patch: via Redfoxmoon. --- diff --git a/patches/coreutils-8.28.local.patch b/patches/coreutils-8.28.local.patch deleted file mode 100644 index ac51864..0000000 --- a/patches/coreutils-8.28.local.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -ru coreutils-8.27.orig/configure coreutils-8.27/configure ---- coreutils-8.27.orig/configure 2017-03-09 06:00:50.000000000 +0100 -+++ coreutils-8.27/configure 2017-08-11 19:04:46.135115372 +0200 -@@ -68318,3 +68318,12 @@ - $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} - fi - -+# bypass dependency on help2man -+if [ x"$cross_compiling" = xyes ]; then -+ mkdir -p man; -+ for f in $srcdir/src/*.c; do src=$(basename $f); doc="${src%.*}"; echo $doc; touch man/$doc.1; done -+ for f in dir sha1sum sha224sum sha256sum sha384sum sha512sum vdir; do touch man/$f.1; done -+ -+ sed -i -e 's/@cross_compiling@/'$cross_compiling'/g' Makefile || exit 2 -+fi -+ -diff -ru coreutils-8.27.orig/Makefile.in coreutils-8.27/Makefile.in ---- coreutils-8.27.orig/Makefile.in 2017-03-09 06:24:51.000000000 +0100 -+++ coreutils-8.27/Makefile.in 2017-08-11 19:09:39.000000000 +0200 -@@ -3454,7 +3454,7 @@ - INET_PTON_LIB = @INET_PTON_LIB@ - INSTALL = $(cu_install_program) -c - INSTALL_DATA = @INSTALL_DATA@ --INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_PROGRAM = install - INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ - INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ -@@ -5040,12 +5040,14 @@ - $(bin_SCRIPTS) \ - $(EXTRA_PROGRAMS) - -+CROSS_COMPILE = @cross_compiling@ -+ - pm = progs-makefile - pr = progs-readme - @CROSS_COMPILING_FALSE@cu_install_program = src/ginstall - - # Use the just-built 'ginstall', when not cross-compiling. --@CROSS_COMPILING_TRUE@cu_install_program = @INSTALL@ -+@CROSS_COMPILING_TRUE@cu_install_program = install - info_TEXINFOS = doc/coreutils.texi - doc_coreutils_TEXINFOS = \ - doc/perm.texi \ -@@ -14773,7 +14775,8 @@ - $$argv$(EXEEXT)) \ - && : $${SOURCE_DATE_EPOCH=`cat $(srcdir)/.timestamp 2>/dev/null || :`} \ - && export SOURCE_DATE_EPOCH && $(run_help2man) \ -- --source='$(PACKAGE_STRING)' \ -+ --no-discard-stderr \ -+ --source='$(PACKAGE_STRING)' \ - --include=$(srcdir)/man/$$name.x \ - --output=$$t/$$name.1 \ - --info-page='\(aq(coreutils) '$$name' invocation\(aq' \ -@@ -14786,6 +14789,7 @@ - && chmod a-w $@-t \ - && mv $@-t $@ - .PHONY: check-root -+ - check-root: - $(MAKE) check TESTS='$(root_tests)' SUBDIRS=. - -diff -ru coreutils-8.27.orig/src/fs.h coreutils-8.27/src/fs.h ---- coreutils-8.27.orig/src/fs.h 2017-03-09 05:44:05.000000000 +0100 -+++ coreutils-8.27/src/fs.h 2017-08-11 19:05:05.283026746 +0200 -@@ -2,7 +2,7 @@ - Please send additions to bug-coreutils@gnu.org and meskes@debian.org. - This file is generated automatically from ./src/stat.c. */ - --#if defined __linux__ -+#if defined __linux__ || defined __midipix__ - # define S_MAGIC_AAFS 0x5A3C69F0 - # define S_MAGIC_ACFS 0x61636673 - # define S_MAGIC_ADFS 0xADF5 - # define S_MAGIC_AFFS 0xADFF diff --git a/patches/coreutils-8.29.local.patch b/patches/coreutils-8.29.local.patch new file mode 100644 index 0000000..f254d43 --- /dev/null +++ b/patches/coreutils-8.29.local.patch @@ -0,0 +1,57 @@ +diff -ru coreutils-8.27.orig/configure coreutils-8.27/configure +--- coreutils-8.27.orig/configure 2017-03-09 06:00:50.000000000 +0100 ++++ coreutils-8.27/configure 2017-08-11 19:04:46.135115372 +0200 +@@ -68318,3 +68318,12 @@ + $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + fi + ++# bypass dependency on help2man ++if [ x"$cross_compiling" = xyes ]; then ++ mkdir -p man; ++ for f in $srcdir/src/*.c; do src=$(basename $f); doc="${src%.*}"; echo $doc; touch man/$doc.1; done ++ for f in dir sha1sum sha224sum sha256sum sha384sum sha512sum vdir; do touch man/$f.1; done ++ ++ sed -i -e 's/@cross_compiling@/'$cross_compiling'/g' Makefile || exit 2 ++fi ++ +diff -ru coreutils-8.27.orig/Makefile.in coreutils-8.27/Makefile.in +--- coreutils-8.27.orig/Makefile.in 2017-03-09 06:24:51.000000000 +0100 ++++ coreutils-8.27/Makefile.in 2017-08-11 19:09:39.000000000 +0200 +@@ -3454,7 +3454,7 @@ + INET_PTON_LIB = @INET_PTON_LIB@ + INSTALL = $(cu_install_program) -c + INSTALL_DATA = @INSTALL_DATA@ +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ ++INSTALL_PROGRAM = install + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ +@@ -5040,12 +5040,14 @@ + $(bin_SCRIPTS) \ + $(EXTRA_PROGRAMS) + ++CROSS_COMPILE = @cross_compiling@ ++ + pm = progs-makefile + pr = progs-readme + @CROSS_COMPILING_FALSE@cu_install_program = src/ginstall + + # Use the just-built 'ginstall', when not cross-compiling. +-@CROSS_COMPILING_TRUE@cu_install_program = @INSTALL@ ++@CROSS_COMPILING_TRUE@cu_install_program = install + info_TEXINFOS = doc/coreutils.texi + doc_coreutils_TEXINFOS = \ + doc/perm.texi \ +diff -ru coreutils-8.27.orig/src/fs.h coreutils-8.27/src/fs.h +--- coreutils-8.27.orig/src/fs.h 2017-03-09 05:44:05.000000000 +0100 ++++ coreutils-8.27/src/fs.h 2017-08-11 19:05:05.283026746 +0200 +@@ -2,7 +2,7 @@ + Please send additions to bug-coreutils@gnu.org and meskes@debian.org. + This file is generated automatically from ./src/stat.c. */ + +-#if defined __linux__ ++#if defined __linux__ || defined __midipix__ + # define S_MAGIC_AAFS 0x5A3C69F0 + # define S_MAGIC_ACFS 0x61636673 + # define S_MAGIC_ADFS 0xADF5 + # define S_MAGIC_AFFS 0xADFF diff --git a/patches/coreutils_minipix-8.28.local.patch b/patches/coreutils_minipix-8.28.local.patch deleted file mode 120000 index fd04672..0000000 --- a/patches/coreutils_minipix-8.28.local.patch +++ /dev/null @@ -1 +0,0 @@ -coreutils-8.28.local.patch \ No newline at end of file diff --git a/patches/coreutils_minipix-8.29.local.patch b/patches/coreutils_minipix-8.29.local.patch new file mode 120000 index 0000000..1f90788 --- /dev/null +++ b/patches/coreutils_minipix-8.29.local.patch @@ -0,0 +1 @@ +coreutils-8.29.local.patch \ No newline at end of file diff --git a/vars/build.vars b/vars/build.vars index 48c4940..d720303 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -677,8 +677,8 @@ mksh sbase sed tar tcsh the_silver_searcher toilet ubase util_linux which zsh"; : ${PKG_BC_SHA256SUM:=7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc}; : ${PKG_BC_VERSION:=1.06.95}; : ${PKG_BC_URL:=http://alpha.gnu.org/gnu/bc/bc-${PKG_BC_VERSION}.tar.bz2}; -: ${PKG_COREUTILS_SHA256SUM:=1117b1a16039ddd84d51a9923948307cfa28c2cea03d1a2438742253df0a0c65}; -: ${PKG_COREUTILS_VERSION:=8.28}; +: ${PKG_COREUTILS_SHA256SUM:=92d0fa1c311cacefa89853bdb53c62f4110cdfda3820346b59cbd098f40f955e}; +: ${PKG_COREUTILS_VERSION:=8.29}; : ${PKG_COREUTILS_URL:=https://ftp.gnu.org/gnu/coreutils/coreutils-${PKG_COREUTILS_VERSION}.tar.xz}; : ${PKG_DASH_SHA256SUM:=5ecd5bea72a93ed10eb15a1be9951dd51b52e5da1d4a7ae020efd9826b49e659}; : ${PKG_DASH_VERSION:=0.5.9.1};