summaryrefslogtreecommitdiff
path: root/data/vfdecrypt
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
committerJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
commitd699a01fabaa04a1aad60f6ca5777f82ee24839a (patch)
tree1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /data/vfdecrypt
parent8a49e427447f40fdd43fc4b5f513b166dd639e2a (diff)
Drastic, sweeping modifications to support iPhone 1.2.0/2.0.
git-svn-id: http://svn.telesphoreo.org/trunk@199 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/vfdecrypt')
l---------data/vfdecrypt/_metadata/openssl.dep1
-rw-r--r--data/vfdecrypt/make.sh3
-rw-r--r--data/vfdecrypt/osswap.diff11
3 files changed, 14 insertions, 1 deletions
diff --git a/data/vfdecrypt/_metadata/openssl.dep b/data/vfdecrypt/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/vfdecrypt/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/vfdecrypt/make.sh b/data/vfdecrypt/make.sh
index d03245f99..df7db7d63 100644
--- a/data/vfdecrypt/make.sh
+++ b/data/vfdecrypt/make.sh
@@ -1,5 +1,6 @@
pkg:extract
cd *
-make CC=arm-apple-darwin-gcc
+pkg:patch
+make CC=${PKG_TARG}-gcc
pkg: mkdir -p /usr/bin
pkg: mv vfdecrypt /usr/bin
diff --git a/data/vfdecrypt/osswap.diff b/data/vfdecrypt/osswap.diff
new file mode 100644
index 000000000..0dc4495ea
--- /dev/null
+++ b/data/vfdecrypt/osswap.diff
@@ -0,0 +1,11 @@
+diff -ru vfdecrypt-iphone/util.c vfdecrypt-iphone+iPhone/util.c
+--- vfdecrypt-iphone/util.c 2007-08-12 22:02:19.000000000 +0000
++++ vfdecrypt-iphone+iPhone/util.c 2008-03-24 13:12:13.000000000 +0000
+@@ -3,6 +3,7 @@
+ #include <string.h>
+ #include <unistd.h>
+
++#include <libkern/OSByteOrder.h>
+ #include "util.h"
+
+ void print_hex(uint8_t *data, uint32_t len)