summaryrefslogtreecommitdiff
path: root/packages/busybox/slingbox-1.3.1/slingbox.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/busybox/slingbox-1.3.1/slingbox.patch')
-rw-r--r--packages/busybox/slingbox-1.3.1/slingbox.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/packages/busybox/slingbox-1.3.1/slingbox.patch b/packages/busybox/slingbox-1.3.1/slingbox.patch
new file mode 100644
index 0000000000..d0af78596a
--- /dev/null
+++ b/packages/busybox/slingbox-1.3.1/slingbox.patch
@@ -0,0 +1,49 @@
+--- busybox-1.3.1.orig/applets/install.sh 2006-12-26 22:56:43.000000000 -0600
++++ busybox-1.3.1/applets/install.sh 2006-12-29 22:47:42.000000000 -0600
+@@ -39,8 +39,8 @@
+ done
+ fi
+
+-if [ "$cleanup" = "1" ] && [ -e "$prefix/bin/busybox" ]; then
+- inode=`ls -i "$prefix/bin/busybox" | awk '{print $1}'`
++if [ "$cleanup" = "1" ] && [ -e "$prefix/bin/slingbox" ]; then
++ inode=`ls -i "$prefix/bin/slingbox" | awk '{print $1}'`
+ sub_shell_it=`
+ cd "$prefix"
+ for d in usr/sbin usr/bin sbin bin ; do
+@@ -54,28 +54,28 @@
+ `
+ fi
+
+-rm -f $prefix/bin/busybox || exit 1
++rm -f $prefix/bin/slingbox || exit 1
+ mkdir -p $prefix/bin || exit 1
+-install -m 755 busybox $prefix/bin/busybox || exit 1
++install -m 755 busybox $prefix/bin/slingbox || exit 1
+
+ for i in $h ; do
+ appdir=`dirname $i`
+ mkdir -p $prefix/$appdir || exit 1
+ if [ "$2" = "--hardlinks" ]; then
+- bb_path="$prefix/bin/busybox"
++ bb_path="$prefix/bin/slingbox"
+ else
+ case "$appdir" in
+ /)
+- bb_path="bin/busybox"
++ bb_path="bin/slingbox"
+ ;;
+ /bin)
+- bb_path="busybox"
++ bb_path="slingbox"
+ ;;
+ /sbin)
+- bb_path="../bin/busybox"
++ bb_path="../bin/slingbox"
+ ;;
+ /usr/bin|/usr/sbin)
+- bb_path="../../bin/busybox"
++ bb_path="../../bin/slingbox"
+ ;;
+ *)
+ echo "Unknown installation directory: $appdir"