Revert brettcar's changes to dgl-create-chroot and put them in the macosx
example.
The macosx example is probably incomplete.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@274
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
# (leave blank to skip)
compress_bin="gzip"
# nethack binary to copy (leave blank to skip)
-nethack_bin="/opt/local/bin/nethack"
+nethack_bin="/usr/lib/games/nethack/nethack-console"
# fixed data to copy (leave blank to skip)
-playground_fixed="/opt/local/share/nethackdir/"
+playground_fixed="/usr/lib/games/nethack"
# variable data to create (leave blank to skip) (may be equal to previous)
-playground_var=""
+playground_var="/var/games/nethack"
# termcap/terminfo (copied recursively) (leave blank to skip)
termdata="/usr/share/terminfo"
+++ /dev/null
-#!/bin/sh
-# Example configuration, for my FreeBSD 4 machine, using nethack from ports.
-# This file created by Jilles Tjoelker <jilles@stack.nl>.
-
-chroot_path="/home/jilles/src/3rdparty/dgamelaunch-chroot-2"
-shed_uid=1031
-shed_gid=1031
-libs="/usr/libexec/ld-elf.so.1"
-playground_fixed="/usr/local/lib/nethack"
-playground_var="/usr/local/lib/nethack"
-nethack_bin="$playground_fixed/nethack"
-termdata="/usr/share/misc/termcap"
--- /dev/null
+#!/bin/sh
+# Example configuration, for my FreeBSD 4 machine, using nethack from ports.
+# This file created by Jilles Tjoelker <jilles@stack.nl>.
+
+chroot_path="/home/jilles/src/3rdparty/dgamelaunch-chroot-2"
+shed_uid=1031
+shed_gid=1031
+libs="/usr/libexec/ld-elf.so.1" # /libexec/ld-elf.so.1 for FreeBSD 5
+playground_fixed="/usr/local/lib/nethack"
+playground_var="/usr/local/lib/nethack"
+nethack_bin="$playground_fixed/nethack"
+termdata="/usr/share/misc/termcap"
--- /dev/null
+#!/bin/sh
+# Brett Carrington <brettcar@segvio.org>
+
+# NOTE: This copied from the dgl-create-chroot changes by Jilles, likely
+# incomplete.
+
+chroot_path="/var/lib/dgamelaunch"
+shed_uid=5
+shed_gid=60
+libs=""
+playground_fixed="/opt/local/share/nethackdir/"
+playground_var=""
+nethack_bin="/opt/local/bin/nethack"
+termdata="/usr/share/terminfo"
--- /dev/null
+#!/bin/sh
+# hack it for crab test
+# This file created by Jilles Tjoelker <jilles@stack.nl>.
+
+chroot_path="/tmp/jilles/dgl-chroot"
+shed_uid=1677
+shed_gid=104
+# This allows both 32-bit and 64-bit dynamically linked binaries in the chroot:
+libs="/usr/lib/ld.so.1 /usr/lib/sparcv9/ld.so.1"
+playground_fixed=""
+playground_var=""
+nethack_bin="nethackstub"
+# For standard curses:
+termdata="/usr/share/lib/terminfo"
+#termdata="/usr/local/share/lib/terminfo"