<div class="gmail_quote">On Fri, May 13, 2011 at 2:23 PM, Axelle Apvrille <span dir="ltr"><<a href="mailto:axelle_apvrille@yahoo.fr">axelle_apvrille@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If anybody has had any successful experience building an IRC server on Solaris, I'd love to hear about it. It is certainly feasible, I am sure.</blockquote>
</div></blockquote><div><br></div><div>Hi Axelle,</div><div><br></div><div>You might try Hyperion (<a href="http://www.stack.nl/~jilles/irc/hyperion-1.0.2.tar.gz">http://www.stack.nl/~jilles/irc/hyperion-1.0.2.tar.gz</a>) which is what Freenode uses. I had some success but many of the configuration options are hardcoded. I applied the following "sed patch" and installed in prefix=/opt/hyperion and kept all configuration in /srv/hyperion.</div>
<div><br></div><div><div> sed -e 's/+ns/+n/' -e 's/ | MODE_SECRET;/;/' src/channel.c > src/channel.c.$$</div><div> mv src/channel.c.$$ src/channel.c</div><div><br></div><div> sed \</div><div> -e 's,#define DPATH PREFIX "/",#define DPATH "/srv/hyperion",' \</div>
<div> -e 's,#define SPATH "sbin/hyperion-ircd",#define SPATH "/opt/hyperion/sbin/hyperion-ircd",' \</div><div> -e 's,#define CPATH "etc/dancer-ircd/ircd.conf",#define CPATH "etc/ircd.conf",' \</div>
<div> -e 's,#define MPATH "etc/dancer-ircd/motd",#define MPATH "etc/motd",' \</div><div> -e 's,#define HPATH "etc/dancer-ircd/ohelp",#define HPATH "etc/ohelp",' \</div>
<div> -e 's,#define OPATH "etc/dancer-ircd/omotd",#define OPATH "etc/omotd",' \</div><div> -e 's,#define LPATH "var/log/dancer-ircd/ircd.log",#define LPATH "var/log/ircd.log",' \</div>
<div> -e 's,#define HLBASE "var/log/dancer-ircd/hash",#define HLBASE "var/log/hash",' \</div><div> -e 's,#define USERLOG "var/log/dancer-ircd/user.log",#define USERLOG "var/log/user.log",' \</div>
<div> -e 's,#define OPERLOG "var/log/dancer-ircd/oper.log",#define OPERLOG "var/log/oper.log",' \</div><div> -e 's,#define PPATH "var/run/dancer-ircd/dancer-ircd.pid",#define PPATH "var/run/ircd.pid",' \</div>
<div> -e 's,#define KPATH "var/lib/dancer-ircd/kline.conf",#define KPATH "var/lib/kline.conf",' \</div><div> -e 's,#define DLPATH "var/lib/dancer-ircd/dline.conf",#define DLPATH "var/lib/dline.conf",' \</div>
<div> -e 's,#define MXPATH "var/lib/dancer-ircd/ircd.max",#define MXPATH "var/lib/ircd.max",' \</div><div> -e 's,#define DUMPPATH "var/lib/dancer-ircd/dump",#define DUMPPATH "var/lib/dump",' \</div>
<div> src/paths.c > src/paths.c.$$</div><div> mv src/paths.c.$$ src/paths.c</div><div><br></div><div> sed \</div><div> -e 's/#define MIN_USERS_FOR_LIST 4/#define MIN_USERS_FOR_LIST 0/' \</div><div>
-e 's/#define NO_CHANOPS_ON_SPLIT/#undef NO_CHANOPS_ON_SPLIT/' \</div><div> -e 's/#define CONNECTTIMEOUT 30/#define CONNECTTIMEOUT 0/' \</div><div> -e 's/#define NETWORK_NAME "<a href="http://irc.freenode.net">irc.freenode.net</a>"/#define NETWORK_NAME "<a href="http://irc.my.org">irc.my.org</a>"/' \</div>
<div> -e 's/#define NETWORK_REALNAME "freenode IRC"/#define NETWORK_REALNAME "My IRC Network"/' \</div><div> -e 's,#define NETWORK_DESC "<a href="http://freenode.net/">http://freenode.net/</a>",#define NETWORK_DESC "<a href="http://my.org/">http://my.org/</a>",' \</div>
<div> include/config.h > include/config.h.$$</div><div> mv include/config.h.$$ include/config.h</div><div><br></div><div> sed \</div><div> -e "s/request->retries = 3;/request->retries = 0;/" \</div>
<div> -e "s/request->resend = 1;/request->resend = 0;/" \</div><div> src/res.c > src/res.c.$$</div><div> mv src/res.c.$$ src/res.c</div></div></div><br>