ports/132767: [PATCH] net-mgmt/p5-NetApp: Missing dependency
Hsin-Han You
hhyou at cs.nctu.edu.tw
Wed Mar 18 07:00:15 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list