ports/185417: [PATCH] net-mgmt/p5-NetApp: update to 500.002, take maintainership

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ports/185417: [PATCH] net-mgmt/p5-NetApp: update to 500.002, take maintainership

Hung-Yi Chen

>Number:         185417
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/p5-NetApp: update to 500.002, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 02 11:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Hung-Yi Chen
>Release:        FreeBSD 9.1-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD cse.tw 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013
>Description:
- Update to 500.002
- Take maintainership

Port maintainer ([hidden email]) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- p5-NetApp-500.002.patch begins here ---
diff -ruN /usr/ports/net-mgmt/p5-NetApp/Makefile ./Makefile
--- /usr/ports/net-mgmt/p5-NetApp/Makefile 2013-09-21 06:24:43.000000000 +0800
+++ ./Makefile 2014-01-02 19:05:05.699880789 +0800
@@ -2,15 +2,13 @@
 # $FreeBSD: net-mgmt/p5-NetApp/Makefile 327757 2013-09-20 22:24:43Z bapt $
 
 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
 PKGNAMEPREFIX= p5-
-EXTRACT_SUFX= .tgz
 
-MAINTAINER= [hidden email]
+MAINTAINER= [hidden email]
 COMMENT= Perl interface to manage NetApp NAS devices
 
 RUN_DEPENDS= p5-IPC-Cmd>=0:${PORTSDIR}/devel/p5-IPC-Cmd \
@@ -23,7 +21,7 @@
 BUILD_DEPENDS:= ${RUN_DEPENDS}
 
 USES= perl5
-USE_PERL5= modbuild
+USE_PERL5= configure
 
 MAN3= NetApp::Aggregate.3 \
  NetApp::Aggregate::Plex.3 \
@@ -40,5 +38,4 @@
  NetApp::Snapshot::Schedule.3 \
  NetApp::Volume.3
 
-NO_STAGE= yes
 .include <bsd.port.mk>
diff -ruN /usr/ports/net-mgmt/p5-NetApp/distinfo ./distinfo
--- /usr/ports/net-mgmt/p5-NetApp/distinfo 2012-07-14 22:29:18.000000000 +0800
+++ ./distinfo 2014-01-02 19:02:59.613789834 +0800
@@ -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
diff -ruN /usr/ports/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Filer_Version.pm ./files/patch-lib_NetApp_Filer_Version.pm
--- /usr/ports/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Filer_Version.pm 1970-01-01 08:00:00.000000000 +0800
+++ ./files/patch-lib_NetApp_Filer_Version.pm 2014-01-02 19:02:59.531952716 +0800
@@ -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;
diff -ruN /usr/ports/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Snapshot.pm ./files/patch-lib_NetApp_Snapshot.pm
--- /usr/ports/net-mgmt/p5-NetApp/files/patch-lib_NetApp_Snapshot.pm 1970-01-01 08:00:00.000000000 +0800
+++ ./files/patch-lib_NetApp_Snapshot.pm 2014-01-02 19:02:59.531952716 +0800
@@ -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,
diff -ruN /usr/ports/net-mgmt/p5-NetApp/pkg-descr ./pkg-descr
--- /usr/ports/net-mgmt/p5-NetApp/pkg-descr 2012-07-14 22:29:18.000000000 +0800
+++ ./pkg-descr 2014-01-02 19:03:51.548531281 +0800
@@ -18,4 +18,4 @@
 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/
--- p5-NetApp-500.002.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"