summaryrefslogtreecommitdiff
path: root/data/raop-play
diff options
context:
space:
mode:
Diffstat (limited to 'data/raop-play')
-rw-r--r--data/raop-play/_metadata/author1
-rw-r--r--data/raop-play/_metadata/depiction1
-rw-r--r--data/raop-play/_metadata/description1
l---------data/raop-play/_metadata/libid3tag.dep1
l---------data/raop-play/_metadata/libsamplerate.dep1
l---------data/raop-play/_metadata/license1
l---------data/raop-play/_metadata/maintainer1
-rw-r--r--data/raop-play/_metadata/name1
l---------data/raop-play/_metadata/openssl.dep1
-rw-r--r--data/raop-play/_metadata/priority1
-rw-r--r--data/raop-play/_metadata/role1
-rw-r--r--data/raop-play/_metadata/section1
-rw-r--r--data/raop-play/_metadata/tags1
-rw-r--r--data/raop-play/_metadata/version1
-rw-r--r--data/raop-play/aexcl.diff194
-rw-r--r--data/raop-play/asm-types.diff150
-rw-r--r--data/raop-play/encrypt.diff21
-rw-r--r--data/raop-play/getline.diff37
-rw-r--r--data/raop-play/linuxint.h16
-rw-r--r--data/raop-play/make.sh5
-rw-r--r--data/raop-play/raop_play-0.5.1.tar.gzbin0 -> 259985 bytes
-rw-r--r--data/raop-play/sa-ss_family.diff12
-rw-r--r--data/raop-play/ssl-crypto.diff53
-rw-r--r--data/raop-play/strip.diff47
24 files changed, 549 insertions, 0 deletions
diff --git a/data/raop-play/_metadata/author b/data/raop-play/_metadata/author
new file mode 100644
index 000000000..57913dcef
--- /dev/null
+++ b/data/raop-play/_metadata/author
@@ -0,0 +1 @@
+Shiro Ninomiya <shiron@snino.com>
diff --git a/data/raop-play/_metadata/depiction b/data/raop-play/_metadata/depiction
new file mode 100644
index 000000000..4c8b369c8
--- /dev/null
+++ b/data/raop-play/_metadata/depiction
@@ -0,0 +1 @@
+http://cydia.saurik.com/info/raop-play/
diff --git a/data/raop-play/_metadata/description b/data/raop-play/_metadata/description
new file mode 100644
index 000000000..d1d4aeed0
--- /dev/null
+++ b/data/raop-play/_metadata/description
@@ -0,0 +1 @@
+plays music over airport express
diff --git a/data/raop-play/_metadata/libid3tag.dep b/data/raop-play/_metadata/libid3tag.dep
new file mode 120000
index 000000000..2cf4480f9
--- /dev/null
+++ b/data/raop-play/_metadata/libid3tag.dep
@@ -0,0 +1 @@
+../../libid3tag \ No newline at end of file
diff --git a/data/raop-play/_metadata/libsamplerate.dep b/data/raop-play/_metadata/libsamplerate.dep
new file mode 120000
index 000000000..9f871832c
--- /dev/null
+++ b/data/raop-play/_metadata/libsamplerate.dep
@@ -0,0 +1 @@
+../../libsamplerate \ No newline at end of file
diff --git a/data/raop-play/_metadata/license b/data/raop-play/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/raop-play/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/raop-play/_metadata/maintainer b/data/raop-play/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/raop-play/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/raop-play/_metadata/name b/data/raop-play/_metadata/name
new file mode 100644
index 000000000..fa84df022
--- /dev/null
+++ b/data/raop-play/_metadata/name
@@ -0,0 +1 @@
+Airport Express Client
diff --git a/data/raop-play/_metadata/openssl.dep b/data/raop-play/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/raop-play/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/raop-play/_metadata/priority b/data/raop-play/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/raop-play/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/raop-play/_metadata/role b/data/raop-play/_metadata/role
new file mode 100644
index 000000000..52b4d7301
--- /dev/null
+++ b/data/raop-play/_metadata/role
@@ -0,0 +1 @@
+hacker
diff --git a/data/raop-play/_metadata/section b/data/raop-play/_metadata/section
new file mode 100644
index 000000000..593877746
--- /dev/null
+++ b/data/raop-play/_metadata/section
@@ -0,0 +1 @@
+Multimedia
diff --git a/data/raop-play/_metadata/tags b/data/raop-play/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/raop-play/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/raop-play/_metadata/version b/data/raop-play/_metadata/version
new file mode 100644
index 000000000..4b9fcbec1
--- /dev/null
+++ b/data/raop-play/_metadata/version
@@ -0,0 +1 @@
+0.5.1
diff --git a/data/raop-play/aexcl.diff b/data/raop-play/aexcl.diff
new file mode 100644
index 000000000..c6aa1769b
--- /dev/null
+++ b/data/raop-play/aexcl.diff
@@ -0,0 +1,194 @@
+diff -ru raop_play-0.5.1/configure raop_play-0.5.1+iPhone/configure
+--- raop_play-0.5.1/configure 2005-12-16 14:17:03.000000000 +0000
++++ raop_play-0.5.1+iPhone/configure 2008-12-06 03:45:45.000000000 +0000
+@@ -3373,163 +3373,6 @@
+ done
+
+
+-echo "$as_me:$LINENO: checking for fl_beep in -lfltk" >&5
+-echo $ECHO_N "checking for fl_beep in -lfltk... $ECHO_C" >&6
+-if test "${ac_cv_lib_fltk_fl_beep+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+- ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lfltk $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-/* Override any gcc2 internal prototype to avoid an error. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+- builtin and then its argument prototype would still apply. */
+-char dummy(); extern char fl_beep (int a=0);
+-int
+-main ()
+-{
+-fl_beep ();
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+- (eval $ac_link) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest$ac_exeext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- ac_cv_lib_fltk_fl_beep=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-ac_cv_lib_fltk_fl_beep=no
+-fi
+-rm -f conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_lib_fltk_fl_beep" >&5
+-echo "${ECHO_T}$ac_cv_lib_fltk_fl_beep" >&6
+-if test $ac_cv_lib_fltk_fl_beep = yes; then
+- cat >>confdefs.h <<_ACEOF
+-#define HAVE_LIBFLTK 1
+-_ACEOF
+-
+- LIBS="-lfltk $LIBS"
+-
+-else
+-
+- echo "Error! You need libfltk."
+- exit -1
+-fi
+-
+-
+-if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}fluid", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}fluid; ac_word=$2
+-echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_FLUID+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+- if test -n "$FLUID"; then
+- ac_cv_prog_FLUID="$FLUID" # Let the user override the test.
+-else
+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+- IFS=$as_save_IFS
+- test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
+- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_FLUID="${ac_tool_prefix}fluid"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+- break 2
+- fi
+-done
+-done
+-
+-fi
+-fi
+-FLUID=$ac_cv_prog_FLUID
+-if test -n "$FLUID"; then
+- echo "$as_me:$LINENO: result: $FLUID" >&5
+-echo "${ECHO_T}$FLUID" >&6
+-else
+- echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-fi
+-if test -z "$ac_cv_prog_FLUID"; then
+- ac_ct_FLUID=$FLUID
+- # Extract the first word of "fluid", so it can be a program name with args.
+-set dummy fluid; ac_word=$2
+-echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_FLUID+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+- if test -n "$ac_ct_FLUID"; then
+- ac_cv_prog_ac_ct_FLUID="$ac_ct_FLUID" # Let the user override the test.
+-else
+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+- IFS=$as_save_IFS
+- test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
+- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_ac_ct_FLUID="fluid"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+- break 2
+- fi
+-done
+-done
+-
+- test -z "$ac_cv_prog_ac_ct_FLUID" && ac_cv_prog_ac_ct_FLUID=":"
+-fi
+-fi
+-ac_ct_FLUID=$ac_cv_prog_ac_ct_FLUID
+-if test -n "$ac_ct_FLUID"; then
+- echo "$as_me:$LINENO: result: $ac_ct_FLUID" >&5
+-echo "${ECHO_T}$ac_ct_FLUID" >&6
+-else
+- echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+- FLUID=$ac_ct_FLUID
+-else
+- FLUID="$ac_cv_prog_FLUID"
+-fi
+-
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}install", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}install; ac_word=$2
+@@ -6123,7 +5966,7 @@
+ done
+
+
+- ac_config_files="$ac_config_files Makefile aexcl/Makefile aexcl/ipod/Makefile raop_play/Makefile rendezvous/Makefile"
++ ac_config_files="$ac_config_files Makefile raop_play/Makefile rendezvous/Makefile"
+
+ cat >confcache <<\_ACEOF
+ # This file is a shell script that caches the results of configure
+@@ -6650,8 +6493,6 @@
+ case "$ac_config_target" in
+ # Handling of arguments.
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+- "aexcl/Makefile" ) CONFIG_FILES="$CONFIG_FILES aexcl/Makefile" ;;
+- "aexcl/ipod/Makefile" ) CONFIG_FILES="$CONFIG_FILES aexcl/ipod/Makefile" ;;
+ "raop_play/Makefile" ) CONFIG_FILES="$CONFIG_FILES raop_play/Makefile" ;;
+ "rendezvous/Makefile" ) CONFIG_FILES="$CONFIG_FILES rendezvous/Makefile" ;;
+ "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+diff -ru raop_play-0.5.1/Makefile.in raop_play-0.5.1+iPhone/Makefile.in
+--- raop_play-0.5.1/Makefile.in 2005-12-16 14:16:59.000000000 +0000
++++ raop_play-0.5.1+iPhone/Makefile.in 2008-12-06 01:26:35.000000000 +0000
+@@ -1,4 +1,4 @@
+-SUBDIRS = rendezvous raop_play aexcl
++SUBDIRS = rendezvous raop_play
+
+ all:
+ for i in $(SUBDIRS); do make -C $$i; done
diff --git a/data/raop-play/asm-types.diff b/data/raop-play/asm-types.diff
new file mode 100644
index 000000000..7234444a3
--- /dev/null
+++ b/data/raop-play/asm-types.diff
@@ -0,0 +1,150 @@
+diff -ru raop_play-0.5.1/raop_play/aac_stream.c raop_play-0.5.1+iPhone/raop_play/aac_stream.c
+--- raop_play-0.5.1/raop_play/aac_stream.c 2005-12-16 14:17:00.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/aac_stream.c 2008-12-06 03:43:26.000000000 +0000
+@@ -17,7 +17,7 @@
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ *****************************************************************************/
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+diff -ru raop_play-0.5.1/raop_play/aexcl_lib.h raop_play-0.5.1+iPhone/raop_play/aexcl_lib.h
+--- raop_play-0.5.1/raop_play/aexcl_lib.h 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/aexcl_lib.h 2008-12-06 03:43:26.000000000 +0000
+@@ -1,5 +1,5 @@
+ #include <stdio.h>
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include <sys/time.h>
+ #include <time.h>
+ #include <stdlib.h>
+diff -ru raop_play-0.5.1/raop_play/audio_stream.c raop_play-0.5.1+iPhone/raop_play/audio_stream.c
+--- raop_play-0.5.1/raop_play/audio_stream.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/audio_stream.c 2008-12-06 03:43:26.000000000 +0000
+@@ -17,7 +17,7 @@
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ *****************************************************************************/
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+diff -ru raop_play-0.5.1/raop_play/flac_stream.c raop_play-0.5.1+iPhone/raop_play/flac_stream.c
+--- raop_play-0.5.1/raop_play/flac_stream.c 2005-12-16 14:17:02.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/flac_stream.c 2008-12-06 03:43:26.000000000 +0000
+@@ -18,7 +18,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ *****************************************************************************/
+ #include <netinet/in.h>
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+diff -ru raop_play-0.5.1/raop_play/m4a_stream.c raop_play-0.5.1+iPhone/raop_play/m4a_stream.c
+--- raop_play-0.5.1/raop_play/m4a_stream.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/m4a_stream.c 2008-12-06 03:43:26.000000000 +0000
+@@ -20,7 +20,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <unistd.h>
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+diff -ru raop_play-0.5.1/raop_play/mp3_stream.c raop_play-0.5.1+iPhone/raop_play/mp3_stream.c
+--- raop_play-0.5.1/raop_play/mp3_stream.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/mp3_stream.c 2008-12-06 03:43:26.000000000 +0000
+@@ -17,7 +17,7 @@
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ *****************************************************************************/
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <sys/wait.h>
+diff -ru raop_play-0.5.1/raop_play/ogg_stream.c raop_play-0.5.1+iPhone/raop_play/ogg_stream.c
+--- raop_play-0.5.1/raop_play/ogg_stream.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/ogg_stream.c 2008-12-06 03:43:26.000000000 +0000
+@@ -17,7 +17,7 @@
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ *****************************************************************************/
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+diff -ru raop_play-0.5.1/raop_play/pcm_stream.c raop_play-0.5.1+iPhone/raop_play/pcm_stream.c
+--- raop_play-0.5.1/raop_play/pcm_stream.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/pcm_stream.c 2008-12-06 03:43:26.000000000 +0000
+@@ -19,7 +19,7 @@
+ *****************************************************************************/
+ #include <unistd.h>
+ #include <fcntl.h>
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include <stdio.h>
+ #include <sys/poll.h>
+ #define PCM_STREAM_C_
+diff -ru raop_play-0.5.1/raop_play/pls_stream.c raop_play-0.5.1+iPhone/raop_play/pls_stream.c
+--- raop_play-0.5.1/raop_play/pls_stream.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/pls_stream.c 2008-12-06 04:06:57.000000000 +0000
+@@ -17,7 +17,7 @@
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ *****************************************************************************/
+-#include <asm/types.h>
++#include "linuxint.h"
+ #define _GNU_SOURCE
+ #include <stdio.h>
+ #include <unistd.h>
+diff -ru raop_play-0.5.1/raop_play/raop_client.c raop_play-0.5.1+iPhone/raop_play/raop_client.c
+--- raop_play-0.5.1/raop_play/raop_client.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/raop_client.c 2008-12-06 03:45:11.000000000 +0000
+@@ -24,7 +24,7 @@
+ #include <openssl/rsa.h>
+ #include <openssl/engine.h>
+
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include "aexcl_lib.h"
+ #include "rtsp_client.h"
+ #include "raop_client.h"
+diff -ru raop_play-0.5.1/raop_play/wav_stream.c raop_play-0.5.1+iPhone/raop_play/wav_stream.c
+--- raop_play-0.5.1/raop_play/wav_stream.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/wav_stream.c 2008-12-06 03:43:26.000000000 +0000
+@@ -17,7 +17,7 @@
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ *****************************************************************************/
+-#include <asm/types.h>
++#include "linuxint.h"
+ #include <stdio.h>
+ #define WAV_STREAM_C
+ #include "audio_stream.h"
+diff -ru raop_play-0.5.1/rendezvous/Client.c raop_play-0.5.1+iPhone/rendezvous/Client.c
+--- raop_play-0.5.1/rendezvous/Client.c 2005-12-16 14:17:02.000000000 +0000
++++ raop_play-0.5.1+iPhone/rendezvous/Client.c 2008-12-06 04:07:02.000000000 +0000
+@@ -83,5 +83,4 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <asm/types.h>
+
+diff -ru raop_play-0.5.1/rendezvous/mDNS.c raop_play-0.5.1+iPhone/rendezvous/mDNS.c
+--- raop_play-0.5.1/rendezvous/mDNS.c 2005-12-16 14:17:02.000000000 +0000
++++ raop_play-0.5.1+iPhone/rendezvous/mDNS.c 2008-12-06 03:44:38.000000000 +0000
+@@ -1139,7 +1139,6 @@
+
+ #include <stdio.h>
+ #include <string.h>
+-#include <asm/types.h>
+
+ static const struct mDNSprintf_format
+ {
diff --git a/data/raop-play/encrypt.diff b/data/raop-play/encrypt.diff
new file mode 100644
index 000000000..4df1e461e
--- /dev/null
+++ b/data/raop-play/encrypt.diff
@@ -0,0 +1,21 @@
+diff -ru raop_play-0.5.1/raop_play/raop_client.c raop_play-0.5.1+iPhone/raop_play/raop_client.c
+--- raop_play-0.5.1/raop_play/raop_client.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/raop_client.c 2008-12-06 03:45:11.000000000 +0000
+@@ -93,7 +93,7 @@
+ return size;
+ }
+
+-static int encrypt(raopcl_data_t *raopcld, __u8 *data, int size)
++static int _encrypt(raopcl_data_t *raopcld, __u8 *data, int size)
+ {
+ __u8 *buf;
+ //__u8 tmp[16];
+@@ -260,7 +260,7 @@
+ raopcld->data[2]=len>>8;
+ raopcld->data[3]=len&0xff;
+ memcpy(raopcld->data+header_size,sample,count);
+- encrypt(raopcld, raopcld->data+header_size, count);
++ _encrypt(raopcld, raopcld->data+header_size, count);
+ len=count+header_size;
+ raopcld->wblk_remsize=count+header_size;
+ raopcld->wblk_wsize=0;
diff --git a/data/raop-play/getline.diff b/data/raop-play/getline.diff
new file mode 100644
index 000000000..3205fd2ae
--- /dev/null
+++ b/data/raop-play/getline.diff
@@ -0,0 +1,37 @@
+diff -ru raop_play-0.5.1/raop_play/pls_stream.c raop_play-0.5.1+iPhone/raop_play/pls_stream.c
+--- raop_play-0.5.1/raop_play/pls_stream.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/pls_stream.c 2008-12-06 04:06:57.000000000 +0000
+@@ -29,6 +29,9 @@
+ #include "aexcl_lib.h"
+
+
++/* XXX: this is slightly wrong, but I don't think this code cares */
++#define getline(a, b, c) (fgets(*a, *b, c) == NULL ? -1 : strlen(*a))
++
+
+ static int str_termlf(char *line)
+ {
+diff -ru raop_play-0.5.1/rendezvous/Client.c raop_play-0.5.1+iPhone/rendezvous/Client.c
+--- raop_play-0.5.1/rendezvous/Client.c 2005-12-16 14:17:02.000000000 +0000
++++ raop_play-0.5.1+iPhone/rendezvous/Client.c 2008-12-06 04:07:02.000000000 +0000
+@@ -83,8 +83,11 @@
+ #include "mDNSClientAPI.h"// Defines the interface to the mDNS core code
+ #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform
+ #include "ExampleClientApp.h"
+ #include "mDNS.h"
+
++/* XXX: this is slightly wrong, but I don't think this code cares */
++#define getline(a, b, c) (fgets(*a, *b, c) == NULL ? -1 : strlen(*a))
++
+
+ // Globals
+ static mDNS mDNSStorage; // mDNS core uses this to store its globals
+@@ -106,7 +108,7 @@
+ char fname[128],wfname[128];
+ FILE *inf,*outf;
+ char *sline;
+- size_t linelen=128;
++ size_t linelen=128*128;
+ int i,ln,ws,cp1=0,cp2=0,cp3=0;
+
+ if(addr->type != mDNSAddrType_IPv4) return -1;
diff --git a/data/raop-play/linuxint.h b/data/raop-play/linuxint.h
new file mode 100644
index 000000000..fc5d48252
--- /dev/null
+++ b/data/raop-play/linuxint.h
@@ -0,0 +1,16 @@
+#ifndef LINUXINT_H_
+#define LINUXINT_H_
+
+#include <stdint.h>
+
+typedef int8_t __s8;
+typedef int16_t __s16;
+typedef int32_t __s32;
+typedef int64_t __s64;
+
+typedef uint8_t __u8;
+typedef uint16_t __u16;
+typedef uint32_t __u32;
+typedef uint64_t __u64;
+
+#endif/*LINUXINT_H_*/
diff --git a/data/raop-play/make.sh b/data/raop-play/make.sh
new file mode 100644
index 000000000..572b6a87a
--- /dev/null
+++ b/data/raop-play/make.sh
@@ -0,0 +1,5 @@
+pkg:setup
+pkg:configure
+cp -a "${PKG_DATA}"/linuxint.h raop_play
+make
+pkg:install
diff --git a/data/raop-play/raop_play-0.5.1.tar.gz b/data/raop-play/raop_play-0.5.1.tar.gz
new file mode 100644
index 000000000..3072fcdd4
--- /dev/null
+++ b/data/raop-play/raop_play-0.5.1.tar.gz
Binary files differ
diff --git a/data/raop-play/sa-ss_family.diff b/data/raop-play/sa-ss_family.diff
new file mode 100644
index 000000000..5eb523ed8
--- /dev/null
+++ b/data/raop-play/sa-ss_family.diff
@@ -0,0 +1,12 @@
+diff -ru raop_play-0.5.1/rendezvous/mDNSPosix.c raop_play-0.5.1+iPhone/rendezvous/mDNSPosix.c
+--- raop_play-0.5.1/rendezvous/mDNSPosix.c 2005-12-16 14:17:02.000000000 +0000
++++ raop_play-0.5.1+iPhone/rendezvous/mDNSPosix.c 2008-12-06 04:00:32.000000000 +0000
+@@ -303,7 +303,7 @@
+ err = 0;
+ thisIntf = (PosixNetworkInterface *)(InterfaceID);
+ if (dst->type == mDNSAddrType_IPv4)
+- err = sendto(thisIntf->multicastSocket, msg, (char*)end - (char*)msg, 0, (struct sockaddr *)&to, GET_SA_LEN(to));
++ err = sendto(thisIntf->multicastSocket, msg, (char*)end - (char*)msg, 0, (struct sockaddr *)&to, GET_SA_LEN(*(struct sockaddr *)&to));
+
+ #ifdef mDNSIPv6Support
+ else if (dst->type == mDNSAddrType_IPv6)
diff --git a/data/raop-play/ssl-crypto.diff b/data/raop-play/ssl-crypto.diff
new file mode 100644
index 000000000..c4fda6308
--- /dev/null
+++ b/data/raop-play/ssl-crypto.diff
@@ -0,0 +1,53 @@
+diff -ru raop_play-0.5.1/config.h.in raop_play-0.5.1+iPhone/config.h.in
+--- raop_play-0.5.1/config.h.in 2005-12-16 14:17:03.000000000 +0000
++++ raop_play-0.5.1+iPhone/config.h.in 2008-12-06 03:45:42.000000000 +0000
+@@ -42,7 +42,7 @@
+ /* Define to 1 if you have the `samplerate' library (-lsamplerate). */
+ #undef HAVE_LIBSAMPLERATE
+
+-/* Define to 1 if you have the `ssl' library (-lssl). */
++/* Define to 1 if you have the `ssl' library (-lcrypto). */
+ #undef HAVE_LIBSSL
+
+ /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
+diff -ru raop_play-0.5.1/configure raop_play-0.5.1+iPhone/configure
+--- raop_play-0.5.1/configure 2005-12-16 14:17:03.000000000 +0000
++++ raop_play-0.5.1+iPhone/configure 2008-12-06 03:45:45.000000000 +0000
+@@ -2579,13 +2579,13 @@
+ # Checks for libraries.
+
+
+-echo "$as_me:$LINENO: checking for RSA_new in -lssl" >&5
+-echo $ECHO_N "checking for RSA_new in -lssl... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for RSA_new in -lcrypto" >&5
++echo $ECHO_N "checking for RSA_new in -lcrypto... $ECHO_C" >&6
+ if test "${ac_cv_lib_ssl_RSA_new+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lssl $LIBS"
++LIBS="-lcrypto $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -2647,7 +2647,7 @@
+ #define HAVE_LIBSSL 1
+ _ACEOF
+
+- LIBS="-lssl $LIBS"
++ LIBS="-lcrypto $LIBS"
+
+ else
+
+diff -ru raop_play-0.5.1/raop_play/Makefile.in raop_play-0.5.1+iPhone/raop_play/Makefile.in
+--- raop_play-0.5.1/raop_play/Makefile.in 2005-12-16 14:17:00.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/Makefile.in 2008-12-06 03:45:42.000000000 +0000
+@@ -20,7 +20,7 @@
+ all: $(TARGET)
+
+ raop_play: $(OBJS)
+- $(CC) -o $@ -lssl -lsamplerate -lid3tag $^
++ $(CC) -o $@ -lcrypto -lsamplerate -lid3tag $^
+
+ install:
+ $(mkinstalldirs) $(DESTDIR)$(bindir)/
diff --git a/data/raop-play/strip.diff b/data/raop-play/strip.diff
new file mode 100644
index 000000000..2083c9a67
--- /dev/null
+++ b/data/raop-play/strip.diff
@@ -0,0 +1,47 @@
+diff -ru raop_play-0.5.1/aexcl/Makefile.in raop_play-0.5.1+iPhone/aexcl/Makefile.in
+--- raop_play-0.5.1/aexcl/Makefile.in 2005-12-16 14:17:00.000000000 +0000
++++ raop_play-0.5.1+iPhone/aexcl/Makefile.in 2008-12-06 04:21:59.000000000 +0000
+@@ -34,7 +34,7 @@
+
+ install:
+ $(mkinstalldirs) $(DESTDIR)$(bindir)/
+- $(INSTALL) -s $(TARGET) $(DESTDIR)$(bindir)
++ $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
+
+ uninstall:
+ rm -f $(DESTDIR)$(bindir)/$(TARGET)
+diff -ru raop_play-0.5.1/drivers/Makefile raop_play-0.5.1+iPhone/drivers/Makefile
+--- raop_play-0.5.1/drivers/Makefile 2005-12-16 14:17:02.000000000 +0000
++++ raop_play-0.5.1+iPhone/drivers/Makefile 2008-12-06 04:22:13.000000000 +0000
+@@ -17,7 +17,6 @@
+ install:
+ install -d $(MOD_INSTALL_DIR)
+ cp -f $(target_module).ko $(MOD_INSTALL_DIR) || exit 1
+- $(GCC_PREFIX)strip -g $(MOD_INSTALL_DIR)/$(target_module).ko || exit 1
+ depmod
+
+ clean:
+diff -ru raop_play-0.5.1/raop_play/Makefile.in raop_play-0.5.1+iPhone/raop_play/Makefile.in
+--- raop_play-0.5.1/raop_play/Makefile.in 2005-12-16 14:17:00.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/Makefile.in 2008-12-06 04:22:03.000000000 +0000
+@@ -24,7 +24,7 @@
+
+ install:
+ $(mkinstalldirs) $(DESTDIR)$(bindir)/
+- $(INSTALL) -s $(TARGET) $(DESTDIR)$(bindir)
++ $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
+
+ uninstall:
+ rm -f $(DESTDIR)$(bindir)/$(TARGET)
+diff -ru raop_play-0.5.1/rendezvous/Makefile.in raop_play-0.5.1+iPhone/rendezvous/Makefile.in
+--- raop_play-0.5.1/rendezvous/Makefile.in 2005-12-16 14:17:02.000000000 +0000
++++ raop_play-0.5.1+iPhone/rendezvous/Makefile.in 2008-12-06 04:22:07.000000000 +0000
+@@ -22,7 +22,7 @@
+
+ install:
+ $(mkinstalldirs) $(DESTDIR)$(bindir)/
+- $(INSTALL) -s $(TARGET) $(DESTDIR)$(bindir)
++ $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
+
+ uninstall:
+ rm -f $(DESTDIR)$(bindir)/$(TARGET)