summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-17 16:35:05 +0000
committerrillig <rillig@pkgsrc.org>2007-03-17 16:35:05 +0000
commit082f1ff6b496c1a08dade604eb79f6fe4ae6e4b1 (patch)
tree5f6ca5f285c4fceaaea5e3828ba1c037e0043a0a /security
parentda7c4dfd8906817f42143896503cb6173d232b39 (diff)
downloadpkgsrc-082f1ff6b496c1a08dade604eb79f6fe4ae6e4b1.tar.gz
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 (limited to 'security')
-rw-r--r--security/putty/Makefile6
-rw-r--r--security/putty/distinfo11
-rw-r--r--security/putty/patches/patch-aa69
-rw-r--r--security/putty/patches/patch-ah17
4 files changed, 20 insertions, 83 deletions
diff --git a/security/putty/Makefile b/security/putty/Makefile
index 0bbbf92abbb..3cb245b3f34 100644
--- a/security/putty/Makefile
+++ b/security/putty/Makefile
@@ -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 @@ USE_TOOLS+= gmake
BUILD_DIRS= ${WRKSRC}/unix
MAKE_FILE= Makefile.gtk
+MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.prefs.mk"
diff --git a/security/putty/distinfo b/security/putty/distinfo
index 7c809fc1ac4..bf2a9a067e0 100644
--- a/security/putty/distinfo
+++ b/security/putty/distinfo
@@ -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 --git a/security/putty/patches/patch-aa b/security/putty/patches/patch-aa
index 79a261dfd45..223484fdc7f 100644
--- a/security/putty/patches/patch-aa
+++ b/security/putty/patches/patch-aa
@@ -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)
--prefix=/usr/local
+ULDFLAGS = $(LDFLAGS)
-+prefix=$(PREFIX)
+ INSTALL=install
+ INSTALL_PROGRAM=$(INSTALL)
+ INSTALL_DATA=$(INSTALL)
+-prefix=/usr/local
++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 --git a/security/putty/patches/patch-ah b/security/putty/patches/patch-ah
deleted file mode 100644
index 030692c561e..00000000000
--- a/security/putty/patches/patch-ah
+++ /dev/null
@@ -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>