wok diff coreutils/receipt @ rev 23984

linld: fix bootiso/strhead
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 25 20:41:41 2020 +0000 (2020-11-25)
parents 1d0123efe74c
children 17091bc7c301
line diff
     1.1 --- a/coreutils/receipt	Wed Jun 15 17:23:11 2016 +0300
     1.2 +++ b/coreutils/receipt	Wed Nov 25 20:41:41 2020 +0000
     1.3 @@ -1,51 +1,60 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="coreutils"
     1.7 -VERSION="8.25"
     1.8 +VERSION="8.31"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Utilities for using and setting the basic system."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13  WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.17 +WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.18  
    1.19  SIBLINGS="coreutils-multicall"
    1.20 -SPLIT="coreutils-character coreutils-command coreutils-conditions coreutils-\
    1.21 -context-system coreutils-context-user coreutils-context-working coreutils-\
    1.22 -directory coreutils-disk coreutils-file-attributes coreutils-file-format \
    1.23 -coreutils-file-output-full coreutils-file-output-part coreutils-file-sort \
    1.24 -coreutils-file-special coreutils-file-summarize coreutils-line coreutils-\
    1.25 -numeric coreutils-operations coreutils-path coreutils-print coreutils-\
    1.26 -redirection"
    1.27 -DEPENDS="glibc-base acl attr gmp"
    1.28 -BUILD_DEPENDS="automake xz libcap-dev gmp-dev"
    1.29 +SPLIT="coreutils-character coreutils-command coreutils-conditions 
    1.30 +	coreutils-context-system coreutils-context-user 
    1.31 +	coreutils-context-working coreutils-directory coreutils-disk 
    1.32 +	coreutils-file-attributes coreutils-file-format 
    1.33 +	coreutils-file-output-full coreutils-file-output-part 
    1.34 +	coreutils-file-sort coreutils-file-special coreutils-file-summarize 
    1.35 +	coreutils-line coreutils-numeric coreutils-operations 
    1.36 +	coreutils-path coreutils-print coreutils-redirection"
    1.37 +DEPENDS="acl attr glibc-base gmp"
    1.38 +BUILD_DEPENDS="automake gmp-dev libcap-dev xz"
    1.39  
    1.40  # Rules to configure and make the package.
    1.41  compile_rules()
    1.42  {
    1.43  	# LFS: Coreutils Internationalization Fixes Patch
    1.44 -	patch -Np1 -i $stuff/coreutils-8.25-i18n-2.patch
    1.45 +#	patch -Np1 -i $stuff/coreutils-8.25-i18n-2.patch
    1.46 +
    1.47  	# SliTaz: show extended info touching CPU via uname
    1.48  	patch  -p1 -i $stuff/uname.u
    1.49  
    1.50  	autoreconf -fi
    1.51  
    1.52 -	FORCE_UNSAFE_CONFIGURE=1 ./configure $CONFIGURE_ARGS &&
    1.53 -	make && make install
    1.54 +	# bypass checking whether mknod can create fifo without root privileges
    1.55 +	export	FORCE_UNSAFE_CONFIGURE=1
    1.56 +
    1.57 +	./configure $CONFIGURE_ARGS &&
    1.58 +	make &&
    1.59 +	make install
    1.60  
    1.61  	# LFS: Move programs to the locations specified by the FHS
    1.62 -	mkdir -p \
    1.63 -		$install/bin \
    1.64 -		$install/usr/sbin \
    1.65 -		$install/usr/share/man/man8
    1.66 +	mkdir -p $install/bin
    1.67 +	mkdir -p $install/usr/sbin
    1.68 +	mkdir -p $install/usr/share/man/man8
    1.69 +
    1.70  	for i in cat chgrp chmod chown cp date dd df echo false ln ls mkdir \
    1.71 -		mknod mv pwd rm rmdir stty sync true uname; do
    1.72 -		mv $install/usr/bin/$i $install/bin
    1.73 -	done
    1.74 -	mv  $install/usr/bin/chroot $install/usr/sbin
    1.75 +		mknod mv pwd rm rmdir stty sync true uname
    1.76 +	  do
    1.77 +		mv $install/usr/bin/$i	$install/bin
    1.78 +	  done
    1.79 +	mv  $install/usr/bin/chroot	$install/usr/sbin
    1.80  	mv  $install/usr/share/man/man1/chroot.1 \
    1.81 -		$install/usr/share/man/man8/chroot.8
    1.82 +					$install/usr/share/man/man8/chroot.8
    1.83 +
    1.84  	sed -i 's|"1"|"8"|' $install/usr/share/man/man8/chroot.8
    1.85  
    1.86  	find $install/usr/share/man -type f -exec gzip -9 \{\} \;
    1.87 @@ -57,13 +66,17 @@
    1.88  	# A set of binaries looks intriguing, isn't it?
    1.89  	# For what is this package with exactly these binaries?
    1.90  
    1.91 -	mkdir -p $fs/usr/bin $fs/bin
    1.92 +	mkdir -p $fs/usr/bin
    1.93 +	mkdir -p $fs/bin
    1.94  
    1.95  	cd $install/usr/bin
    1.96 -	cp -a base64 csplit factor fmt join od paste ptx shred shuf split users \
    1.97 -		groups $fs/usr/bin
    1.98 +	for i in base64 csplit factor fmt join od paste ptx shred shuf \
    1.99 +		split users groups
   1.100 +	  do
   1.101 +		cp -a $i	$fs/usr/bin
   1.102 +	  done
   1.103  
   1.104 -	cp -a $install/bin/cp $fs/bin
   1.105 +	cp -a $install/bin/cp	$fs/bin
   1.106  }
   1.107  
   1.108  post_install()