head 1.1; access; symbols pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2024.10.14.21.12.55; author nia; state Exp; branches; next ; commitid oE5zy49G5bsGQFtF; desc @@ 1.1 log @import chat/ngircd, heavily modified from wip ngIRCd is a free, portable and lightweight Internet Relay Chat server for small or private networks, developed under the GNU General Public License (GPL). It is easy to configure, can cope with dynamic IP addresses, and supports IPv6, SSL-protected connections as well as PAM for authentication. It is written from scratch and not based on the original IRCd. @ text @$NetBSD$ Run as ngircd user by default. --- doc/sample-ngircd.conf.tmpl.orig 2024-10-14 19:52:39.281302704 +0000 +++ doc/sample-ngircd.conf.tmpl @@@@ -72,7 +72,7 @@@@ # Note that the pidfile is written AFTER chroot and switching the # user ID, e.g. the directory the pidfile resides in must be # writable by the ngIRCd user and exist in the chroot directory. - ;PidFile = /var/run/ngircd/ngircd.pid + PidFile = @@VARBASE@@/run/ngircd/ngircd.pid # Ports on which the server should listen. There may be more than # one port, separated with ",". (Default: 6667) @@@@ -81,14 +81,14 @@@@ # Group ID under which the ngIRCd should run; you can use the name # of the group or the numerical ID. ATTENTION: For this to work the # server must have been started with root privileges! - ;ServerGID = 65534 + ServerGID = @@NGIRCD_USER@@ # User ID under which the server should run; you can use the name # of the user or the numerical ID. ATTENTION: For this to work the # server must have been started with root privileges! In addition, # the configuration and MOTD files must be readable by this user, # otherwise RESTART and REHASH won't work! - ;ServerUID = 65534 + ServerUID = @@NGIRCD_GROUP@@ [Limits] # Define some limits and timeouts for this ngIRCd instance. Default @