Subject: pkg/15373: maintainer update of the chat/silc-server package to version 0.7.6
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 01/26/2002 11:04:36
>Number:         15373
>Category:       pkg
>Synopsis:       maintainer update of the chat/silc-server package to version 0.7.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 26 02:05:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.5ZA
>Organization:
>Environment:
>Description:

IMPORTANT NOTE: this PR obsoletes pkg/15280
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

changes in the package since 0.7.3 to 0.7.6:

 - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts
   were moved into Makefile itself
 - silc-server now creates user silcd:silcd who run silcd by default
 - INSTALL and DEINSTALL files are smaller and contains only neccessary
   actions which cannot be executed from Makefile
 - partial rewrite of rc script, added rcvar support, it is neccessary to have
   silcd=YES in rc.conf now to start silc server (unless force is used)
 - changed motd.txt to contain BSD daemon ;)
 - updated patch-aa and patch-ab files

changes in the silc-server software since 0.7.3 to 0.7.6:

 0.7.4: This version fixes a crash that can occur mainly on normal server.
        Upgrading is recommended to avoid instability later.  This version
        also fixes the BAN and INVITE commands that were pretty much broken.
        This version also disallows a situation where the nickname that server
        sets initially for the client could be a bad nickname (like nick
        including whitespaces).  It used to be possible but now server checks
        for this.  Johnny also introduces a new logging system to this version
        with log files being open all the time and not opened every time
        something is logged, and log rotation support.

 0.7.5: Hopefully fixed the most nasty bugs.  I found bunch of weird bugs
        that causes server syncing problems.  Upgrading is strongly
        recommended as soon as possible.

 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed
        non-founder channel users to remove modes of the founder, and to fix
        GETKEY always return server's public key if it is requested, and to
        fix the TOPIC_CHANGE notify to not route it twice to router.


thank you.

>How-To-Repeat:
>Fix:

Index: DEINSTALL
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/DEINSTALL,v
retrieving revision 1.3
diff -u -u -r1.3 DEINSTALL
--- DEINSTALL	2001/12/21 09:07:09	1.3
+++ DEINSTALL	2002/01/26 09:42:56
@@ -1,107 +1,15 @@
-#!/bin/sh
-#
 # $NetBSD: DEINSTALL,v 1.3 2001/12/21 09:07:09 hubertf Exp $
 
-PKGNAME=$1
-STAGE=$2
-
-CAT="@CAT@"
-CMP="@CMP@"
-RM="@RM@"
-RMDIR="@RMDIR@"
-TRUE="@TRUE@"
-
-SERVERROOT="@SILCD_CONF_DIR@"
-DATADIR=${PKG_PREFIX}/share/silcd
-LOGDIR=/var/log/silcd
-SAMPLECONFDIR=${PKG_PREFIX}/share/doc/silcd
-CONFDIR=${SERVERROOT}
-RCSCRIPT="@CONF_DIR@/rc.d/silcd"
-CONFFILES="silcd.conf motd.txt"
-NONCONFFILES="silcd.pub silcd.prv"
-
 case ${STAGE} in
 DEINSTALL)
-	# Stop silcd if running
-	${RCSCRIPT} stop >/dev/null 2>&1 || ${TRUE}
-
-	# Remove configuration files if they don't differ from the default
-	# config file.
-	#
-	for file in ${CONFFILES}
-	do
-		FILE=${CONFDIR}/${file}
-		SAMPLEFILE=${SAMPLECONFDIR}/${file}.default
-		if ${CMP} -s ${FILE} ${SAMPLEFILE}
-		then
-			${RM} -f ${FILE}
-		fi
-	done
-	${RM} -f ${RCSCRIPT}
+	${ECHO} "==> Try to stop silcd if running."
+	@PREFIX@/etc/rc.d/silcd stop
 	;;
-
 POST-DEINSTALL)
