summaryrefslogtreecommitdiff
path: root/data/rlwrap
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-14 06:42:59 +0000
committerJay Freeman <saurik@saurik.com>2008-06-14 06:42:59 +0000
commit5fb13e1c8dba959173fcbae8f7a09e1cb4083cef (patch)
tree16afa6a7fff2a819def671a054cab53905f3c06f /data/rlwrap
parentc5b46c3d49905f20ce8d3fb05ee0deb2b7b238c6 (diff)
Added rlwrap as saurik can't live without it.
git-svn-id: http://svn.telesphoreo.org/trunk@304 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/rlwrap')
-rw-r--r--data/rlwrap/_metadata/description1
l---------data/rlwrap/_metadata/license1
l---------data/rlwrap/_metadata/maintainer1
-rw-r--r--data/rlwrap/_metadata/priority1
l---------data/rlwrap/_metadata/readline.dep1
-rw-r--r--data/rlwrap/_metadata/section1
-rw-r--r--data/rlwrap/_metadata/version1
-rw-r--r--data/rlwrap/cross.diff41
-rw-r--r--data/rlwrap/make.sh5
-rw-r--r--data/rlwrap/ptmx.diff12
-rw-r--r--data/rlwrap/rlwrap-0.29.tar.gzbin0 -> 183735 bytes
11 files changed, 65 insertions, 0 deletions
diff --git a/data/rlwrap/_metadata/description b/data/rlwrap/_metadata/description
new file mode 100644
index 000000000..be92115c2
--- /dev/null
+++ b/data/rlwrap/_metadata/description
@@ -0,0 +1 @@
+provides readline to anything
diff --git a/data/rlwrap/_metadata/license b/data/rlwrap/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/rlwrap/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/rlwrap/_metadata/maintainer b/data/rlwrap/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/rlwrap/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/rlwrap/_metadata/priority b/data/rlwrap/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/rlwrap/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/rlwrap/_metadata/readline.dep b/data/rlwrap/_metadata/readline.dep
new file mode 120000
index 000000000..f35c9185b
--- /dev/null
+++ b/data/rlwrap/_metadata/readline.dep
@@ -0,0 +1 @@
+../../readline \ No newline at end of file
diff --git a/data/rlwrap/_metadata/section b/data/rlwrap/_metadata/section
new file mode 100644
index 000000000..19814b684
--- /dev/null
+++ b/data/rlwrap/_metadata/section
@@ -0,0 +1 @@
+Utilities
diff --git a/data/rlwrap/_metadata/version b/data/rlwrap/_metadata/version
new file mode 100644
index 000000000..eec15f902
--- /dev/null
+++ b/data/rlwrap/_metadata/version
@@ -0,0 +1 @@
+0.29
diff --git a/data/rlwrap/cross.diff b/data/rlwrap/cross.diff
new file mode 100644
index 000000000..6bf51b3aa
--- /dev/null
+++ b/data/rlwrap/cross.diff
@@ -0,0 +1,41 @@
+diff -ru rlwrap-0.29/configure.ac rlwrap-0.29+iPhone/configure.ac
+--- rlwrap-0.29/configure.ac 2007-11-11 11:01:45.000000000 +0000
++++ rlwrap-0.29+iPhone/configure.ac 2007-12-28 14:10:56.000000000 +0000
+@@ -98,23 +98,9 @@
+ AC_MSG_RESULT($ac_term_h_compiles)
+
+
+-AC_MSG_CHECKING([whether your getopt() correctly understands double colons in option string])
+-AC_RUN_IFELSE(
+- [AC_LANG_PROGRAM( [[ const char optstring[] = "+:a::b";
+- char * myargv [] = {"progname", "-a", "-b"};
+- int myargc = 3;
+- extern char *optarg;
+- ]] , [[
+- int opt = getopt(myargc, myargv, optstring);
+- if (opt != 'a' || optarg) /* optarg != NULL means that -b is seen as argument of -a */
+- exit (-1);
+- else
+- exit(0); ]] )],
+- [AC_DEFINE(GETOPT_GROKS_OPTIONAL_ARGS, 1, Define if your getopt() correctly understands double colons in the option string)
++ AC_DEFINE(GETOPT_GROKS_OPTIONAL_ARGS, 1, Define if your getopt() correctly understands double colons in the option string)
+ AC_SUBST(HAVE_OPTIONAL_ARGS,yes)
+- ac_double_colons="yes"],
+- [AC_SUBST(HAVE_OPTIONAL_ARGS,no)
+- ac_double_colons="no"])
++ ac_double_colons="yes"
+ AC_MSG_RESULT($ac_double_colons)
+
+ # Checks for typedefs, structures, and compiler characteristics.
+@@ -280,10 +266,7 @@
+
+ # check for existence of myself under /proc/$$/cwd
+ echo "Will rlwrap find command's working directory under /proc/<commands pid>/cwd? let's see..."
+-AC_CHECK_FILES(/proc/$$/cwd/configure.ac,[
+- AC_DEFINE(HAVE_PROC_PID_CWD,1 ,[Define to 1 if /proc/<pid>/cwd is a link to working directory of process <pid>])
+- AC_SUBST(HAVE_PROC_PID_CWD,[yes])
+- ],[AC_SUBST(HAVE_PROC_PID_CWD,[no])])
++ AC_SUBST(HAVE_PROC_PID_CWD,[no])
+
+
+ echo
diff --git a/data/rlwrap/make.sh b/data/rlwrap/make.sh
new file mode 100644
index 000000000..9fe6e13cf
--- /dev/null
+++ b/data/rlwrap/make.sh
@@ -0,0 +1,5 @@
+pkg:setup
+autoconf
+pkg:configure ac_cv_func_openpty=no
+make
+pkg:install
diff --git a/data/rlwrap/ptmx.diff b/data/rlwrap/ptmx.diff
new file mode 100644
index 000000000..fa3115540
--- /dev/null
+++ b/data/rlwrap/ptmx.diff
@@ -0,0 +1,12 @@
+diff -ru rlwrap-0.29/src/ptytty.c rlwrap-0.29+iPhone/src/ptytty.c
+--- rlwrap-0.29/src/ptytty.c 2007-09-16 10:49:21.000000000 +0000
++++ rlwrap-0.29+iPhone/src/ptytty.c 2008-06-03 08:53:10.000000000 +0000
+@@ -41,7 +41,7 @@
+ #ifdef HAVE_SYS_IOCTL_H
+ # include <sys/ioctl.h>
+ #endif
+-#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
++#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) && !defined(__APPLE__)
+ # include <sys/stropts.h> /* for I_PUSH */
+ #endif
+
diff --git a/data/rlwrap/rlwrap-0.29.tar.gz b/data/rlwrap/rlwrap-0.29.tar.gz
new file mode 100644
index 000000000..19ba26fab
--- /dev/null
+++ b/data/rlwrap/rlwrap-0.29.tar.gz
Binary files differ