--- silc-client-1.1.4.orig/debian/changelog
+++ silc-client-1.1.4/debian/changelog
@@ -0,0 +1,432 @@
+silc-client (1.1.4-1+lenny1~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Wed, 02 Sep 2009 03:21:46 +0200
+
+silc-client (1.1.4-1+lenny1) stable-security; urgency=high
+
+  * Backport upstream security fixes:
+    - [ebfe5dc] ASN1: Fix stack variable overwrite when encoding OID
+    - [1598b3a] Fixed string format vulnerability in client entry handling
+    - [8cb801c] More string format fixes in silcd and client libary
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Mon, 31 Aug 2009 15:40:44 +0200
+
+silc-client (1.1.4-1) unstable; urgency=low
+
+  * New upstream release:
+    - SECURITY: fixes possible buffer overflow in PKCS#1 message decoding.
+  * Setting urgency to high for the security update.
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Tue, 25 Mar 2008 15:06:16 +0100
+
+silc-client (1.1.3-2) unstable; urgency=low
+
+  [ JÃ©rÃ©my Bobbio ]
+  * Add a watch file.
+  * Cherry-pick bugfixes from silc-toolkit 1.1.6 to update the embedded copy
+    used by the irssi plugin.
+  * Bump Standards-Version (no changes required).
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Sun, 09 Mar 2008 00:23:19 +0000
+
+silc-client (1.1.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Move Homepage field from description to control section
+  * Add missing empty directory lib/silcutils/symbian due to upstream
+    autotools breakage
+  * Add myself to Uploaders
+
+ -- Micah Anderson <micah@debian.org>  Sat, 24 Nov 2007 14:49:16 -0500
+
+silc-client (1.1.2-3) unstable; urgency=low
+
+  * Fix typo in README.Debian for irssi-plugin-silc.
+  * Improve the package description, thanks to Anarcat.
+  * Fix issues in debian/copyright mentioned by ftpmaster.
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Tue, 25 Sep 2007 22:23:11 +0200
+
+silc-client (1.1.2-2) unstable; urgency=low
+
+  * Fix some IA64 related functions in lib/silcutil/silcatomic.h, allowing
+    irssi-plugin-silc to build on ia64.
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Wed, 11 Jul 2007 14:06:27 +0200
+
+silc-client (1.1.2-1) unstable; urgency=low
+
+  * New upstream release, including security fixes for irssi-plugin-silc.
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Sat, 07 Jul 2007 01:29:12 +0200
+
+silc-client (1.1.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Clean up the configure target for irssi-plugin-silc according to the new
+    upstream options.
+  * Update irssi-plugin-silc.install to fit new file locations.
+  * Remove the "Zero timeouts" optimisation from
+    apps/irssi/src/silc/core/silc-core.c: this fails when the client is built
+    with thread (which is the case with the irssi plugin).
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Fri, 29 Jun 2007 18:49:55 +0200
+
+silc-client (1.1-2) unstable; urgency=low
+
+  * Depends on libsilc-1.1-2-dev to get security fixes into silc package.
+  * Backport fixes (for irssi-plugin-silc) to silc_create_key_pair(),
+    silc_mime_decode() (exploitable buffer overflow) and
+    silc_sftp_client_io (exploitable buffer overflow) from silc-toolkit 1.1.1.
+  * Fix lintian warning "debian-rules-ignores-make-clean-error" in
+    debian/rules. 
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Wed, 27 Jun 2007 15:28:31 +0200
+
+silc-client (1.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Rename silc-client binary package to silc (to be consistent with
+    silc-server).
+  * Adapt debian/irssi-plugin-silc.install to new upstream paths.
+  * Improve debian/copyright. 
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Sat, 16 Jun 2007 19:40:18 +0100
+
+silc-client (1.1~beta6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Now maintained inside the Debian SILC team.
+  * Add myself as uploader.
+  * Use libglib2.0-dev instead of libglib1.2-dev.
+  * Use libsilc-1.1-1-dev instead of the libsilc source shipped in upstream
+    tarball.
+  * Major packaging overhaul, with lots of cleanup in debian/rules.
+  * Remove an uneeded shebang in apps/irssi/scripts/silc.pl.
+  * Fix latin1 character in manpage.
+  * Build irssi-plugin-silc.  It's currently done far less than ideal: it uses
+    the embeded copy of libsilc and the embedded copy of irssi instead of
+    libsilc-dev and irssi-dev.  We'll have to work with upstream to fit more
+    nicely into Debian...
+
+ -- JÃ©rÃ©my Bobbio <lunar@debian.org>  Thu, 31 May 2007 03:36:02 +0200
+
+silc-client (1.0.4.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * still same old packaging.
+  * clean target does a bit more, hoping for a sparer diff.gz
+  * using upstream's man pages now.
+
+ -- Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>  Sun,  8 Apr 2007 15:27:40 -0400
+
+silc-client (1.0.3-1) unstable; urgency=low
+
+  * New upstream release
+  * built against a debian etch system
+  * bumped debhelper to version 5
+  * added back dh_strip to produce stripped binaries and libraries.
+  * removed obsolete local variables from bottom of changelog
+
+ -- Daniel Kahn Gillmor <dkg@squeak.fifthhorseman.net>  Mon,  5 Jun 2006 15:17:39 -0400
+
+silc-client (1.0.1-1) unstable; urgency=low
+
+  * When resuming a session fails, notify the user that the session
+    file needs to be removed eventually
+  * Typofix in Irssi::Silc module
+  * Changed the way NOTICE flagged messages are treated. Added support
+    for notices in queries and signing notices
+  * Fixed typo in /ACTION help
+  * Fixed typo in perl module
+  * Changed the way ACTION flagged messages are treated. Added support
+    for actions in queries and signing actions
+  * Incorrectly reported error when client had to be resolved from server
+    in /SMSG
+  * Changed filenames of silc/fe module not to collide with filenames
+    from core/fe.  Also seperated public messages printing from
+    query messages printing
+  * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
+    networks
+  * /SMSG and /MMSG now correctly create new queries
+  * Add basic support for SILC protocol specific variables in perl
+  * Don't use silc_get_input, it's obviously not reliable.  Fixes
+    issue when the current key expires
+  * Make the session data filename configurable. This makes it possible to
+    have different session files for different SILC networks
+  * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
+    Client for NO_SUCH_NICK.  It was against the protocol specs
+  * Initialize the variable idletag, since it is tested in
+    silc_core_deinit for its default value
+
+ -- Tamas SZERB <toma@rulez.org>  Thu, 15 Jan 2004 22:04:35 +0100
+
+silc-client (1.0-1) unstable; urgency=low
+
+  * Help file updates.  Affected files in irssi/src/docs/help/in/. 
+  * Happy new 1.0 client! :) VWOL
+
+ -- Tamas SZERB <toma@rulez.org>  Tue,  6 Jan 2004 14:54:10 +0100
+
+silc-client (0.9.16-1) unstable; urgency=low
+
+  * Fixed the file transfer (see /HELP FILE) session accepting and closing.
+  * Implemented optimized RSA algorithm for faster private key operations.
+    Private key operations are now at least 30% faster.  Note however that,
+    this optimization works only with newly generated key pairs.
+    Unfortunately, it is not possible to transfer the old private key to
+    the new optimized format.  There is no compatibility issues with old or
+    new private keys (new private keys work with older SILC Clients as
+    well, but they are slower to use).
+  * Implemented support for searching users in the network by their public
+    keys using WHOIS command.  Note that, this feature will work only with
+    upcoming SILC Server.  Current SILC Server 0.9.15 or older does not
+    support this feature.
+    See the /HELP WHOIS for revised help information on searching by
+    public key.
+  * Fixed nickname formatting to not mess the /NAMES command output.
+  * Fixed MIME header parsing to not show extra characters in the MIME type
+    name.
+  * Added /LISTKEYS help file (see /HELP LISTKEYS).
+  * Removed RC6 algorithm from distribution.
+  * Several other bugfixes were made.
+
+ -- Tamas SZERB <toma@rulez.org>  Fri, 21 Nov 2003 01:29:21 +0100
+
+silc-client (0.9.15-1) unstable; urgency=low
+
+  * Added LISTKEYS command which can be used to list server and client
+    public keys from the ~./silc directory.  See /HELP LISTKEYS.
+  * Improved the MMSG command.  See /HELP MMSG
+  * Be careful, if you want to use this command, the suggested
+    packages must be installed and loaded the corresponding script:
+    /script load /usr/share/silc-client/silc/scripts/silc-mime.pl
+  * Several other bugfixes were made
+
+ -- Tamas SZERB <toma@rulez.org>  Tue,  4 Nov 2003 16:52:58 +0100
+
+silc-client (0.9.14-1) unstable; urgency=low
+
+  * multimedia message introduced 
+    /script load /usr/share/silc-client/silc/scripts/silc-mime.pl
+    /MMSG -channel foobar /path/to/file.gif 
+    to send a GIF image
+  * crashbugs, other bugs fixed.
+
+ -- Tamas SZERB <toma@rulez.org>  Tue, 28 Oct 2003 17:01:33 +0100
+
+silc-client (0.9.13-1) unstable; urgency=low
+
+  * new upstream release (VULN, bugfix) 
+
+ -- Tamas SZERB <toma@rulez.org>  Thu, 16 Oct 2003 15:52:00 +0200
+
+silc-client (0.9.12.1-1) unstable; urgency=low
+
+  * new upstream release (bugfix version) 
+
+ -- Tamas SZERB <toma@rulez.org>  Tue, 18 Mar 2003 23:34:59 +0100
+
+silc-client (0.9.12-1) unstable; urgency=low
+
+  * new upstream release (bugfix version) such as
+    buffer overflows, founder key change fix,
+    and lot of rewrited stuffs.
+
+ -- Tamas SZERB <toma@rulez.org>  Mon, 17 Mar 2003 19:54:31 +0100
+
+silc-client (0.9.11-1) unstable; urgency=low
+
+  * new upstream release (bugfix version) such as
+  * buffer overflows and others
+  * this version needs to regenerate the keypair if you skipped
+    0.9.10
+
+ -- Tamas SZERB <toma@rulez.org>  Wed,  8 Jan 2003 23:32:49 +0100
+
+silc-client (0.9.10.1-1) unstable; urgency=low
+
+  * new upstream release (bugfix version)
+  * backup router bug fix
+  * enc/dec length check
+  * seckey padding fix
+
+ -- Tamas SZERB <toma@rulez.org>  Mon, 16 Dec 2002 12:39:28 +0100
+
+silc-client (0.9.10-1) unstable; urgency=low
+
+  * new upstream release
+  * perl support
+  * several bugfixes (privkey handle, chan privkey hash md5->sha1 change)
+  * CMODE/CUMODE enhancement
+  * INVITE/BAN by pubkey
+  * SMSG: digitally signed message
+  * disables the shared library compilation by default again
+  * SIMs are compiled
+
+ -- Tamas SZERB <toma@rulez.org>  Fri,  6 Dec 2002 16:42:51 +0100
+
+silc-client (0.9.9.1-1) unstable; urgency=low
+
+  * protocol SILC 1.2
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Fri, 29 Nov 2002 15:33:59 +0100
+
+silc-client (0.9.8-1) unstable; urgency=low
+
+  * --disable-shared so no SIMs
+  * passphrase key protection (with silc -P)
+  * UTF8 displaying improvement
+  * manpage silc(1)
+
+ -- Tamas SZERB <toma@rulez.org>  Wed,  6 Nov 2002 18:35:03 +0100
+
+silc-client (0.9.7-2) unstable; urgency=low
+
+  * libc6 dependency error (2.3 required but the dh_shlibdeps
+    calcluated older, so in control file the static written libc6
+    dependency is only a workaround)
+
+ -- Tamas SZERB <toma@rulez.org>  Mon, 21 Oct 2002 22:41:27 +0200
+
+silc-client (0.9.7-1) unstable; urgency=low
+
+  * new upstream release
+  * mainly the /attr fix in upstream 
+
+ -- Tamas SZERB <toma@rulez.org>  Mon, 21 Oct 2002 20:53:53 +0200
+
+silc-client (0.9.6-1) unstable; urgency=low
+
+  * new upstream release
+  * /whois -details support
+  * /attr support
+
+ -- Tamas SZERB <toma@rulez.org>  Thu, 17 Oct 2002 22:46:48 +0200
+
+silc-client (0.9.5.1-2) unstable; urgency=low
+
+  * with --enable-ipv6 configure option
+
+ -- Tamas SZERB <toma@rulez.org>  Fri, 13 Sep 2002 17:45:18 +0200
+
+silc-client (0.9.5.1-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Sun,  8 Sep 2002 13:58:09 +0200
+
+silc-client (0.9.4-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Mon, 24 Jun 2002 14:58:06 +0200
+
+silc-client (0.9.3-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Sun, 23 Jun 2002 12:33:05 +0200
+
+silc-client (0.9.2-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Fri, 21 Jun 2002 10:17:58 +0200
+
+silc-client (0.9.1-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Sat, 18 May 2002 23:21:37 +0200
+
+silc-client (0.8.6-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Wed, 17 Apr 2002 00:07:17 +0200
+
+silc-client (0.8.5-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Sat, 30 Mar 2002 20:16:16 +0100
+
+silc-client (0.8.4-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Fri, 29 Mar 2002 15:00:31 +0100
+
+silc-client (0.8.3-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Mon, 25 Mar 2002 19:09:51 +0100
+
+silc-client (0.8.2-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Thu, 21 Mar 2002 22:11:56 +0100
+
+silc-client (0.8.1-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Tue, 12 Mar 2002 18:23:46 +0100
+
+silc-client (0.8-2) unstable; urgency=low
+
+  * fixed libncurses4 -> 5 dependency bug
+
+ -- Tamas SZERB <toma@rulez.org>  Tue,  5 Mar 2002 02:48:31 +0100
+
+silc-client (0.8-1) unstable; urgency=low
+
+  * new upstream release
+  * due several problems with the perl module, the package is
+    compiled without it.
+
+ -- Tamas SZERB <toma@rulez.org>  Tue, 26 Feb 2002 18:27:00 +0100
+
+silc-client (0.7.6.2-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Wed,  6 Feb 2002 13:25:03 +0100
+
+silc-client (0.7.5-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Fri,  1 Feb 2002 17:10:42 +0100
+
+silc-client (0.7.3-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Fri, 25 Jan 2002 04:07:51 +0100
+
+silc-client (0.7.2-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Tamas SZERB <toma@rulez.org>  Tue,  8 Jan 2002 23:29:11 +0100
+
+silc-client (0.7-1) unstable; urgency=low
+
+  * new upstream release 
+
+ -- Tamas SZERB <toma@rulez.org>  Mon, 10 Dec 2001 07:04:23 -0800
+
+silc-client (0.6.6-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #118202)
+
+ -- Tamas SZERB <toma@rulez.org>  Tue, 30 Oct 2001 00:03:17 +0100
+
+
--- silc-client-1.1.4.orig/debian/docs
+++ silc-client-1.1.4/debian/docs
@@ -0,0 +1,3 @@
+README
+TODO
+CREDITS
--- silc-client-1.1.4.orig/debian/silc.manpages
+++ silc-client-1.1.4/debian/silc.manpages
@@ -0,0 +1 @@
+doc/silc.1
--- silc-client-1.1.4.orig/debian/silc.install
+++ silc-client-1.1.4/debian/silc.install
@@ -0,0 +1,4 @@
+etc/silc/silc.conf
+usr/bin/silc
+usr/share/silc/themes
+usr/share/silc/help
--- silc-client-1.1.4.orig/debian/compat
+++ silc-client-1.1.4/debian/compat
@@ -0,0 +1 @@
+5
--- silc-client-1.1.4.orig/debian/irssi-plugin-silc.install
+++ silc-client-1.1.4/debian/irssi-plugin-silc.install
@@ -0,0 +1,5 @@
+usr/share/irssi/scripts
+usr/share/irssi/themes
+usr/share/irssi/help
+usr/lib/perl5
+usr/lib/irssi/modules/*.so*
--- silc-client-1.1.4.orig/debian/silc.examples
+++ silc-client-1.1.4/debian/silc.examples
@@ -0,0 +1 @@
+apps/irssi/silc.conf
--- silc-client-1.1.4.orig/debian/silc.README.Debian
+++ silc-client-1.1.4/debian/silc.README.Debian
@@ -0,0 +1,7 @@
+silc-client for Debian
+----------------------
+
+At 1st, try to use 
+/server silc.silcnet.org
+
+ -- Tamas SZERB <toma@rulez.org>, Tue, 30 Oct 2001 00:03:17 +0100
--- silc-client-1.1.4.orig/debian/watch
+++ silc-client-1.1.4/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://silcnet.org/download/client/sources/silc-client-([\d\.]+)\.tar\.gz \
+        debian svn-upgrade
--- silc-client-1.1.4.orig/debian/copyright
+++ silc-client-1.1.4/debian/copyright
@@ -0,0 +1,474 @@
+This package was debianized by Tamas SZERB <toma@rulez.org> on
+Tue, 30 Oct 2001 00:03:17 +0100.
+
+Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net> converted it
+for silc-client 1.0.3
+
+The upstream tarball was downloaded from
+http://silcnet.org/download/client/sources/ and
+http://silcnet.org/priikone/pre/ for pre-release versions.
+
+Upstream Authors:
+
+    Pekka Riikonen <priikone@silcnet.org>
+
+Copyright:
+
+    Copyright (C) 1997-2007 Pekka Riikonen
+    and others, see CREDITS.
+   
+    silc-client is based on irssi:
+
+      Original code:
+      
+        Timo Sirainen <cras@irssi.org>
+      
+      Irssi staff (current maintainers) <staff@irssi.org>:
+      
+        Valentin Batz (senneth, vb)
+        Wouter Coekaerts (coekie)
+        Jochen Eisinger (c0ffee)
+        Geert Hauwaerts
+        Emanuele Giaquinta (exg)
+      
+      Large feature patches by:
+      
+        David Leadbeater (dg, dgl) : isupport
+        vjt@users.sf.net : SSL support
+        Joel Eriksson : SSL certs
+        Heikki Orsila : DCC SEND queueing
+        Mark Trumbull : DCC SERVER
+        Francesco Fracassi : Passive DCC
+      
+      Other patches (grep for "patch" in ChangeLog) by:
+      
+        Toby Peterson
+        Soren Jacobsen
+        Kuang-che Wu
+        Joost Vunderink (Garion)
+        Wang WenRui
+        Jean-Yves Lefort (decadix)
+        Joel Eriksson
+        Maarten van der Zwaart
+        Noah Levitt
+        Krzysztof Kowalik (Borys)
+        Peder Stray
+        mls@suse.de
+        nix@suhs.nu
+        Marcin Kowalczyk (Qrczak)
+        Petr Baudis
+        Bjoern Krombholz (fuchs)
+        aldem-irssi@aldem.net,
+        BC-bd
+        Juerd
+        Han
+        pv2b
+        Tommi Komulainen (tommik)
+        mike@po.cs.msu.su
+        zinx@magenet.net
+        yathen@web.de
+        paul@raade.org
+        Leszek Matok
+        tygrys@moo.pl
+        manoj@io.com
+        cph@cph.demon.co.uk
+        ganesh@earth.li
+        Jakub Jankowski (shasta)
+        vanilla@freebsd.org
+        Tinuk
+        Mark Glines
+        Kjetil Ã˜degaard
+        Chris Moore
+        ComradeP
+        Jilles Tjoelker
+        Lauri Nurmi
+        Mikko Rauhala
+        loafier
+        Nicolas Collignon
+        Daniel Koning
+
+License:
+
+    silc-client is distributed under the terms of the GNU General Public
+    License, version 2.
+
+On Debian systems, a copy of the GNU General Public License, version 2 is
+available in /usr/share/common-licenses/GPL-2 as part of the base-files
+package.
+ 
+Exceptions to the previous statements:
+
+  * apps/irssi/src/core/args.c,
+    apps/irssi/src/core/modules-load.c,
+    apps/irssi/src/core/modules.c,
+    apps/irssi/src/core/servers-setup.c,
+    apps/irssi/src/fe-common/core/autorun.c,
+    apps/irssi/src/fe-common/core/fe-help.c,
+    apps/irssi/src/fe-common/core/fe-server.c,
+    apps/irssi/src/fe-common/core/keyboard.c,
+    apps/irssi/src/fe-text/gui-windows.c,
+    apps/irssi/src/fe-text/lastlog.c,
+    apps/irssi/src/fe-text/statusbar-items.c,
+    apps/irssi/src/fe-text/term-curses.c,
+    apps/irssi/src/fe-text/textbuffer-commands.c,
+    apps/irssi/src/fe-text/textbuffer-reformats.c,
+    apps/irssi/src/fe-text/textbuffer-view.c,
+    apps/irssi/src/fe-text/textbuffer.c,
+    apps/irssi/src/perl/perl-core.c,
+    apps/irssi/src/perl/perl-fe.c,
+    apps/irssi/src/perl/perl-signals.c,
+    apps/irssi/src/perl/perl-sources.c:
+    
+    Copyright (C) 1999-2001 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/core/channels-setup.c,
+    apps/irssi/src/core/channels.c,
+    apps/irssi/src/core/chatnets.c,
+    apps/irssi/src/core/commands.c,
+    apps/irssi/src/core/core.c,
+    apps/irssi/src/core/ignore.c,
+    apps/irssi/src/core/levels.c,
+    apps/irssi/src/core/line-split.c,
+    apps/irssi/src/core/log-away.c,
+    apps/irssi/src/core/log.c,
+    apps/irssi/src/core/masks.c,
+    apps/irssi/src/core/net-disconnect.c,
+    apps/irssi/src/core/network.c,
+    apps/irssi/src/core/nicklist.c,
+    apps/irssi/src/core/pidwait.c,
+    apps/irssi/src/core/queries.c,
+    apps/irssi/src/core/rawlog.c,
+    apps/irssi/src/core/recode.c,
+    apps/irssi/src/core/servers-reconnect.c,
+    apps/irssi/src/core/servers.c,
+    apps/irssi/src/fe-common/core/chat-completion.c,
+    apps/irssi/src/fe-common/core/fe-channels.c,
+    apps/irssi/src/fe-common/core/fe-common-core.c,
+    apps/irssi/src/fe-common/core/fe-core-commands.c,
+    apps/irssi/src/fe-common/core/fe-ignore.c,
+    apps/irssi/src/fe-common/core/fe-log.c,
+    apps/irssi/src/fe-common/core/fe-modules.c,
+    apps/irssi/src/fe-common/core/fe-queries.c,
+    apps/irssi/src/fe-common/core/fe-recode.c,
+    apps/irssi/src/fe-common/core/fe-windows.c,
+    apps/irssi/src/fe-common/core/formats.c,
+    apps/irssi/src/fe-common/core/hilight-text.c,
+    apps/irssi/src/fe-common/core/printtext.c,
+    apps/irssi/src/fe-common/core/themes.c,
+    apps/irssi/src/fe-common/core/translation.c,
+    apps/irssi/src/fe-common/core/window-activity.c,
+    apps/irssi/src/fe-text/mainwindows.c:
+
+    Copyright (C) 1999-2000 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/core/chat-commands.c,
+    apps/irssi/src/core/chat-protocols.c,
+    apps/irssi/src/core/expandos.c,
+    apps/irssi/src/core/special-vars.c,
+    apps/irssi/src/fe-common/core/completion.c,
+    apps/irssi/src/fe-common/core/fe-expandos.c,
+    apps/irssi/src/fe-common/core/fe-ignore-messages.c,
+    apps/irssi/src/fe-common/core/fe-messages.c,
+    apps/irssi/src/fe-common/core/module-formats.c,
+    apps/irssi/src/fe-common/core/window-commands.c,
+    apps/irssi/src/fe-common/core/window-items.c,
+    apps/irssi/src/fe-common/silc/fe-silc-channels.c,
+    apps/irssi/src/fe-text/gui-expandos.c,
+    apps/irssi/src/fe-text/mainwindow-activity.c,
+    apps/irssi/src/fe-text/module-formats.c,
+    apps/irssi/src/perl/perl-common.c:
+
+    Copyright (C) 2000 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+ 
+  * apps/irssi/src/core/misc.c,
+    apps/irssi/src/core/settings.c,
+    apps/irssi/src/fe-common/core/command-history.c,
+    apps/irssi/src/fe-common/core/fe-settings.c,
+    apps/irssi/src/fe-text/gui-entry.c,
+    apps/irssi/src/fe-text/gui-printtext.c,
+    apps/irssi/src/fe-text/gui-readline.c,
+    apps/irssi/src/lib-config/get.c,
+    apps/irssi/src/lib-config/parse.c,
+    apps/irssi/src/lib-config/set.c,
+    apps/irssi/src/lib-config/write.c:
+
+    Copyright (C) 1999 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/core/net-nonblock.c:
+
+    Copyright (C) 1998-2000 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/core/network-openssl.c:
+
+    Copyright (C) 2002 vjt
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/core/nickmatch-cache.c,
+    apps/irssi/src/core/session.c,
+    apps/irssi/src/core/write-buffer.c,
+    apps/irssi/src/fe-text/statusbar-config.c,
+    apps/irssi/src/fe-text/term-dummy.c,
+    apps/irssi/src/fe-text/term-terminfo.c,
+    apps/irssi/src/fe-text/term.c,
+    apps/irssi/src/perl/module-formats.c:
+
+    Copyright (C) 2001 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/core/signals.c:
+
+    Copyright (C) 1999-2002 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/fe-common/core/fe-exec.c,
+    apps/irssi/src/fe-common/core/windows-layout.c:
+
+    Copyright (C) 2000-2001 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/fe-common/core/utf8.c:
+
+    Copyright (C) 1991-2002 Free Software Foundation, Inc.
+    Copyright (C) 1999 Tom Tromey
+    Copyright (C) 2000 Red Hat, Inc.
+    Copyright (C) 2002 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/fe-common/silc/fe-silc-messages.c:
+
+    Copyright (C) 2002 Jochen Eisinger
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/fe-common/silc/fe-silc-messages.c:
+
+    Copyright (C) 2003 Jochen Eisinger
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/fe-common/silc/fe-silcnet.c:
+ 
+    Copyright (C) 2000 Timo Sirainen
+    Copyright (C) 2003 Jochen Eisinger
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/fe-text/silc.c:
+
+    Copyright (C) 1999-2000, 2007 Timo Sirainen
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * apps/irssi/src/fe-text/tparm.c:
+
+    Public Domain.
+
+  * apps/irssi/src/lib-popt/findme.c:
+    apps/irssi/src/lib-popt/findme.h,
+    apps/irssi/src/lib-popt/popt.c,
+    apps/irssi/src/lib-popt/popt.h,
+    apps/irssi/src/lib-popt/poptconfig.c,
+    apps/irssi/src/lib-popt/popthelp.c,
+    apps/irssi/src/lib-popt/poptint.h,
+    apps/irssi/src/lib-popt/poptparse.c:
+
+    Copyright (c) 1998 Red Hat Software
+
+    Permission is hereby granted, free of charge, to any person obtaining a
+    copy of this software and associated documentation files (the "Software"),
+    to deal in the Software without restriction, including without limitation
+    the rights to use, copy, modify, merge, publish, distribute, sublicense,
+    and/or sell copies of the Software, and to permit persons to whom the
+    Software is furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be included in
+    all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+    THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+    OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+    SOFTWARE.
+
+    Except as contained in this notice, the name of the X Consortium shall not
+    be used in advertising or otherwise to promote the sale, use or other
+    dealings in this Software without prior written authorization from the X
+    Consortium.
+
+  * apps/irssi/src/silc/silc-chatnets.c:
+ 
+    Copyright (C) 1999-2000 Timo Sirainen
+    Copyright (C) 2003 Jochen Eisinger
+
+    Licensed under the GNU General Public License, version 2 or any later
+    version.
+
+  * lib/contrib/getopti.c,
+    lib/contrib/getopti.h:
+
+    Public Domain.
+
+  * lib/contrib/nfkc.c,
+    lib/contrib/stringprep.c:
+
+    Copyright (C) 2002, 2003, 2004, 2005 Simon Josefsson
+
+    Licensed under the GNU Lesser General Public License, version 2.1 or any
+    later version.
+
+  * lib/contrib/regexpr.c,
+    lib/contrib/regexpr.h:
+
+    Copyright (C) 1991 Tatu Ylonen
+
+    Permission to use, copy, modify, distribute, and sell this software and its
+    documentation is hereby granted without fee, provided that the above
+    copyright notice appears in all source code copies, the name of Tatu Ylonen
+    is not used to advertise products containing this software or a derivation
+    thereof, and all modified versions are clearly marked as such.
+
+  * lib/silccrypt/aes.c:
+
+    Copyright (C) 1998-2006 Brian Gladman
+
+    The free distribution and use of this software in both source and binary
+    form is allowed (with or without changes) provided that:
+
+      1. distributions of this source code include the above copyright
+         notice, this list of conditions and the following disclaimer;
+
+      2. distributions in binary form include the above copyright
+         notice, this list of conditions and the following disclaimer
+         in the documentation and/or other associated materials;
+
+      3. the copyright holder's name is not used to endorse products
+         built using this software without specific written permission.
+
+    ALTERNATIVELY, provided that this notice is retained in full, this product
+    may be distributed under the terms of the GNU General Public License (GPL),
+    in which case the provisions of the GPL apply INSTEAD OF those given above.
+  
+  * lib/silccrypt/aes_x86.asm,
+    lib/silccrypt/aes_x86_64.asm:
+
+    Copyright (C) 2002 Brian Gladman
+
+    The free distribution and use of this software in both source and binary
+    form is allowed (with or without changes) provided that:
+
+      1. distributions of this source code include the above copyright
+         notice, this list of conditions and the following disclaimer;
+
+      2. distributions in binary form include the above copyright
+         notice, this list of conditions and the following disclaimer
+         in the documentation and/or other associated materials;
+
+      3. the copyright holder's name is not used to endorse products
+         built using this software without specific written permission.
+
+    ALTERNATIVELY, provided that this notice is retained in full, this product
+    may be distributed under the terms of the GNU General Public License (GPL),
+    in which case the provisions of the GPL apply INSTEAD OF those given above.
+
+  * lib/silccrypt/blowfish.c: 
+
+    Permission is hereby granted, free of charge, to any person obtaining a
+    copy of this software and associated documentation files (the "Software"),
+    to deal in the Software without restriction, including without limitation
+    the rights to use, copy, modify, merge, publish, dis-tribute, sublicense,
+    and/or sell copies of the Software, and to permit persons to whom the
+    Software is furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be included in
+    all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+    THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+    IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+    Except as contained in this notice, the name of the authors shall not be
+    used in advertising or otherwise to promote the sale, use or other dealings
+    in this Software without prior written authorization from the authors.
+
+  * lib/silccrypt/md5.c,
+    lib/silccrypt/md5_internal.h:
+    
+    Public Domain.
+
+  * lib/silccrypt/rijndael_internal.h:
+    
+    Copyright (C) 1998-2006 Brian Gladman
+
+    Licensed under the GNU General Public License.
+
+  * lib/silccrypt/sha1.c,
+    lib/silccrypt/sha1_internal.h:
+    
+    Public Domain.
+
+  * lib/silccrypt/sha256.c:
+    
+    Public Domain.
+
+  * lib/silcrypt/twofish.c:
+
+    Copyright (C) 1999 Brian Gladman
+
+    Copyright in this implementation is held by Dr B R Gladman but I hereby
+    give permission for its free direct or derivative use subject to
+    acknowledgment of its origin and compliance with any conditions that the
+    originators of the algorithm place on its exploitation.
+
+  * lib/silcmath/tma.c,
+    lib/silcmath/tma.h:
+
+    Public Domain.
+
+  * lib/silcutil/silcconfig.c,
+    lib/silcutil/silcconfig.h:
+
+    Copyright (C) 2002-2006 Giovanni Giacobbi
+
+    Licensed under the GNU General Public License, version 2.
+
+  * lib/silcutil/silcsnprintf.c:
+
+    Copyright (C) 1995 Patrick Powell
+
+    This code is based on code written by Patrick Powell (papowell@astart.com)
+    It may be used for any purpose as long as this notice remains intact on all
+    source code distributions.
--- silc-client-1.1.4.orig/debian/irssi-plugin-silc.README.Debian
+++ silc-client-1.1.4/debian/irssi-plugin-silc.README.Debian
@@ -0,0 +1,40 @@
+irssi-plugin-silc for Debian
+============================
+
+The package currently use neither irssi-dev nor libsilc-dev.  We are trying to
+solve the issue with upstream.
+
+ -- Debian SILC Team <pkg-silc-devel@lists.alioth.debian.org>
+
+Short usage notice
+------------------
+
+(taken from http://penguin-breeder.org/silc/)
+      
+You can load the plugin in Irssi using:
+
+    /LOAD silc
+      
+You cannot pass options to the SILC Plugin, but you configure it at run-time
+with the /SILC command, see 
+
+    /HELP silc/silc
+      
+To get help about SILC commands, you can use (replace "command" with the
+actual command you want help with)
+      
+    /HELP silc/command
+      
+You should also load the silc script:
+
+    /SCRIPT LOAD silc
+
+For a more detailed help on SILC commands or some FAQs, please refer to the
+SILCNet homepage. Once you have successfully load the SILC plugin, you can
+connect to the SILCNet like this
+
+    /CONNECT -silcnet SILCNet silc.silcnet.org
+      
+You might want to join the channel "silc" then...
+
+    /JOIN -silcnet silc
--- silc-client-1.1.4.orig/debian/silc.docs
+++ silc-client-1.1.4/debian/silc.docs
@@ -0,0 +1,5 @@
+doc/FAQ
+apps/irssi/docs/formats.txt
+apps/irssi/docs/manual.txt
+apps/irssi/docs/startup-HOWTO.html
+apps/irssi/docs/special_vars.txt
--- silc-client-1.1.4.orig/debian/irssi-plugin-silc.links
+++ silc-client-1.1.4/debian/irssi-plugin-silc.links
@@ -0,0 +1 @@
+usr/lib/irssi/modules/libfe_common_silc.so usr/lib/irssi/modules/libfe_silc.so
--- silc-client-1.1.4.orig/debian/rules
+++ silc-client-1.1.4/debian/rules
@@ -0,0 +1,131 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	-test -e configure-irssi-plugin-stamp -o -e build-irsi-pluginstamp && \
+		$(MAKE) distclean && \
+		rm -f configure-irssi-plugin-stamp build-irsi-pluginstamp
+	rm -f config.guess config.sub
+	ln -sf /usr/share/misc/config.guess
+	ln -sf /usr/share/misc/config.sub
+	./configure --prefix=/usr \
+		--datadir=\$${prefix}/share \
+		--sysconfdir=/etc/silc \
+		--mandir=\$${prefix}/share/man \
+		--docdir=\$${prefix}/share/doc/silc \
+		--enable-debug \
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--enable-ipv6 \
+		--with-perl=no \
+		CFLAGS="$(CFLAGS)" \
+		LDFLAGS="-Wl,-z,defs"
+	touch configure-stamp
+
+configure-irssi-plugin: configure-irssi-plugin-stamp
+configure-irssi-plugin-stamp:
+	dh_testdir
+	-test -e configure-stamp -o -e build-stamp && \
+		$(MAKE) distclean && \
+		rm -f configure-stamp build-stamp
+	rm -f config.guess config.sub
+	ln -sf /usr/share/misc/config.guess
+	ln -sf /usr/share/misc/config.sub
+	./configure --prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--docdir=\$${prefix}/share/doc/silc \
+		--enable-debug \
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--enable-ipv6 \
+		--without-silc-includes \
+		--enable-perl \
+		--with-perl-lib=vendor \
+		--with-silc-plugin \
+		--with-pic \
+		--without-pthreads \
+		CFLAGS="$(CFLAGS)"
+	touch configure-irssi-plugin-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	# This is a crude hack until upstream fixes their autotools or includes this directory in their release
+	mkdir -p $(CURDIR)/lib/silcutil/symbian
+	$(MAKE)
+	touch build-stamp
+
+build-irssi-plugin: build-irssi-plugin-stamp
+build-irssi-plugin-stamp: configure-irssi-plugin-stamp
+	dh_testdir
+	$(MAKE)
+	touch build-irssi-plugin-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f config.guess config.sub
+	rm -f build-stamp configure-stamp
+	rm -f build-irssi-plugin-stamp configure-irssi-plugin-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs -psilc
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	dh_install -psilc --autodest --sourcedir=debian/tmp
+	dh_installdocs -psilc
+	dh_installexamples -psilc
+	dh_installman -psilc
+
+install-irssi-plugin: build-irssi-plugin
+	dh_testdir
+	dh_testroot
+	dh_installdirs -pirssi-plugin-silc
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	dh_install -pirssi-plugin-silc --autodest --sourcedir=debian/tmp
+	dh_link -pirssi-plugin-silc
+	dh_installdocs -pirssi-plugin-silc
+
+# Build architecture-independent files here.
+binary-indep: build install
+	# We have nothing to do.
+
+# Build architecture-dependent files here.
+binary-arch: build install build-irssi-plugin install-irssi-plugin
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_perl $(CURDIR)/debian/irssi-plugin-silc/usr/share/irssi/scripts
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure \
+	build-irssi-plugin install-irssi-plugin configure-irssi-plugin
--- silc-client-1.1.4.orig/debian/control
+++ silc-client-1.1.4/debian/control
@@ -0,0 +1,36 @@
+Source: silc-client
+Section: net
+Priority: optional
+Maintainer: Debian SILC Team <pkg-silc-devel@lists.alioth.debian.org>
+Uploaders: JÃ©rÃ©my Bobbio <lunar@debian.org>, Micah Anderson <micah@debian.org>
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>> 5), libglib2.0-dev, ncurses-dev, autotools-dev, libsilc-1.1-2-dev, libperl-dev
+XS-Vcs-Svn: svn://svn.debian.org/pkg-silc/silc-client/trunk
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-silc/silc-client/trunk
+Homepage: http://www.silcnet.org/software/users/client/
+
+Package: silc
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: terminal based SILC client
+ SILC (Secure Internet Live Conferencing) is a network protocol designed
+ to provide end-to-end security for conferencing services. SILC has a
+ command set and a user interface similar to IRC, but the network
+ protocol is completely different as it supports public key strong
+ cryptography and a different network model.
+ .
+ This package provides a terminal based client, much similar to irssi, a well
+ recognized IRC client.
+
+Package: irssi-plugin-silc
+Architecture: any
+Depends: irssi, ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}
+Suggests: libmime-perl, libmailtools-perl, libfile-mmagic-perl, libio-stringy-perl, libfile-temp-perl
+Description: SILC plugin for irssi
+ SILC (Secure Internet Live Conferencing) is a network protocol designed
+ to provide end-to-end security for conferencing services. SILC has a
+ command set and a user interface similar to IRC, but the network
+ protocol is completely different as it supports public key strong
+ cryptography and a different network model.
+ .
+ This package provides a plugin to connect to SILC networks using irssi.
--- silc-client-1.1.4.orig/apps/irssi/scripts/silc.pl
+++ silc-client-1.1.4/apps/irssi/scripts/silc.pl
@@ -1,6 +1,3 @@
-#!/usr/bin/perl -w
-
-#<scriptinfo>
 use vars qw($VERSION %IRSSI);
 
 use Irssi 20020519;
--- silc-client-1.1.4.orig/doc/silc.1
+++ silc-client-1.1.4/doc/silc.1
@@ -212,7 +212,7 @@
 SILC is designed and written by Pekka Riikonen <priikone@iki\&.fi> and rest
 of the SILC Project\&.
 .PP 
-This manpage was written by Mika \'Bostik\' Boström <bostik@lut\&.fi>
+This manpage was written by Mika \'Bostik\' Bostr\[:o]m <bostik@lut\&.fi>
 .PP 
 See \fBCREDITS\fP for full list of contributors\&.
 .PP 
--- silc-client-1.1.4.orig/lib/silcasn1/silcasn1_encode.c
+++ silc-client-1.1.4/lib/silcasn1/silcasn1_encode.c
@@ -351,7 +351,7 @@
 	/* Get OID words from the string */
 	cp = strchr(oidstr, '.');
 	while (cp) {
-	  if (sscanf(oidstr, "%lu", (unsigned long *)&oid) != 1) {
+	  if (sscanf(oidstr, "%u", &oid) != 1) {
 	    SILC_LOG_DEBUG(("Malformed OID string"));
 	    goto fail;
 	  }
@@ -362,7 +362,7 @@
 	  cp = strchr(oidstr, '.');
 
 	  if (!cp) {
-	    if (sscanf(oidstr, "%lu", (unsigned long *)&oid) != 1) {
+	    if (sscanf(oidstr, "%u", &oid) != 1) {
 	      SILC_LOG_DEBUG(("Malformed OID string"));
 	      goto fail;
 	    }
--- silc-client-1.1.4.orig/lib/silcclient/command.c
+++ silc-client-1.1.4/lib/silcclient/command.c
@@ -955,7 +955,7 @@
     }
 
     if (client->internal->params->full_channel_names)
-      silc_snprintf(tmp, sizeof(tmp), conn->current_channel->channel_name);
+      silc_snprintf(tmp, sizeof(tmp), "%s", conn->current_channel->channel_name);
     else
       silc_snprintf(tmp, sizeof(tmp), "%s%s%s",
 		    conn->current_channel->channel_name,
@@ -2143,7 +2143,7 @@
     }
 
     if (client->internal->params->full_channel_names)
-      silc_snprintf(tmp, sizeof(tmp), conn->current_channel->channel_name);
+      silc_snprintf(tmp, sizeof(tmp), "%s", conn->current_channel->channel_name);
     else
       silc_snprintf(tmp, sizeof(tmp), "%s%s%s",
 		    conn->current_channel->channel_name,
@@ -2553,7 +2553,7 @@
     }
 
     if (client->internal->params->full_channel_names)
-      silc_snprintf(tmp, sizeof(tmp), conn->current_channel->channel_name);
+      silc_snprintf(tmp, sizeof(tmp), "%s", conn->current_channel->channel_name);
     else
       silc_snprintf(tmp, sizeof(tmp), "%s%s%s",
 		    conn->current_channel->channel_name,
@@ -2620,7 +2620,7 @@
     }
 
     if (conn->client->internal->params->full_channel_names)
-      silc_snprintf(tmp, sizeof(tmp), conn->current_channel->channel_name);
+      silc_snprintf(tmp, sizeof(tmp), "%s", conn->current_channel->channel_name);
     else
       silc_snprintf(tmp, sizeof(tmp), "%s%s%s",
 		    conn->current_channel->channel_name,
--- silc-client-1.1.4.orig/lib/silcclient/client_entry.c
+++ silc-client-1.1.4/lib/silcclient/client_entry.c
@@ -800,10 +800,10 @@
 		      client_entry->server, sizeof(client_entry->server));
   if (nickname && client->internal->params->full_nicknames)
     silc_snprintf(client_entry->nickname, sizeof(client_entry->nickname),
-		  nickname);
+		  "%s", nickname);
   else if (nickname)
     silc_snprintf(client_entry->nickname, sizeof(client_entry->nickname),
-		  parsed);
+		  "%s", parsed);
 
   silc_parse_userfqdn(username, client_entry->username,
 		      sizeof(client_entry->username),
@@ -890,10 +890,10 @@
 			client_entry->server, sizeof(client_entry->server));
     if (client->internal->params->full_nicknames)
       silc_snprintf(client_entry->nickname, sizeof(client_entry->nickname),
-		    nickname);
+		    "%s", nickname);
     else
       silc_snprintf(client_entry->nickname, sizeof(client_entry->nickname),
-		    parsed);
+		    "%s", parsed);
 
     /* Normalize nickname */
     nick = silc_identifier_check(parsed, strlen(parsed),
@@ -1186,7 +1186,7 @@
         return NULL;
 
       silc_snprintf(client_entry->nickname, sizeof(client_entry->nickname),
-		    cp);
+		    "%s", cp);
       silc_free(cp);
     }
 
