diff --git a/security/sshpass/Makefile b/security/sshpass/Makefile index 749fce4086b8..4ec48deb7fe2 100644 --- a/security/sshpass/Makefile +++ b/security/sshpass/Makefile @@ -1,20 +1,20 @@ # Created by: Hung-Yi Chen PORTNAME= sshpass -PORTVERSION= 1.06 +PORTVERSION= 1.09 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/sshpass/${PORTVERSION} MAINTAINER= gaod@hychen.org COMMENT= Non-interactive ssh password auth tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf GNU_CONFIGURE= yes PLIST_FILES= bin/sshpass \ man/man1/sshpass.1.gz .include diff --git a/security/sshpass/distinfo b/security/sshpass/distinfo index 6f95b60cd61a..8f6f20b2683c 100644 --- a/security/sshpass/distinfo +++ b/security/sshpass/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1484941121 -SHA256 (sshpass-1.06.tar.gz) = c6324fcee608b99a58f9870157dfa754837f8c48be3df0f5e2f3accf145dee60 -SIZE (sshpass-1.06.tar.gz) = 112205 +TIMESTAMP = 1632300735 +SHA256 (sshpass-1.09.tar.gz) = 71746e5e057ffe9b00b44ac40453bf47091930cba96bbea8dc48717dedc49fb7 +SIZE (sshpass-1.09.tar.gz) = 112857 diff --git a/security/sshpass/files/patch-main.c b/security/sshpass/files/patch-main.c deleted file mode 100644 index 3e1801e86909..000000000000 --- a/security/sshpass/files/patch-main.c +++ /dev/null @@ -1,15 +0,0 @@ ---- main.c.orig 2016-06-30 19:23:33 UTC -+++ main.c -@@ -280,6 +280,12 @@ 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 ); -+#ifdef __FreeBSD__ -+ if (ioctl(slavept, TIOCSCTTY, NULL) == -1) { -+ perror("sshpass: Failed to TIOCSCTTY"); -+ exit(RETURN_RUNTIME_ERROR); -+ } -+#endif - close( slavept ); - - close( masterpt );