pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/putty Updated putty to 0.59.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a76b5a7ea309
branches:  trunk
changeset: 526710:a76b5a7ea309
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Mar 17 16:35:05 2007 +0000

description:
Updated putty to 0.59.

Changes since 0.58:

     * PuTTY  can  now  connect  to  local serial ports as well as making
       network connections.
     * Windows  PuTTY  now  supports  "local  proxying",  where a network
       connection  is  replaced  by  a  local  command.  (Unix  PuTTY has
       supported  this  since it was first released in 0.54.) Also, Plink
       has  gained  a "-nc" mode where the primary channel is replaced by
       an  SSH  tunnel,  which  makes it particularly useful as the local
       command to run.
     * Improved  speed of SSH on Windows (particularly SSH-2 key exchange
       and public-key authentication).
     * Improved SFTP throughput.
     * Various  cryptographic  improvements  in  SSH-2,  including  SDCTR
       cipher modes, a workaround for a weakness in CBC cipher modes, and
       Diffie-Hellman group exchange with SHA-256.
     * Support for the Arcfour cipher in SSH-2.
     * Support for sending terminal modes in SSH.
     * When  Pageant  is  running  and  an  SSH  key  is specified in the
       configuration, PuTTY will now only try Pageant authentication with
       that  key. This gets round a problem where some servers would only
       allow a limited number of keys to be offered before disconnecting.
     * Support  for  SSH-2  password expiry mechanisms, and various other
       improvements and bugfixes in authentication.
     * A  change to the SSH-2 password camouflage mechanism in 0.58 upset
       some Cisco servers, so we have reverted to the old method.
     * The  Windows  version  now  comes  with documentation in HTML Help
       format.  (Windows Vista does not support the older WinHelp format.
       However,  we  still  provide  documentation  in that format, since
       Win95 does not support HTML Help.)
     * On  Windows, when pasting as RTF, attributes of the selection such
       as colours and formatting are also pasted.
     * Ability   to   configure   font   quality  on  Windows  (including
       antialiasing and ClearType).
     * The  terminal  is  now restored to a sensible state when reusing a
       window to restart a session.
     * We now support an escape sequence invented by xterm which lets the
       server  clear  the  scrollback  (CSI  3  J).  This  is  useful for
       applications such as terminal locking programs.
     * Improvements to the Unix port:
          + now compiles cleanly with GCC 4
          + now  has  a  configure script, and should be portable to more
            platforms
     * Bug  fix:  0.58  utterly  failed  to  run on some installations of
       Windows XP.
     * Bug  fix:  PSCP  and PSFTP now support large files (greater than 4
       gigabytes), provided the underlying operating system does too.
     * Bug  fix:  PSFTP (and PSCP) sometimes ran slowly and consumed lots
       of CPU when started directly from Windows Explorer.
     * Bug  fix:  font  linking  (the automatic use of other fonts on the
       system  to  provide Unicode characters not present in the selected
       one) should now work again on Windows, after being broken in 0.58.
       (However,  it  unfortunately still won't work for Arabic and other
       right-to-left text.)
     * Bug  fix:  if  the  remote server saturated PuTTY with data, PuTTY
       could become unresponsive.
     * Bug  fix:  certain large clipboard operations could cause PuTTY to
       crash.
     * Bug  fix:  SSH-1  connections  tended  to crash, particularly when
       using port forwarding.
     * Bug  fix:  SSH Tectia Server would reject SSH-2 tunnels from PuTTY
       due to a malformed request.
     * Bug  fix:  SSH-2 login banner messages were being dropped silently
       under some circumstances.
     * Bug  fix:  the  cursor  could  end  up  in  the wrong place when a
       server-side application used the alternate screen.
     * Bug  fix:  on  Windows,  PuTTY now tries harder to find a suitable
       place  to  store its random seed file PUTTY.RND (previously it was
       tending to end up in C:\ or C:\WINDOWS).
     * Bug fix: IPv6 should now work on Windows Vista.
     * Numerous other bugfixes, as usual.

diffstat:

 security/putty/Makefile         |   6 +-
 security/putty/distinfo         |  11 ++---
 security/putty/patches/patch-aa |  69 +++++++---------------------------------
 security/putty/patches/patch-ah |  17 ----------
 4 files changed, 20 insertions(+), 83 deletions(-)

diffs (150 lines):

diff -r 764d348ee7d8 -r a76b5a7ea309 security/putty/Makefile
--- a/security/putty/Makefile   Sat Mar 17 16:15:01 2007 +0000
+++ b/security/putty/Makefile   Sat Mar 17 16:35:05 2007 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2006/09/09 02:46:08 obache Exp $
+# $NetBSD: Makefile,v 1.13 2007/03/17 16:35:05 rillig Exp $
 #
 
-DISTNAME=      putty-0.58
-PKGREVISION=   1
+DISTNAME=      putty-0.59
 CATEGORIES=    security
 MASTER_SITES=  http://the.earth.li/~sgtatham/putty/latest/
 
