summaryrefslogtreecommitdiff
path: root/data/bootstrap-cmds
diff options
context:
space:
mode:
Diffstat (limited to 'data/bootstrap-cmds')
-rw-r--r--data/bootstrap-cmds/_metadata/description2
l---------data/bootstrap-cmds/_metadata/license1
l---------data/bootstrap-cmds/_metadata/maintainer1
-rw-r--r--data/bootstrap-cmds/_metadata/priority1
-rw-r--r--data/bootstrap-cmds/_metadata/section1
-rw-r--r--data/bootstrap-cmds/_metadata/version1
-rw-r--r--data/bootstrap-cmds/arm.diff12
-rw-r--r--data/bootstrap-cmds/bootstrap_cmds-60.tar.gzbin0 -> 145064 bytes
-rw-r--r--data/bootstrap-cmds/make.sh15
9 files changed, 34 insertions, 0 deletions
diff --git a/data/bootstrap-cmds/_metadata/description b/data/bootstrap-cmds/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/bootstrap-cmds/_metadata/license b/data/bootstrap-cmds/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/bootstrap-cmds/_metadata/maintainer b/data/bootstrap-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/bootstrap-cmds/_metadata/priority b/data/bootstrap-cmds/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/bootstrap-cmds/_metadata/section b/data/bootstrap-cmds/_metadata/section
new file mode 100644
index 000000000..842ba4a9c
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/section
@@ -0,0 +1 @@
+toolchain
diff --git a/data/bootstrap-cmds/_metadata/version b/data/bootstrap-cmds/_metadata/version
new file mode 100644
index 000000000..abdfb053e
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/version
@@ -0,0 +1 @@
+60
diff --git a/data/bootstrap-cmds/arm.diff b/data/bootstrap-cmds/arm.diff
new file mode 100644
index 000000000..365f105f1
--- /dev/null
+++ b/data/bootstrap-cmds/arm.diff
@@ -0,0 +1,12 @@
+diff -ru bootstrap_cmds-60/migcom.tproj/mig_machine.h bootstrap_cmds-60+iPhone/migcom.tproj/mig_machine.h
+--- bootstrap_cmds-60/migcom.tproj/mig_machine.h 2000-01-11 00:36:17.000000000 +0000
++++ bootstrap_cmds-60+iPhone/migcom.tproj/mig_machine.h 2007-12-30 06:00:47.000000000 +0000
+@@ -4,6 +4,8 @@
+ #include "i386/mig_machine.h"
+ #elif defined(__ppc__)
+ #include "ppc/mig_machine.h"
++#elif defined(__arm__)
++#include "arm/mig_machine.h"
+ #else
+ #error Architecture not supported
+ #endif
diff --git a/data/bootstrap-cmds/bootstrap_cmds-60.tar.gz b/data/bootstrap-cmds/bootstrap_cmds-60.tar.gz
new file mode 100644
index 000000000..1061685da
--- /dev/null
+++ b/data/bootstrap-cmds/bootstrap_cmds-60.tar.gz
Binary files differ
diff --git a/data/bootstrap-cmds/make.sh b/data/bootstrap-cmds/make.sh
new file mode 100644
index 000000000..bc6273cd3
--- /dev/null
+++ b/data/bootstrap-cmds/make.sh
@@ -0,0 +1,15 @@
+tar -zxvf "${PKG_DATA}/bootstrap_cmds-60.tar.gz"
+cd bootstrap_cmds-60
+pkg:patch
+cd migcom.tproj
+cat >ident.c <<EOF
+char *MigGenerationDate = "`date`";
+char *MigMoreData = "`whoami`@`hostname`";
+EOF
+cp -a i386 arm
+yacc -d parser.y -o parser.c
+lex lexxer.l
+arm-apple-darwin-gcc -o migcom *.c
+pkg: mkdir -p /usr/bin /usr/libexec
+pkg: cp -a migcom /usr/libexec
+pkg: cp -a mig.sh /usr/bin/mig