coreutils: update to 8.30.

This commit is contained in:
maxice8 2018-07-02 18:43:53 -03:00
parent 7fb19c6aec
commit 7cc73e7dcd
1 changed files with 12 additions and 9 deletions

View File

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