@@ -14,6 +13,7 @@
 BUILD_DIRS=    ${WRKSRC}/unix
 
 MAKE_FILE=     Makefile.gtk
+MAKE_FLAGS+=   mandir=${PREFIX}/${PKGMANDIR}
 
 .include "../../mk/bsd.prefs.mk"
 
diff -r 764d348ee7d8 -r a76b5a7ea309 security/putty/distinfo
--- a/security/putty/distinfo   Sat Mar 17 16:15:01 2007 +0000
+++ b/security/putty/distinfo   Sat Mar 17 16:35:05 2007 +0000
@@ -1,15 +1,14 @@
-$NetBSD: distinfo,v 1.5 2005/04/13 16:45:46 rillig Exp $
+$NetBSD: distinfo,v 1.6 2007/03/17 16:35:05 rillig Exp $
 
-SHA1 (putty-0.58.tar.gz) = 25504ca4fe4e3b1a8d96d9c50be5eb6cd370f018
-RMD160 (putty-0.58.tar.gz) = 3a01b629d9646d2c328881d3011a9f2da08702dd
-Size (putty-0.58.tar.gz) = 1567268 bytes
-SHA1 (patch-aa) = 8d8cb757bc3faeb8ab7fbfd00e96162c9cdfc7bc
+SHA1 (putty-0.59.tar.gz) = 64fcbcd50bc7f204699de415931b3745ceac8c56
+RMD160 (putty-0.59.tar.gz) = dea0c6b3890760617e26d380e500fcc8b898bbeb
+Size (putty-0.59.tar.gz) = 1736071 bytes
+SHA1 (patch-aa) = 3bec8d64a504a887c0ef299aead01c647480313f
 SHA1 (patch-ac) = 61cc8640417931a04152d4f4a1d6daa420d85496
 SHA1 (patch-ad) = b90f5fc8ebd7bb1227dc18ed93afe104e5e40490
 SHA1 (patch-ae) = 82bd150f0dfb59eda57e4d9bca7abfc8093090a9
 SHA1 (patch-af) = 549688da80048f57530f23d59799c04f09ddbdca
 SHA1 (patch-ag) = 2012609deff68e4931538b1a987c02b532bf04be
-SHA1 (patch-ah) = 38f64084ff1618d751a8f51871b3e95f84e6afc9
 SHA1 (patch-ai) = 3965e71c222d7db61d5d852dedf8fb3ec082c9a1
 SHA1 (patch-aj) = 7c22c5cb2c41445fa70dfff9e6d756af444daf06
 SHA1 (patch-ak) = 2ca42d1ea913505d7d265a3fde71e09aa292d75f
diff -r 764d348ee7d8 -r a76b5a7ea309 security/putty/patches/patch-aa
--- a/security/putty/patches/patch-aa   Sat Mar 17 16:15:01 2007 +0000
+++ b/security/putty/patches/patch-aa   Sat Mar 17 16:35:05 2007 +0000
@@ -1,67 +1,22 @@
-$NetBSD: patch-aa,v 1.3 2005/04/13 16:45:46 rillig Exp $
+$NetBSD: patch-aa,v 1.4 2007/03/17 16:35:05 rillig Exp $
 
---- unix/Makefile.gtk.orig     2005-04-06 23:00:44.000000000 +0200
-+++ unix/Makefile.gtk  2005-04-06 23:04:54.000000000 +0200
-@@ -80,16 +80,13 @@
- 
- # You can define this path to point at your tools if you need to
+--- unix/Makefile.gtk.orig     2007-01-24 21:22:52.000000000 +0100
++++ unix/Makefile.gtk  2007-03-17 17:27:25.000000000 +0100
+@@ -98,14 +98,14 @@
  # TOOLPATH = /opt/gcc/bin
--CC = $(TOOLPATH)cc
-+#CC = $(TOOLPATH)cc
+ CC = $(TOOLPATH)cc
  
 -CFLAGS = -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ \
-+CFLAGS += -Wall -Werror -I.././ -I../charset/ -I../windows/ -I../unix/ \
-               -I../mac/ -I../macosx/ `gtk-config --cflags`
++CFLAGS += -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ \
+               -I../mac/ -I../macosx/ `gtk-config --cflags` -D _FILE_OFFSET_BITS=64
  XLDFLAGS = `gtk-config --libs`
 -ULDFLAGS =#
--INSTALL=install
--INSTALL_PROGRAM=$(INSTALL)
--INSTALL_DATA=$(INSTALL)
++ULDFLAGS = $(LDFLAGS)
+ INSTALL=install
+ INSTALL_PROGRAM=$(INSTALL)
+ INSTALL_DATA=$(INSTALL)
 -prefix=/usr/local
-+ULDFLAGS = $(LDFLAGS)
-+prefix=$(PREFIX)
++prefix= ${PREFIX}
  exec_prefix=$(prefix)
  bindir=$(exec_prefix)/bin
  mandir=$(prefix)/man
