Subject: pkg/18277: maintainer update of chat/silc-client to version 0.9.5.1
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 09/13/2002 00:38:49
>Number:         18277
>Category:       pkg
>Synopsis:       maintainer update of chat/silc-client to version 0.9.5.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 12 15:39:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.6_BETA5
>Organization:
>Environment:
>Description:

buildlink->buildlink2

Main changes between 0.9.2 and 0.9.5.1
=======================================

 * Do not set the locally resolved hostname for local client entry but take
   what server sends.  This way the real hostname is shown in WHOIS for
   yourself.

 * Fixed duplicate PKCS name registering to not allow it.

 * Enabled SIM support on *BSD systems.

 * Fixed buffer overflow and security problems (loosing bits in CFB
   encryption) in SILC RNG.

 * Fixed buffer overflow with CUMODE mode->mode character conversion.
          
 * Fixed a crash in client libary in NICK_CHANGE notify when NICK_CHANGE
   arrived for client entry we are resolving currently.
          
 * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer is NULL since it
   seems that on some platforms NULL is allowed and on some it's not.
   Fallback encoding is used instead.

 * Fixed a bug in Irssi SILC client to close the connection properly when
   disconnecting from server.  Handle local errors correctly during resuming.
>How-To-Repeat:

apply supplied patch, remove PLIST.modules, which is now part of PLIST since
we support SIM modules on *BSD systems now.

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-client/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	2002/06/21 16:31:13	1.15
+++ Makefile	2002/09/12 22:37:37
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.15 2002/06/21 16:31:13 jschauma Exp $
 
-DISTNAME=		silc-client-0.9.2
+DISTNAME=		silc-client-0.9.5.1
 CATEGORIES=		chat security
 MASTER_SITES=		http://www.silcnet.org/download/client/sources/ \
 			ftp://ftp.silcnet.org/silc/client/sources/ \
@@ -15,11 +15,11 @@
 HOMEPAGE=		http://www.silcnet.org/
 COMMENT=                Client for the Secure Internet Live Conferencing (SILC) protocol
 
-GNU_CONFIGURE=		yes
-USE_GMAKE=		yes
-USE_LIBTOOL=		yes
-USE_BUILDLINK_ONLY=	yes
-LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig
+GNU_CONFIGURE=		# defined
+USE_GMAKE=		# defined
+USE_GNU_ICONV=		# defined
+USE_BUILDLINK2=		# defined
+USE_LIBTOOL=		# defined
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -29,9 +29,17 @@
 CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/silc
 CONFIGURE_ARGS+=	--with-etcdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=	--with-simdir=${PREFIX}/lib/silc/modules
-CONFIGURE_ARGS+=	--with-ncurses=${BUILDLINK_DIR}
+CONFIGURE_ARGS+=	--with-iconv=${BUILDLINK_DIR}
+CONFIGURE_ARGS+=	--with-terminfo
 
-# list it into IPv6-ready packages
+# Use native curses library.
+.if (${OPSYS} == "NetBSD") || (${OPSYS} == "SunOS")
+CONFIGURE_ARGS+=	--with-vcurses
+.elif (${OPSYS} == "Linux") || (${OPSYS} == "Darwin")
+CONFIGURE_ARGS+=        --with-ncurses
+.endif
+
+# List it into IPv6-ready packages.
 BUILD_DEFS+=		USE_INET6
 CONFIGURE_ARGS+=	--enable-ipv6
 
@@ -43,30 +51,24 @@
 
 .if defined(SILC_CLIENT_WITH_PERL) && ${SILC_CLIENT_WITH_PERL} == YES
 CONFIGURE_ARGS+=	--with-perl-lib=${PREFIX}/lib/silc/perl5
-.include "../../lang/perl5/buildlink.mk"
+.include "../../lang/perl5/buildlink2.mk"
 PLIST_SRC+=		${PKGDIR}/PLIST.perl
 .else
 CONFIGURE_ARGS+=	--with-perl=no
 .endif
 
-# Loadable modules support.
-#
-.if (${OPSYS} == "SunOS") || (${OPSYS} == "Linux")
-PLIST_SRC+=		${PKGDIR}/PLIST.modules
-.endif
-
 # Assembler optimizations.
 #
 .if (${MACHINE_ARCH} != "i386")
 CONFIGURE_ARGS+=	--disable-asm
 .endif
 
-# If you want to help with testing silc-client, uncomment this.
+# If you want to debug silc-client, uncomment this.
 #
 #CONFIGURE_ARGS+=	--enable-debug
 
 PLIST_SRC+=		${PKGDIR}/PLIST
 
-.include "../../devel/ncurses/buildlink.mk"
-.include "../../devel/glib/buildlink.mk"
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../devel/glib/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-client/PLIST,v
retrieving revision 1.6
diff -u -r1.6 PLIST
--- PLIST	2002/05/24 21:38:08	1.6
+++ PLIST	2002/09/12 22:37:37
@@ -1,6 +1,17 @@
 @comment $NetBSD: PLIST,v 1.6 2002/05/24 21:38:08 hubertf Exp $
 bin/silc
 etc/silc/silc.conf
+lib/silc/modules/aes.sim.so
+lib/silc/modules/blowfish.sim.so
+lib/silc/modules/cast.sim.so
+lib/silc/modules/mars.sim.so
+lib/silc/modules/md5.sim.so
+lib/silc/modules/none.sim.so
+lib/silc/modules/rc5.sim.so
+lib/silc/modules/rc6.sim.so
+lib/silc/modules/rsa.sim.so
+lib/silc/modules/sha1.sim.so
+lib/silc/modules/twofish.sim.so
 share/doc/silc/CHANGES
 share/doc/silc/COPYING
 share/doc/silc/CREDITS
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/chat/silc-client/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- distinfo	2002/06/21 16:04:37	1.12
+++ distinfo	2002/09/12 22:37:37
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.12 2002/06/21 16:04:37 jschauma Exp $
 
-SHA1 (silc-client-0.9.2.tar.bz2) = 8cdccecf8c841e8c18fefd03678ea2ef33e089fb
-Size (silc-client-0.9.2.tar.bz2) = 1394309 bytes
+SHA1 (silc-client-0.9.5.1.tar.bz2) = 774d3f3ebf8a71ea2dab9be7f4b7bc1a8a31aa7f
+Size (silc-client-0.9.5.1.tar.bz2) = 1401244 bytes
 SHA1 (patch-aa) = 70dbd7ae4e0cf465f39086e0490781c61d48d7e1
>Release-Note:
>Audit-Trail:
>Unformatted: