? Unreal.patch
Index: Config
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Config,v
retrieving revision 1.1.1.1.2.17
diff -u -r1.1.1.1.2.17 Config
--- Config      16 Jun 2006 18:29:12 -0000      1.1.1.1.2.17
+++ Config      16 Oct 2006 10:39:36 -0000
@@ -281,7 +281,7 @@
 UNREALCWD="`pwd`"
 NOSPOOF=""
 DPATH="`pwd`"
-SPATH="`pwd`/src/ircd"
+SPATH="`pwd`/src"
 HUB="1"
 DOMAINNAME=`hostname`
 DEFPERM="0600"
@@ -414,7 +414,7 @@

 TEST="$DPATH"
 echo ""
-echo "What directory are all the server configuration files in?"
+echo "What directory do you want to install the server configuration files in?"
 echo $n "[$TEST] -> $c"
 read cc
 if [ -z "$cc" ] ; then
@@ -425,7 +425,7 @@

 TEST="$SPATH"
 echo ""
-echo "What is the path to the ircd binary including the name of the binary?"
+echo "What directory do you want to install the server binary files in?"
 echo $n "[$TEST] -> $c"
     read cc
 if [ -z "$cc" ] ; then
Index: Makefile.in
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Attic/Makefile.in,v
retrieving revision 1.1.6.10
diff -u -r1.1.6.10 Makefile.in
--- Makefile.in 16 Jun 2006 18:29:12 -0000      1.1.6.10
+++ Makefile.in 16 Oct 2006 10:39:36 -0000
@@ -203,6 +203,7 @@

 install: all
        $(INSTALL) -m 0700 -d $(IRCDDIR)
+       $(INSTALL) -m 0700 -d $(BINDIR)
        $(INSTALL) -m 0700 src/ircd $(BINDIR)
        $(INSTALL) -m 0700 -d $(IRCDDIR)/networks
        $(INSTALL) -m 0600 networks/*.network $(IRCDDIR)/networks
Index: unreal.in
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Attic/unreal.in,v
retrieving revision 1.1.6.5
diff -u -r1.1.6.5 unreal.in
--- unreal.in   3 Feb 2006 13:57:17 -0000       1.1.6.5
+++ unreal.in   16 Oct 2006 10:39:37 -0000
@@ -7,7 +7,7 @@
        if [ -r $PID_FILE ] ; then
                mv -f $PID_FILE $PID_BACKUP
        fi
-       @BINDIR@
+       @BINDIR@/ircd
        sleep 1
        if [ ! -r $PID_FILE ] ; then
                echo "Possible error encountered (IRCd seemily not started)"
@@ -31,9 +31,9 @@
        echo "Restarting UnrealIRCd"
        kill -2 `cat $PID_FILE`
 elif [ "$1" = "mkpasswd" ] ; then
-       @BINDIR@ -P $2 $3
+       @BINDIR@/ircd -P $2 $3
 elif [ "$1" = "version" ] ; then
-       @BINDIR@ -v
+       @BINDIR@/ircd -v
 elif [ "$1" = "backtrace" ] ; then
        cd @IRCDDIR@

@@ -88,7 +88,7 @@
        fi

        # Some ugly prepare work -- ignore errors
-       (echo quit|gdb @BINDIR@ $corefile 2>&1)|\
+       (echo quit|gdb @BINDIR@/ircd $corefile 2>&1)|\
        grep -i 'no such file'|\
        awk -F ':' '{ print $1 }'|sort|uniq|\
        awk -F '.' "{ system(\"ln -s ../$modpath/\" \$2 \".so \" \$0) }"
@@ -108,7 +108,7 @@
 quit
 __EOF__

-       gdb -batch -x gdb.commands @BINDIR@ $corefile
+       gdb -batch -x gdb.commands @BINDIR@/ircd $corefile
        rm -f gdb.commands
        echo "GCC: `gcc -v 2>&1|tail -n 1`"
        echo "UNAME: `uname -a`"
Index: ircdcron/ircdchk.in
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/ircdcron/Attic/ircdchk.in,v
retrieving revision 1.1.6.8
diff -u -r1.1.6.8 ircdchk.in
--- ircdcron/ircdchk.in 16 Jun 2006 18:29:14 -0000      1.1.6.8
+++ ircdcron/ircdchk.in 16 Oct 2006 10:39:37 -0000
@@ -22,7 +22,7 @@
 # These values shouldn't need to be changed

 # The path to the ircd binary
-ircdexe="@BINDIR@"
+ircdexe="@BINDIR@/ircd"

 # The path to the ircd pid file
 ircdname="@IRCDDIR@/ircd.pid"
