Received: by mail.netbsd.org (Postfix, from userid 605) id E1C7784DBB; Sun, 6 May 2018 17:45:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6A47684D5D for ; Sun, 6 May 2018 17:45:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id nagSOSh4yF10 for ; Sun, 6 May 2018 17:45:30 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id DDD3584D39 for ; Sun, 6 May 2018 17:45:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D4367FBEC; Sun, 6 May 2018 17:45:30 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_152562873088470" MIME-Version: 1.0 Date: Sun, 6 May 2018 17:45:30 +0000 From: "Gavan Fantom" Subject: CVS commit: pkgsrc/security/sshpass To: pkgsrc-changes@NetBSD.org Reply-To: gavan@netbsd.org X-Mailer: log_accum Message-Id: <20180506174530.D4367FBEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_152562873088470 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gavan Date: Sun May 6 17:45:30 UTC 2018 Modified Files: pkgsrc/security/sshpass: Makefile distinfo Added Files: pkgsrc/security/sshpass/patches: patch-main.c Log Message: sshpass: update to 1.06 and patch to fix tty issue Changes since 1.0.5: Version 1.06 * Add -P for overriding the password prompt we search for * Add -v for verbose logging of the prompt detection prompt. * Allow packagers and compilers to change the default password prompt. * When giving -V, also print the default password prompt. Also, add patch from FreeBSD to fix tty issue which prevents sshpass from seeing the password prompt. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/sshpass/Makefile \ pkgsrc/security/sshpass/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/security/sshpass/patches/patch-main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_152562873088470 Content-Disposition: inline Content-Length: 2459 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/sshpass/Makefile diff -u pkgsrc/security/sshpass/Makefile:1.2 pkgsrc/security/sshpass/Makefile:1.3 --- pkgsrc/security/sshpass/Makefile:1.2 Sat Sep 16 19:27:07 2017 +++ pkgsrc/security/sshpass/Makefile Sun May 6 17:45:30 2018 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2017/09/16 19:27:07 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2018/05/06 17:45:30 gavan Exp $ # -DISTNAME= sshpass-1.05 +DISTNAME= sshpass-1.06 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sshpass/} Index: pkgsrc/security/sshpass/distinfo diff -u pkgsrc/security/sshpass/distinfo:1.2 pkgsrc/security/sshpass/distinfo:1.3 --- pkgsrc/security/sshpass/distinfo:1.2 Wed Nov 4 01:18:10 2015 +++ pkgsrc/security/sshpass/distinfo Sun May 6 17:45:30 2018 @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 01:18:10 agc Exp $ +$NetBSD: distinfo,v 1.3 2018/05/06 17:45:30 gavan Exp $ -SHA1 (sshpass-1.05.tar.gz) = 6dafec86dd74315913417829542f4023545c8fd7 -RMD160 (sshpass-1.05.tar.gz) = 6db9f833fbc4eda7e0a494fe0dbd287a388afe10 -SHA512 (sshpass-1.05.tar.gz) = 92ff3428a3cbc2b517e8ee0a6676b409bac3ec0900bfb370cf3882ccc62017edb695ce00e025f73680e9718e1b0213b2ac1bbd2a2558fe43f0f5a7b0d690c810 -Size (sshpass-1.05.tar.gz) = 98362 bytes +SHA1 (sshpass-1.06.tar.gz) = 633652e2160819ac7c7e1a351327027d2faa4fd6 +RMD160 (sshpass-1.06.tar.gz) = 4759f5b23506537bf95619dd023cdc3178fc3ff3 +SHA512 (sshpass-1.06.tar.gz) = fc08fcca5aaa5e4958f16d38116d828739a5d53f8e2a83506ef78ee602941a7bfc0e3f07154dc390660df490dbdf7601e0c7ec17c68c9627d72d565e4c6717f8 +Size (sshpass-1.06.tar.gz) = 112205 bytes +SHA1 (patch-main.c) = c9a5f66833d66a5920e17a2b783fd226cf2f934d Added files: Index: pkgsrc/security/sshpass/patches/patch-main.c diff -u /dev/null pkgsrc/security/sshpass/patches/patch-main.c:1.1 --- /dev/null Sun May 6 17:45:30 2018 +++ pkgsrc/security/sshpass/patches/patch-main.c Sun May 6 17:45:30 2018 @@ -0,0 +1,14 @@ +$NetBSD: patch-main.c,v 1.1 2018/05/06 17:45:30 gavan Exp $ + +--- main.c.orig 2016-06-30 19:23:33.000000000 +0000 ++++ main.c +@@ -280,6 +280,9 @@ int runprogram( int argc, char *argv[] ) + setsid(); + // This line makes the ptty our controlling tty. We do not otherwise need it open + slavept=open(name, O_RDWR ); ++ if ( ioctl(slavept, TIOCSCTTY, NULL) ) { ++ perror("sshpass: Failed to recover the controlling tty"); ++ } + close( slavept ); + + close( masterpt ); --_----------=_152562873088470--