]> skyeroc.xyz Git - dgamelaunch/commitdiff
Provide 3 example configs instead of 1.
authorJilles Tjoelker <jilles@stack.nl>
Wed, 10 Mar 2004 12:46:22 +0000 (12:46 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Wed, 10 Mar 2004 12:46:22 +0000 (12:46 +0000)
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

dgl-create-chroot
dgl-create-chroot.conf.example [deleted file]
dgl-create-chroot.conf.example.freebsd [new file with mode: 0644]
dgl-create-chroot.conf.example.macosx [new file with mode: 0644]
dgl-create-chroot.conf.example.solaris [new file with mode: 0644]

index f0e0f6a999d67174f46ea211dcfd4cd3ad7fa29a..1efeea0b13c6fd12df6d42c74c0eed5a0b3b0575 100755 (executable)
@@ -17,11 +17,11 @@ libs=""
 # (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"
 
diff --git a/dgl-create-chroot.conf.example b/dgl-create-chroot.conf.example
deleted file mode 100644 (file)
index cde5936..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/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"
diff --git a/dgl-create-chroot.conf.example.freebsd b/dgl-create-chroot.conf.example.freebsd
new file mode 100644 (file)
index 0000000..d0b6e4d
--- /dev/null
@@ -0,0 +1,12 @@
+#!/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"
diff --git a/dgl-create-chroot.conf.example.macosx b/dgl-create-chroot.conf.example.macosx
new file mode 100644 (file)
index 0000000..a35e0e8
--- /dev/null
@@ -0,0 +1,14 @@
+#!/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"
diff --git a/dgl-create-chroot.conf.example.solaris b/dgl-create-chroot.conf.example.solaris
new file mode 100644 (file)
index 0000000..fc852ef
--- /dev/null
@@ -0,0 +1,15 @@
+#!/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"