ngircd/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "ngircd" setup is for advanced CLI users. Knowledge of SSL certs is recommended. #--------------------------------------------------------------------- 2. If the Linux account "irc" and/or group "irc" don't exist prior to the build, the build will create either or both as necessary. If the "irc" account is created, the account password will be set to a unique and non-recoverable string. This is O.K. as login to the ac- ount by password isn't needed. Note: The password in question has nothing to do with the password that you'll see in the "ngircd" and "anope" config files. #--------------------------------------------------------------------- 3 Subsequent to build: 3.1. You'll need a domain name for the server box. The domain name can be genuine (i.e., registered) or LAN-only as long as the name ser- vers used on the client and server side all know it. 3.2. TCP access to ports 6667 and 6697 on the server side should be enabled. 3.3. This package builds a copy of "ngircd" that requires SSL certs. They can be genuine or self-signed. The process for generating or ob- taining either is beyond the scope of this discussion. 3.4. "ngircd" runs as an unprivileged user, i.e., "irc". So, it may not be able to access certs in the directory where the master copies are stored. If you encounter this issue, copy the certs to some other directory and use a command similar to the following to make them accessible to the program: chown -R irc.irc /some-directory/certs You'll need to arrange for the copy and "chown" to be done each time that the certs are renewed. 3.5. Edit "$PRODTREE/ngircd/etc/ngircd.conf". Review settings marked using "###" and modify as necessary. If you don't have SSL certs, be sure to comment-out 3.6. Restart "ngircd" as follows: sudo pkill ngircd sudo ngircd & 3.7. Reconfigure "anope" if necessary. Restart "anope" (i.e., "ser- vices"). #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.43 minutes) - Dell Inspiron 1545 00.01 hours (or 000.53 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.55 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.57 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.03 hours (or 001.75 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default exepack = yes license = GNU General Public License, version 2 (June 1991) tmpsize = 5M setpaths = gnutls3 #--------------------------------------------------------------------- [depends] actools gawk gnutls3 grep openssl sed zlib #--------------------------------------------------------------------- [configure] pkill services || true pkill ngircd || true APASS=`od -Anone /dev/random | head -1 | sed -e 's/ //g'` mkdir -p /home/jail if test -z "`grep '^irc:' /etc/group`" ; then groupadd irc; fi if test -z "`grep '^irc:' /etc/passwd`" ; then useradd irc -g irc -d /home/jail \ -s /bin/bash -p $APASS fi MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --mandir=$MANBASE \ --with-gnutls #--------------------------------------------------------------------- [postbuild] ETCDIR=$PKGDIR_PROD/etc cp -p $PKGDIR_SPECIAL/ngircd.conf $ETCDIR/ chown -R irc.irc $ETCDIR/ chmod 770 $ETCDIR/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = http://ngircd.barton.de/ url_lfs = Not checked yet url_tarball = https://arthur.barton.de/pub/ngircd/ngircd-26.1.tar.xz #--------------------------------------------------------------------- [history] 210205 Updated from 21 to 26.1