svn commit: r347374 - in head/net-mgmt/p5-NetApp: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Mar 7 11:44:30 UTC 2014
Author: sunpoet
Date: Fri Mar 7 11:44:28 2014
New Revision: 347374
URL: http://svnweb.freebsd.org/changeset/ports/347374
QAT: https://qat.redports.org/buildarchive/r347374/
Log:
- Update to 500.002
- Use single space after WWW:
- While I'm here:
- Add LICENSE
- Remove unnecessary MASTER_SITE_SUBDIR
- Sort *_DEPENDS
- Use TEST_DEPENDS
Changes: http://search.cpan.org/dist/NetApp/CHANGES
PR: ports/185417
Submitted by: Hung-Yi Chen <gaod at hychen.org>
Approved by: snowfly <snowfly at yuntech.edu.tw> (maintainer)
Added:
head/net-mgmt/p5-NetApp/files/
head/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Filer_Version.pm (contents, props changed)
head/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Snapshot.pm (contents, props changed)
Modified:
head/net-mgmt/p5-NetApp/Makefile
head/net-mgmt/p5-NetApp/distinfo
head/net-mgmt/p5-NetApp/pkg-descr
head/net-mgmt/p5-NetApp/pkg-plist
Modified: head/net-mgmt/p5-NetApp/Makefile
==============================================================================
--- head/net-mgmt/p5-NetApp/Makefile Fri Mar 7 11:43:51 2014 (r347373)
+++ head/net-mgmt/p5-NetApp/Makefile Fri Mar 7 11:44:28 2014 (r347374)
@@ -2,27 +2,27 @@
# $FreeBSD$
PORTNAME= NetApp
-PORTVERSION= 1.1.2
-PORTREVISION= 2
+PORTVERSION= 500.002
CATEGORIES= net-mgmt perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= NetApp
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-EXTRACT_SUFX= .tgz
MAINTAINER= snowfly at yuntech.edu.tw
COMMENT= Perl interface to manage NetApp NAS devices
-RUN_DEPENDS= p5-IPC-Cmd>=0:${PORTSDIR}/devel/p5-IPC-Cmd \
- p5-Class-Std>=0:${PORTSDIR}/devel/p5-Class-Std \
- p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \
- p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-Class-Std>=0:${PORTSDIR}/devel/p5-Class-Std \
+ p5-Clone>=0:${PORTSDIR}/devel/p5-Clone \
+ p5-IPC-Cmd>=0:${PORTSDIR}/devel/p5-IPC-Cmd \
p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet \
- p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
- p5-Clone>=0:${PORTSDIR}/devel/p5-Clone
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+ p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \
+ p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
USES= perl5
-USE_PERL5= modbuild
+USE_PERL5= configure
.include <bsd.port.mk>
Modified: head/net-mgmt/p5-NetApp/distinfo
==============================================================================
--- head/net-mgmt/p5-NetApp/distinfo Fri Mar 7 11:43:51 2014 (r347373)
+++ head/net-mgmt/p5-NetApp/distinfo Fri Mar 7 11:44:28 2014 (r347374)
@@ -1,2 +1,2 @@
-SHA256 (NetApp-1.1.2.tgz) = d87c7873b6b5d7c7fe5ad23dc4ecc131f4c87ceeb7ec356f9336d1d9f70fcdf1
-SIZE (NetApp-1.1.2.tgz) = 43407
+SHA256 (NetApp-500.002.tar.gz) = ff9f2ffadacbe5ecb333e95eb7541df2177e7b198063821671daa0effa38c7c2
+SIZE (NetApp-500.002.tar.gz) = 57584
Added: head/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Filer_Version.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Filer_Version.pm Fri Mar 7 11:44:28 2014 (r347374)
@@ -0,0 +1,11 @@
+--- lib/NetApp/Filer/Version.pm.orig 2013-12-30 22:00:16.000000000 +0800
++++ lib/NetApp/Filer/Version.pm 2013-12-30 22:00:33.000000000 +0800
+@@ -40,7 +40,7 @@
+ $string_of{$ident} = $args{string};
+
+ $args{string} =~
+- m{ NetApp \s+ Release \s+ (\S+) : \s+ (.*) }gmx ||
++ m{ NetApp \s+ Release \s+ (.+): \s+ (.+) }gmx ||
+ croak ("Invalid version string: $args{string}\n");
+
+ $release_of{$ident} = $1;
Added: head/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Snapshot.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Snapshot.pm Fri Mar 7 11:44:28 2014 (r347374)
@@ -0,0 +1,27 @@
+--- lib/NetApp/Snapshot.pm.orig 2012-06-05 22:44:25.000000000 +0800
++++ lib/NetApp/Snapshot.pm 2013-12-30 23:50:33.000000000 +0800
+@@ -8,6 +8,7 @@
+ use warnings;
+ use English;
+ use Carp;
++use DateTime;
+
+ use Class::Std;
+ use Params::Validate qw( :all );
+@@ -243,6 +244,7 @@
+ my (%args) = validate( @_, {
+ parent => { type => OBJECT },
+ name => { type => SCALAR },
++ snapname => { default => DateTime->now() },
+ });
+
+ my $parent = $args{parent};
+@@ -253,7 +255,7 @@
+ push @command, '-A';
+ }
+
+- push @command, $args{name};
++ push @command, $args{name}, $args{snapname};
+
+ return $parent->get_filer->_run_command(
+ command => \@command,
Modified: head/net-mgmt/p5-NetApp/pkg-descr
==============================================================================
--- head/net-mgmt/p5-NetApp/pkg-descr Fri Mar 7 11:43:51 2014 (r347373)
+++ head/net-mgmt/p5-NetApp/pkg-descr Fri Mar 7 11:44:28 2014 (r347374)
@@ -18,4 +18,4 @@ There is no guarantee that 1.2.0 will be
although such changes will be made only when justified. The author
does not believe in infinite backwards compatibility.
-WWW: http://search.cpan.org/dist/NetApp/
+WWW: http://search.cpan.org/dist/NetApp/
Modified: head/net-mgmt/p5-NetApp/pkg-plist
==============================================================================
--- head/net-mgmt/p5-NetApp/pkg-plist Fri Mar 7 11:43:51 2014 (r347373)
+++ head/net-mgmt/p5-NetApp/pkg-plist Fri Mar 7 11:44:28 2014 (r347374)
@@ -31,6 +31,7 @@
%%SITE_PERL%%/NetApp/Volume.pm
%%SITE_PERL%%/NetApp/Volume.pod
%%SITE_PERL%%/NetApp/Volume/Source.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetApp/.packlist
%%PERL5_MAN3%%/NetApp::Aggregate.3.gz
%%PERL5_MAN3%%/NetApp::Aggregate::Plex.3.gz
%%PERL5_MAN3%%/NetApp::Aggregate::RAIDGroup.3.gz
@@ -45,6 +46,7 @@
%%PERL5_MAN3%%/NetApp::Snapshot::Delta.3.gz
%%PERL5_MAN3%%/NetApp::Snapshot::Schedule.3.gz
%%PERL5_MAN3%%/NetApp::Volume.3.gz
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetApp
@dirrmtry %%SITE_PERL%%/NetApp/Volume
@dirrmtry %%SITE_PERL%%/NetApp/Snapshot
@dirrmtry %%SITE_PERL%%/NetApp/Snapmirror
More information about the svn-ports-all
mailing list