Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2009 14:52:12 +0800 (CST)
From:      Hsin-Han You <hhyou@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        snowfly@yuntech.edu.tw
Subject:   ports/132767: [PATCH] net-mgmt/p5-NetApp: Missing dependency
Message-ID:  <20090318065212.AA4104BE6B@csmail1.cs.nctu.edu.tw>
Resent-Message-ID: <200903180700.n2I70EjZ089219@freefall.freebsd.org>

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

>Number:         132767
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/p5-NetApp: Missing dependency
>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:   Wed Mar 18 07:00:13 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Hsin-Han You
>Release:        FreeBSD 7.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD csmail1.cs.nctu.edu.tw 7.1-RELEASE FreeBSD 7.1-RELEASE #1: Fri Jan  9 19:01:14 CST
>Description:

Missing p5-Clone as RUN_DEPEND,
A simple perl script like this will go wrong.

#!/usr/bin/perl

use NetApp::Filer;
use strict;

my $hostname = "somehost";

my $netapp = NetApp::Filer->new({
    hostname        => $hostname,
    ssh_command     => [ @ssh_command ],
    });

Running this script will cause:

BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/NetApp/Filer.pm line 19.


Port maintainer (snowfly@yuntech.edu.tw) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
Install net-mgmt/p5-NetApp without devel/p5-Clone
>Fix:

--- p5-NetApp-1.1.2_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/p5-NetApp/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile	10 Mar 2009 15:13:43 -0000	1.1
+++ Makefile	18 Mar 2009 06:50:04 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	NetApp
 PORTVERSION=	1.1.2
+PORTREVISION=	1
 CATEGORIES=	net-mgmt perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	NetApp
@@ -22,7 +23,8 @@
 		p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
 		p5-Memoize>=0:${PORTSDIR}/devel/p5-Memoize \
 		p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet \
-		p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
+		p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
+		p5-Clone>=0:${PORTSDIR}/devel/p5-Clone
 BUILD_DEPENDS=	${RUN_DEPENDS}
 
 PERL_MODBUILD=	5.8.0+
--- p5-NetApp-1.1.2_1.patch ends here ---

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



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