ports/92073: security/rubygem-net-ssh: fix PORT_DB and dependency cleanup
Roderick van Domburg
r.s.a.vandomburg at student.utwente.nl
Fri Jan 20 19:30:28 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list