From owner-svn-ports-branches@freebsd.org Sat Mar 18 10:24:28 2017 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 761D7D0EEF4; Sat, 18 Mar 2017 10:24:28 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFA7187D; Sat, 18 Mar 2017 10:24:28 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2IAORgg070143; Sat, 18 Mar 2017 10:24:27 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2IAORh1070139; Sat, 18 Mar 2017 10:24:27 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201703181024.v2IAORh1070139@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Sat, 18 Mar 2017 10:24:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r436390 - in branches/2017Q1/security/putty: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2017 10:24:28 -0000 Author: mandree Date: Sat Mar 18 10:24:26 2017 New Revision: 436390 URL: https://svnweb.freebsd.org/changeset/ports/436390 Log: MFH: r436313 r436321 r436323 Update to new upstream release 0.68 (security fixes) Additional minor updates on top of cy@'s patch (USE_GNOME, USE_XORG, LDFLAGS). ChangeLog: http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html [436321] Add forgotten patch for Linux -> BSD portability. [436323] Remove leftover files. The reference to these had been removed as of r184036 on 2007-02-03 already. Submitted by: cy@ Security: CVE-2017-6542 Security: 9b973e97-0a99-11e7-ace7-080027ef73ec Differential Revision: https://reviews.freebsd.org/D10023 Approved by: ports-secteam@ (junovitch@) Added: branches/2017Q1/security/putty/files/patch-unix__uxpgnt.c - copied unchanged from r436321, head/security/putty/files/patch-unix__uxpgnt.c Deleted: branches/2017Q1/security/putty/files/mbrtowc.c branches/2017Q1/security/putty/files/wcrtomb.c Modified: branches/2017Q1/security/putty/Makefile branches/2017Q1/security/putty/distinfo branches/2017Q1/security/putty/files/patch-Makefile.gtk Directory Properties: branches/2017Q1/ (props changed) Modified: branches/2017Q1/security/putty/Makefile ============================================================================== --- branches/2017Q1/security/putty/Makefile Sat Mar 18 10:11:22 2017 (r436389) +++ branches/2017Q1/security/putty/Makefile Sat Mar 18 10:24:26 2017 (r436390) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= putty -PORTVERSION= 0.67 +PORTVERSION= 0.68 CATEGORIES= security ipv6 MASTER_SITES= http://the.earth.li/~sgtatham/putty/${PORTVERSION}/ \ ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/ @@ -31,9 +31,12 @@ CONFLICTS_INSTALL?= pssh-[0-9]* putty-no .include CFLAGS+= -DBSD_PTYS -DOMIT_UTMP -DIPV6 +LDFLAGS+= -Wl,--as-needed .if ${PORT_OPTIONS:MGTK2} && !defined(WITHOUT_X11) -USE_GNOME= gtk20 +USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_XORG= x11 + PLIST_FILES+= bin/pterm bin/putty bin/puttytel PLIST_FILES+= man/man1/pterm.1.gz man/man1/putty.1.gz man/man1/puttytel.1.gz MAKE_ARGS+= PUTTY_WITH_GTK=yes GTK_CONFIG="pkg-config gtk+-2.0 x11 --cflags" Modified: branches/2017Q1/security/putty/distinfo ============================================================================== --- branches/2017Q1/security/putty/distinfo Sat Mar 18 10:11:22 2017 (r436389) +++ branches/2017Q1/security/putty/distinfo Sat Mar 18 10:24:26 2017 (r436390) @@ -1,2 +1,3 @@ -SHA256 (putty-0.67.tar.gz) = 80192458e8a46229de512afeca5c757dd8fce09606b3c992fbaeeee29b994a47 -SIZE (putty-0.67.tar.gz) = 1955547 +TIMESTAMP = 1489606314 +SHA256 (putty-0.68.tar.gz) = 7ba256f46e5a353cafe811ce7914d0e22a52bdfc0e6e2d183ad28b5af44cd09c +SIZE (putty-0.68.tar.gz) = 2114499 Modified: branches/2017Q1/security/putty/files/patch-Makefile.gtk ============================================================================== --- branches/2017Q1/security/putty/files/patch-Makefile.gtk Sat Mar 18 10:11:22 2017 (r436389) +++ branches/2017Q1/security/putty/files/patch-Makefile.gtk Sat Mar 18 10:24:26 2017 (r436390) @@ -1,27 +1,28 @@ ---- Makefile.gtk.orig 2015-02-28 15:33:27 UTC -+++ Makefile.gtk -@@ -110,7 +110,7 @@ GTK_CONFIG = sh -c 'pkg-config gtk+-2.0 +--- Makefile.gtk.orig 2017-03-16 02:47:16.000000000 +0000 ++++ Makefile.gtk 2017-03-16 02:47:16.000000000 +0000 +@@ -111,7 +111,7 @@ unexport CFLAGS # work around a weird issue with krb5-config -CFLAGS = -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ \ +CFLAGS := $(CFLAGS) -Wall -Werror -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) -@@ -137,7 +137,11 @@ man1dir=$(mandir)/man1 +@@ -138,8 +138,12 @@ .SUFFIXES: +ifdef PUTTY_WITH_GTK - all: plink pscp psftp pterm putty puttygen puttytel + all: cgtest fuzzterm osxlaunch pageant plink pscp psftp pterm ptermapp putty \ + puttyapp puttygen puttytel testbn +else +all: plink pscp psftp puttygen +endif - plink: be_all_s.o callback.o cmdline.o conf.o cproxy.o ldisc.o logging.o \ - misc.o noterm.o pgssapi.o pinger.o portfwd.o proxy.o raw.o \ -@@ -920,6 +924,8 @@ install: + cgtest: cgtest.o conf.o import.o misc.o notiming.o sshaes.o sshbcrypt.o \ + sshblowf.o sshbn.o sshdes.o sshdss.o sshdssg.o sshecc.o \ +@@ -1050,6 +1054,8 @@ $(INSTALL_PROGRAM) -m 755 plink $(DESTDIR)$(bindir)/plink $(INSTALL_PROGRAM) -m 755 pscp $(DESTDIR)$(bindir)/pscp $(INSTALL_PROGRAM) -m 755 psftp $(DESTDIR)$(bindir)/psftp @@ -30,7 +31,7 @@ $(INSTALL_PROGRAM) -m 755 pterm $(DESTDIR)$(bindir)/pterm if test -n "$(UTMP_GROUP)"; then \ chgrp $(UTMP_GROUP) $(DESTDIR)$(bindir)/pterm && \ -@@ -929,15 +935,17 @@ install: +@@ -1059,15 +1065,17 @@ chmod 4755 $(DESTDIR)$(bindir)/pterm; \ fi $(INSTALL_PROGRAM) -m 755 putty $(DESTDIR)$(bindir)/putty Copied: branches/2017Q1/security/putty/files/patch-unix__uxpgnt.c (from r436321, head/security/putty/files/patch-unix__uxpgnt.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2017Q1/security/putty/files/patch-unix__uxpgnt.c Sat Mar 18 10:24:26 2017 (r436390, copy of r436321, head/security/putty/files/patch-unix__uxpgnt.c) @@ -0,0 +1,11 @@ +--- uxpgnt.c.orig 2017-03-16 03:33:18.000000000 +0000 ++++ uxpgnt.c 2017-03-16 03:33:18.000000000 +0000 +@@ -270,7 +270,7 @@ + /* 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(); ++ setpgrp(0,0); + } else { + /* Do that, but also leave our entire session and detach from + * the controlling tty (if any). */