Subject: pkg/17304: maintainer update of chat/silc-server to version 0.9.2
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtmntr.org>
List: netbsd-bugs
Date: 06/18/2002 01:59:00
>Number:         17304
>Category:       pkg
>Synopsis:       maintainer update of chat/silc-server to version 0.9.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 17 17:00:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.6_BETA1
>Organization:
>Environment:
>Description:

Changes from 0.9.1 to 0.9.2
===========================

* Support for multiple interfaces so now it's possible e.g. to listen
  on IPv4 and IPv6 within one daemon incarnation.

  WARNING: you will need to update your silcd.conf to reflect changes!

* Added lots of new statistics updating that was missing from the
  server and router code.  Sending SIGUSR1 signal to server now dumps
  the current server statistics into /tmp directory. 

* Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
  to silence a user on a channel.

* Fixed various fatal bugs,in handling of malformed command payload,
  double free when announcing channel users to router, missing
  parameter in a function call that caused server crash when
  a non-allowed connection arrived.

* Fixed some backup data sending around the code to work better  
  if the router is standalone router and fixed the router connectin
  when connecting to multiple routers.

* Fixed detach timeout handling to use Client ID and not the actual
  client entry which may be freed in the callback.
 
>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/Makefile,v
retrieving revision 1.11
diff -u -u -r1.11 Makefile
--- Makefile	2002/05/24 22:15:36	1.11
+++ Makefile	2002/06/17 23:39:21
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.11 2002/05/24 22:15:36 hubertf Exp $
 
-DISTNAME=		silc-server-0.9.1
-CATEGORIES=		chat
+DISTNAME=		silc-server-0.9.2
+CATEGORIES=		chat security
 MASTER_SITES=		http://www.silcnet.org/download/server/sources/ \
 			ftp://ftp.silcnet.org/silc/server/sources/ \
 			http://www.fi.silcnet.org/download/server/sources/ \
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/distinfo,v
retrieving revision 1.11
diff -u -u -r1.11 distinfo
--- distinfo	2002/05/24 22:15:36	1.11
+++ distinfo	2002/06/17 23:39:21
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.11 2002/05/24 22:15:36 hubertf Exp $
 
-SHA1 (silc-server-0.9.1.tar.bz2) = b925d8102efe90cdced7415fb9be501d3ef3c3c5
-Size (silc-server-0.9.1.tar.bz2) = 960514 bytes
+SHA1 (silc-server-0.9.2.tar.bz2) = 08fbd405661245d101f2ae3cb410e22999bd669d
+Size (silc-server-0.9.2.tar.bz2) = 964021 bytes
 SHA1 (patch-aa) = 97ccff02e5d2d1bd3ff64a1a1942525e5a4522bd
-SHA1 (patch-ab) = 482b7580cb95a0833c85f64a3d94c16b2b1c984f
+SHA1 (patch-ab) = c1563b7d56fca05113b6cc884c4f7c266383de82
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-server/patches/patch-ab,v
retrieving revision 1.5
diff -u -u -r1.5 patch-ab
--- patch-ab	2002/03/29 11:34:51	1.5
+++ patch-ab	2002/06/17 23:39:21
@@ -1,7 +1,7 @@
 $NetBSD: patch-ab,v 1.5 2002/03/29 11:34:51 rh Exp $
 
---- doc/example_silcd.conf.in.orig	Sun Mar 17 14:39:17 2002
-+++ doc/example_silcd.conf.in	Wed Mar 27 21:05:25 2002
+--- doc/example_silcd.conf.in.orig	Thu May 30 16:09:43 2002
++++ doc/example_silcd.conf.in	Tue Jun 18 01:27:59 2002
 @@ -36,7 +36,7 @@
  	# This is the default path where to search modules.  If omitted
  	# built-in modules will be used.  Built-in modules will also be
@@ -11,19 +11,34 @@
  
  	# If both passphrase and public key authentication is set for a
  	# connection the public key authentication is the preferred one
-@@ -139,8 +139,8 @@
+@@ -148,14 +148,14 @@
  	#
- 	# Server FQDN and IP address
+ 	# Server name (FQDN)
  	#
 -	hostname = "lassi.kuo.fi.ssh.com";
--	ip = "10.2.1.6";
 +	hostname = "localhost";
-+	ip = "127.0.0.1";
- 	port = 706;
  
  	#
-@@ -152,7 +152,7 @@
+ 	# Primary listener.  Specify the IP address and the port to bind
+ 	# the server.
  	#
+ 	Primary {
+-		ip = "10.2.1.6";
++		ip = "127.0.0.1";
+ 		port = 706;
+ 	};
+ 
+@@ -164,7 +164,7 @@
+ 	# several interfaces use the Secondary to specify the listener(s).
+ 	#
+ 	#Secondary { ip = "10.2.1.60"; port = 706; };
+-	#Secondary { ip = "10.2.1.160"; port = 706; };
++	Secondary { ip = "::1"; port = 706; };
+ 
+ 	#
+ 	# ServerType field specifies the purpose of this server
+@@ -175,7 +175,7 @@
+ 	#
  	# Geographic location
  	#
 -	Location = "Kuopio, Finland";
@@ -31,7 +46,7 @@
  
  	#
  	# Full admin name
-@@ -168,8 +168,8 @@
+@@ -191,8 +191,8 @@
  	# Run SILC server as specific user and group. The server must be 
  	# initially run as root.
  	#
@@ -42,7 +57,7 @@
  
  	#
  	# Public and private keys
-@@ -182,7 +182,7 @@
+@@ -205,7 +205,7 @@
  	#
  	# Specifies the text file displayed on client connection
  	#
@@ -51,7 +66,7 @@
  
  	#
  	# Pid file
-@@ -209,7 +209,7 @@
+@@ -232,7 +232,7 @@
  	# reduces memory usage.  By default it is false and log files are
  	# written with FlushDelay timeout.
  	#
@@ -60,7 +75,7 @@
  
  	# FlushDelay tells log files update delay (seconds) in case you 
  	# have chosen buffering output.  This setting has effect only if
-@@ -368,9 +368,9 @@
+@@ -391,9 +391,9 @@
  # required.
  #
  Admin {
@@ -73,7 +88,7 @@
  	Passphrase = "verysecret";
  	# PublicKey = "/path/to/the/public.key";
  };
-@@ -393,13 +393,13 @@
+@@ -416,13 +416,13 @@
  # to true. For normal connections set it false. If it is set to true then
  # this server will be backup router.
  #
@@ -94,7 +109,7 @@
  
  #
  # Configured router connections
-@@ -426,17 +426,17 @@
+@@ -452,17 +452,17 @@
  # backup router is in our cell then set the "BackupLocal" option to true.
  # If the backup router is in other cell then set it to false.
  #
>Release-Note:
>Audit-Trail:
>Unformatted: