wok-next rev 21565
updated coreutils (8.30 -> 8.32)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 15:58:01 2020 +0100 (2020-06-22) |
parents | cee3e96c08f6 |
children | d5ccc78ffcc5 |
files | coreutils/receipt |
line diff
1.1 --- a/coreutils/receipt Mon Jun 22 15:23:04 2020 +0100 1.2 +++ b/coreutils/receipt Mon Jun 22 15:58:01 2020 +0100 1.3 @@ -1,10 +1,11 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="coreutils" 1.7 -VERSION="8.30" 1.8 +VERSION="8.32" 1.9 CATEGORY="meta" 1.10 +TAGS="LFS" 1.11 SHORT_DESC="Utilities for using and setting the basic system" 1.12 -MAINTAINER="devel@slitaz.org" 1.13 +MAINTAINER="maintainer@slitaz.org" 1.14 LICENSE="GPL3" 1.15 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html" 1.16 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter05/coreutils.html" 1.17 @@ -12,8 +13,8 @@ 1.18 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.19 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.20 1.21 -BUILD_DEPENDS="automake autoconf gettext-dev xz libcap-dev gmp-dev patch \ 1.22 -texinfo openssl-dev" 1.23 +BUILD_DEPENDS="autoconf automake gettext-dev gmp-dev libcap-devopenssl-dev 1.24 + patch texinfo xz" 1.25 SPLIT="\ 1.26 $PACKAGE-character $PACKAGE-command $PACKAGE-conditions \ 1.27 $PACKAGE-context-system $PACKAGE-context-user $PACKAGE-context-working \ 1.28 @@ -24,7 +25,8 @@ 1.29 $PACKAGE-path $PACKAGE-print $PACKAGE-redirection \ 1.30 $PACKAGE-multicall:multi" 1.31 1.32 -compile_rules() { 1.33 +compile_rules() 1.34 +{ 1.35 case $SET in 1.36 multi) SET_ARGS='--enable-single-binary=symlinks';; 1.37 *) SET_ARGS='';; 1.38 @@ -35,10 +37,10 @@ 1.39 1.40 autoreconf -fi 1.41 1.42 - FORCE_UNSAFE_CONFIGURE=1 \ 1.43 - ./configure \ 1.44 - --with-openssl \ 1.45 - $SET_ARGS \ 1.46 + FORCE_UNSAFE_CONFIGURE=1 \ 1.47 + ./configure \ 1.48 + --with-openssl \ 1.49 + $SET_ARGS \ 1.50 $CONFIGURE_ARGS && 1.51 make && 1.52 make install || return 1 1.53 @@ -49,7 +51,8 @@ 1.54 $install/usr/sbin \ 1.55 $install/usr/share/man/man8 1.56 1.57 - while read from to; do 1.58 + while read from to 1.59 + do 1.60 case $SET in 1.61 multi) 1.62 rm $install$from 1.63 @@ -63,7 +66,7 @@ 1.64 mv $install$from $install$to 1.65 ;; 1.66 esac 1.67 - done <<EOT 1.68 + done <<EOT 1.69 /usr/bin/cat /bin/cat 1.70 /usr/bin/chgrp /bin/chgrp 1.71 /usr/bin/chmod /bin/chmod 1.72 @@ -94,12 +97,12 @@ 1.73 sed -i 's|"1"|"8"|' $install/usr/share/man/man8/chroot.8 1.74 } 1.75 1.76 -genpkg_rules() { 1.77 +genpkg_rules() 1.78 +{ 1.79 DEPENDS="glibc-base" # default 1.80 case $PACKAGE in 1.81 coreutils) 1.82 DEPENDS=${SPLIT/coreutils-multicall:multi} # all but coreutils-multicall 1.83 - TAGS="LFS" 1.84 ;; 1.85 *-character) 1.86 copy expand tr unexpand 1.87 @@ -203,42 +206,57 @@ 1.88 # "/usr/bin" and "/usr/sbin" conflicts with the same filename) 1.89 1.90 # for /usr/bin/nice /usr/bin/sleep 1.91 -post_install_coreutils_command() { 1.92 - for i in nice sleep; do 1.93 +post_install_coreutils_command() 1.94 +{ 1.95 + for i in nice sleep 1.96 + do 1.97 readlink "$1/bin/$i" | grep -q busybox && rm "$1/bin/$i" 1.98 - done 1.99 + done 1.100 : 1.101 } 1.102 + 1.103 # for /usr/bin/printenv 1.104 -post_install_coreutils_context_working() { 1.105 +post_install_coreutils_context_working() 1.106 +{ 1.107 readlink "$1/bin/printenv" | grep -q busybox && rm "$1/bin/printenv" 1.108 : 1.109 } 1.110 + 1.111 # for /usr/bin/stat 1.112 -post_install_coreutils_disk() { 1.113 +post_install_coreutils_disk() 1.114 +{ 1.115 readlink "$1/bin/stat" | grep -q busybox && rm "$1/bin/stat" 1.116 : 1.117 } 1.118 + 1.119 # for /usr/bin/touch 1.120 -post_install_coreutils_file_attributes() { 1.121 +post_install_coreutils_file_attributes() 1.122 +{ 1.123 readlink "$1/bin/touch" | grep -q busybox && rm "$1/bin/touch" 1.124 : 1.125 } 1.126 + 1.127 # for /usr/bin/base64 1.128 -post_install_coreutils_file_output_full() { 1.129 +post_install_coreutils_file_output_full() 1.130 +{ 1.131 readlink "$1/bin/base64" | grep -q busybox && rm "$1/bin/base64" 1.132 : 1.133 } 1.134 + 1.135 # for /usr/bin/mktemp 1.136 -post_install_coreutils_file_special() { 1.137 +post_install_coreutils_file_special() 1.138 +{ 1.139 readlink "$1/bin/mktemp" | grep -q busybox && rm "$1/bin/mktemp" 1.140 : 1.141 } 1.142 + 1.143 # for /usr/bin/base64 /usr/bin/mktemp /usr/bin/nice /usr/bin/printenv 1.144 # /usr/bin/sleep /usr/bin/stat /usr/bin/touch 1.145 -post_install_coreutils_multicall() { 1.146 - for i in base64 mktemp nice printenv sleep stat touch; do 1.147 +post_install_coreutils_multicall() 1.148 +{ 1.149 + for i in base64 mktemp nice printenv sleep stat touch 1.150 + do 1.151 readlink "$1/bin/$i" | grep -q busybox && rm "$1/bin/$i" 1.152 - done 1.153 + done 1.154 : 1.155 }