summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/coreutils/.footprint208
-rw-r--r--base/coreutils/.md5sum3
-rwxr-xr-xbase/coreutils/Pkgfile34
3 files changed, 245 insertions, 0 deletions
diff --git a/base/coreutils/.footprint b/base/coreutils/.footprint
new file mode 100644
index 000000000..2f2daba5c
--- /dev/null
+++ b/base/coreutils/.footprint
@@ -0,0 +1,208 @@
+drwxr-xr-x root/root bin/
+-rwxr-xr-x root/root bin/cat
+-rwxr-xr-x root/root bin/chgrp
+-rwxr-xr-x root/root bin/chmod
+-rwxr-xr-x root/root bin/chown
+-rwxr-xr-x root/root bin/cp
+-rwxr-xr-x root/root bin/date
+-rwxr-xr-x root/root bin/dd
+-rwxr-xr-x root/root bin/df
+-rwxr-xr-x root/root bin/echo
+-rwxr-xr-x root/root bin/false
+-rwxr-xr-x root/root bin/head
+-rwxr-xr-x root/root bin/ln
+-rwxr-xr-x root/root bin/ls
+-rwxr-xr-x root/root bin/mkdir
+-rwxr-xr-x root/root bin/mknod
+-rwxr-xr-x root/root bin/mv
+-rwxr-xr-x root/root bin/nice
+-rwxr-xr-x root/root bin/pwd
+-rwxr-xr-x root/root bin/readlink
+-rwxr-xr-x root/root bin/rm
+-rwxr-xr-x root/root bin/rmdir
+-rwxr-xr-x root/root bin/sleep
+-rwxr-xr-x root/root bin/stty
+-rwxr-xr-x root/root bin/sync
+-rwxr-xr-x root/root bin/true
+-rwxr-xr-x root/root bin/uname
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/[
+-rwxr-xr-x root/root usr/bin/base64
+-rwxr-xr-x root/root usr/bin/basename
+-rwxr-xr-x root/root usr/bin/chcon
+-rwxr-xr-x root/root usr/bin/cksum
+-rwxr-xr-x root/root usr/bin/comm
+-rwxr-xr-x root/root usr/bin/csplit
+-rwxr-xr-x root/root usr/bin/cut
+-rwxr-xr-x root/root usr/bin/dir
+-rwxr-xr-x root/root usr/bin/dircolors
+-rwxr-xr-x root/root usr/bin/dirname
+-rwxr-xr-x root/root usr/bin/du
+-rwxr-xr-x root/root usr/bin/env
+-rwxr-xr-x root/root usr/bin/expand
+-rwxr-xr-x root/root usr/bin/expr
+-rwxr-xr-x root/root usr/bin/factor
+-rwxr-xr-x root/root usr/bin/fmt
+-rwxr-xr-x root/root usr/bin/fold
+-rwxr-xr-x root/root usr/bin/groups
+-rwxr-xr-x root/root usr/bin/hostid
+-rwxr-xr-x root/root usr/bin/id
+-rwxr-xr-x root/root usr/bin/install
+-rwxr-xr-x root/root usr/bin/join
+-rwxr-xr-x root/root usr/bin/link
+-rwxr-xr-x root/root usr/bin/logname
+-rwxr-xr-x root/root usr/bin/md5sum
+-rwxr-xr-x root/root usr/bin/mkfifo
+-rwxr-xr-x root/root usr/bin/mktemp
+-rwxr-xr-x root/root usr/bin/nl
+-rwxr-xr-x root/root usr/bin/nohup
+-rwxr-xr-x root/root usr/bin/od
+-rwxr-xr-x root/root usr/bin/paste
+-rwxr-xr-x root/root usr/bin/pathchk
+-rwxr-xr-x root/root usr/bin/pinky
+-rwxr-xr-x root/root usr/bin/pr
+-rwxr-xr-x root/root usr/bin/printenv
+-rwxr-xr-x root/root usr/bin/printf
+-rwxr-xr-x root/root usr/bin/ptx
+-rwxr-xr-x root/root usr/bin/runcon
+-rwxr-xr-x root/root usr/bin/seq
+-rwxr-xr-x root/root usr/bin/sha1sum
+-rwxr-xr-x root/root usr/bin/sha224sum
+-rwxr-xr-x root/root usr/bin/sha256sum
+-rwxr-xr-x root/root usr/bin/sha384sum
+-rwxr-xr-x root/root usr/bin/sha512sum
+-rwxr-xr-x root/root usr/bin/shred
+-rwxr-xr-x root/root usr/bin/shuf
+-rwxr-xr-x root/root usr/bin/sort
+-rwxr-xr-x root/root usr/bin/split
+-rwxr-xr-x root/root usr/bin/stat
+-rwxr-xr-x root/root usr/bin/sum
+-rwxr-xr-x root/root usr/bin/tac
+-rwxr-xr-x root/root usr/bin/tail
+-rwxr-xr-x root/root usr/bin/tee
+-rwxr-xr-x root/root usr/bin/test
+-rwxr-xr-x root/root usr/bin/timeout
+-rwxr-xr-x root/root usr/bin/touch
+-rwxr-xr-x root/root usr/bin/tr
+-rwxr-xr-x root/root usr/bin/truncate
+-rwxr-xr-x root/root usr/bin/tsort
+-rwxr-xr-x root/root usr/bin/tty
+-rwxr-xr-x root/root usr/bin/unexpand
+-rwxr-xr-x root/root usr/bin/uniq
+-rwxr-xr-x root/root usr/bin/unlink
+-rwxr-xr-x root/root usr/bin/users
+-rwxr-xr-x root/root usr/bin/vdir
+-rwxr-xr-x root/root usr/bin/wc
+-rwxr-xr-x root/root usr/bin/who
+-rwxr-xr-x root/root usr/bin/whoami
+-rwxr-xr-x root/root usr/bin/yes
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/chroot
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/coreutils.info.gz
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/coreutils.mo
+drwxr-xr-x root/root usr/share/locale/fr/LC_TIME/
+lrwxrwxrwx root/root usr/share/locale/fr/LC_TIME/coreutils.mo -> ../LC_MESSAGES/coreutils.mo
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/base64.1.gz
+-rw-r--r-- root/root usr/share/man/man1/basename.1.gz
+-rw-r--r-- root/root usr/share/man/man1/cat.1.gz
+-rw-r--r-- root/root usr/share/man/man1/chcon.1.gz
+-rw-r--r-- root/root usr/share/man/man1/chgrp.1.gz
+-rw-r--r-- root/root usr/share/man/man1/chmod.1.gz
+-rw-r--r-- root/root usr/share/man/man1/chown.1.gz
+-rw-r--r-- root/root usr/share/man/man1/chroot.1.gz
+-rw-r--r-- root/root usr/share/man/man1/cksum.1.gz
+-rw-r--r-- root/root usr/share/man/man1/comm.1.gz
+-rw-r--r-- root/root usr/share/man/man1/cp.1.gz
+-rw-r--r-- root/root usr/share/man/man1/csplit.1.gz
+-rw-r--r-- root/root usr/share/man/man1/cut.1.gz
+-rw-r--r-- root/root usr/share/man/man1/date.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dd.1.gz
+-rw-r--r-- root/root usr/share/man/man1/df.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dir.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dircolors.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dirname.1.gz
+-rw-r--r-- root/root usr/share/man/man1/du.1.gz
+-rw-r--r-- root/root usr/share/man/man1/echo.1.gz
+-rw-r--r-- root/root usr/share/man/man1/env.1.gz
+-rw-r--r-- root/root usr/share/man/man1/expand.1.gz
+-rw-r--r-- root/root usr/share/man/man1/expr.1.gz
+-rw-r--r-- root/root usr/share/man/man1/factor.1.gz
+-rw-r--r-- root/root usr/share/man/man1/false.1.gz
+-rw-r--r-- root/root usr/share/man/man1/fmt.1.gz
+-rw-r--r-- root/root usr/share/man/man1/fold.1.gz
+-rw-r--r-- root/root usr/share/man/man1/groups.1.gz
+-rw-r--r-- root/root usr/share/man/man1/head.1.gz
+-rw-r--r-- root/root usr/share/man/man1/hostid.1.gz
+-rw-r--r-- root/root usr/share/man/man1/id.1.gz
+-rw-r--r-- root/root usr/share/man/man1/install.1.gz
+-rw-r--r-- root/root usr/share/man/man1/join.1.gz
+-rw-r--r-- root/root usr/share/man/man1/link.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ln.1.gz
+-rw-r--r-- root/root usr/share/man/man1/logname.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ls.1.gz
+-rw-r--r-- root/root usr/share/man/man1/md5sum.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mkdir.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mkfifo.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mknod.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mktemp.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mv.1.gz
+-rw-r--r-- root/root usr/share/man/man1/nice.1.gz
+-rw-r--r-- root/root usr/share/man/man1/nl.1.gz
+-rw-r--r-- root/root usr/share/man/man1/nohup.1.gz
+-rw-r--r-- root/root usr/share/man/man1/od.1.gz
+-rw-r--r-- root/root usr/share/man/man1/paste.1.gz
+-rw-r--r-- root/root usr/share/man/man1/pathchk.1.gz
+-rw-r--r-- root/root usr/share/man/man1/pinky.1.gz
+-rw-r--r-- root/root usr/share/man/man1/pr.1.gz
+-rw-r--r-- root/root usr/share/man/man1/printenv.1.gz
+-rw-r--r-- root/root usr/share/man/man1/printf.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ptx.1.gz
+-rw-r--r-- root/root usr/share/man/man1/pwd.1.gz
+-rw-r--r-- root/root usr/share/man/man1/readlink.1.gz
+-rw-r--r-- root/root usr/share/man/man1/rm.1.gz
+-rw-r--r-- root/root usr/share/man/man1/rmdir.1.gz
+-rw-r--r-- root/root usr/share/man/man1/runcon.1.gz
+-rw-r--r-- root/root usr/share/man/man1/seq.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sha1sum.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sha224sum.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sha256sum.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sha384sum.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sha512sum.1.gz
+-rw-r--r-- root/root usr/share/man/man1/shred.1.gz
+-rw-r--r-- root/root usr/share/man/man1/shuf.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sleep.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sort.1.gz
+-rw-r--r-- root/root usr/share/man/man1/split.1.gz
+-rw-r--r-- root/root usr/share/man/man1/stat.1.gz
+-rw-r--r-- root/root usr/share/man/man1/stty.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sum.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sync.1.gz
+-rw-r--r-- root/root usr/share/man/man1/tac.1.gz
+-rw-r--r-- root/root usr/share/man/man1/tail.1.gz
+-rw-r--r-- root/root usr/share/man/man1/tee.1.gz
+-rw-r--r-- root/root usr/share/man/man1/test.1.gz
+-rw-r--r-- root/root usr/share/man/man1/timeout.1.gz
+-rw-r--r-- root/root usr/share/man/man1/touch.1.gz
+-rw-r--r-- root/root usr/share/man/man1/tr.1.gz
+-rw-r--r-- root/root usr/share/man/man1/true.1.gz
+-rw-r--r-- root/root usr/share/man/man1/truncate.1.gz
+-rw-r--r-- root/root usr/share/man/man1/tsort.1.gz
+-rw-r--r-- root/root usr/share/man/man1/tty.1.gz
+-rw-r--r-- root/root usr/share/man/man1/uname.1.gz
+-rw-r--r-- root/root usr/share/man/man1/unexpand.1.gz
+-rw-r--r-- root/root usr/share/man/man1/uniq.1.gz
+-rw-r--r-- root/root usr/share/man/man1/unlink.1.gz
+-rw-r--r-- root/root usr/share/man/man1/users.1.gz
+-rw-r--r-- root/root usr/share/man/man1/vdir.1.gz
+-rw-r--r-- root/root usr/share/man/man1/wc.1.gz
+-rw-r--r-- root/root usr/share/man/man1/who.1.gz
+-rw-r--r-- root/root usr/share/man/man1/whoami.1.gz
+-rw-r--r-- root/root usr/share/man/man1/yes.1.gz
diff --git a/base/coreutils/.md5sum b/base/coreutils/.md5sum
new file mode 100644
index 000000000..0eb986fa6
--- /dev/null
+++ b/base/coreutils/.md5sum
@@ -0,0 +1,3 @@
+0a923bc16f30eb207fe7d69036f775e4 coreutils-7.4-i18n-1.patch
+510a730e7bc8fd92daaf47aad4dc1200 coreutils-7.4-uname-1.patch
+c52f4f64dda9a245c38e74c09fdd86d2 coreutils-7.4.tar.gz
diff --git a/base/coreutils/Pkgfile b/base/coreutils/Pkgfile
new file mode 100755
index 000000000..d1e22de73
--- /dev/null
+++ b/base/coreutils/Pkgfile
@@ -0,0 +1,34 @@
+# Description: Collection d'utilitaire pour le coeur du systeme GNU
+# URL: http://www.gnu.org/software/coreutils/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: e2fsprogs
+
+name=coreutils
+version=7.4
+release=1
+source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz \
+ http://www.linuxfromscratch.org/patches/lfs/development/coreutils-$version-i18n-1.patch\
+ http://www.linuxfromscratch.org/patches/lfs/development/coreutils-$version-uname-1.patch)
+build() {
+ cd $name-$version
+
+case `uname -m` in
+ i?86 | x86_64) patch -Np1 -i ../coreutils-7.4-uname-1.patch ;;
+esac
+patch -Np1 -i ../$name-$version-i18n-1.patch
+
+./configure --prefix=/usr --enable-no-install-program=kill,uptime,hostname
+make
+make DESTDIR=$PKG install
+
+mkdir $PKG/{bin,usr/sbin}
+mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $PKG/bin
+mv $PKG/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} $PKG/bin
+mv $PKG/usr/bin/{rmdir,stty,sync,true,uname} $PKG/bin
+mv -v $PKG/usr/bin/chroot $PKG/usr/sbin
+mv -v $PKG/usr/bin/{head,sleep,nice} $PKG/bin
+if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+fi
+}