pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/putty
Module Name: pkgsrc
Committed By: maya
Date: Fri Mar 17 00:11:48 UTC 2017
Modified Files:
pkgsrc/security/putty: Makefile distinfo
pkgsrc/security/putty/patches: patch-unix_Makefile.gtk
patch-unix_gtkwin.c
Added Files:
pkgsrc/security/putty/patches: patch-unix_uxpgnt.c
Removed Files:
pkgsrc/security/putty/patches: patch-import.c patch-x11fwd.c
Log Message:
putty: update to 0.68
PuTTY 0.68, released today, supports elliptic-curve cryptography for host
keys, user authentication keys, and key exchange. Also, for the first time,
it comes in a 64-bit Windows version.
This update may create a build issue for non-BSD due to ancient functions
being different on BSD and SYSV. there's always macros if this fails.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/security/putty/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/security/putty/distinfo
cvs rdiff -u -r1.3 -r0 pkgsrc/security/putty/patches/patch-import.c
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/security/putty/patches/patch-unix_Makefile.gtk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/putty/patches/patch-unix_gtkwin.c
cvs rdiff -u -r0 -r1.1 pkgsrc/security/putty/patches/patch-unix_uxpgnt.c
cvs rdiff -u -r1.1 -r0 pkgsrc/security/putty/patches/patch-x11fwd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/putty/Makefile
diff -u pkgsrc/security/putty/Makefile:1.46 pkgsrc/security/putty/Makefile:1.47
--- pkgsrc/security/putty/Makefile:1.46 Sun Feb 12 06:25:57 2017
+++ pkgsrc/security/putty/Makefile Fri Mar 17 00:11:48 2017
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.46 2017/02/12 06:25:57 ryoon Exp $
+# $NetBSD: Makefile,v 1.47 2017/03/17 00:11:48 maya Exp $
#
-DISTNAME= putty-0.67
-PKGREVISION= 3
+DISTNAME= putty-0.68
CATEGORIES= security
MASTER_SITES= http://the.earth.li/~sgtatham/putty/${PKGVERSION_NOREV}/
Index: pkgsrc/security/putty/distinfo
diff -u pkgsrc/security/putty/distinfo:1.20 pkgsrc/security/putty/distinfo:1.21
--- pkgsrc/security/putty/distinfo:1.20 Mon Mar 14 14:07:30 2016
+++ pkgsrc/security/putty/distinfo Fri Mar 17 00:11:48 2017
@@ -1,16 +1,15 @@
-$NetBSD: distinfo,v 1.20 2016/03/14 14:07:30 ryoon Exp $
+$NetBSD: distinfo,v 1.21 2017/03/17 00:11:48 maya Exp $
-SHA1 (putty-0.67.tar.gz) = 132ff74266e590a007f86cbb4bea5642db7bdd76
-RMD160 (putty-0.67.tar.gz) = 910dc2257337eefcbe656d2d05bbf4ecc4fda22c
-SHA512 (putty-0.67.tar.gz) = c2b17da46b8db3fe3837a10cb9cf5dd4b3ef6bfa15cadab83f3b87cf1479ed31fced90b774297ae53bdcbbdf230fc80d5c73d5ff3be6916fb591fd7ce3d35eca
-Size (putty-0.67.tar.gz) = 1955547 bytes
-SHA1 (patch-import.c) = da6a34ec3412985858babb28821296c40e30d96b
+SHA1 (putty-0.68.tar.gz) = e6acf0285e0718516cfa1fe775b1a92765387d70
+RMD160 (putty-0.68.tar.gz) = c5a07a3250f857cdcce619ef35953ed46c260788
+SHA512 (putty-0.68.tar.gz) = e3a6e4f45e1fce70d4cbb6d4769ab72b23c10920e48a88bba95b3f4c225b0193ddc1444e69d572bdec5e505d2c56fed365f07d990c156b35f272b56f978ef5d3
+Size (putty-0.68.tar.gz) = 2114499 bytes
SHA1 (patch-ldisc.c) = e4dd89bfb2ddcb47aad46cc7c311f424aa6ab6be
SHA1 (patch-misc.c) = fb7ba23f3c3301181d2ca7666a037f7bb3ac3f7b
SHA1 (patch-timing.c) = 9dd79fde390878960e97c456628bbd5dcbcd07f9
-SHA1 (patch-unix_Makefile.gtk) = 0ad8226e2ad8e6e40d3eb9ddef4b22e7d07b7895
-SHA1 (patch-unix_gtkwin.c) = ccabdde03fda8bbc24d659a440fe48f96ab5d867
+SHA1 (patch-unix_Makefile.gtk) = 399636a9b6d445fa0cdd55c7a887efa8f03bdc94
+SHA1 (patch-unix_gtkwin.c) = 110079a07a802f93705c6526a14069491f1c313e
SHA1 (patch-unix_uxnet.c) = 2d1c2939721993fe5616c2fe3f1935c03a31bb35
+SHA1 (patch-unix_uxpgnt.c) = 2aa46f5ba17f436007d926abc529ee0cfb82ff52
SHA1 (patch-unix_uxucs.c) = a2a5021b515c3bade1126ed062bdc1eece1ca0f9
SHA1 (patch-windows_window.c) = e851bad963967429131286c18e39d1ac4add4ae7
-SHA1 (patch-x11fwd.c) = 119ac9d5b3eda83f01616490aea42a4e8fe2814a
Index: pkgsrc/security/putty/patches/patch-unix_Makefile.gtk
diff -u pkgsrc/security/putty/patches/patch-unix_Makefile.gtk:1.1 pkgsrc/security/putty/patches/patch-unix_Makefile.gtk:1.2
--- pkgsrc/security/putty/patches/patch-unix_Makefile.gtk:1.1 Wed Feb 22 15:27:16 2012
+++ pkgsrc/security/putty/patches/patch-unix_Makefile.gtk Fri Mar 17 00:11:48 2017
@@ -1,18 +1,17 @@
-$NetBSD: patch-unix_Makefile.gtk,v 1.1 2012/02/22 15:27:16 wiz Exp $
+$NetBSD: patch-unix_Makefile.gtk,v 1.2 2017/03/17 00:11:48 maya Exp $
Allow adding CFLAGS from the pkgsrc environment.
Use pkgsrc infrastructure for deciding on whether to link against libdl or not.
-Set prefix suitable for pkgsrc.
---- unix/Makefile.gtk.orig 2011-12-10 12:35:15.000000000 +0000
+--- unix/Makefile.gtk.orig 2017-02-18 17:10:17.000000000 +0000
+++ unix/Makefile.gtk
-@@ -119,14 +119,14 @@ GTK_CONFIG = sh -c 'pkg-config gtk+-2.0
+@@ -111,14 +111,14 @@ GTK_CONFIG = sh -c 'pkg-config gtk+-3.0
unexport CFLAGS # work around a weird issue with krb5-config
-CFLAGS = -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ \
+CFLAGS += -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ \
- -I../macosx/ $(shell $(GTK_CONFIG) --cflags) -D _FILE_OFFSET_BITS=64
+ $(shell $(GTK_CONFIG) --cflags) -D _FILE_OFFSET_BITS=64
XLDFLAGS = $(LDFLAGS) $(shell $(GTK_CONFIG) --libs)
ULDFLAGS = $(LDFLAGS)
ifeq (,$(findstring NO_GSSAPI,$(COMPAT)))
@@ -24,7 +23,7 @@ Set prefix suitable for pkgsrc.
else
CFLAGS+= -DNO_LIBDL $(shell $(KRB5CONFIG) --cflags gssapi)
XLDFLAGS+= $(shell $(KRB5CONFIG) --libs gssapi)
-@@ -136,7 +136,7 @@ endif
+@@ -128,7 +128,7 @@ endif
INSTALL=install
INSTALL_PROGRAM=$(INSTALL)
INSTALL_DATA=$(INSTALL)
Index: pkgsrc/security/putty/patches/patch-unix_gtkwin.c
diff -u pkgsrc/security/putty/patches/patch-unix_gtkwin.c:1.3 pkgsrc/security/putty/patches/patch-unix_gtkwin.c:1.4
--- pkgsrc/security/putty/patches/patch-unix_gtkwin.c:1.3 Wed Aug 7 11:06:39 2013
+++ pkgsrc/security/putty/patches/patch-unix_gtkwin.c Fri Mar 17 00:11:48 2017
@@ -1,19 +1,22 @@
-$NetBSD: patch-unix_gtkwin.c,v 1.3 2013/08/07 11:06:39 drochner Exp $
+$NetBSD: patch-unix_gtkwin.c,v 1.4 2017/03/17 00:11:48 maya Exp $
Make the home/end keys work on BSD servers as well as Linux ones
---- unix/gtkwin.c.orig 2013-07-20 13:15:10.000000000 +0000
+--- unix/gtkwin.c.orig 2017-02-18 17:10:15.000000000 +0000
+++ unix/gtkwin.c
-@@ -1132,10 +1132,17 @@ gint key_event(GtkWidget *widget, GdkEve
+@@ -1586,13 +1586,21 @@ gint key_event(GtkWidget *widget, GdkEve
use_ucsoutput = FALSE;
goto done;
}
- if ((code == 1 || code == 4) &&
- conf_get_int(inst->conf, CONF_rxvt_homeend)) {
-- end = 1 + sprintf(output+1, code == 1 ? "\x1B[H" : "\x1BOw");
-- use_ucsoutput = FALSE;
+ /* Home/End */
+ if (code == 1 || code == 4) {
+ #ifdef KEY_EVENT_DIAGNOSTICS
+ debug((" - rxvt style Home/End"));
+ #endif
+- end = 1 + sprintf(output+1, code == 1 ? "\x1B[H" : "\x1BOw");
+- use_ucsoutput = FALSE;
+ /* Send the correct XTerm or rxvt codes for home/end
+ * We used to send ^[1~ and [4~ for Xterm,
+ * but those are Linux console */
@@ -23,6 +26,7 @@ Make the home/end keys work on BSD serve
+ else
+ he = code == 1 ? "\x1BOH" : "\x1BOF";
+ end = 1 + sprintf(output+1, "%s", he);
++
goto done;
}
if (code) {
Added files:
Index: pkgsrc/security/putty/patches/patch-unix_uxpgnt.c
diff -u /dev/null pkgsrc/security/putty/patches/patch-unix_uxpgnt.c:1.1
--- /dev/null Fri Mar 17 00:11:48 2017
+++ pkgsrc/security/putty/patches/patch-unix_uxpgnt.c Fri Mar 17 00:11:48 2017
@@ -0,0 +1,19 @@
+$NetBSD: patch-unix_uxpgnt.c,v 1.1 2017/03/17 00:11:48 maya Exp $
+
+BSD setpgrp has parameters. POSIX says it is undefined whether
+setpgrp(0,0) == setpgrp() and it should use setpgid.
+
+If this is a problem on glibc, it should support both based
+on defines.
+
+--- unix/uxpgnt.c.orig 2017-02-18 17:10:15.000000000 +0000
++++ unix/uxpgnt.c
+@@ -270,7 +270,7 @@ void pageant_fork_and_print_env(int reta
+ /* Get out of our previous process group, to avoid being
+ * blasted by passing signals. But keep our controlling tty,
+ * so we can keep checking to see if we still have one. */
+- setpgrp();
++ setpgid(0, 0);
+ } else {
+ /* Do that, but also leave our entire session and detach from
+ * the controlling tty (if any). */
Home |
Main Index |
Thread Index |
Old Index