On Fri, May 13, 2011 at 2:23 PM, Axelle Apvrille <[email protected]>wrote:
> 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. > > Hi Axelle, You might try Hyperion ( http://www.stack.nl/~jilles/irc/hyperion-1.0.2.tar.gz) 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. sed -e 's/+ns/+n/' -e 's/ | MODE_SECRET;/;/' src/channel.c > src/channel.c.$$ mv src/channel.c.$$ src/channel.c sed \ -e 's,#define DPATH PREFIX "/",#define DPATH "/srv/hyperion",' \ -e 's,#define SPATH "sbin/hyperion-ircd",#define SPATH "/opt/hyperion/sbin/hyperion-ircd",' \ -e 's,#define CPATH "etc/dancer-ircd/ircd.conf",#define CPATH "etc/ircd.conf",' \ -e 's,#define MPATH "etc/dancer-ircd/motd",#define MPATH "etc/motd",' \ -e 's,#define HPATH "etc/dancer-ircd/ohelp",#define HPATH "etc/ohelp",' \ -e 's,#define OPATH "etc/dancer-ircd/omotd",#define OPATH "etc/omotd",' \ -e 's,#define LPATH "var/log/dancer-ircd/ircd.log",#define LPATH "var/log/ircd.log",' \ -e 's,#define HLBASE "var/log/dancer-ircd/hash",#define HLBASE "var/log/hash",' \ -e 's,#define USERLOG "var/log/dancer-ircd/user.log",#define USERLOG "var/log/user.log",' \ -e 's,#define OPERLOG "var/log/dancer-ircd/oper.log",#define OPERLOG "var/log/oper.log",' \ -e 's,#define PPATH "var/run/dancer-ircd/dancer-ircd.pid",#define PPATH "var/run/ircd.pid",' \ -e 's,#define KPATH "var/lib/dancer-ircd/kline.conf",#define KPATH "var/lib/kline.conf",' \ -e 's,#define DLPATH "var/lib/dancer-ircd/dline.conf",#define DLPATH "var/lib/dline.conf",' \ -e 's,#define MXPATH "var/lib/dancer-ircd/ircd.max",#define MXPATH "var/lib/ircd.max",' \ -e 's,#define DUMPPATH "var/lib/dancer-ircd/dump",#define DUMPPATH "var/lib/dump",' \ src/paths.c > src/paths.c.$$ mv src/paths.c.$$ src/paths.c sed \ -e 's/#define MIN_USERS_FOR_LIST 4/#define MIN_USERS_FOR_LIST 0/' \ -e 's/#define NO_CHANOPS_ON_SPLIT/#undef NO_CHANOPS_ON_SPLIT/' \ -e 's/#define CONNECTTIMEOUT 30/#define CONNECTTIMEOUT 0/' \ -e 's/#define NETWORK_NAME "irc.freenode.net"/#define NETWORK_NAME " irc.my.org"/' \ -e 's/#define NETWORK_REALNAME "freenode IRC"/#define NETWORK_REALNAME "My IRC Network"/' \ -e 's,#define NETWORK_DESC "http://freenode.net/",#define NETWORK_DESC "http://my.org/",' \ include/config.h > include/config.h.$$ mv include/config.h.$$ include/config.h sed \ -e "s/request->retries = 3;/request->retries = 0;/" \ -e "s/request->resend = 1;/request->resend = 0;/" \ src/res.c > src/res.c.$$ mv src/res.c.$$ src/res.c
_______________________________________________ users mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/users
