summaryrefslogtreecommitdiff
path: root/beagle/debian-rfs/bin
diff options
context:
space:
mode:
authorManuel Traut <manut@mecka.net>2011-04-29 09:09:27 +0200
committerManuel Traut <manut@mecka.net>2011-04-29 09:09:27 +0200
commit5238ad5a0c4a9e1c8cd036f5de4055e39bd71297 (patch)
tree4407c087b9fb5432b1dc11e70b52dacfa0b99feb /beagle/debian-rfs/bin
parent60ead65c41afba7e6aa4bbcf507a1d52f7a8fe9f (diff)
added debootstrap stuff
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'beagle/debian-rfs/bin')
-rwxr-xr-xbeagle/debian-rfs/bin/bashbin0 -> 790844 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/catbin0 -> 38996 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/chgrpbin0 -> 51244 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/chmodbin0 -> 48612 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/chownbin0 -> 53012 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/cpbin0 -> 93188 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/dashbin0 -> 88332 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/datebin0 -> 52588 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/ddbin0 -> 51176 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/dfbin0 -> 63496 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/dirbin0 -> 96092 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/dmesgbin0 -> 4752 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/dnsdomainnamebin0 -> 10972 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/domainnamebin0 -> 10972 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/echobin0 -> 18240 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/egrepbin0 -> 108780 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/falsebin0 -> 14940 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/fgrepbin0 -> 71836 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/grepbin0 -> 112884 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/gunzip3
-rwxr-xr-xbeagle/debian-rfs/bin/gzexe229
-rwxr-xr-xbeagle/debian-rfs/bin/gzipbin0 -> 59512 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/hostnamebin0 -> 10972 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/lnbin0 -> 47044 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/loginbin0 -> 35396 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/lsbin0 -> 96092 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/mkdirbin0 -> 27816 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/mknodbin0 -> 28468 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/mktempbin0 -> 32448 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/morebin0 -> 30696 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/mountbin0 -> 66072 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/mountpointbin0 -> 4816 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/mvbin0 -> 86416 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/nisdomainnamebin0 -> 10972 bytes
l---------beagle/debian-rfs/bin/pidof1
-rwxr-xr-xbeagle/debian-rfs/bin/pwdbin0 -> 25068 bytes
l---------beagle/debian-rfs/bin/rbash1
-rwxr-xr-xbeagle/debian-rfs/bin/readlinkbin0 -> 37748 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/rmbin0 -> 52516 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/rmdirbin0 -> 22380 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/run-partsbin0 -> 11972 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/sedbin0 -> 51720 bytes
l---------beagle/debian-rfs/bin/sh1
-rwxr-xr-xbeagle/debian-rfs/bin/sleepbin0 -> 24276 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/sttybin0 -> 43132 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/subin0 -> 27644 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/syncbin0 -> 19636 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/tailfbin0 -> 6412 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/tarbin0 -> 310636 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/tempfilebin0 -> 5864 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/touchbin0 -> 41828 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/truebin0 -> 14936 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/umountbin0 -> 44948 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/unamebin0 -> 22356 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/uncompress3
-rwxr-xr-xbeagle/debian-rfs/bin/vdirbin0 -> 96092 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/which63
-rwxr-xr-xbeagle/debian-rfs/bin/ypdomainnamebin0 -> 10972 bytes
-rwxr-xr-xbeagle/debian-rfs/bin/zcat3
-rwxr-xr-xbeagle/debian-rfs/bin/zcmp3
-rwxr-xr-xbeagle/debian-rfs/bin/zdiff161
-rwxr-xr-xbeagle/debian-rfs/bin/zegrep3
-rwxr-xr-xbeagle/debian-rfs/bin/zfgrep3
-rwxr-xr-xbeagle/debian-rfs/bin/zforce71
-rwxr-xr-xbeagle/debian-rfs/bin/zgrep209
-rwxr-xr-xbeagle/debian-rfs/bin/zless53
-rwxr-xr-xbeagle/debian-rfs/bin/zmore88
-rwxr-xr-xbeagle/debian-rfs/bin/znew183
68 files changed, 1078 insertions, 0 deletions
diff --git a/beagle/debian-rfs/bin/bash b/beagle/debian-rfs/bin/bash
new file mode 100755
index 0000000..ff11d78
--- /dev/null
+++ b/beagle/debian-rfs/bin/bash
Binary files differ
diff --git a/beagle/debian-rfs/bin/cat b/beagle/debian-rfs/bin/cat
new file mode 100755
index 0000000..66c2361
--- /dev/null
+++ b/beagle/debian-rfs/bin/cat
Binary files differ
diff --git a/beagle/debian-rfs/bin/chgrp b/beagle/debian-rfs/bin/chgrp
new file mode 100755
index 0000000..4dc4fcc
--- /dev/null
+++ b/beagle/debian-rfs/bin/chgrp
Binary files differ
diff --git a/beagle/debian-rfs/bin/chmod b/beagle/debian-rfs/bin/chmod
new file mode 100755
index 0000000..baa72d4
--- /dev/null
+++ b/beagle/debian-rfs/bin/chmod
Binary files differ
diff --git a/beagle/debian-rfs/bin/chown b/beagle/debian-rfs/bin/chown
new file mode 100755
index 0000000..1fcd6ab
--- /dev/null
+++ b/beagle/debian-rfs/bin/chown
Binary files differ
diff --git a/beagle/debian-rfs/bin/cp b/beagle/debian-rfs/bin/cp
new file mode 100755
index 0000000..0e5c98d
--- /dev/null
+++ b/beagle/debian-rfs/bin/cp
Binary files differ
diff --git a/beagle/debian-rfs/bin/dash b/beagle/debian-rfs/bin/dash
new file mode 100755
index 0000000..9dc72bc
--- /dev/null
+++ b/beagle/debian-rfs/bin/dash
Binary files differ
diff --git a/beagle/debian-rfs/bin/date b/beagle/debian-rfs/bin/date
new file mode 100755
index 0000000..1320f00
--- /dev/null
+++ b/beagle/debian-rfs/bin/date
Binary files differ
diff --git a/beagle/debian-rfs/bin/dd b/beagle/debian-rfs/bin/dd
new file mode 100755
index 0000000..90dc11d
--- /dev/null
+++ b/beagle/debian-rfs/bin/dd
Binary files differ
diff --git a/beagle/debian-rfs/bin/df b/beagle/debian-rfs/bin/df
new file mode 100755
index 0000000..86ca256
--- /dev/null
+++ b/beagle/debian-rfs/bin/df
Binary files differ
diff --git a/beagle/debian-rfs/bin/dir b/beagle/debian-rfs/bin/dir
new file mode 100755
index 0000000..6dfb0da
--- /dev/null
+++ b/beagle/debian-rfs/bin/dir
Binary files differ
diff --git a/beagle/debian-rfs/bin/dmesg b/beagle/debian-rfs/bin/dmesg
new file mode 100755
index 0000000..7d0200e
--- /dev/null
+++ b/beagle/debian-rfs/bin/dmesg
Binary files differ
diff --git a/beagle/debian-rfs/bin/dnsdomainname b/beagle/debian-rfs/bin/dnsdomainname
new file mode 100755
index 0000000..1e4f9a3
--- /dev/null
+++ b/beagle/debian-rfs/bin/dnsdomainname
Binary files differ
diff --git a/beagle/debian-rfs/bin/domainname b/beagle/debian-rfs/bin/domainname
new file mode 100755
index 0000000..1e4f9a3
--- /dev/null
+++ b/beagle/debian-rfs/bin/domainname
Binary files differ
diff --git a/beagle/debian-rfs/bin/echo b/beagle/debian-rfs/bin/echo
new file mode 100755
index 0000000..27b70eb
--- /dev/null
+++ b/beagle/debian-rfs/bin/echo
Binary files differ
diff --git a/beagle/debian-rfs/bin/egrep b/beagle/debian-rfs/bin/egrep
new file mode 100755
index 0000000..735306a
--- /dev/null
+++ b/beagle/debian-rfs/bin/egrep
Binary files differ
diff --git a/beagle/debian-rfs/bin/false b/beagle/debian-rfs/bin/false
new file mode 100755
index 0000000..f389bac
--- /dev/null
+++ b/beagle/debian-rfs/bin/false
Binary files differ
diff --git a/beagle/debian-rfs/bin/fgrep b/beagle/debian-rfs/bin/fgrep
new file mode 100755
index 0000000..c0f00f3
--- /dev/null
+++ b/beagle/debian-rfs/bin/fgrep
Binary files differ
diff --git a/beagle/debian-rfs/bin/grep b/beagle/debian-rfs/bin/grep
new file mode 100755
index 0000000..54bd9f6
--- /dev/null
+++ b/beagle/debian-rfs/bin/grep
Binary files differ
diff --git a/beagle/debian-rfs/bin/gunzip b/beagle/debian-rfs/bin/gunzip
new file mode 100755
index 0000000..072bead
--- /dev/null
+++ b/beagle/debian-rfs/bin/gunzip
@@ -0,0 +1,3 @@
+#!/bin/bash
+PATH=${GZIP_BINDIR-'/bin'}:$PATH
+exec gzip -d "$@"
diff --git a/beagle/debian-rfs/bin/gzexe b/beagle/debian-rfs/bin/gzexe
new file mode 100755
index 0000000..b72741e
--- /dev/null
+++ b/beagle/debian-rfs/bin/gzexe
@@ -0,0 +1,229 @@
+#!/bin/bash
+# gzexe: compressor for Unix executables.
+# Use this only for binaries that you do not use frequently.
+#
+# The compressed version is a shell script which decompresses itself after
+# skipping $skip lines of shell commands. We try invoking the compressed
+# executable with the original name (for programs looking at their name).
+# We also try to retain the original file permissions on the compressed file.
+# For safety reasons, gzexe will not create setuid or setgid shell scripts.
+
+# WARNING: the first line of this file must be either : or #!/bin/bash
+# The : is required for some old versions of csh.
+# On Ultrix, /bin/bash is too buggy, change the first line to: #!/bin/bash5
+
+
+# Copyright (C) 1998, 2002, 2004, 2006, 2007 Free Software Foundation
+# Copyright (C) 1993 Jean-loup Gailly
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+tab=' '
+nl='
+'
+IFS=" $tab$nl"
+
+version='gzexe (gzip) 1.3.12
+Copyright (C) 2007 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Jean-loup Gailly.'
+
+usage="Usage: $0 [OPTION] FILE...
+Rename each FILE with a compressed version of itself, renaming FILE to FILE~.
+
+ -d Decompress each FILE instead of compressing it.
+ --help display this help and exit
+ --version output version information and exit
+
+Report bugs to <bug-gzip@gnu.org>."
+
+
+PATH="${GZIP_BINDIR-'/bin'}:$PATH"
+
+decomp=0
+res=0
+while :; do
+ case $1 in
+ -d) decomp=1; shift;;
+ --h*) exec echo "$usage";;
+ --v*) exec echo "$version";;
+ --) shift; break;;
+ *) break;;
+ esac
+done
+
+if test $# -eq 0; then
+ echo >&2 "$0: missing operand
+Try \`$0 --help' for more information."
+ exit 1
+fi
+
+tmp=
+trap 'res=$?
+ test -n "$tmp" && rm -f "$tmp"
+ (exit $res); exit $res
+' 0 1 2 3 5 10 13 15
+
+mktemp_status=
+
+for i do
+ case $i in
+ -*) file=./$i;;
+ *) file=$i;;
+ esac
+ if test ! -f "$file" || test ! -r "$file"; then
+ res=$?
+ echo >&2 "$0: $i is not a readable regular file"
+ continue
+ fi
+ if test $decomp -eq 0; then
+ if sed -e 1d -e 2q "$file" | grep "^skip=[0-9][0-9]*$" >/dev/null; then
+ echo >&2 "$0: $i is already gzexe'd"
+ continue
+ fi
+ fi
+ if test -u "$file"; then
+ echo >&2 "$0: $i has setuid permission, unchanged"
+ continue
+ fi
+ if test -g "$file"; then
+ echo >&2 "$0: $i has setgid permission, unchanged"
+ continue
+ fi
+ case /$file in
+ */basename | */bash | */cat | */chmod | */cp | \
+ */dirname | */echo | */expr | */gzip | \
+ */ln | */mkdir | */mktemp | */mv | */rm | \
+ */sed | */sh | */sleep | */test | */tail)
+ echo >&2 "$0: $i might depend on itself"; continue;;
+ esac
+
+ dir=`dirname "$file"` || dir=$TMPDIR
+ test -d "$dir" && test -w "$dir" && test -x "$dir" || dir=/tmp
+ test -n "$tmp" && rm -f "$tmp"
+ if test -z "$mktemp_status"; then
+ type mktemp >/dev/null 2>&1
+ mktemp_status=$?
+ fi
+ if test $mktemp_status -eq 0; then
+ tmp=`TMPDIR=$dir mktemp -t gzexeXXXXXX`
+ else
+ tmp=$dir/gzexe$$
+ fi && { cp -p "$file" "$tmp" 2>/dev/null || cp "$file" "$tmp"; } || {
+ res=$?
+ echo >&2 "$0: cannot copy $file"
+ continue
+ }
+ if test -w "$tmp"; then
+ writable=1
+ else
+ writable=0
+ chmod u+w "$tmp" || {
+ res=$?
+ echo >&2 "$0: cannot chmod $tmp"
+ continue
+ }
+ fi
+ if test $decomp -eq 0; then
+ (cat <<'EOF' &&
+#!/bin/bash
+skip=44
+
+tab=' '
+nl='
+'
+IFS=" $tab$nl"
+
+umask=`umask`
+umask 77
+
+gztmpdir=
+trap 'res=$?
+ test -n "$gztmpdir" && rm -fr "$gztmpdir"
+ (exit $res); exit $res
+' 0 1 2 3 5 10 13 15
+
+if type mktemp >/dev/null 2>&1; then
+ gztmpdir=`mktemp -dt`
+else
+ gztmpdir=/tmp/gztmp$$; mkdir $gztmpdir
+fi || { (exit 127); exit 127; }
+
+gztmp=$gztmpdir/$0
+case $0 in
+-* | */*'
+') mkdir -p "$gztmp" && rm -r "$gztmp";;
+*/*) gztmp=$gztmpdir/`basename "$0"`;;
+esac || { (exit 127); exit 127; }
+
+case `echo X | tail -n +1 2>/dev/null` in
+X) tail_n=-n;;
+*) tail_n=;;
+esac
+if tail $tail_n +$skip <"$0" | gzip -cd > "$gztmp"; then
+ umask $umask
+ chmod 700 "$gztmp"
+ (sleep 5; rm -fr "$gztmpdir") 2>/dev/null &
+ "$gztmp" ${1+"$@"}; res=$?
+else
+ echo >&2 "Cannot decompress $0"
+ (exit 127); res=127
+fi; exit $res
+EOF
+ gzip -cv9 "$file") > "$tmp" || {
+ res=$?
+ echo >&2 "$0: compression not possible for $i, file unchanged."
+ continue
+ }
+
+ else
+ # decompression
+ skip=44
+ skip_line=`sed -e 1d -e 2q "$file"`
+ case $skip_line in
+ skip=[0-9] | skip=[0-9][0-9] | skip=[0-9][0-9][0-9])
+ eval "$skip_line";;
+ esac
+ case `echo X | tail -n +1 2>/dev/null` in
+ X) tail_n=-n;;
+ *) tail_n=;;
+ esac
+ tail $tail_n +$skip "$file" | gzip -cd > "$tmp" || {
+ res=$?
+ echo >&2 "$0: $i probably not in gzexe format, file unchanged."
+ continue
+ }
+ fi
+ test $writable -eq 1 || chmod u-w "$tmp" || {
+ res=$?
+ echo >&2 "$0: $tmp: cannot chmod"
+ continue
+ }
+ ln -f "$file" "$file~" || {
+ res=$?
+ echo >&2 "$0: cannot backup $i as $i~"
+ continue
+ }
+ mv -f "$tmp" "$file" || {
+ res=$?
+ echo >&2 "$0: cannot rename $tmp to $i"
+ continue
+ }
+ tmp=
+done
+(exit $res); exit $res
diff --git a/beagle/debian-rfs/bin/gzip b/beagle/debian-rfs/bin/gzip
new file mode 100755
index 0000000..9038edc
--- /dev/null
+++ b/beagle/debian-rfs/bin/gzip
Binary files differ
diff --git a/beagle/debian-rfs/bin/hostname b/beagle/debian-rfs/bin/hostname
new file mode 100755
index 0000000..1e4f9a3
--- /dev/null
+++ b/beagle/debian-rfs/bin/hostname
Binary files differ
diff --git a/beagle/debian-rfs/bin/ln b/beagle/debian-rfs/bin/ln
new file mode 100755
index 0000000..ef8c6c8
--- /dev/null
+++ b/beagle/debian-rfs/bin/ln
Binary files differ
diff --git a/beagle/debian-rfs/bin/login b/beagle/debian-rfs/bin/login
new file mode 100755
index 0000000..84b70cc
--- /dev/null
+++ b/beagle/debian-rfs/bin/login
Binary files differ
diff --git a/beagle/debian-rfs/bin/ls b/beagle/debian-rfs/bin/ls
new file mode 100755
index 0000000..3de8693
--- /dev/null
+++ b/beagle/debian-rfs/bin/ls
Binary files differ
diff --git a/beagle/debian-rfs/bin/mkdir b/beagle/debian-rfs/bin/mkdir
new file mode 100755
index 0000000..ebbaaff
--- /dev/null
+++ b/beagle/debian-rfs/bin/mkdir
Binary files differ
diff --git a/beagle/debian-rfs/bin/mknod b/beagle/debian-rfs/bin/mknod
new file mode 100755
index 0000000..bbc61f8
--- /dev/null
+++ b/beagle/debian-rfs/bin/mknod
Binary files differ
diff --git a/beagle/debian-rfs/bin/mktemp b/beagle/debian-rfs/bin/mktemp
new file mode 100755
index 0000000..f1c70b0
--- /dev/null
+++ b/beagle/debian-rfs/bin/mktemp
Binary files differ
diff --git a/beagle/debian-rfs/bin/more b/beagle/debian-rfs/bin/more
new file mode 100755
index 0000000..6596a63
--- /dev/null
+++ b/beagle/debian-rfs/bin/more
Binary files differ
diff --git a/beagle/debian-rfs/bin/mount b/beagle/debian-rfs/bin/mount
new file mode 100755
index 0000000..9238343
--- /dev/null
+++ b/beagle/debian-rfs/bin/mount
Binary files differ
diff --git a/beagle/debian-rfs/bin/mountpoint b/beagle/debian-rfs/bin/mountpoint
new file mode 100755
index 0000000..0b15539
--- /dev/null
+++ b/beagle/debian-rfs/bin/mountpoint
Binary files differ
diff --git a/beagle/debian-rfs/bin/mv b/beagle/debian-rfs/bin/mv
new file mode 100755
index 0000000..640f61f
--- /dev/null
+++ b/beagle/debian-rfs/bin/mv
Binary files differ
diff --git a/beagle/debian-rfs/bin/nisdomainname b/beagle/debian-rfs/bin/nisdomainname
new file mode 100755
index 0000000..1e4f9a3
--- /dev/null
+++ b/beagle/debian-rfs/bin/nisdomainname
Binary files differ
diff --git a/beagle/debian-rfs/bin/pidof b/beagle/debian-rfs/bin/pidof
new file mode 120000
index 0000000..bca2a3a
--- /dev/null
+++ b/beagle/debian-rfs/bin/pidof
@@ -0,0 +1 @@
+/sbin/killall5 \ No newline at end of file
diff --git a/beagle/debian-rfs/bin/pwd b/beagle/debian-rfs/bin/pwd
new file mode 100755
index 0000000..624ed0d
--- /dev/null
+++ b/beagle/debian-rfs/bin/pwd
Binary files differ
diff --git a/beagle/debian-rfs/bin/rbash b/beagle/debian-rfs/bin/rbash
new file mode 120000
index 0000000..f4d7fa5
--- /dev/null
+++ b/beagle/debian-rfs/bin/rbash
@@ -0,0 +1 @@
+bash \ No newline at end of file
diff --git a/beagle/debian-rfs/bin/readlink b/beagle/debian-rfs/bin/readlink
new file mode 100755
index 0000000..3e2c1ab
--- /dev/null
+++ b/beagle/debian-rfs/bin/readlink
Binary files differ
diff --git a/beagle/debian-rfs/bin/rm b/beagle/debian-rfs/bin/rm
new file mode 100755
index 0000000..ee8021f
--- /dev/null
+++ b/beagle/debian-rfs/bin/rm
Binary files differ
diff --git a/beagle/debian-rfs/bin/rmdir b/beagle/debian-rfs/bin/rmdir
new file mode 100755
index 0000000..6d8e2e2
--- /dev/null
+++ b/beagle/debian-rfs/bin/rmdir
Binary files differ
diff --git a/beagle/debian-rfs/bin/run-parts b/beagle/debian-rfs/bin/run-parts
new file mode 100755
index 0000000..e6d1c38
--- /dev/null
+++ b/beagle/debian-rfs/bin/run-parts
Binary files differ
diff --git a/beagle/debian-rfs/bin/sed b/beagle/debian-rfs/bin/sed
new file mode 100755
index 0000000..c1775d7
--- /dev/null
+++ b/beagle/debian-rfs/bin/sed
Binary files differ
diff --git a/beagle/debian-rfs/bin/sh b/beagle/debian-rfs/bin/sh
new file mode 120000
index 0000000..7e03e4f
--- /dev/null
+++ b/beagle/debian-rfs/bin/sh
@@ -0,0 +1 @@
+dash \ No newline at end of file
diff --git a/beagle/debian-rfs/bin/sleep b/beagle/debian-rfs/bin/sleep
new file mode 100755
index 0000000..48880ed
--- /dev/null
+++ b/beagle/debian-rfs/bin/sleep
Binary files differ
diff --git a/beagle/debian-rfs/bin/stty b/beagle/debian-rfs/bin/stty
new file mode 100755
index 0000000..52e7e9e
--- /dev/null
+++ b/beagle/debian-rfs/bin/stty
Binary files differ
diff --git a/beagle/debian-rfs/bin/su b/beagle/debian-rfs/bin/su
new file mode 100755
index 0000000..e19699b
--- /dev/null
+++ b/beagle/debian-rfs/bin/su
Binary files differ
diff --git a/beagle/debian-rfs/bin/sync b/beagle/debian-rfs/bin/sync
new file mode 100755
index 0000000..7170210
--- /dev/null
+++ b/beagle/debian-rfs/bin/sync
Binary files differ
diff --git a/beagle/debian-rfs/bin/tailf b/beagle/debian-rfs/bin/tailf
new file mode 100755
index 0000000..bda4022
--- /dev/null
+++ b/beagle/debian-rfs/bin/tailf
Binary files differ
diff --git a/beagle/debian-rfs/bin/tar b/beagle/debian-rfs/bin/tar
new file mode 100755
index 0000000..dade48c
--- /dev/null
+++ b/beagle/debian-rfs/bin/tar
Binary files differ
diff --git a/beagle/debian-rfs/bin/tempfile b/beagle/debian-rfs/bin/tempfile
new file mode 100755
index 0000000..fd4c7ee
--- /dev/null
+++ b/beagle/debian-rfs/bin/tempfile
Binary files differ
diff --git a/beagle/debian-rfs/bin/touch b/beagle/debian-rfs/bin/touch
new file mode 100755
index 0000000..5115bcd
--- /dev/null
+++ b/beagle/debian-rfs/bin/touch
Binary files differ
diff --git a/beagle/debian-rfs/bin/true b/beagle/debian-rfs/bin/true
new file mode 100755
index 0000000..a74dfe6
--- /dev/null
+++ b/beagle/debian-rfs/bin/true
Binary files differ
diff --git a/beagle/debian-rfs/bin/umount b/beagle/debian-rfs/bin/umount
new file mode 100755
index 0000000..91074eb
--- /dev/null
+++ b/beagle/debian-rfs/bin/umount
Binary files differ
diff --git a/beagle/debian-rfs/bin/uname b/beagle/debian-rfs/bin/uname
new file mode 100755
index 0000000..34f3e70
--- /dev/null
+++ b/beagle/debian-rfs/bin/uname
Binary files differ
diff --git a/beagle/debian-rfs/bin/uncompress b/beagle/debian-rfs/bin/uncompress
new file mode 100755
index 0000000..072bead
--- /dev/null
+++ b/beagle/debian-rfs/bin/uncompress
@@ -0,0 +1,3 @@
+#!/bin/bash
+PATH=${GZIP_BINDIR-'/bin'}:$PATH
+exec gzip -d "$@"
diff --git a/beagle/debian-rfs/bin/vdir b/beagle/debian-rfs/bin/vdir
new file mode 100755
index 0000000..bb9f3d5
--- /dev/null
+++ b/beagle/debian-rfs/bin/vdir
Binary files differ
diff --git a/beagle/debian-rfs/bin/which b/beagle/debian-rfs/bin/which
new file mode 100755
index 0000000..5b2329d
--- /dev/null
+++ b/beagle/debian-rfs/bin/which
@@ -0,0 +1,63 @@
+#! /bin/sh
+set -ef
+
+if test -n "$KSH_VERSION"; then
+ puts() {
+ print -r -- "$*"
+ }
+else
+ puts() {
+ printf '%s\n' "$*"
+ }
+fi
+
+ALLMATCHES=0
+
+while getopts a whichopts
+do
+ case "$whichopts" in
+ a) ALLMATCHES=1 ;;
+ ?) puts "Usage: $0 [-a] args"; exit 2 ;;
+ esac
+done
+shift $(($OPTIND - 1))
+
+if [ "$#" -eq 0 ]; then
+ ALLRET=1
+else
+ ALLRET=0
+fi
+case $PATH in
+ (*[!:]:) PATH="$PATH:" ;;
+esac
+for PROGRAM in "$@"; do
+ RET=1
+ IFS_SAVE="$IFS"
+ IFS=:
+ case $PROGRAM in
+ */*)
+ if [ -f "$PROGRAM" ] && [ -x "$PROGRAM" ]; then
+ puts "$PROGRAM"
+ RET=0
+ fi
+ ;;
+ *)
+ for ELEMENT in $PATH; do
+ if [ -z "$ELEMENT" ]; then
+ ELEMENT=.
+ fi
+ if [ -f "$ELEMENT/$PROGRAM" ] && [ -x "$ELEMENT/$PROGRAM" ]; then
+ puts "$ELEMENT/$PROGRAM"
+ RET=0
+ [ "$ALLMATCHES" -eq 1 ] || break
+ fi
+ done
+ ;;
+ esac
+ IFS="$IFS_SAVE"
+ if [ "$RET" -ne 0 ]; then
+ ALLRET=1
+ fi
+done
+
+exit "$ALLRET"
diff --git a/beagle/debian-rfs/bin/ypdomainname b/beagle/debian-rfs/bin/ypdomainname
new file mode 100755
index 0000000..1e4f9a3
--- /dev/null
+++ b/beagle/debian-rfs/bin/ypdomainname
Binary files differ
diff --git a/beagle/debian-rfs/bin/zcat b/beagle/debian-rfs/bin/zcat
new file mode 100755
index 0000000..50ec10f
--- /dev/null
+++ b/beagle/debian-rfs/bin/zcat
@@ -0,0 +1,3 @@
+#!/bin/bash
+PATH=${GZIP_BINDIR-'/bin'}:$PATH
+exec gzip -cd "$@"
diff --git a/beagle/debian-rfs/bin/zcmp b/beagle/debian-rfs/bin/zcmp
new file mode 100755
index 0000000..2059ccc
--- /dev/null
+++ b/beagle/debian-rfs/bin/zcmp
@@ -0,0 +1,3 @@
+#!/bin/bash
+PATH=${GZIP_BINDIR-'/bin'}:$PATH
+exec zdiff --__cmp "$@"
diff --git a/beagle/debian-rfs/bin/zdiff b/beagle/debian-rfs/bin/zdiff
new file mode 100755
index 0000000..5e1ae01
--- /dev/null
+++ b/beagle/debian-rfs/bin/zdiff
@@ -0,0 +1,161 @@
+#!/bin/bash
+# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
+
+# Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation
+# Copyright (C) 1993 Jean-loup Gailly
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+PATH=${GZIP_BINDIR-'/bin'}:$PATH
+
+case $1 in
+ --__cmp) shift
+ prog=cmp; cmp='${CMP-cmp}' ;;
+ *) prog=diff; cmp='${DIFF-diff}';;
+esac
+
+version="z$prog (gzip) 1.3.12
+Copyright (C) 2007 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Jean-loup Gailly."
+
+usage="Usage: $0 [OPTION]... FILE1 [FILE2]
+Compare FILE1 to FILE2, using their uncompressed contents if they are
+compressed. If FILE2 is omitted, compare FILE1 to the uncompressed
+contents of FILE1.gz. Do comparisons like '$prog' does.
+
+OPTIONs are the same as for '$prog'.
+
+Report bugs to <bug-gzip@gnu.org>."
+
+# sed script to escape all ' for the shell, and then (to handle trailing
+# newlines correctly) turn trailing X on last line into '.
+escape='
+ s/'\''/'\''\\'\'''\''/g
+ $s/X$/'\''/
+'
+
+while :; do
+ case $1 in
+ --h*) printf '%s\n' "$usage" || exit 2; exit;;
+ --v*) echo "$version" || exit 2; exit;;
+ --) shift; break;;
+ -*\'*) cmp="$cmp '"`printf '%sX\n' "$1" | sed "$escape"`;;
+ -?*) cmp="$cmp '$1'";;
+ *) break;;
+ esac
+ shift
+done
+cmp="$cmp --"
+
+for file
+do
+ test "X$file" = X- || <"$file" || exit 2
+done
+
+gzip_status=0
+exec 3>&1
+
+if test $# -eq 1; then
+ case $1 in
+ *[-.]gz* | *[-.][zZ] | *.t[ga]z)
+ FILE=`expr "X$1" : 'X\(.*\)[-.][zZtga]*$'`
+ gzip_status=$(
+ exec 4>&1
+ (gzip -cd -- "$1" 4>&-; echo $? >&4) 3>&- | eval "$cmp" - '"$FILE"' >&3
+ );;
+ *)
+ echo >&2 "$0: $1: unknown compressed file extension"
+ exit 2;;
+ esac
+elif test $# -eq 2; then
+ case "$1" in
+ *[-.]gz* | *[-.][zZ] | *.t[ga]z | -)
+ case "$2" in
+ *[-.]gz* | *[-.][zZ] | *.t[ga]z | -)
+ if test "$1$2" = --; then
+ gzip_status=$(
+ exec 4>&1
+ (gzip -cdfq - 4>&-; echo $? >&4) 3>&- |
+ eval "$cmp" - - >&3
+ )
+ elif
+ # Reject Solaris 8's buggy /bin/bash 2.03.
+ echo X |
+ (echo X | eval "$cmp" /dev/fd/5 - >/dev/null 2>&1) \
+ 5<&0
+ then
+ gzip_status=$(
+ exec 4>&1
+ (gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- |
+ ( (gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- </dev/null |
+ eval "$cmp" /dev/fd/5 - >&3) 5<&0
+ )
+ case $gzip_status in
+ *[1-9]*) gzip_status=1;;
+ *) gzip_status=0;;
+ esac
+ else
+ F=`expr "/$2" : '.*/\(.*\)[-.][zZtga]*$'` || F=$prog
+ tmp=
+ trap '
+ test -n "$tmp" && rm -f "$tmp"
+ (exit 2); exit 2
+ ' HUP INT PIPE TERM 0
+ if type mktemp >/dev/null 2>&1; then
+ tmp=`mktemp -t -- "$F.XXXXXX"` || exit 2
+ else
+ set -C
+ tmp=${TMPDIR-/tmp}/$F.$$
+ fi
+ gzip -cdfq -- "$2" > "$tmp" || exit 2
+ gzip_status=$(
+ exec 4>&1
+ (gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- |
+ eval "$cmp" - '"$tmp"' >&3
+ )
+ cmp_status=$?
+ rm -f "$tmp" || gzip_status=$?
+ trap - HUP INT PIPE TERM 0
+ (exit $cmp_status)
+ fi;;
+ *)
+ gzip_status=$(
+ exec 4>&1
+ (gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- |
+ eval "$cmp" - '"$2"' >&3
+ );;
+ esac;;
+ *) case "$2" in
+ *[-.]gz* | *[-.][zZ] | *.t[ga]z | -)
+ gzip_status=$(
+ exec 4>&1
+ (gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- |
+ eval "$cmp" '"$1"' - >&3
+ );;
+ *) eval "$cmp" '"$1"' '"$2"';;
+ esac;;
+ esac
+else
+ echo >&2 "$0: invalid number of operands; try \`$0 --help' for help"
+ exit 2
+fi
+
+cmp_status=$?
+test "$gzip_status" -eq 0 || exit 2
+exit $cmp_status
diff --git a/beagle/debian-rfs/bin/zegrep b/beagle/debian-rfs/bin/zegrep
new file mode 100755
index 0000000..d6a8424
--- /dev/null
+++ b/beagle/debian-rfs/bin/zegrep
@@ -0,0 +1,3 @@
+#!/bin/bash
+PATH=${GZIP_BINDIR-'/bin'}:$PATH
+exec zgrep -E "$@"
diff --git a/beagle/debian-rfs/bin/zfgrep b/beagle/debian-rfs/bin/zfgrep
new file mode 100755
index 0000000..cfae653
--- /dev/null
+++ b/beagle/debian-rfs/bin/zfgrep
@@ -0,0 +1,3 @@
+#!/bin/bash
+PATH=${GZIP_BINDIR-'/bin'}:$PATH
+exec zgrep -F "$@"
diff --git a/beagle/debian-rfs/bin/zforce b/beagle/debian-rfs/bin/zforce
new file mode 100755
index 0000000..02733ef
--- /dev/null
+++ b/beagle/debian-rfs/bin/zforce
@@ -0,0 +1,71 @@
+#!/bin/bash
+# zforce: force a gz extension on all gzip files so that gzip will not
+# compress them twice.
+#
+# This can be useful for files with names truncated after a file transfer.
+# 12345678901234 is renamed to 12345678901.gz
+
+
+# Copyright (C) 2002, 2007 Free Software Foundation
+# Copyright (C) 1993 Jean-loup Gailly
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+PATH="${GZIP_BINDIR-'/bin'}:$PATH"; export PATH
+
+version="zforce (gzip) 1.3.12
+Copyright (C) 2007 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Jean-loup Gailly."
+
+usage="Usage: $0 [FILE]...
+Force a .gz extension on all compressed FILEs so that gzip will
+not compress them twice.
+
+Report bugs to <bug-gzip@gnu.org>."
+
+if test $# = 0; then
+ echo "$usage"
+ exit 1
+fi
+
+res=0
+for i do
+ case "$i" in
+ --h*) exec echo "$usage";;
+ --v*) exec echo "$version";;
+ *[-.]z | *[-.]gz | *.t[ag]z) continue;;
+ esac
+
+ if test ! -f "$i" ; then
+ echo zforce: $i not a file
+ res=1
+ continue
+ fi
+
+ if gzip -lv < "$i" 2>/dev/null | grep '^defl' > /dev/null; then
+
+ new="$i.gz"
+ if mv "$i" "$new"; then
+ echo $i -- replaced with $new
+ else
+ res=$?
+ fi
+ fi
+done
+exit $res
diff --git a/beagle/debian-rfs/bin/zgrep b/beagle/debian-rfs/bin/zgrep
new file mode 100755
index 0000000..0937ac3
--- /dev/null
+++ b/beagle/debian-rfs/bin/zgrep
@@ -0,0 +1,209 @@
+#!/bin/bash
+
+# zgrep -- a wrapper around a grep program that decompresses files as needed
+# Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
+
+# Copyright (C) 1998, 2001, 2002, 2006, 2007 Free Software Foundation
+# Copyright (C) 1993 Jean-loup Gailly
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+PATH=${GZIP_BINDIR-'/bin'}:$PATH
+grep='${GREP-grep}'
+
+version='z$grep (gzip) 1.3.12
+Copyright (C) 2007 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Jean-loup Gailly.'
+
+usage="Usage: $0 [OPTION]... [-e] PATTERN [FILE]...
+Look for instances of PATTERN in the input FILEs, using their
+uncompressed contents if they are compressed.
+
+OPTIONs are the same as for 'grep'.
+
+Report bugs to <bug-gzip@gnu.org>."
+
+# sed script to escape all ' for the shell, and then (to handle trailing
+# newlines correctly) turn trailing X on last line into '.
+escape='
+ s/'\''/'\''\\'\'''\''/g
+ $s/X$/'\''/
+'
+operands=
+have_pat=0
+pat_on_stdin=0
+files_with_matches=0
+files_without_matches=0
+no_filename=0
+with_filename=0
+
+while test $# -ne 0; do
+ option=$1
+ shift
+ optarg=
+
+ case $option in
+ (-[0123456789abcdhHiIKLlnoqrRsTuUvVwxyzZ]?*)
+ arg2=-\'$(expr "X${option}X" : 'X-.[0-9]*\(.*\)' | sed "$escape")
+ eval "set -- $arg2 "'${1+"$@"}'
+ option=$(expr "X$option" : 'X\(-.[0-9]*\)');;
+ (--binary-*=* | --[lm]a*=* | --reg*=*)
+ ;;
+ (-[ABCDefm] | --binary-* | --file | --[lm]a* | --reg*)
+ case ${1?"$option option requires an argument"} in
+ (*\'*)
+ optarg=" '"$(printf '%sX\n' "$1" | sed "$escape");;
+ (*)
+ optarg=" '$1'";;
+ esac
+ shift;;
+ (--)
+ break;;
+ (-?*)
+ ;;
+ (*)
+ case $option in
+ (*\'*)
+ operands="$operands '"$(printf '%sX\n' "$option" | sed "$escape");;
+ (*)
+ operands="$operands '$option'";;
+ esac
+ ${POSIXLY_CORRECT+break}
+ continue;;
+ esac
+
+ case $option in
+ (-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*)
+ printf >&2 '%s: %s: option not supported\n' "$0" "$option"
+ exit 2;;
+ (-[ef]* | --file | --file=* | --reg*)
+ # The pattern is coming from a file rather than the command-line.
+ # If the file is actually stdin then we need to do a little
+ # magic, (since we use stdin to pass the gzip output to grep).
+ # So find a free fd and change the argument to then use this
+ # file descriptor for the pattern.
+ case $optarg in
+ (" '-'" | " '/dev/stdin'" | " '/dev/fd/0'")
+ pat_on_stdin=1
+ # Start search from 6 since the script already uses 3 and 5
+ for fd in $(seq 6 254); do
+ if test ! -e /dev/fd/$fd; then
+ pat_fd=$fd
+ break;
+ fi
+ done
+ optarg=/dev/fd/$pat_fd;
+ esac
+ have_pat=1;;
+ (--h | --he | --hel | --help)
+ echo "$usage" || exit 2
+ exit;;
+ (-H | --wi | --wit | --with | --with- | --with-f | --with-fi \
+ | --with-fil | --with-file | --with-filen | --with-filena | --with-filenam \
+ | --with-filename)
+ with_filename=1
+ continue;;
+ (-l | --files-with-*)
+ files_with_matches=1;;
+ (-L | --files-witho*)
+ files_without_matches=1;;
+ (-h | --no-f*)
+ no_filename=1;;
+ (-V | --v | --ve | --ver | --vers | --versi | --versio | --version)
+ echo "$version" || exit 2
+ exit;;
+ esac
+
+ case $option in
+ (*\'?*)
+ option=\'$(expr "X${option}X" : 'X\(.*\)' | sed "$escape");;
+ (*)
+ option="'$option'";;
+ esac
+
+ grep="$grep $option$optarg"
+done
+
+eval "set -- $operands "'${1+"$@"}'
+
+if test $have_pat -eq 0; then
+ case ${1?"missing pattern; try \`$0 --help' for help"} in
+ (*\'*)
+ grep="$grep -- '"$(printf '%sX\n' "$1" | sed "$escape");;
+ (*)
+ grep="$grep -- '$1'";;
+ esac
+ shift
+fi
+
+if test $# -eq 0; then
+ set -- -
+fi
+
+exec 3>&1
+res=0
+
+for i
+do
+ # Fail if gzip or grep (or sed) fails.
+ gzip_status=$(
+ exec 5>&1
+ if test $pat_on_stdin -eq 1; then
+ eval "exec $pat_fd<&0"
+ fi
+ (gzip -cdfq -- "$i" 5>&-; echo $? >&5) 3>&- |
+ if test $files_with_matches -eq 1; then
+ eval "$grep" >/dev/null && { printf '%s\n' "$i" || exit 2; }
+ elif test $files_without_matches -eq 1; then
+ eval "$grep" >/dev/null || {
+ r=$?
+ if test $r -eq 1; then
+ printf '%s\n' "$i" || r=2
+ fi
+ exit $r
+ }
+ elif test $with_filename -eq 0 &&
+ { test $# -eq 1 || test $no_filename -eq 1; }; then
+ eval "$grep"
+ else
+ case $i in
+ (*'
+'* | *'&'* | *'\'* | *'|'*)
+ i=$(printf '%s\n' "$i" |
+ sed '
+ $!N
+ $s/[&\|]/\\&/g
+ $s/\n/\\n/g
+ ');;
+ esac
+ sed_script="s|^|$i:|"
+
+ # Fail if grep or sed fails.
+ r=$(
+ exec 4>&1
+ (eval "$grep" 4>&-; echo $? >&4) 3>&- | sed "$sed_script" >&3 4>&-
+ ) || r=2
+ exit $r
+ fi >&3 5>&-
+ )
+ r=$?
+ test "$gzip_status" -eq 0 || test "$gzip_status" -eq 2 || r=2
+ test $res -lt $r && res=$r
+done
+exit $res
diff --git a/beagle/debian-rfs/bin/zless b/beagle/debian-rfs/bin/zless
new file mode 100755
index 0000000..f335012
--- /dev/null
+++ b/beagle/debian-rfs/bin/zless
@@ -0,0 +1,53 @@
+#!/bin/bash
+
+# Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+PATH="${GZIP_BINDIR-'/bin'}:$PATH"; export PATH
+
+version="zless (gzip) 1.3.12
+Copyright (C) 2007 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Paul Eggert."
+
+usage="Usage: $0 [OPTION]... [FILE]...
+Like 'less', but operate on the uncompressed contents of any compressed FILEs.
+
+Options are the same as for 'less'.
+
+Report bugs to <bug-gzip@gnu.org>."
+
+case $1 in
+--help) exec echo "$usage";;
+--version) exec echo "$version";;
+esac
+
+if test "${LESSMETACHARS+set}" != set; then
+ # Work around a bug in less 394 and earlier;
+ # it mishandles the metacharacters '$%=~'.
+ space=' '
+ tab=' '
+ newline='
+'
+ LESSMETACHARS="$space$tab$newline'"';*?"()<>[|&^`#\$%=~'
+ export LESSMETACHARS
+fi
+
+LESSOPEN="|gzip -cdfq -- %s"; export LESSOPEN
+exec less "$@"
diff --git a/beagle/debian-rfs/bin/zmore b/beagle/debian-rfs/bin/zmore
new file mode 100755
index 0000000..6acee94
--- /dev/null
+++ b/beagle/debian-rfs/bin/zmore
@@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Copyright (C) 2001, 2002, 2007 Free Software Foundation
+# Copyright (C) 1992, 1993 Jean-loup Gailly
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+PATH="${GZIP_BINDIR-'/bin'}:$PATH"; export PATH
+
+version="zmore (gzip) 1.3.12
+Copyright (C) 2007 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Jean-loup Gailly."
+
+usage="Usage: $0 [OPTION]... [FILE]...
+Like 'more', but operate on the uncompressed contents of any compressed FILEs.
+
+Report bugs to <bug-gzip@gnu.org>."
+
+if test "`echo -n a`" = "-n a"; then
+ # looks like a SysV system:
+ n1=''; n2='\c'
+else
+ n1='-n'; n2=''
+fi
+oldtty=`stty -g 2>/dev/null`
+if stty -cbreak 2>/dev/null; then
+ cb='cbreak'; ncb='-cbreak'
+else
+ # 'stty min 1' resets eof to ^a on both SunOS and SysV!
+ cb='min 1 -icanon'; ncb='icanon eof ^d'
+fi
+if test $? -eq 0 && test -n "$oldtty"; then
+ trap 'stty $oldtty 2>/dev/null; exit' 0 2 3 5 10 13 15
+else
+ trap 'stty $ncb echo 2>/dev/null; exit' 0 2 3 5 10 13 15
+fi
+
+if test $# = 0; then
+ if test -t 0; then
+ echo "$usage"
+ else
+ gzip -cdfq | eval more
+ fi
+else
+ FIRST=1
+ for FILE
+ do
+ case $FILE in
+ --h*) exec echo "$usage";;
+ --v*) exec echo "$version";;
+ esac
+
+ < "$FILE" || continue
+ if test $FIRST -eq 0; then
+ echo $n1 "--More--(Next file: $FILE)$n2"
+ stty $cb -echo 2>/dev/null
+ ANS=`dd bs=1 count=1 2>/dev/null`
+ stty $ncb echo 2>/dev/null
+ echo " "
+ case "$ANS" in
+ [eq]) exit;;
+ esac
+ fi
+ if test "$ANS" != 's'; then
+ echo "------> $FILE <------"
+ gzip -cdfq -- "$FILE" | more
+ fi
+ if test -t 1; then
+ FIRST=0
+ fi
+ done
+fi
diff --git a/beagle/debian-rfs/bin/znew b/beagle/debian-rfs/bin/znew
new file mode 100755
index 0000000..b46ab17
--- /dev/null
+++ b/beagle/debian-rfs/bin/znew
@@ -0,0 +1,183 @@
+#!/bin/bash
+
+# Copyright (C) 1998, 2002, 2004, 2007 Free Software Foundation
+# Copyright (C) 1993 Jean-loup Gailly
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+PATH="${GZIP_BINDIR-'/bin'}:$PATH"; export PATH
+
+version="znew (gzip) 1.3.12
+Copyright (C) 2007 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Jean-loup Gailly."
+
+usage="Usage: $0 [OPTION]... [FILE]...
+Recompress files from .Z (compress) format to .gz (gzip) format.
+
+Options:
+
+ -f Force recompression even if a .gz file already exists.
+ -t Test the new files before deleting originals.
+ -v Verbose; display name and statistics for each file compressed.
+ -9 Use the slowest compression method (optimal compression).
+ -P Use pipes for the conversion to reduce disk space usage.
+ -K Keep a .Z file when it is smaller than the .gz file.
+ --help display this help and exit
+ --version output version information and exit
+
+Report bugs to <bug-gzip@gnu.org>."
+
+check=0
+pipe=0
+opt=
+files=
+keep=0
+res=0
+old=0
+new=0
+block=1024
+# block is the disk block size (best guess, need not be exact)
+
+warn="(does not preserve modes and timestamp)"
+tmp=${TMPDIR-/tmp}/zfoo.$$
+set -C
+echo hi > $tmp || exit
+if test -z "`(${CPMOD-cpmod} $tmp $tmp) 2>&1`"; then
+ cpmod=${CPMOD-cpmod}
+ warn=""
+fi
+
+if test -z "$cpmod" && ${TOUCH-touch} -r $tmp $tmp 2>/dev/null; then
+ cpmod="${TOUCH-touch}"
+ cpmodarg="-r"
+ warn="(does not preserve file modes)"
+fi
+
+# check if GZIP env. variable uses -S or --suffix
+gzip -q $tmp
+ext=`echo $tmp* | sed "s|$tmp||"`
+rm -f $tmp*
+if test -z "$ext"; then
+ echo znew: error determining gzip extension
+ exit 1
+fi
+if test "$ext" = ".Z"; then
+ echo znew: cannot use .Z as gzip extension.
+ exit 1
+fi
+
+for arg
+do
+ case "$arg" in
+ --help) exec echo "$usage";;
+ --version) exec echo "$version";;
+ -*) opt="$opt $arg"; shift;;
+ *) break;;
+ esac
+done
+
+if test $# -eq 0; then
+ echo "$usage"
+ exit 1
+fi
+
+opt=`echo "$opt" | sed -e 's/ //g' -e 's/-//g'`
+case "$opt" in
+ *t*) check=1; opt=`echo "$opt" | sed 's/t//g'`
+esac
+case "$opt" in
+ *K*) keep=1; opt=`echo "$opt" | sed 's/K//g'`
+esac
+case "$opt" in
+ *P*) pipe=1; opt=`echo "$opt" | sed 's/P//g'`
+esac
+if test -n "$opt"; then
+ opt="-$opt"
+fi
+
+for i do
+ n=`echo $i | sed 's/.Z$//'`
+ if test ! -f "$n.Z" ; then
+ echo $n.Z not found
+ res=1; continue
+ fi
+ test $keep -eq 1 && old=`wc -c < "$n.Z"`
+ if test $pipe -eq 1; then
+ if gzip -d < "$n.Z" | gzip $opt > "$n$ext"; then
+ # Copy file attributes from old file to new one, if possible.
+ test -n "$cpmod" && $cpmod $cpmodarg "$n.Z" "$n$ext" 2> /dev/null
+ else
+ echo error while recompressing $n.Z
+ res=1; continue
+ fi
+ else
+ if test $check -eq 1; then
+ if cp -p "$n.Z" "$n.$$" 2> /dev/null || cp "$n.Z" "$n.$$"; then
+ :
+ else
+ echo cannot backup "$n.Z"
+ res=1; continue
+ fi
+ fi
+ if gzip -d "$n.Z"; then
+ :
+ else
+ test $check -eq 1 && mv "$n.$$" "$n.Z"
+ echo error while uncompressing $n.Z
+ res=1; continue
+ fi
+ if gzip $opt "$n"; then
+ :
+ else
+ if test $check -eq 1; then
+ mv "$n.$$" "$n.Z" && rm -f "$n"
+ echo error while recompressing $n
+ else
+ # compress $n (might be dangerous if disk full)
+ echo error while recompressing $n, left uncompressed
+ fi
+ res=1; continue
+ fi
+ fi
+ test $keep -eq 1 && new=`wc -c < "$n$ext"`
+ if test $keep -eq 1 && test `expr \( $old + $block - 1 \) / $block` -lt \
+ `expr \( $new + $block - 1 \) / $block`; then
+ if test $pipe -eq 1; then
+ rm -f "$n$ext"
+ elif test $check -eq 1; then
+ mv "$n.$$" "$n.Z" && rm -f "$n$ext"
+ else
+ gzip -d "$n$ext" && compress "$n" && rm -f "$n$ext"
+ fi
+ echo "$n.Z smaller than $n$ext -- unchanged"
+
+ elif test $check -eq 1; then
+ if gzip -t "$n$ext" ; then
+ rm -f "$n.$$" "$n.Z"
+ else
+ test $pipe -eq 0 && mv "$n.$$" "$n.Z"
+ rm -f "$n$ext"
+ echo error while testing $n$ext, $n.Z unchanged
+ res=1; continue
+ fi
+ elif test $pipe -eq 1; then
+ rm -f "$n.Z"
+ fi
+done
+exit $res