Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 19:23:29 +0100 (CET)
From:      Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92073: security/rubygem-net-ssh: fix PORT_DB and dependency cleanup
Message-ID:  <200601201823.k0KINTvM084586@developer.nedforce.nl>
Resent-Message-ID: <200601201930.k0KJU4Bw031096@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92073
>Category:       ports
>Synopsis:       security/rubygem-net-ssh: fix PORT_DB and dependency cleanup
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 19:30:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Roderick van Domburg
>Release:        FreeBSD 6.0-STABLE sparc64
>Organization:
University of Twente
>Environment:
System: FreeBSD developer.nedforce.nl 6.0-STABLE FreeBSD 6.0-STABLE #1: Thu Jan 12 10:47:03 CET 2006 roderick@developer.nedforce.nl:/usr/obj/usr/src/sys/DEVELOPER sparc64


	
>Description:
Due to a typo, the options were saved to the filesystem root, instead of
/var/db/ports! Also, the ports' documentation turned out to be stale -
it no longer depends on security/ruby-password but does need
comms/ruby-termios that was otherwise pulled in by ruby-password.
	
>How-To-Repeat:
	
>Fix:

	

--- patch-rubygem-net-ssh begins here ---
diff -ruN rubygem-net-ssh.bak/Makefile rubygem-net-ssh/Makefile
--- rubygem-net-ssh.bak/Makefile	Fri Jan 20 19:10:50 2006
+++ rubygem-net-ssh/Makefile	Fri Jan 20 19:14:44 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	net-ssh
 PORTVERSION=	1.0.6
+PORTREVISION=	1
 CATEGORIES=	security ruby
 MASTER_SITES=	http://rubyforge.org/frs/download.php/8149/
 
@@ -16,15 +17,15 @@
 BUILD_DEPENDS=	${LOCALBASE}/${SPEC_DIR}/needle-1.3.0.gemspec:${PORTSDIR}/devel/rubygem-needle
 
 OPTIONS=	PROMPT_PASSPHRASES "Prompt for passphrases on keys" On
-OPTIONSFILE=	${PORTS_DBDIR}/rubygem-${PORTNAME}/options
+OPTIONSFILE=	${PORT_DBDIR}/rubygem-${PORTNAME}/options
 
-# to get RUBY_SITELIBDIR
+# to get RUBY_SITEARCHLIBDIR
 USE_RUBY=	yes
 
 .include <bsd.port.pre.mk>
 
 .if !defined(WITHOUT_PROMPT_PASSPHRASES)
-RUN_DEPENDS+=	${RUBY_SITELIBDIR}/password.rb:${PORTSDIR}/security/ruby-password
+RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/termios.so:${PORTSDIR}/comms/ruby-termios
 .endif
 
 post-install:
--- patch-rubygem-net-ssh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601201823.k0KINTvM084586>