summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-14 14:32:59 +0000
committerJay Freeman <saurik@saurik.com>2008-02-14 14:32:59 +0000
commit6b964b69935fcc52a1c0a95695ca436e00b6690f (patch)
treea863dd50c7cc7fe19b9759360ed4d5b545f9ba0f /data
parent459c9779557e19437de4a02f6311c322989228b3 (diff)
Drastically reworked bootstrap package.
git-svn-id: http://svn.telesphoreo.org/trunk@88 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r--data/base/base-1.tgzbin1208 -> 0 bytes
-rw-r--r--data/base/base.tgzbin0 -> 1229 bytes
-rw-r--r--data/base/make.sh2
-rwxr-xr-xdata/cydia/install.sh37
-rw-r--r--data/cydia/make.sh6
-rw-r--r--data/cydia/symlink.c7
-rw-r--r--data/libarmfp/_metadata/description1
l---------data/libarmfp/_metadata/maintainer1
-rw-r--r--data/libarmfp/_metadata/priority1
-rw-r--r--data/libarmfp/_metadata/section1
-rw-r--r--data/libarmfp/_metadata/version1
-rwxr-xr-xdata/libarmfp/libarmfp.dylibbin0 -> 8704 bytes
-rw-r--r--data/libarmfp/make.sh2
-rw-r--r--data/saurik/make.sh2
14 files changed, 10 insertions, 51 deletions
diff --git a/data/base/base-1.tgz b/data/base/base-1.tgz
deleted file mode 100644
index 3594c315e..000000000
--- a/data/base/base-1.tgz
+++ /dev/null
Binary files differ
diff --git a/data/base/base.tgz b/data/base/base.tgz
new file mode 100644
index 000000000..d1789b539
--- /dev/null
+++ b/data/base/base.tgz
Binary files differ
diff --git a/data/base/make.sh b/data/base/make.sh
index 72290cbb2..fbd4f1b14 100644
--- a/data/base/make.sh
+++ b/data/base/make.sh
@@ -1 +1 @@
-tar -zxvf "${PKG_DATA}/base-1.tgz" -C "${PKG_DEST}"
+tar -zxvf "${PKG_DATA}/base.tgz" -C "${PKG_DEST}"
diff --git a/data/cydia/install.sh b/data/cydia/install.sh
deleted file mode 100755
index bfac1459d..000000000
--- a/data/cydia/install.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-shopt -s extglob nullglob
-
-function df_() {
- free=$(df -B1 "$1")
- free=${free% *%*}
- free=${free%%*( )}
- free=${free##* }
- echo "${free}"
-}
-
-for dir in \
- /Applications \
- /Library/Ringtones \
- /Library/Wallpaper \
- /System/Library/Fonts \
- /usr/share
-do if [[ -d ${dir} && ! -h ${dir} ]]; then
- used=$(du -bs "${dir}")
- used=${used%%$'\t'*}
- free=$(df_ /var)
-
- if [[ ${used} -lt ${free} ]]; then
- base=$(basename "${dir}")
-
- new=/var/${base}
- if [[ -e ${new} ]]; then
- new=$(TMPDIR=/var mktemp -t /var -d cydia.XXXXXX)
- fi
-
- mv -T "${dir}" "${new}"
- ln -s "${new}" "${dir}"
- fi
-fi; done
-
-[[ $(df_ /) -gt 33554432 && $(df_ /var) -gt 33554432 ]]
diff --git a/data/cydia/make.sh b/data/cydia/make.sh
index 36f51ad89..7e988c316 100644
--- a/data/cydia/make.sh
+++ b/data/cydia/make.sh
@@ -12,9 +12,3 @@ pkg: chmod +s /Applications/Cydia.app/Cydia
pkg: mkdir -p /System/Library/PreferenceBundles
pkg: cp -a CydiaSettings.bundle /System/Library/PreferenceBundles
-
-pkg: mkdir -p /usr/libexec/cydia
-pkg: cp -a %/install.sh /usr/libexec/cydia
-
-pkg: arm-apple-darwin-gcc -o symlink %/symlink.c
-pkg: cp -a symlink /usr/libexec/cydia
diff --git a/data/cydia/symlink.c b/data/cydia/symlink.c
deleted file mode 100644
index 7ba730d8d..000000000
--- a/data/cydia/symlink.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <unistd.h>
-
-int main(int argc, const char *argv[]) {
- unlink(argv[2]);
- symlink(argv[1], argv[2]);
- return 0;
-}
diff --git a/data/libarmfp/_metadata/description b/data/libarmfp/_metadata/description
new file mode 100644
index 000000000..c4cbc0947
--- /dev/null
+++ b/data/libarmfp/_metadata/description
@@ -0,0 +1 @@
+library used by older iPhone software
diff --git a/data/libarmfp/_metadata/maintainer b/data/libarmfp/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/libarmfp/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/libarmfp/_metadata/priority b/data/libarmfp/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libarmfp/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libarmfp/_metadata/section b/data/libarmfp/_metadata/section
new file mode 100644
index 000000000..00b394251
--- /dev/null
+++ b/data/libarmfp/_metadata/section
@@ -0,0 +1 @@
+System
diff --git a/data/libarmfp/_metadata/version b/data/libarmfp/_metadata/version
new file mode 100644
index 000000000..573541ac9
--- /dev/null
+++ b/data/libarmfp/_metadata/version
@@ -0,0 +1 @@
+0
diff --git a/data/libarmfp/libarmfp.dylib b/data/libarmfp/libarmfp.dylib
new file mode 100755
index 000000000..6e49268a8
--- /dev/null
+++ b/data/libarmfp/libarmfp.dylib
Binary files differ
diff --git a/data/libarmfp/make.sh b/data/libarmfp/make.sh
new file mode 100644
index 000000000..510c1e96c
--- /dev/null
+++ b/data/libarmfp/make.sh
@@ -0,0 +1,2 @@
+pkg: mkdir -p /usr/lib
+pkg: cp -a %/libarmfp.dylib /usr/lib
diff --git a/data/saurik/make.sh b/data/saurik/make.sh
new file mode 100644
index 000000000..c2f48e300
--- /dev/null
+++ b/data/saurik/make.sh
@@ -0,0 +1,2 @@
+pkg: mkdir -p /etc/apt/sources.list.d
+pkg: cp -a %/saurik.list /etc/apt/sources.list.d