summaryrefslogtreecommitdiff
path: root/data/slirp
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-08-22 09:10:07 +0000
committerJay Freeman <saurik@saurik.com>2008-08-22 09:10:07 +0000
commit16d03a01394a71ff70981eedde550db3bb16a3f5 (patch)
treec5b793f17ef34905954eb17fca08ad63ced7ec3a /data/slirp
parentf4f36e76f56cae76806eb063b80d4c9033f4a010 (diff)
Added Slirp for RichCreations.
git-svn-id: http://svn.telesphoreo.org/trunk@446 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/slirp')
-rw-r--r--data/slirp/_metadata/description1
-rw-r--r--data/slirp/_metadata/homepage1
l---------data/slirp/_metadata/maintainer1
-rw-r--r--data/slirp/_metadata/name1
-rw-r--r--data/slirp/_metadata/priority1
-rw-r--r--data/slirp/_metadata/section1
-rw-r--r--data/slirp/_metadata/tags1
-rw-r--r--data/slirp/_metadata/version1
-rw-r--r--data/slirp/cross.diff13
-rw-r--r--data/slirp/make.sh8
-rw-r--r--data/slirp/slirp-1.0.16.tar.gzbin0 -> 307169 bytes
-rw-r--r--data/slirp/slirp_1_0_17_patch.tar.gzbin0 -> 2200 bytes
-rw-r--r--data/slirp/strip.diff11
13 files changed, 40 insertions, 0 deletions
diff --git a/data/slirp/_metadata/description b/data/slirp/_metadata/description
new file mode 100644
index 000000000..acee3984b
--- /dev/null
+++ b/data/slirp/_metadata/description
@@ -0,0 +1 @@
+PPP/SLIP-on-terminal emulator
diff --git a/data/slirp/_metadata/homepage b/data/slirp/_metadata/homepage
new file mode 100644
index 000000000..fb6525214
--- /dev/null
+++ b/data/slirp/_metadata/homepage
@@ -0,0 +1 @@
+http://slirp.sourceforge.net/
diff --git a/data/slirp/_metadata/maintainer b/data/slirp/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/slirp/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/slirp/_metadata/name b/data/slirp/_metadata/name
new file mode 100644
index 000000000..6290792e3
--- /dev/null
+++ b/data/slirp/_metadata/name
@@ -0,0 +1 @@
+Slirp
diff --git a/data/slirp/_metadata/priority b/data/slirp/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/slirp/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/slirp/_metadata/section b/data/slirp/_metadata/section
new file mode 100644
index 000000000..8708e4b54
--- /dev/null
+++ b/data/slirp/_metadata/section
@@ -0,0 +1 @@
+Networking
diff --git a/data/slirp/_metadata/tags b/data/slirp/_metadata/tags
new file mode 100644
index 000000000..9f0f19684
--- /dev/null
+++ b/data/slirp/_metadata/tags
@@ -0,0 +1 @@
+purpose::daemon
diff --git a/data/slirp/_metadata/version b/data/slirp/_metadata/version
new file mode 100644
index 000000000..8fc77d0fa
--- /dev/null
+++ b/data/slirp/_metadata/version
@@ -0,0 +1 @@
+1.0.17
diff --git a/data/slirp/cross.diff b/data/slirp/cross.diff
new file mode 100644
index 000000000..126002529
--- /dev/null
+++ b/data/slirp/cross.diff
@@ -0,0 +1,13 @@
+diff -ru slirp-1.0.16/src/configure.in slirp-1.0.16+iPhone/src/configure.in
+--- slirp-1.0.16/src/configure.in 2004-09-01 09:58:50.000000000 +0000
++++ slirp-1.0.16+iPhone/src/configure.in 2008-08-18 19:38:00.000000000 +0000
+@@ -47,9 +47,6 @@
+ fi
+ AC_PROG_GCC_TRADITIONAL
+ dnl AC_PROG_INSTALL
+-if test x$cross_compiling = xyes; then
+- eval $CROSS_ERROR
+-fi
+ dnl - Check for perl 5
+ AC_PATH_PROG(PERL, perl, no)
+ if test x$PERL = xno; then
diff --git a/data/slirp/make.sh b/data/slirp/make.sh
new file mode 100644
index 000000000..55467117c
--- /dev/null
+++ b/data/slirp/make.sh
@@ -0,0 +1,8 @@
+pkg:setup
+cd src
+patch -p1 <../../*.patch
+autoconf
+pkg:configure --prefix="${PKG_DEST}/usr" sr_cv_next=no sr_cv_sprintf_int=yes sr_cv_sprintf_declare=no sr_cv_unix_sockets=yes sr_cv_gethostid=yes
+make
+pkg: mkdir -p /usr/man/man1 /usr/bin
+pkg:install
diff --git a/data/slirp/slirp-1.0.16.tar.gz b/data/slirp/slirp-1.0.16.tar.gz
new file mode 100644
index 000000000..0e8ee0a5d
--- /dev/null
+++ b/data/slirp/slirp-1.0.16.tar.gz
Binary files differ
diff --git a/data/slirp/slirp_1_0_17_patch.tar.gz b/data/slirp/slirp_1_0_17_patch.tar.gz
new file mode 100644
index 000000000..6f3721e8f
--- /dev/null
+++ b/data/slirp/slirp_1_0_17_patch.tar.gz
Binary files differ
diff --git a/data/slirp/strip.diff b/data/slirp/strip.diff
new file mode 100644
index 000000000..4b63abde8
--- /dev/null
+++ b/data/slirp/strip.diff
@@ -0,0 +1,11 @@
+diff -ru slirp-1.0.16/src/Makefile.in slirp-1.0.16+iPhone/src/Makefile.in
+--- slirp-1.0.16/src/Makefile.in 2004-09-02 08:51:43.000000000 +0000
++++ slirp-1.0.16+iPhone/src/Makefile.in 2008-08-18 19:40:47.000000000 +0000
+@@ -45,7 +45,6 @@
+ $(CC) @LDFLAGS@ -o slirp $(OBJ) $(LIBS)
+
+ install: slirp install.man
+- strip slirp
+ cp slirp $(BINDIR)
+
+ install.man: