coreutils: update to 8.30.

This commit is contained in:
maxice8 2018-07-02 18:43:53 -03:00
parent 7fb19c6aec
commit 7cc73e7dcd

View file

@ -1,17 +1,17 @@
# Template file for 'coreutils'
pkgname=coreutils
version=8.29
version=8.30
revision=1
bootstrap=yes
makedepends="gmp-devel acl-devel libcap-devel"
replaces="chroot-coreutils>=0 coreutils-doc>=0 b2sum>=0"
short_desc="The GNU core utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/coreutils"
license="GPL-3"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/coreutils"
changelog="https://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob_plain;f=NEWS;hb=HEAD"
distfiles="${GNU_SITE}/coreutils/coreutils-${version}.tar.xz"
checksum=92d0fa1c311cacefa89853bdb53c62f4110cdfda3820346b59cbd098f40f955e
make_check_args="RUN_EXPENSIVE_TESTS=1"
checksum=e831b3a86091496cdba720411f9748de81507798f6130adeaef872d206e1b057
if [ "$CHROOT_READY" ]; then
hostmakedepends="perl"
@ -77,15 +77,16 @@ do_build() {
make ${makejobs}
}
pre_check() {
do_check() {
# chgrp tests fail inside a chroot
sed -i '/tests\/chgrp/d' Makefile
exeext_tests="fchownat chown lchown chdir canonizalize calloc-gnu"
sh_tests="c-strcase"
exeext_tests="chown lchown canonizalize fchownat
chdir calloc-gnu c-ctype byteswap bitrotate bind"
sh_tests="c-strcase btowc1 btowc2"
case "$XBPS_TARGET_MACHINE" in
*-musl* )
*-musl)
# Disable locale tests that fail on musl
exeext_tests+=" localename getlogin getcwd"
sh_tests+=" mbrtowc5"
@ -99,6 +100,8 @@ pre_check() {
for test in $sh_tests ; do
sed -i "/test-$test.sh/d" gnulib-tests/Makefile
done
make check
}
do_install() {