Subject: pkg/15630: maintainer update of chat/silc-client to version 0.7.6.2
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 02/16/2002 10:38:09
>Number:         15630
>Category:       pkg
>Synopsis:       maintainer update of chat/silc-client to version 0.7.6.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 16 01:39:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.5ZA
>Organization:
>Environment:
>Description:

changes in chat/silc-client package:

- remove duplicate includes for gettext-lib and pth
- make patch-aa simpler

chnages in silc-client 0.7.3 -> 0.7.6.2:

 - Fixed a bug in hash table tarversing.
 - Fixed private message handling.
 - Fixed the channel message payload decryption in the function
   silc_channel_message_payload_decrypt to not modify the original
   buffer before it is verified that the message decrypted correctly.
   Otherwise, next time it is called with correct channel key it won't
   encrypt since the payload is corrupted.
 - Fixed SILC_LOG_ERROR and SILC_LOG_WARNING
 - Fixed the event_mode CMODE handler to not crash when mode is changed
   and +k mode is set in the channel.
 - Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer error than can
   occur while key agreement protocol.
 - Fixed the file transfer's key agreement payload to include zero port
   also if the hostname is NULL because it could not be bound.
 - Call file transfer monitor callback now also if error occurs during key
   agreement protocol.
 - Check that the file exists locally before sending the file transfer
   request at all.
 and a lot of minor changes and cleanups..

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-client/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	2002/01/26 18:30:08	1.6
+++ Makefile	2002/02/16 09:25:39
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.6 2002/01/26 18:30:08 hubertf Exp $
 
-DISTNAME=		silc-client-0.7.3
+DISTNAME=		silc-client-0.7.6.2
 CATEGORIES=		chat
 MASTER_SITES=		http://silcnet.org/download/client/sources/ \
 			ftp://ftp.silcnet.org/silc/client/sources/ \
@@ -35,8 +35,6 @@
 CONFIGURE_ARGS+=	--disable-asm
 .endif
 
-.include "../../devel/gettext-lib/buildlink.mk"
 .include "../../devel/ncurses/buildlink.mk"
 .include "../../devel/glib/buildlink.mk"
-.include "../../devel/pth/buildlink.mk"
 .include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-client/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	2002/01/26 18:30:08	1.5
+++ distinfo	2002/02/16 09:25:39
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.5 2002/01/26 18:30:08 hubertf Exp $
 
-SHA1 (silc-client-0.7.3.tar.bz2) = ec23912d5f057d4a103412a7d002ede6e2caa76e
-Size (silc-client-0.7.3.tar.bz2) = 1207594 bytes
-SHA1 (patch-aa) = 733ddfe7af2f027c32632253fbaee33457a979e9
+SHA1 (silc-client-0.7.6.2.tar.bz2) = 9e43a8eb93351fadac5f85ea4de694787e0d0dd6
+Size (silc-client-0.7.6.2.tar.bz2) = 1169734 bytes
+SHA1 (patch-aa) = ac7f90a001f05c8c0cb77078208a51414cf4463c
 SHA1 (patch-ab) = f54df58f1afb5deb4abc325632e0b9d081cea519
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-client/patches/patch-aa,v
retrieving revision 1.4
diff -u -r1.4 patch-aa
--- patch-aa	2002/01/26 18:30:09	1.4
+++ patch-aa	2002/02/16 09:25:39
@@ -1,8 +1,8 @@
 $NetBSD: patch-aa,v 1.4 2002/01/26 18:30:09 hubertf Exp $
 
---- Makefile.in.orig	Tue Jan 22 20:30:22 2002
-+++ Makefile.in	Wed Jan 23 16:29:41 2002
-@@ -529,24 +529,13 @@
+--- Makefile.in.orig	Sun Feb  3 21:46:36 2002
++++ Makefile.in	Mon Feb  4 15:34:23 2002
+@@ -528,10 +528,8 @@
  
  install-dirs:
  	-mkdir -p $(etcdir)
@@ -10,15 +10,10 @@
  	-mkdir -p $(helpdir)
  	-mkdir -p $(docdir)
 -	-mkdir -p $(logsdir)
--
--generate-server-key:
--	-@if test '!' -f $(etcdir)/silcd.pub ; then \
--	  $(sbindir)/silcd -C $(etcdir); \
--	fi
--
--sim-install:
--	$(INSTALL_DATA) $(srcdir)/lib/silcsim/*.so $(modulesdir)/
  
+ generate-server-key:
+ 	-@if test '!' -f $(etcdir)/silcd.pub ; then \
+@@ -544,8 +542,7 @@
  doc-install:
  	$(INSTALL_DATA) $(srcdir)/doc/CodingStyle $(docdir)/
  	$(INSTALL_DATA) $(srcdir)/doc/FAQ $(docdir)/
@@ -28,16 +23,9 @@
  	$(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/
  	$(INSTALL_DATA) $(srcdir)/CHANGES $(docdir)/
  	$(INSTALL_DATA) $(srcdir)/CREDITS $(docdir)/
-@@ -554,24 +543,13 @@
- 	$(INSTALL_DATA) $(srcdir)/INSTALL $(docdir)/
- 	$(INSTALL_DATA) $(srcdir)/TODO $(docdir)/
+@@ -565,17 +562,12 @@
+ 	$(INSTALL_DATA) $(srcdir)/doc/examples/cell* $(docdir)/examples/
  
--examples-install:
--	-mkdir -p $(docdir)/examples/
--	$(INSTALL_DATA) $(srcdir)/doc/examples/README $(docdir)/examples/
--	$(INSTALL_DATA) $(srcdir)/doc/examples/silc* $(docdir)/examples/
--	$(INSTALL_DATA) $(srcdir)/doc/examples/cell* $(docdir)/examples/
--
  etc-install:
 -	-@if test '!' -f $(etcdir)/silcd.conf ; then \
 -	  $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf \
@@ -51,6 +39,6 @@
  
 -@SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs sim-install doc-install etc-install
 +@SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs doc-install etc-install
- @SILC_DIST_CLIENT_FALSE@install-data-hook: install-dirs generate-server-key sim-install doc-install examples-install etc-install
+ @SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_TRUE@install-data-hook: install-dirs generate-server-key sim-install doc-install toolkit-install examples-install etc-install
+ @SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_FALSE@install-data-hook: install-dirs generate-server-key sim-install doc-install examples-install etc-install
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
>Release-Note:
>Audit-Trail:
>Unformatted: