PORTNAME=	net-ssh
PORTVERSION=	5.2.0
PORTEPOCH=	2
CATEGORIES=	security rubygems
MASTER_SITES=	RG
PKGNAMESUFFIX=	5

MAINTAINER=	ruby@FreeBSD.org
COMMENT=	Non-interactive SSH processing
WWW=		https://github.com/net-ssh/net-ssh

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

USES=		gem shebangfix

OPTIONS_DEFINE=	PROMPT_PASSPHRASES
OPTIONS_DEFAULT=PROMPT_PASSPHRASES
PROMPT_PASSPHRASES_DESC=	Prompt for passphrases on keys

SHEBANG_FILES=	support/ssh_tunnel_bug.rb
NO_ARCH=	yes

PROMPT_PASSPHRASES_RUN_DEPENDS=	rubygem-ruby-termios>=0:comms/rubygem-ruby-termios

PORTSCOUT=	limit:^5\.

.include <bsd.port.mk>