-	modified_files=''
-	for file in ${CONFFILES} ${NONCONFFILES}
-	do
-		FILE=${CONFDIR}/${file}
-		if [ -f ${FILE} ]
-		then
-			modified_files="${modified_files} ${FILE}"
-		fi
-	done
-
-	${RMDIR} ${LOGDIR} 2>/dev/null || ${TRUE}
-	${RMDIR} ${SERVERROOT} 2>/dev/null || ${TRUE}
-
-	existing_dirs=''
-	for dir in ${CONFDIR} ${LOGDIR}
-	do
-		if [ -d ${dir} ]
-		then
-			existing_dirs="${existing_dirs} ${dir}"
-		fi
-	done
-
-	if [ -n "${modified_files}" -o -n "${existing_dirs}" ]
-	then
-        	${CAT} << EOF
-===========================================================================
-If you won't be using ${PKGNAME} any longer, you may want to remove:
-EOF
-		if [ -n "${modified_files}" ]
-		then
-			${CAT} << EOF
-
-  * the following files:
-
-EOF
-			for file in ${modified_files}
-			do
-				echo "	${file}"
-			done
-		fi
-		if [ -n "${existing_dirs}" ]
-		then
-			${CAT} << EOF
-
-  * the following directories:
-
-EOF
-			for dir in ${existing_dirs}
-			do
-				echo "	${dir}"
-			done
-		fi
-		${CAT} << EOF
-===========================================================================
-EOF
-	fi
-	;;
-
-*)
-	echo "Unexpected argument: ${STAGE}"
-	exit 1
+	${ECHO} ===========================================================================
+	${ECHO}
+	${ECHO} "If you won't be using silc-server any longer, you may want to remove"
+        ${ECHO} "your server keys located in @PKG_SYSCONFDIR@."
+	${ECHO}
 	;;
 esac
-exit 0
Index: INSTALL
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/INSTALL,v
retrieving revision 1.2
diff -u -u -r1.2 INSTALL
--- INSTALL	2001/12/17 00:43:10	1.2
+++ INSTALL	2002/01/26 09:42:56
@@ -1,103 +1,11 @@
-#!/bin/sh
-#
 # $NetBSD: INSTALL,v 1.2 2001/12/17 00:43:10 hubertf Exp $
 
-PKGNAME=$1
-STAGE=$2
-
-CAT="@CAT@"
-CHMOD="@CHMOD@"
-CHOWN="@CHOWN@"
-CP="@CP@"
-MKDIR="@MKDIR@"
-
-SERVERROOT="@SILCD_CONF_DIR@"
-LOGDIR=/var/log/silcd
-SAMPLECONFDIR=${PKG_PREFIX}/share/doc/silcd
-CONFDIR=${SERVERROOT}
-CONFFILES="silcd.conf motd.txt"
-PUBKEY="silcd.pub"
-PRIVKEY="silcd.prv"
-
-case ${STAGE} in
-PRE-INSTALL)
-	;;
-
+case "${STAGE}" in
 POST-INSTALL)
-	${MKDIR} ${SERVERROOT}
-        ${CAT} << EOF
-===========================================================================
-
-  * creating directory for log files owned by root, group nobody:
-
-EOF
-
-	if [ -d ${LOGDIR} ]
-	then
-		echo "        WARNING: ${LOGDIR} already exists, owner"
-		echo "                 and permissions may be changed."
-	else
-		${MKDIR} ${LOGDIR}
-		echo "        ${LOGDIR}"
+	if [ ! -f @PKG_SYSCONFDIR@/silcd.prv ]; then
+		${ECHO} "==> Server private key is missing."
+		@PREFIX@/sbin/silcd -C @PKG_SYSCONFDIR@
+		${ECHO} ===========================================================================
 	fi
-
-	${CHOWN} root:nobody ${LOGDIR}
-	${CHMOD} 2775 ${LOGDIR}
-
-        ${CAT} << EOF
-
-  * don't forget to change this if you will setup silcd to run with
-    different UID and GID in silcd.conf!
-
-===========================================================================
-
-  * installing configuration files:
-
-EOF
-     
-	for file in ${CONFFILES}
-	do
-		FILE=${CONFDIR}/${file}
-		SAMPLEFILE=${SAMPLECONFDIR}/${file}.default
-		if [ -f ${FILE} ]
-		then
-			echo "        ${FILE} already exists"
-		else
-			echo "        ${FILE}"
-			${CP} ${SAMPLEFILE} ${FILE}
-		fi
-	done
-	${CHMOD} 600 ${CONFDIR}/silcd.conf
-	${CHMOD} 644 ${CONFDIR}/motd.txt
-	${CAT} << EOF
-
-  * you might need to customize your configuration file and the MOTD
-
-===========================================================================
-
-EOF
-
-	if [ -f ${CONFDIR}/${PUBKEY} ] && [ -f ${CONFDIR}/${PRIVKEY} ]
-	then
-	  echo "  * ${PUBKEY} and ${PRIVKEY} already exist:"
-	  echo
-	  echo "        ${CONFDIR}/${PUBKEY}"
-	  echo "        ${CONFDIR}/${PRIVKEY}"
-	else
-	  echo "  * one or all of your server keys is missing,"
-	  echo
-	  ${PKG_PREFIX}/sbin/silcd -C ${CONFDIR}
-	fi
-
-        ${CAT} << EOF
-
-===========================================================================
-EOF
-	;;
-
-*)
-	echo "Unexpected argument: ${STAGE}"
-	exit 1
 	;;
 esac
