1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

security/sshpass: Update 1.06 -> 1.09

PR:		259407
Reported by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)
This commit is contained in:
Bartek Rutkowski 2021-12-22 09:25:13 +00:00
parent fffad4fbd2
commit 272297b8c8
3 changed files with 4 additions and 19 deletions

View File

@ -1,7 +1,7 @@
# Created by: Hung-Yi Chen <gaod@hychen.org>
PORTNAME= sshpass
PORTVERSION= 1.06
PORTVERSION= 1.09
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/sshpass/${PORTVERSION}

View File

@ -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

View File

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