ports で ircd をインストール
ports で ipv4 なすたんどあろーん仕様の ircd を入れる。
- su
- cd /usr/ports/ircd/ircd
- vi Makefile
(ipv6を無効にする。)
#.if ${OSVERSION} = 400014
#CONFIGURE_ARGS+= --enable-ip6
#.endif - make
- vi /usr/ports/irc/irc/work/irc2.11.1/i386-unknown-freebsd5.4/config.h*1
(split-mode を無効にする。)
/*
* Split detection
* This defines thresholds for turning on and off the split-mode,
* where joins to new channels do not give chanop status.
* This should always be bigger than the max counts of
* users/servers in your TLD (or some other close group), so you
* get in split when you split. It is also a good practice to set
* around 90% of what your whole network counts minimally (servers
* inside masks are also counted), so that splits of smaller parts
* would be noticed on each side.
*
* Defining to 0 disables entering split-mode.
*/
/*
#define SPLIT_USERS 85000
#define SPLIT_SERVERS 85
*/
#define SPLIT_USERS 0
#define SPLIT_SERVERS 0 - cd /usr/ports/ircd/ircd
- make install
- vi /usr/local/etc/ircd/ircd.conf
(ircd.conf.example を見ながら適当に編集。) - /usr/local/sbin/chkconf
- /usr/local/sbin/ircd
Server hoge version 2.11.1 starting.