-exit 0
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile	2001/12/28 21:29:16	1.4
+++ Makefile	2002/01/26 09:42:56
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.4 2001/12/28 21:29:16 hubertf Exp $
 
-DISTNAME=		silc-server-0.7.3
+DISTNAME=		silc-server-0.7.6
 CATEGORIES=		chat
 MASTER_SITES=		http://silcnet.org/download/server/sources/ \
 			ftp://ftp.silcnet.org/silc/server/sources/ \
@@ -23,47 +23,49 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-PKG_SYSCONFSUBDIR?=	silcd
+SILCD_USER?=		silcd
+SILCD_GROUP?=		silcd
+PKG_GROUPS=		${SILCD_GROUP}
+PKG_USERS=		${SILCD_USER}:${SILCD_GROUP}::SILC\\ Server\\ user
 
-CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/silcd \
-			--with-etcdir=${PKG_SYSCONFBASE}/${PKG_SYSCONFSUBDIR} \
-			--with-silcd-config-file=${PKG_SYSCONFBASE}/${PKG_SYSCONFSUBDIR}/silcd.conf \
-			--with-silcd-pid-file=/var/run/silcd.pid \
-			--with-logsdir=/var/log/silcd \
-			--without-ncurses
-
-INSTALL_FILE=		${WRKDIR}/INSTALL
-DEINSTALL_FILE=		${WRKDIR}/DEINSTALL
-
-FILES_SUBST+=		PREFIX=${PREFIX}
-FILES_SUBST+=		CAT=${CAT:Q}
-FILES_SUBST+=		CHMOD=${CHMOD:Q}
-FILES_SUBST+=		CHOWN=${CHOWN:Q}
-FILES_SUBST+=		CMP=${CMP:Q}
-FILES_SUBST+=		CP=${CP:Q}
-FILES_SUBST+=		MKDIR=${MKDIR:Q}
-FILES_SUBST+=		RM=${RM:Q}
-FILES_SUBST+=		RMDIR=${RMDIR:Q}
-FILES_SUBST+=		TRUE=${TRUE:Q}
-FILES_SUBST+=		SILCD_CONF_DIR=${PKG_SYSCONFBASE}/${PKG_SYSCONFSUBDIR}
-FILES_SUBST+=		CONF_DIR=${PKG_SYSCONFBASE}
-FILES_SUBST_SED=	${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/-e s!@/}
-
-pre-install:
-	${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
-	${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE}
-	${SED} ${FILES_SUBST_SED} ${FILESDIR}/silcd.sh > ${WRKDIR}/silcd.sh
-	${SED} ${FILES_SUBST_SED} ${FILESDIR}/motd.txt > ${WRKDIR}/motd.txt
+PKG_SYSCONFSUBDIR?=	silcd
 
-post-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/motd.txt ${PREFIX}/share/doc/silcd/motd.txt.default
-	@PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
-	${INSTALL_SCRIPT} ${WRKDIR}/silcd.sh ${PKG_SYSCONFBASE}/rc.d/silcd
+CONF_FILES_MODE=	0600
+CONF_FILES=		${PREFIX}/share/doc/silcd/silcd.conf.default \
+			${PKG_SYSCONFDIR}/silcd.conf
+CONF_FILES_PERMS=	${PREFIX}/share/doc/silcd/motd.txt.default \
+			${PKG_SYSCONFDIR}/motd.txt \
+			${ROOT_USER} ${ROOT_GROUP} 0644
+SUPPORT_FILES_PERMS=	${PREFIX}/share/doc/silcd/silcd.default \
+			${PREFIX}/etc/rc.d/silcd \
+			${ROOT_USER} ${ROOT_GROUP} 0555
+
+RCD_SCRIPTS=		silcd
+RCD_SCRIPTS_MODE=	0555
+
+OWN_DIRS_PERMS+=	/var/log/silcd ${SILCD_USER} ${SILCD_GROUP} 0700
+
+INSTALL_EXTRA_TMPL=	${PKGDIR}/INSTALL
+DEINSTALL_EXTRA_TMPL=	${PKGDIR}/DEINSTALL
+
+CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/silcd
+CONFIGURE_ARGS+=	--with-etcdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=	--with-silcd-config-file=${PKG_SYSCONFDIR}/silcd.conf
+CONFIGURE_ARGS+=	--with-silcd-pid-file=/var/run/silcd.pid
+CONFIGURE_ARGS+=	--with-logsdir=/var/log/silcd
+CONFIGURE_ARGS+=	--without-ncurses
 
 .if (${MACHINE_ARCH} != "i386")
 CONFIGURE_ARGS+=	--disable-asm
 .endif
 
+post-install:
+	@${SED} ${FILES_SUBST_SED} ${FILESDIR}/silcd.sh \
+		> ${PREFIX}/share/doc/silcd/silcd.default
+	@${SED} ${FILES_SUBST_SED} ${FILESDIR}/motd.txt \
+		> ${PREFIX}/share/doc/silcd/motd.txt.default
+
 .include "../../devel/glib/buildlink.mk"
 .include "../../devel/pth/buildlink.mk"
+.include "../../mk/bsd.pkg.install.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/PLIST,v
retrieving revision 1.2
diff -u -u -r1.2 PLIST
--- PLIST	2001/12/17 00:43:10	1.2
+++ PLIST	2002/01/26 09:42:56
@@ -9,6 +9,7 @@
 share/doc/silcd/README
 share/doc/silcd/TODO
 share/doc/silcd/silcd.conf.default
+share/doc/silcd/silcd.default
 share/doc/silcd/motd.txt.default
 share/doc/silcd/examples/README
 share/doc/silcd/examples/cell1_backup.conf
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo	2001/12/28 21:29:16	1.4
+++ distinfo	2002/01/26 09:42:57
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.4 2001/12/28 21:29:16 hubertf Exp $
 
-SHA1 (silc-server-0.7.3.tar.bz2) = 4974c0cc1a14498b4cbc9861b9b96337768ea281
-Size (silc-server-0.7.3.tar.bz2) = 945075 bytes
-SHA1 (patch-aa) = b0d1100685af0e429a4405abf601d53bd8550fff
-SHA1 (patch-ab) = 84e7e136d32b76a05654ddb07f65ab9c3a70efe2
+SHA1 (silc-server-0.7.6.tar.bz2) = aec5ad2715c9179dc44b14eb707314f70fdee28f
+Size (silc-server-0.7.6.tar.bz2) = 955592 bytes
+SHA1 (patch-aa) = b448a5e53564c9e72076adc58c252a527971f35e
+SHA1 (patch-ab) = 91395362f578ffd75419a57399bed0bf3ba2d5ff
Index: files/motd.txt
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/files/motd.txt,v
retrieving revision 1.1
diff -u -u -r1.1 motd.txt
--- motd.txt	2001/12/17 00:43:31	1.1
+++ motd.txt	2002/01/26 09:42:57
@@ -1,10 +1,25 @@
--
-- Message of the Day:
--
-- This is new installed SILC Server from the NetBSD pkgsrc package.
--
-- Example configuration files are located in the following directory:
+- Message of the day:                       ,        ,
+-                                          /(        )`      
+-                                          \ \___   / |      
+-                                          /- _  `-/  '      
+-                                         (/\/ \ \   /\      
+-                                         / /   | `    \     
+-                                         O O   ) /    |     
+-                                         `-^--'`<     '     
+-                                         (_.)  _  )   /     
+-  WELCOME!                               `.___/`    /       
+-                                           `-----' /        
+-  This is a fresh new SILC    <----.     __ / __   \        
+-  Server installed from the   <----|====O)))==) \) /====    
+-  NetBSD pkgsrc package.      <----'    `--' `.__,' \       
+-                                           |        |       
+-                                           \       /        
+-  Example configuration files         ______( (_  / \_____  
+-  are located in the following      ,'  ,-----'   |       \ 
+-  directory:                        `--{__________)       \/
+-                                                    (FL)
 -   @PREFIX@/share/doc/silcd/examples/
 -
-- For more information about the SILC browse to http://silcnet.org/
+--------------------------------------------------------------
+- For more information about SILC browse to http://silcnet.org
 -
Index: files/silcd.sh
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/files/silcd.sh,v
retrieving revision 1.2
diff -u -u -r1.2 silcd.sh
--- silcd.sh	2001/12/17 00:43:11	1.2
+++ silcd.sh	2002/01/26 09:42:57
@@ -4,24 +4,26 @@
 #
 # PROVIDE: silcd
 # REQUIRE: DAEMON
+#
+# To start silcd at startup, copy this script to /etc/rc.d and set
+# silcd=YES in /etc/rc.conf.
 
 . /etc/rc.subr
 
 name="silcd"
+rcvar=$name
+confdir="@PKG_SYSCONFDIR@"
+required_files="$confdir/silcd.conf"
+required_dirs="/var/log/silcd"
 pidfile="/var/run/${name}.pid"
 command="@PREFIX@/sbin/silcd"
 start_precmd="silcd_precmd"
 stop_cmd="silcd_stop"
-confdir="@SILCD_CONF_DIR@"
 
 silcd_precmd()
 {
-	if [ -f $confdir/silcd.conf ]; then
-		if [ ! -f $confdir/silcd.prv ]; then
-			$command -C $confdir
-		fi
-	else
-		warn "Cannot open $confdir/silcd.conf"
+	if [ ! -f $confdir/silcd.prv ]; then
+		$command -C $confdir
 	fi
 }
 
@@ -36,10 +38,6 @@
 		exit 1
 	fi
 
-	if ! eval $_precmd && [ -z "$_rc_force_run" ]; then
-		return 1
-	fi      
-
 	echo "Stopping ${name}."
 	_doit=\
 "${_user:+su -m $_user -c '}kill -${sig_stop:-TERM} $_pid${_user:+'}"
@@ -51,4 +49,5 @@
 	fi
 }
 
+load_rc_config $name
 run_rc_command "$1"
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/patches/patch-aa,v
retrieving revision 1.2
diff -u -u -r1.2 patch-aa
--- patch-aa	2001/12/17 00:43:11	1.2
+++ patch-aa	2002/01/26 09:42:57
@@ -1,7 +1,7 @@
 $NetBSD: patch-aa,v 1.2 2001/12/17 00:43:11 hubertf Exp $
 
---- Makefile.in.orig	Sun Dec  9 21:24:29 2001
-+++ Makefile.in	Sun Dec  9 23:09:26 2001
+--- Makefile.in.orig	Tue Jan 22 20:40:58 2002
++++ Makefile.in
 @@ -528,25 +528,12 @@
  	-rm -rf $(distdir)
  
@@ -18,7 +18,7 @@
 -	fi
 -
 -sim-install:
--	-cp -fR $(srcdir)/lib/silcsim/modules/*.so $(modulesdir)/
+-	$(INSTALL_DATA) $(srcdir)/lib/silcsim/*.so $(modulesdir)/
  
  doc-install:
  	$(INSTALL_DATA) $(srcdir)/doc/CodingStyle $(docdir)/
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/patches/patch-ab,v
retrieving revision 1.2
diff -u -u -r1.2 patch-ab
--- patch-ab	2001/12/28 21:29:17	1.2
+++ patch-ab	2002/01/26 09:42:57
@@ -1,7 +1,7 @@
 $NetBSD: patch-ab,v 1.2 2001/12/28 21:29:17 hubertf Exp $
 
---- doc/example_silcd.conf.in.orig	Thu Nov 29 21:23:19 2001
-+++ doc/example_silcd.conf.in	Sun Dec  9 23:47:33 2001
+--- doc/example_silcd.conf.in.orig	Mon Jan 14 23:03:37 2002
++++ doc/example_silcd.conf.in
 @@ -8,25 +8,27 @@
  # Configured ciphers.
  #
@@ -56,15 +56,17 @@
  #
  [PKCS]
  rsa
-@@ -59,6 +63,7 @@
+@@ -59,30 +63,34 @@
  # run as root.
  #
  # Format: <user>:<group>
-+# Example: silcd:silcd
++# Example: nobody:nobody
  #
  [Identity]
- nobody:nobody
-@@ -67,22 +72,25 @@
+-nobody:nobody
++silcd:silcd
+ 
+ #
  # Server's administrative information.
  #
  # Format: <location>:<server type>:<admin's name>:<admin's email address>
@@ -106,24 +108,22 @@
  
  #
  # Log files.
-@@ -107,12 +116,13 @@
+@@ -120,9 +129,13 @@
  #         warninglogile:<path>:<max byte size>
  #         errorlogile:<path>:<max byte size>
  #         fatallogile:<path>:<max byte size>
-+# Example: infologfile:/usr/local/silc/logs/silcd.log:10000
++# Example: quicklogs:no:
++#          flushdelay:10:
++#          infologfile:/usr/local/silc/logs/silcd.log:10000
++#          
  #
  [Logging]
- infologfile:@LOGSDIR@/silcd.log:10000
--#warninglogfile:@LOGSDIR@/silcd_warning.log:10000
--#errorlogfile:@LOGSDIR@/error.log:10000
--#fatallogfile:@LOGSDIR@/silcd_error.log:
-+warninglogfile:@LOGSDIR@/silcd_warning.log:10000
-+errorlogfile:@LOGSDIR@/error.log:10000
-+fatallogfile:@LOGSDIR@/silcd_error.log:
- 
- #
- # Connection classes.
-@@ -121,6 +131,7 @@
+-quicklogs:no:
++quicklogs:yes:
+ flushdelay:300:
+ infologfile:@LOGSDIR@/silcd.log:50000
+ warninglogfile:@LOGSDIR@/silcd_warnings.log:50000
+@@ -136,6 +149,7 @@
  # used to optimize the server and the connections.#
  #
  # Format: <class number>:<ping freq>:<connect freq>:<max links>
@@ -131,7 +131,7 @@
  #
  [ConnectionClass]
  1:100:100:100
-@@ -130,6 +141,7 @@
+@@ -145,6 +159,7 @@
  # Configured client connections.
  #
  # Format: <remote host>:<auth method>:<auth data>:<port>:<class>
@@ -139,7 +139,7 @@
  #
  # The <auth data> is either passphrase or file path to the public key
  # file.
-@@ -141,12 +153,13 @@
+@@ -156,12 +171,13 @@
  # Configured server administrator connections
  #
  # Format: <host>:<username>:<nickname>:<auth method>:<auth data>
@@ -154,7 +154,7 @@
  
  #
  # Configured server connections.
-@@ -158,6 +171,10 @@
+@@ -173,6 +189,10 @@
  #
  # Format: <remote host>:<auth method>:<auth data>:<port>:
  #         <version ID>:<class>:<backup connection>
@@ -165,7 +165,7 @@
  #
  # The <auth data> is either passphrase or file path to the public key
  # file. If the connection is backup connection then set the <backup 
-@@ -165,10 +182,6 @@
+@@ -180,10 +200,6 @@
  # set to value 1 then this server will be backup router.
  #
  [ServerConnection]
@@ -176,7 +176,7 @@
  
  #
  # Configured router connections.
-@@ -181,6 +194,9 @@
+@@ -196,6 +212,9 @@
  # Format: <remote host>:<auth method>:<auth data>:<port>:<version ID>:
  #         <class>:<initiator>:<backup replace IP>:<backup replace port>:
  #         <local backup>
@@ -186,7 +186,7 @@
  #
  # The <auth data> is either passphrase or file path to the public key
  # file. If you are the initiator of the connection then set the <initiator>
-@@ -195,9 +211,6 @@
+@@ -210,9 +229,6 @@
  # If the backup router is in other cell then set it to value 0.
  #
  [RouterConnection]
@@ -196,7 +196,7 @@
  
  #
  # Denied connections.
-@@ -205,22 +218,28 @@
+@@ -220,22 +236,27 @@
  # These connections are denied to connect our server.
  #
  # Format: <remote host>:<port>:<comment>
@@ -220,15 +220,13 @@
 +@ETCDIR@/motd.txt
  
  #
--# Pid File
-+# Pidfile
-+#
-+# Specify the pidfile where it will be written.
+ # Pid File
  #
 -# specify the pidfile where it will be written:
++# Specify the pidfile where it will be written.
+ #
 +# Format: <filename>
 +# Example: /var/run/silcd.pid
- #
  [pid]
 -@PIDFILE@
 +/var/run/silcd.pid
>Release-Note:
>Audit-Trail:
>Unformatted: