From: Jilles Tjoelker Date: Wed, 10 Mar 2004 12:46:22 +0000 (+0000) Subject: Provide 3 example configs instead of 1. X-Git-Tag: v1.6.1-roc-dev~429 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=88811726d08c544186563b4ad2aae19197308cf8;p=dgamelaunch Provide 3 example configs instead of 1. 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 --- diff --git a/dgl-create-chroot b/dgl-create-chroot index f0e0f6a..1efeea0 100755 --- a/dgl-create-chroot +++ b/dgl-create-chroot @@ -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 index cde5936..0000000 --- a/dgl-create-chroot.conf.example +++ /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 . - -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 index 0000000..d0b6e4d --- /dev/null +++ b/dgl-create-chroot.conf.example.freebsd @@ -0,0 +1,12 @@ +#!/bin/sh +# Example configuration, for my FreeBSD 4 machine, using nethack from ports. +# This file created by Jilles Tjoelker . + +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 index 0000000..a35e0e8 --- /dev/null +++ b/dgl-create-chroot.conf.example.macosx @@ -0,0 +1,14 @@ +#!/bin/sh +# Brett Carrington + +# 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 index 0000000..fc852ef --- /dev/null +++ b/dgl-create-chroot.conf.example.solaris @@ -0,0 +1,15 @@ +#!/bin/sh +# hack it for crab test +# This file created by Jilles Tjoelker . + +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"