summaryrefslogtreecommitdiff
path: root/data/unrar
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data/unrar
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/unrar')
-rw-r--r--data/unrar/_metadata/description2
-rw-r--r--data/unrar/_metadata/license40
l---------data/unrar/_metadata/maintainer1
-rw-r--r--data/unrar/_metadata/priority1
-rw-r--r--data/unrar/_metadata/section1
-rw-r--r--data/unrar/_metadata/version1
-rw-r--r--data/unrar/exceptions.diff39
-rw-r--r--data/unrar/make.sh5
-rw-r--r--data/unrar/unrarsrc-3.6.8.tar.gzbin0 -> 125045 bytes
9 files changed, 90 insertions, 0 deletions
diff --git a/data/unrar/_metadata/description b/data/unrar/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/unrar/_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/unrar/_metadata/license b/data/unrar/_metadata/license
new file mode 100644
index 000000000..ec35e09a8
--- /dev/null
+++ b/data/unrar/_metadata/license
@@ -0,0 +1,40 @@
+ ****** ***** ****** UnRAR - free utility for RAR archives
+ ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ****** ******* ****** License for use and distribution of
+ ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ** ** ** ** ** ** FREE portable version
+ ~~~~~~~~~~~~~~~~~~~~~
+
+ The source code of UnRAR utility is freeware. This means:
+
+ 1. All copyrights to RAR and the utility UnRAR are exclusively
+ owned by the author - Alexander Roshal.
+
+ 2. The UnRAR sources may be used in any software to handle RAR
+ archives without limitations free of charge, but cannot be used
+ to re-create the RAR compression algorithm, which is proprietary.
+ Distribution of modified UnRAR sources in separate form or as a
+ part of other software is permitted, provided that it is clearly
+ stated in the documentation and source comments that the code may
+ not be used to develop a RAR (WinRAR) compatible archiver.
+
+ 3. The UnRAR utility may be freely distributed. It is allowed
+ to distribute UnRAR inside of other software packages.
+
+ 4. THE RAR ARCHIVER AND THE UnRAR UTILITY ARE DISTRIBUTED "AS IS".
+ NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT
+ YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
+ DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING
+ OR MISUSING THIS SOFTWARE.
+
+ 5. Installing and using the UnRAR utility signifies acceptance of
+ these terms and conditions of the license.
+
+ 6. If you don't agree with terms of the license you must remove
+ UnRAR files from your storage devices and cease to use the
+ utility.
+
+ Thank you for your interest in RAR and UnRAR.
+
+
+ Alexander L. Roshal \ No newline at end of file
diff --git a/data/unrar/_metadata/maintainer b/data/unrar/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/unrar/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/unrar/_metadata/priority b/data/unrar/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/unrar/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/unrar/_metadata/section b/data/unrar/_metadata/section
new file mode 100644
index 000000000..f1d43c641
--- /dev/null
+++ b/data/unrar/_metadata/section
@@ -0,0 +1 @@
+archive
diff --git a/data/unrar/_metadata/version b/data/unrar/_metadata/version
new file mode 100644
index 000000000..424e1794d
--- /dev/null
+++ b/data/unrar/_metadata/version
@@ -0,0 +1 @@
+3.6.8
diff --git a/data/unrar/exceptions.diff b/data/unrar/exceptions.diff
new file mode 100644
index 000000000..94062e15c
--- /dev/null
+++ b/data/unrar/exceptions.diff
@@ -0,0 +1,39 @@
+diff -ru unrar/errhnd.cpp unrar+iPhone/errhnd.cpp
+--- unrar/errhnd.cpp 2006-08-04 18:32:40.000000000 +0000
++++ unrar+iPhone/errhnd.cpp 2007-12-28 03:44:02.000000000 +0000
+@@ -321,7 +321,7 @@
+ throw Code;
+ #else
+ File::RemoveCreated();
+- exit(Code);
++ _exit(Code);
+ #endif
+ }
+
+diff -ru unrar/errhnd.hpp unrar+iPhone/errhnd.hpp
+--- unrar/errhnd.hpp 2006-08-04 18:32:40.000000000 +0000
++++ unrar+iPhone/errhnd.hpp 2007-12-28 03:43:39.000000000 +0000
+@@ -1,11 +1,6 @@
+ #ifndef _RAR_ERRHANDLER_
+ #define _RAR_ERRHANDLER_
+
+-#if (defined(GUI) || !defined(_WIN_32)) && !defined(SFX_MODULE) && !defined(_WIN_CE) || defined(RARDLL)
+-#define ALLOW_EXCEPTIONS
+-#endif
+-
+-
+
+ #define rarmalloc malloc
+ #define rarcalloc calloc
+diff -ru unrar/rar.cpp unrar+iPhone/rar.cpp
+--- unrar/rar.cpp 2006-08-04 18:32:40.000000000 +0000
++++ unrar+iPhone/rar.cpp 2007-12-28 03:41:09.000000000 +0000
+@@ -127,7 +127,7 @@
+ #if defined(_EMX) && !defined(_DJGPP)
+ uni_done();
+ #endif
+- return(ErrHandler.GetErrorCode());
++ _exit(ErrHandler.GetErrorCode());
+ }
+ #endif
+
diff --git a/data/unrar/make.sh b/data/unrar/make.sh
new file mode 100644
index 000000000..916b2a9ae
--- /dev/null
+++ b/data/unrar/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/unrarsrc-3.6.8.tar.gz"
+cd unrar
+pkg:patch
+make -f makefile.unix CXX=arm-apple-darwin-g++ STRIP=arm-apple-darwin-strip all
+pkg:usrbin unrar
diff --git a/data/unrar/unrarsrc-3.6.8.tar.gz b/data/unrar/unrarsrc-3.6.8.tar.gz
new file mode 100644
index 000000000..bcc96b124
--- /dev/null
+++ b/data/unrar/unrarsrc-3.6.8.tar.gz
Binary files differ