pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/sshpass sshpass: update to 1.06 and patch to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1372f605fc3
branches:  trunk
changeset: 379866:b1372f605fc3
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Sun May 06 17:45:30 2018 +0000

description:
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.

diffstat:

 security/sshpass/Makefile             |   4 ++--
 security/sshpass/distinfo             |  11 ++++++-----
 security/sshpass/patches/patch-main.c |  14 ++++++++++++++
 3 files changed, 22 insertions(+), 7 deletions(-)

diffs (47 lines):

diff -r a3bc1184dfa0 -r b1372f605fc3 security/sshpass/Makefile
--- a/security/sshpass/Makefile Sun May 06 14:32:06 2018 +0000
+++ b/security/sshpass/Makefile Sun May 06 17:45:30 2018 +0000
@@ -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/}
 
diff -r a3bc1184dfa0 -r b1372f605fc3 security/sshpass/distinfo
--- a/security/sshpass/distinfo Sun May 06 14:32:06 2018 +0000
+++ b/security/sshpass/distinfo Sun May 06 17:45:30 2018 +0000
@@ -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
diff -r a3bc1184dfa0 -r b1372f605fc3 security/sshpass/patches/patch-main.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/sshpass/patches/patch-main.c     Sun May 06 17:45:30 2018 +0000
@@ -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 );



Home | Main Index | Thread Index | Old Index