summaryrefslogtreecommitdiff
path: root/data/curl
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/curl
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/curl')
-rw-r--r--data/curl/_metadata/description2
-rw-r--r--data/curl/_metadata/license21
l---------data/curl/_metadata/maintainer1
l---------data/curl/_metadata/openssl.dep1
-rw-r--r--data/curl/_metadata/priority1
-rw-r--r--data/curl/_metadata/section1
-rw-r--r--data/curl/_metadata/version1
-rw-r--r--data/curl/curl-7.17.1.tar.gzbin0 -> 2225788 bytes
-rw-r--r--data/curl/make.sh7
-rw-r--r--data/curl/strerror.diff45
10 files changed, 80 insertions, 0 deletions
diff --git a/data/curl/_metadata/description b/data/curl/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/curl/_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/curl/_metadata/license b/data/curl/_metadata/license
new file mode 100644
index 000000000..12a41cee6
--- /dev/null
+++ b/data/curl/_metadata/license
@@ -0,0 +1,21 @@
+COPYRIGHT AND PERMISSION NOTICE
+
+Copyright (c) 1996 - 2007, Daniel Stenberg, <daniel@haxx.se>.
+
+All rights reserved.
+
+Permission to use, copy, modify, and distribute this software for any purpose
+with or without fee is hereby granted, provided that the above copyright
+notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
+NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
+OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder shall not
+be used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization of the copyright holder.
diff --git a/data/curl/_metadata/maintainer b/data/curl/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/curl/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/curl/_metadata/openssl.dep b/data/curl/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/curl/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/curl/_metadata/priority b/data/curl/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/curl/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/curl/_metadata/section b/data/curl/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/curl/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/curl/_metadata/version b/data/curl/_metadata/version
new file mode 100644
index 000000000..1f4c47dc0
--- /dev/null
+++ b/data/curl/_metadata/version
@@ -0,0 +1 @@
+7.17.1
diff --git a/data/curl/curl-7.17.1.tar.gz b/data/curl/curl-7.17.1.tar.gz
new file mode 100644
index 000000000..a40636577
--- /dev/null
+++ b/data/curl/curl-7.17.1.tar.gz
Binary files differ
diff --git a/data/curl/make.sh b/data/curl/make.sh
new file mode 100644
index 000000000..c2ab49598
--- /dev/null
+++ b/data/curl/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/curl-7.17.1.tar.gz"
+cd curl-7.17.1
+pkg:patch
+autoconf
+pkg:configure --enable-static=no ac_cv_file___dev_urandom_=yes
+make
+pkg:install
diff --git a/data/curl/strerror.diff b/data/curl/strerror.diff
new file mode 100644
index 000000000..961a32d9e
--- /dev/null
+++ b/data/curl/strerror.diff
@@ -0,0 +1,45 @@
+diff -r -u curl-7.17.1/acinclude.m4 curl-7.17.1+iPhone/acinclude.m4
+--- curl-7.17.1/acinclude.m4 2007-10-24 20:08:45.000000000 +0000
++++ curl-7.17.1+iPhone/acinclude.m4 2007-12-28 11:24:03.000000000 +0000
+@@ -1944,41 +1944,8 @@
+ ) dnl with _THREAD_SAFE
+ ]) dnl plain cpp for it
+
+- dnl determine if this strerror_r() is glibc or POSIX
+- AC_MSG_CHECKING([for a glibc strerror_r API])
+- AC_TRY_RUN([
+-#include <string.h>
+-#include <errno.h>
+-int
+-main () {
+- char buffer[1024]; /* big enough to play with */
+- char *string =
+- strerror_r(EACCES, buffer, sizeof(buffer));
+- /* this should've returned a string */
+- if(!string || !string[0])
+- return 99;
+- return 0;
+-}
+-],
+ GLIBC_STRERROR_R="1"
+ AC_DEFINE(HAVE_GLIBC_STRERROR_R, 1, [we have a glibc-style strerror_r()])
+- AC_MSG_RESULT([yes]),
+- AC_MSG_RESULT([no]),
+-
+- dnl Use an inferior method of strerror_r detection while cross-compiling
+- AC_EGREP_CPP(yes, [
+-#include <features.h>
+-#ifdef __GLIBC__
+-yes
+-#endif
+-],
+- dnl looks like glibc, so assume a glibc-style strerror_r()
+- GLIBC_STRERROR_R="1"
+- AC_DEFINE(HAVE_GLIBC_STRERROR_R, 1, [we have a glibc-style strerror_r()])
+- AC_MSG_RESULT([yes]),
+- AC_MSG_NOTICE([cannot determine strerror_r() style: edit lib/config.h manually!])
+- ) dnl while cross-compiling
+- )
+
+ if test -z "$GLIBC_STRERROR_R"; then
+