-@@ -834,10 +831,10 @@
-               $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c ../version.c; \
-       fi
- install:
--      $(INSTALL_PROGRAM) -m 755 plink $(DESTDIR)$(bindir)/plink
--      $(INSTALL_PROGRAM) -m 755 pscp $(DESTDIR)$(bindir)/pscp
--      $(INSTALL_PROGRAM) -m 755 psftp $(DESTDIR)$(bindir)/psftp
--      $(INSTALL_PROGRAM) -m 755 pterm $(DESTDIR)$(bindir)/pterm
-+      $(BSD_INSTALL_PROGRAM) plink $(DESTDIR)$(bindir)/plink
-+      $(BSD_INSTALL_PROGRAM) pscp $(DESTDIR)$(bindir)/pscp
-+      $(BSD_INSTALL_PROGRAM) psftp $(DESTDIR)$(bindir)/psftp
-+      $(BSD_INSTALL_PROGRAM) pterm $(DESTDIR)$(bindir)/pterm
-       if test -n "$(UTMP_GROUP)"; then \
-         chgrp $(UTMP_GROUP) $(DESTDIR)$(bindir)/pterm && \
-           chmod 2755 $(DESTDIR)$(bindir)/pterm; \
-@@ -845,16 +842,16 @@
-         chown $(UTMP_USER) $(DESTDIR)$(bindir)/pterm && \
-           chmod 4755 $(DESTDIR)$(bindir)/pterm; \
-       fi
--      $(INSTALL_PROGRAM) -m 755 putty $(DESTDIR)$(bindir)/putty
--      $(INSTALL_PROGRAM) -m 755 puttygen $(DESTDIR)$(bindir)/puttygen
--      $(INSTALL_PROGRAM) -m 755 puttytel $(DESTDIR)$(bindir)/puttytel
--      $(INSTALL_DATA) -m 644 ../doc/plink.1 $(DESTDIR)$(man1dir)/plink.1
--      $(INSTALL_DATA) -m 644 ../doc/pscp.1 $(DESTDIR)$(man1dir)/pscp.1
--      $(INSTALL_DATA) -m 644 ../doc/psftp.1 $(DESTDIR)$(man1dir)/psftp.1
--      $(INSTALL_DATA) -m 644 ../doc/pterm.1 $(DESTDIR)$(man1dir)/pterm.1
--      $(INSTALL_DATA) -m 644 ../doc/putty.1 $(DESTDIR)$(man1dir)/putty.1
--      $(INSTALL_DATA) -m 644 ../doc/puttygen.1 $(DESTDIR)$(man1dir)/puttygen.1
--      $(INSTALL_DATA) -m 644 ../doc/puttytel.1 $(DESTDIR)$(man1dir)/puttytel.1
-+      $(BSD_INSTALL_PROGRAM) putty $(DESTDIR)$(bindir)/putty
-+      $(BSD_INSTALL_PROGRAM) puttygen $(DESTDIR)$(bindir)/puttygen
-+      $(BSD_INSTALL_PROGRAM) puttytel $(DESTDIR)$(bindir)/puttytel
-+      $(BSD_INSTALL_MAN) ../doc/plink.1 $(DESTDIR)$(man1dir)/plink.1
-+      $(BSD_INSTALL_MAN) ../doc/pscp.1 $(DESTDIR)$(man1dir)/pscp.1
-+      $(BSD_INSTALL_MAN) ../doc/psftp.1 $(DESTDIR)$(man1dir)/psftp.1
-+      $(BSD_INSTALL_MAN) ../doc/pterm.1 $(DESTDIR)$(man1dir)/pterm.1
-+      $(BSD_INSTALL_MAN) ../doc/putty.1 $(DESTDIR)$(man1dir)/putty.1
-+      $(BSD_INSTALL_MAN) ../doc/puttygen.1 $(DESTDIR)$(man1dir)/puttygen.1
-+      $(BSD_INSTALL_MAN) ../doc/puttytel.1 $(DESTDIR)$(man1dir)/puttytel.1
- 
- install-strip:
-       $(MAKE) install INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s"
diff -r 764d348ee7d8 -r a76b5a7ea309 security/putty/patches/patch-ah
--- a/security/putty/patches/patch-ah   Sat Mar 17 16:15:01 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2005/04/13 16:45:46 rillig Exp $
-
---- unix/uxpty.c.orig  2005-04-06 23:16:28.000000000 +0200
-+++ unix/uxpty.c       2005-04-06 23:28:38.000000000 +0200
-@@ -2,8 +2,10 @@
-  * Pseudo-tty backend for pterm.
-  */
- 
--#define _XOPEN_SOURCE 600
--#define _XOPEN_SOURCE_EXTENDED
-+/* Don't use _XOPEN_SOURCE/_XOPEN_SOURCE_EXTENDED here, because
-+ * we are using strsignal() (which is not defined in POSIX).
-+ */
-+
- #define _GNU_SOURCE
- 
- #include <stdio.h>



Home | Main Index | Thread Index | Old Index