? unrealircd-3.2.9_pre-helpop-rehash.patch
? autoconf/autom4te.cache
? autoconf/configure
? src/modules/hidehost
? src/modules/hidehost.tar.gz
Index: Config
===================================================================
RCS file: /cvs/unreal/Config,v
retrieving revision 1.1.1.1.4.1.2.58.2.15
diff -u -b -B -r1.1.1.1.4.1.2.58.2.15 Config
--- Config	11 Feb 2010 17:38:41 -0000	1.1.1.1.4.1.2.58.2.15
+++ Config	19 Feb 2010 00:29:51 -0000
@@ -48,9 +48,6 @@
 if [ "$NOSPOOF" = "1" ] ; then
 ARG="$ARG--enable-nospoof "
 fi
-if [ -n "$HUB" ] ; then
-ARG="$ARG--enable-hub "
-fi
 if [  "$CRYPTOIRCD" = "1" ] ; then
 if test x"$SSLDIR" = "x" ; then
 ARG="$ARG--enable-ssl "
@@ -317,7 +314,6 @@
 NOSPOOF=""
 DPATH="`pwd`"
 SPATH="`pwd`/src/ircd"
-HUB="1"
 DOMAINNAME=`hostname`
 DEFPERM="0600"
 CRYPTOIRCD=""
@@ -470,36 +466,6 @@
     SPATH=`eval echo $cc` # modified
 fi
 
-TEST=""
-while [ -z "$TEST" ] ; do
-    if [ "$HUB" = "1" ] ; then
-	TEST="Hub"
-    else
-	TEST="Leaf"
-    fi
-    echo ""
-    echo "Would you like to compile as a hub or as a leaf?"
-    echo "Type Hub to select hub and Leaf to select leaf."
-    echo $n "[$TEST] -> $c"
-	read cc
-    if [ -z "$cc" ] ; then
-	cc=$TEST
-    fi
-    case "$cc" in
-	[Hh]*)
-	    HUB="1"
-	    ;;
-	[Ll]*)
-	    HUB=""
-	    ;;
-	*)
-	    echo ""
-	    echo "You must enter either Hub or Leaf"
-	    TEST=""
-	    ;;
-    esac
-done
-
 TEST="$DOMAINNAME"
 echo ""
 echo "What is the hostname of the server running your IRCd?"
@@ -932,7 +898,6 @@
 BUFFERPOOL="$BUFFERPOOL"
 MAXCONNECTIONS="$MAXCONNECTIONS"
 NICKNAMEHISTORYLENGTH="$NICKNAMEHISTORYLENGTH"
-HUB="$HUB"
 DOMAINNAME="$DOMAINNAME"
 DEFPERM="$DEFPERM"
 CRYPTOIRCD="$CRYPTOIRCD"
Index: autoconf/configure.in
===================================================================
RCS file: /cvs/unreal/autoconf/Attic/configure.in,v
retrieving revision 1.1.2.74.2.34
diff -u -b -B -r1.1.2.74.2.34 configure.in
--- autoconf/configure.in	8 Feb 2010 17:04:42 -0000	1.1.2.74.2.34
+++ autoconf/configure.in	19 Feb 2010 00:29:51 -0000
@@ -380,7 +380,6 @@
 AC_DEFINE_UNQUOTED(SPATH,"$withval") BINDIR="$withval",AC_DEFINE_UNQUOTED(SPATH,"`pwd`/src/ircd") BINDIR="`pwd`/src/ircd")
 AC_ARG_ENABLE(nospoof, [AC_HELP_STRING([--enable-nospoof],[Enable spoofing protection])], AC_DEFINE(NOSPOOF))
 AC_ARG_ENABLE(prefixaq, [AC_HELP_STRING([--enable-prefixaq],[Enable chanadmin and chanowner prefixes])], AC_DEFINE(PREFIX_AQ))
-AC_ARG_ENABLE(hub, [AC_HELP_STRING([--enable-hub],[Compile as a hub server])], AC_DEFINE(HUB))
 AC_ARG_WITH(showlistmodes, [AC_HELP_STRING([--with-showlistmodes], [Specify whether modes are shown in /list])],
 	AC_DEFINE(LIST_SHOW_MODES))
 AC_ARG_WITH(topicisnuhost, [AC_HELP_STRING([--with-topicisnuhost], [Display nick!user@host as the topic setter])],
Index: src/s_debug.c
===================================================================
RCS file: /cvs/unreal/src/s_debug.c,v
retrieving revision 1.1.1.1.6.1.2.44.2.4
diff -u -b -B -r1.1.1.1.6.1.2.44.2.4 s_debug.c
--- src/s_debug.c	23 Dec 2008 15:43:27 -0000	1.1.1.1.6.1.2.44.2.4
+++ src/s_debug.c	19 Feb 2010 00:29:51 -0000
@@ -44,9 +44,11 @@
 #ifndef	NO_FDLIST
 	'F',
 #endif
-#ifdef	HUB
+	/*
+	 * always defined as it's impossible to build unrealircd
+	 * without hub support AFAIK.
+	 */
 	'h',
-#endif
 #ifdef	SHOW_INVISIBLE_LUSERS
 	'i',
 #endif
