diff options
author | gavan <gavan@pkgsrc.org> | 2018-05-06 17:45:30 +0000 |
---|---|---|
committer | gavan <gavan@pkgsrc.org> | 2018-05-06 17:45:30 +0000 |
commit | 6642dbe05840c7ae4605394fd026058d9a92c476 (patch) | |
tree | 2ce9ae8dac8e9989cc1b85a3c7e4e7b58fc39b20 /security | |
parent | a8b890507d5ad0c819dfd11ddfc3d27304e37185 (diff) | |
download | pkgsrc-6642dbe05840c7ae4605394fd026058d9a92c476.tar.gz |
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 (limited to 'security')
-rw-r--r-- | security/sshpass/Makefile | 4 | ||||
-rw-r--r-- | security/sshpass/distinfo | 11 | ||||
-rw-r--r-- | security/sshpass/patches/patch-main.c | 14 |
3 files changed, 22 insertions, 7 deletions
diff --git a/security/sshpass/Makefile b/security/sshpass/Makefile index 22d88293f3c..44e10f23960 100644 --- a/security/sshpass/Makefile +++ b/security/sshpass/Makefile @@ -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 --git a/security/sshpass/distinfo b/security/sshpass/distinfo index 728d2dd39fd..5a2acbc9153 100644 --- a/security/sshpass/distinfo +++ b/security/sshpass/distinfo @@ -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 --git a/security/sshpass/patches/patch-main.c b/security/sshpass/patches/patch-main.c new file mode 100644 index 00000000000..c33b73e0069 --- /dev/null +++ b/security/sshpass/patches/patch-main.c @@ -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 ); |