summaryrefslogtreecommitdiff
path: root/data/_coreutils
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-04-11 04:06:59 +0000
committerJay Freeman <saurik@saurik.com>2009-04-11 04:06:59 +0000
commitd8d767962f2f8918d254ecec1b017f0796dac0f9 (patch)
tree91794ebf1a322d1c44ce9639f5fb933ec873d32d /data/_coreutils
parentb2c41a9559098459969d0d2b7ad06c0abbbc2dc8 (diff)
Moving coreutils to backend.
git-svn-id: http://svn.telesphoreo.org/trunk@580 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/_coreutils')
l---------data/_coreutils/_metadata/bash.dep1
-rw-r--r--data/_coreutils/_metadata/description1
-rw-r--r--data/_coreutils/_metadata/homepage1
l---------data/_coreutils/_metadata/license1
l---------data/_coreutils/_metadata/maintainer1
-rw-r--r--data/_coreutils/_metadata/name1
-rw-r--r--data/_coreutils/_metadata/notes1
-rw-r--r--data/_coreutils/_metadata/priority1
-rw-r--r--data/_coreutils/_metadata/provides1
-rw-r--r--data/_coreutils/_metadata/replaces1
-rw-r--r--data/_coreutils/_metadata/role1
-rw-r--r--data/_coreutils/_metadata/section1
-rw-r--r--data/_coreutils/_metadata/tags1
-rw-r--r--data/_coreutils/_metadata/version1
-rw-r--r--data/_coreutils/coreutils-7.2.tar.gzbin0 -> 9664198 bytes
-rwxr-xr-xdata/_coreutils/coreutils.sh3
-rw-r--r--data/_coreutils/make.sh13
-rw-r--r--data/_coreutils/man.diff24
18 files changed, 54 insertions, 0 deletions
diff --git a/data/_coreutils/_metadata/bash.dep b/data/_coreutils/_metadata/bash.dep
new file mode 120000
index 000000000..d0c818fb6
--- /dev/null
+++ b/data/_coreutils/_metadata/bash.dep
@@ -0,0 +1 @@
+../../bash \ No newline at end of file
diff --git a/data/_coreutils/_metadata/description b/data/_coreutils/_metadata/description
new file mode 100644
index 000000000..118706260
--- /dev/null
+++ b/data/_coreutils/_metadata/description
@@ -0,0 +1 @@
+core set of Unix shell utilities from GNU
diff --git a/data/_coreutils/_metadata/homepage b/data/_coreutils/_metadata/homepage
new file mode 100644
index 000000000..b5ea757b0
--- /dev/null
+++ b/data/_coreutils/_metadata/homepage
@@ -0,0 +1 @@
+http://www.gnu.org/software/coreutils/
diff --git a/data/_coreutils/_metadata/license b/data/_coreutils/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/_coreutils/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/_coreutils/_metadata/maintainer b/data/_coreutils/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/_coreutils/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/_coreutils/_metadata/name b/data/_coreutils/_metadata/name
new file mode 100644
index 000000000..aae11e1de
--- /dev/null
+++ b/data/_coreutils/_metadata/name
@@ -0,0 +1 @@
+Core Utilities
diff --git a/data/_coreutils/_metadata/notes b/data/_coreutils/_metadata/notes
new file mode 100644
index 000000000..70d8c6de2
--- /dev/null
+++ b/data/_coreutils/_metadata/notes
@@ -0,0 +1 @@
+man pages have to be hacked out as it runs --help on the compiled binaries to generate them
diff --git a/data/_coreutils/_metadata/priority b/data/_coreutils/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/_coreutils/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/_coreutils/_metadata/provides b/data/_coreutils/_metadata/provides
new file mode 100644
index 000000000..6c124f121
--- /dev/null
+++ b/data/_coreutils/_metadata/provides
@@ -0,0 +1 @@
+kill, mktemp, su
diff --git a/data/_coreutils/_metadata/replaces b/data/_coreutils/_metadata/replaces
new file mode 100644
index 000000000..3c57a855f
--- /dev/null
+++ b/data/_coreutils/_metadata/replaces
@@ -0,0 +1 @@
+shell-cmds (<< 118-5)
diff --git a/data/_coreutils/_metadata/role b/data/_coreutils/_metadata/role
new file mode 100644
index 000000000..52b4d7301
--- /dev/null
+++ b/data/_coreutils/_metadata/role
@@ -0,0 +1 @@
+hacker
diff --git a/data/_coreutils/_metadata/section b/data/_coreutils/_metadata/section
new file mode 100644
index 000000000..19814b684
--- /dev/null
+++ b/data/_coreutils/_metadata/section
@@ -0,0 +1 @@
+Utilities
diff --git a/data/_coreutils/_metadata/tags b/data/_coreutils/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/_coreutils/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/_coreutils/_metadata/version b/data/_coreutils/_metadata/version
new file mode 100644
index 000000000..5904f7ade
--- /dev/null
+++ b/data/_coreutils/_metadata/version
@@ -0,0 +1 @@
+7.2
diff --git a/data/_coreutils/coreutils-7.2.tar.gz b/data/_coreutils/coreutils-7.2.tar.gz
new file mode 100644
index 000000000..c57fe903c
--- /dev/null
+++ b/data/_coreutils/coreutils-7.2.tar.gz
Binary files differ
diff --git a/data/_coreutils/coreutils.sh b/data/_coreutils/coreutils.sh
new file mode 100755
index 000000000..e7d52142d
--- /dev/null
+++ b/data/_coreutils/coreutils.sh
@@ -0,0 +1,3 @@
+alias ls="ls -Fb --color=auto -T 0"
+eval "$(dircolors -b)"
+export CLICOLOR=
diff --git a/data/_coreutils/make.sh b/data/_coreutils/make.sh
new file mode 100644
index 000000000..57b88207a
--- /dev/null
+++ b/data/_coreutils/make.sh
@@ -0,0 +1,13 @@
+pkg:setup
+pkg:configure --enable-install-program=su
+make AR="${PKG_TARG}-ar" CFLAGS='-O2 -mthumb'
+pkg:install
+pkg: rm -f /usr/bin/sync
+pkg:bin cat chgrp chmod chown cp date dd df dir echo false kill ln ls mkdir mknod mktemp mv pwd readlink rm rmdir sleep stty su touch true uname vdir
+pkg: mkdir -p /usr/sbin
+pkg: mv /usr/bin/chroot /usr/sbin
+pkg: mkdir -p /etc/profile.d
+pkg: cp -a %/coreutils.sh /etc/profile.d
+ln -s /bin/chown "${PKG_DEST}"/usr/bin
+ln -s /bin/chown "${PKG_DEST}"/usr/sbin
+ln -s /bin/mktemp "${PKG_DEST}"/usr/bin
diff --git a/data/_coreutils/man.diff b/data/_coreutils/man.diff
new file mode 100644
index 000000000..e51c6276c
--- /dev/null
+++ b/data/_coreutils/man.diff
@@ -0,0 +1,24 @@
+diff -ru coreutils-7.2/Makefile.am coreutils-7.2+iPhone/Makefile.am
+--- coreutils-7.2/Makefile.am 2009-03-29 17:44:31.000000000 +0000
++++ coreutils-7.2+iPhone/Makefile.am 2009-04-11 00:05:17.000000000 +0000
+@@ -15,7 +15,7 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src doc po tests gnulib-tests
+ EXTRA_DIST = cfg.mk maint.mk \
+ .prev-version THANKS-to-translators THANKStt.in \
+ .version \
+diff -ru coreutils-7.2/Makefile.in coreutils-7.2+iPhone/Makefile.in
+--- coreutils-7.2/Makefile.in 2009-03-31 12:35:42.000000000 +0000
++++ coreutils-7.2+iPhone/Makefile.in 2009-04-11 00:05:23.000000000 +0000
+@@ -931,7 +931,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src doc po tests gnulib-tests
+ EXTRA_DIST = cfg.mk maint.mk \
+ .prev-version THANKS-to-translators THANKStt.in \
+ .version \