New package: chroot-coreutils, to be used for base-chroot.

This commit is contained in:
Juan RP 2012-02-09 08:49:28 +01:00
parent 476fcaa799
commit 7699b63c62
3 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,101 @@
/tools/bin/mv
/tools/bin/sum
/tools/bin/shred
/tools/bin/test
/tools/bin/hostid
/tools/bin/csplit
/tools/bin/df
/tools/bin/base64
/tools/bin/false
/tools/bin/uptime
/tools/bin/join
/tools/bin/ls
/tools/bin/timeout
/tools/bin/od
/tools/bin/comm
/tools/bin/unlink
/tools/bin/mkdir
/tools/bin/pwd
/tools/bin/whoami
/tools/bin/install
/tools/bin/cut
/tools/bin/md5sum
/tools/bin/kill
/tools/bin/truncate
/tools/bin/mkfifo
/tools/bin/rmdir
/tools/bin/realpath
/tools/bin/chown
/tools/bin/factor
/tools/bin/ln
/tools/bin/sha224sum
/tools/bin/true
/tools/bin/sort
/tools/bin/printenv
/tools/bin/tsort
/tools/bin/dirname
/tools/bin/readlink
/tools/bin/sha512sum
/tools/bin/shuf
/tools/bin/dir
/tools/bin/paste
/tools/bin/cat
/tools/bin/nohup
/tools/bin/[
/tools/bin/split
/tools/bin/who
/tools/bin/groups
/tools/bin/runcon
/tools/bin/wc
/tools/bin/touch
/tools/bin/head
/tools/bin/sync
/tools/bin/pinky
/tools/bin/cksum
/tools/bin/stat
/tools/bin/seq
/tools/bin/tr
/tools/bin/sleep
/tools/bin/mknod
/tools/bin/du
/tools/bin/yes
/tools/bin/dd
/tools/bin/tac
/tools/bin/tail
/tools/bin/uname
/tools/bin/chcon
/tools/bin/nproc
/tools/bin/chmod
/tools/bin/sha256sum
/tools/bin/sha384sum
/tools/bin/echo
/tools/bin/mktemp
/tools/bin/cp
/tools/bin/tty
/tools/bin/dircolors
/tools/bin/rm
/tools/bin/uniq
/tools/bin/printf
/tools/bin/nl
/tools/bin/tee
/tools/bin/link
/tools/bin/fmt
/tools/bin/unexpand
/tools/bin/users
/tools/bin/date
/tools/bin/expr
/tools/bin/pr
/tools/bin/sha1sum
/tools/bin/ptx
/tools/bin/id
/tools/bin/nice
/tools/bin/chroot
/tools/bin/basename
/tools/bin/expand
/tools/bin/logname
/tools/bin/chgrp
/tools/bin/vdir
/tools/bin/fold
/tools/bin/env
/tools/bin/stty
/tools/bin/pathchk

View file

@ -0,0 +1,3 @@
librt.so.1
libc.so.6
libpthread.so.0

View file

@ -0,0 +1,27 @@
# Template file for 'chroot-coreutils'
pkgname=chroot-coreutils
version=8.15
wrksrc=coreutils-${version}
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
build_style=gnu-configure
configure_args="--bindir=/bin --without-gmp --disable-libcap --disable-xattr
--disable-acl --disable-rpath --disable-nls --enable-no-install-program=stdbuf,arch,su"
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version/tools install"
short_desc="The GNU core utilities - for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/coreutils"
license="GPL-3"
checksum=837eb377414eae463fee17d0f77e6d76bed79b87bc97ef0c23887710107fd49c
long_desc="
The GNU Core Utilities are the basic file, shell and text manipulation
utilities of the GNU operating system. These are the core utilities
which are expected to exist on every operating system.
This package is not meant to be installed by any user, this must be
installed as a dependency of base-chroot to create XBPS binary packages."
bootstrap=yes
pre_configure() {
sed -i 's/^\(SUBDIRS =\).*/\1 lib src/g' Makefile.in
}