pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/sshpass



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.

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 );



Home | Main Index | Thread Index | Old Index