ports で ircd をインストール

portsipv4 なすたんどあろーん仕様の ircd を入れる。

  1. su
  2. cd /usr/ports/ircd/ircd
  3. vi Makefile
    (ipv6を無効にする。)


    #.if ${OSVERSION} = 400014
    #CONFIGURE_ARGS+= --enable-ip6
    #.endif
  4. make
  5. 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
  6. cd /usr/ports/ircd/ircd
  7. make install
  8. vi /usr/local/etc/ircd/ircd.conf
    (ircd.conf.example を見ながら適当に編集。)
  9. /usr/local/sbin/chkconf
  10. /usr/local/sbin/ircd

    Server hoge version 2.11.1 starting.
以上。

*1:i386-unknown ってなんか気持ち悪いな...