ports/171010: Updated port security/rubygem-net-ssh
Nick Dewing
ndewing at experts-exchange.com
Fri Aug 24 19:00:08 UTC 2012
>Number: 171010
>Category: ports
>Synopsis: Updated port security/rubygem-net-ssh
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 24 19:00:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Nick Dewing
>Release: 8.3-RELEASE
>Organization:
Experts Exchange
>Environment:
FreeBSD chef2.corp.noc.redsrci.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Wed Jun 13 23:15:35 UTC 2012 root at amd64.experts-exchange.com:/usr/obj/usr/src/sys/EEGENERIC amd64
>Description:
sysutils/rubygem-chef PORTVERSION 10.12.0 requires the gem net-ssh ~> 2.2.2. I've updated the port to reflect this.
I also migrated the ports to the new options framework while I was updating the port.
>How-To-Repeat:
sysutils/rubygem-chef PORTVERSION 10.12.0 requires the gem net-ssh ~> 2.2.2.
>Fix:
Apply the attached patch.
Patch attached with submission follows:
diff -u security/rubygem-net-ssh/Makefile security/rubygem-net-ssh/Makefile
--- security/rubygem-net-ssh/Makefile 2012-02-11 18:13:12.000000000 -0800
+++ security/rubygem-net-ssh/Makefile 2012-08-24 17:32:00.000000000 -0700
@@ -7,7 +7,7 @@
# Remeber to check sysutils/rubygem-chef
PORTNAME= net-ssh
-PORTVERSION= 2.1.4
+PORTVERSION= 2.2.2
PORTEPOCH= 2
CATEGORIES= security rubygems
MASTER_SITES= RG
@@ -15,15 +15,20 @@
MAINTAINER= ruby at FreeBSD.org
COMMENT= Non-interactive SSH processing
-OPTIONS= PROMPT_PASSPHRASES "Prompt for passphrases on keys" On
-OPTIONSFILE?= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
+OPTIONS_DEFINE= PROMPT_PASSPHRASES
+PROMPT_PASSPHRASES_DESC= Prompt for passphrases on keys
+OPTIONSFILE?= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
+
+OPTIONS_DEFAULT= PROMPT_PASSPHRASES
# to get RUBY_SITEARCHLIBDIR
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-.if !defined(WITHOUT_PROMPT_PASSPHRASES)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPROMPT_PASSPHRASES}
RUN_DEPENDS+= rubygem-ruby-termios>=0:${PORTSDIR}/comms/rubygem-ruby-termios
.endif
diff -u security/rubygem-net-ssh/distinfo security/rubygem-net-ssh/distinfo
--- security/rubygem-net-ssh/distinfo 2012-02-11 18:13:12.000000000 -0800
+++ security/rubygem-net-ssh/distinfo 2012-08-23 19:26:16.000000000 -0700
@@ -1,2 +1,2 @@
-SHA256 (rubygem/net-ssh-2.1.4.gem) = d73091fa095c8df5adc12e5c3fd5bc097ac05780a5c4565f8f86e8859967dc89
-SIZE (rubygem/net-ssh-2.1.4.gem) = 132096
+SHA256 (rubygem/net-ssh-2.2.2.gem) = 211cf80d5d5805ca59723708a3cdfe43fa4dc30e5f86177a108f8cc2cd623487
+SIZE (rubygem/net-ssh-2.2.2.gem) = 133120
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list