wok-current diff coreutils-multicall/receipt @ rev 25426
updated xalan-c and xalan-c-dev (1.11 -> 1.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:42:41 2022 +0100 (2022-08-18) |
parents | 17091bc7c301 |
children |
line diff
1.1 --- a/coreutils-multicall/receipt Thu Feb 10 18:04:02 2022 +0000 1.2 +++ b/coreutils-multicall/receipt Thu Aug 18 16:42:41 2022 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="coreutils-multicall" 1.7 -VERSION="8.31" 1.8 +VERSION="9.0" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Utilities for using and setting the basic system." 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 @@ -11,6 +11,7 @@ 1.13 TARBALL="coreutils-$VERSION.tar.xz" 1.14 WGET_URL="https://ftp.gnu.org/gnu/coreutils/$TARBALL" 1.15 1.16 +SUGGESTED="coreutils-lang" 1.17 SIBLINGS="coreutils" 1.18 DEPENDS="acl attr glibc-base gmp libcap" 1.19 BUILD_DEPENDS="automake gmp-dev libcap-dev xz" 1.20 @@ -47,12 +48,34 @@ 1.21 mkdir -p $install/usr/sbin 1.22 mkdir -p $install/usr/share/man/man8 1.23 1.24 - for i in cat chgrp chmod chown cp date dd df echo false ln ls mkdir \ 1.25 - mknod mv pwd rm rmdir stty sync true uname 1.26 + while read i 1.27 do 1.28 rm $install/usr/bin/$i 1.29 ln -s /usr/bin/coreutils $install/bin/$i 1.30 - done 1.31 + done <<EOT 1.32 +cat 1.33 +chgrp 1.34 +chmod 1.35 +chown 1.36 +cp 1.37 +date 1.38 +dd 1.39 +df 1.40 +echo 1.41 +false 1.42 +ln 1.43 +ls 1.44 +mkdir 1.45 +mknod 1.46 +mv 1.47 +pwd 1.48 +rm 1.49 +rmdir 1.50 +stty 1.51 +sync 1.52 +true 1.53 +uname 1.54 +EOT 1.55 rm $install/usr/bin/chroot 1.56 ln -s /usr/bin/coreutils $install/usr/sbin/chroot 1.57 mv $install/usr/share/man/man1/chroot.1 \ 1.58 @@ -67,22 +90,23 @@ 1.59 genpkg_rules() 1.60 { 1.61 cp -a $install/* $fs 1.62 - rm -r $fs/usr/share/info 1.63 - rm -r $fs/usr/share/locale 1.64 + # according to https://doc.slitaz.org/en:cookbook:wok 1.65 + # Generally, the base packages contain no man, info or doc files 1.66 + rm -r $fs/usr/share 1.67 } 1.68 1.69 post_install() 1.70 { 1.71 # Remove Busybox applets in order to not clash with ("/bin", "/sbin", 1.72 # "/usr/bin" and "/usr/sbin" conflicts with the same filename) 1.73 - rm "$1/bin/base64" # /usr/bin/base64 1.74 - rm "$1/bin/kill" # /usr/bin/kill 1.75 - rm "$1/bin/mktemp" # /usr/bin/mktemp 1.76 - rm "$1/bin/nice" # /usr/bin/nice 1.77 - rm "$1/bin/printenv" # /usr/bin/printenv 1.78 - rm "$1/bin/sleep" # /usr/bin/sleep 1.79 - rm "$1/bin/stat" # /usr/bin/stat 1.80 - rm "$1/bin/touch" # /usr/bin/touch 1.81 + rm "$1/bin/base64" # /usr/bin/base64 1.82 + rm "$1/bin/kill" # /usr/bin/kill 1.83 + rm "$1/bin/mktemp" # /usr/bin/mktemp 1.84 + rm "$1/bin/nice" # /usr/bin/nice 1.85 + rm "$1/bin/printenv" # /usr/bin/printenv 1.86 + rm "$1/bin/sleep" # /usr/bin/sleep 1.87 + rm "$1/bin/stat" # /usr/bin/stat 1.88 + rm "$1/bin/touch" # /usr/bin/touch 1.89 } 1.90 1.91 post_remove() 1.92 @@ -90,22 +114,94 @@ 1.93 # Restore all Busybox applets that have been replaced 1.94 1.95 # /bin: 1.96 - for i in base64 cat chgrp chmod chown cp date dd df echo false kill ln ls \ 1.97 - mkdir mknod mktemp mv nice printenv pwd rm rmdir sleep stat stty sync \ 1.98 - touch true uname 1.99 + while read i 1.100 do 1.101 busybox ln -s busybox "$1/bin/$i" 1.102 - done 1.103 + done <<EOT 1.104 +base64 1.105 +cat 1.106 +chgrp 1.107 +chmod 1.108 +chown 1.109 +cp 1.110 +date 1.111 +dd 1.112 +df 1.113 +echo 1.114 +false 1.115 +kill 1.116 +ln 1.117 +ls 1.118 +mkdir 1.119 +mknod 1.120 +mktemp 1.121 +mv 1.122 +nice 1.123 +printenv 1.124 +pwd 1.125 +rm 1.126 +rmdir 1.127 +sleep 1.128 +stat 1.129 +stty 1.130 +sync 1.131 +touch 1.132 +true 1.133 +uname 1.134 +EOT 1.135 1.136 # /usr/bin: 1.137 - for i in '[' basename cksum comm cut dirname du env expand expr fold \ 1.138 - groups head hostid id install logname md5sum mkfifo nohup od printf \ 1.139 - readlink realpath seq sha1sum sha256sum sha512sum sort split sum tac \ 1.140 - tail tee test timeout tr tty unexpand uniq uptime users wc who whoami \ 1.141 - yes 1.142 + while read i 1.143 do 1.144 busybox ln -s /bin/busybox "$1/usr/bin/$i" 1.145 - done 1.146 + done <<EOT 1.147 +[ 1.148 +basename 1.149 +cksum 1.150 +comm 1.151 +cut 1.152 +dirname 1.153 +du 1.154 +env 1.155 +expand 1.156 +expr 1.157 +fold 1.158 +groups 1.159 +head 1.160 +hostid 1.161 +id 1.162 +install 1.163 +logname 1.164 +md5sum 1.165 +mkfifo 1.166 +nohup 1.167 +od 1.168 +printf 1.169 +readlink 1.170 +realpath 1.171 +seq 1.172 +sha1sum 1.173 +sha256sum 1.174 +sha512sum 1.175 +sort 1.176 +split 1.177 +sum 1.178 +tac 1.179 +tail 1.180 +tee 1.181 +test 1.182 +timeout 1.183 +tr 1.184 +tty 1.185 +unexpand 1.186 +uniq 1.187 +uptime 1.188 +users 1.189 +wc 1.190 +who 1.191 +whoami 1.192 +yes 1.193 +EOT 1.194 1.195 # /usr/sbin: 1.196 busybox ln -s /bin/busybox "$1/usr/sbin/chroot"