From 0171afca375a1b4113b6a1b738935799db19bfb3 Mon Sep 17 00:00:00 2001 From: DPorts Builder Date: Mon, 21 Jul 2014 02:13:02 -0700 Subject: [PATCH] Update net/p5-Net-Amazon-S3 to version 0.60 --- net/p5-Net-Amazon-S3/Makefile | 3 +- net/p5-Net-Amazon-S3/distinfo | 4 +-- net/p5-Net-Amazon-S3/files/patch-moosefix | 44 ++++------------------- 3 files changed, 10 insertions(+), 41 deletions(-) diff --git a/net/p5-Net-Amazon-S3/Makefile b/net/p5-Net-Amazon-S3/Makefile index 038475abd6c..6faa292e2c1 100644 --- a/net/p5-Net-Amazon-S3/Makefile +++ b/net/p5-Net-Amazon-S3/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= Net-Amazon-S3 -PORTVERSION= 0.59 -PORTREVISION= 2 +PORTVERSION= 0.60 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/net/p5-Net-Amazon-S3/distinfo b/net/p5-Net-Amazon-S3/distinfo index 5996dbaa785..5f756b96954 100644 --- a/net/p5-Net-Amazon-S3/distinfo +++ b/net/p5-Net-Amazon-S3/distinfo @@ -1,2 +1,2 @@ -SHA256 (Net-Amazon-S3-0.59.tar.gz) = 94f2bd6b317a9142e400d7d17bd573dc9d22284c3ceaa4864474ba674e0e2e9f -SIZE (Net-Amazon-S3-0.59.tar.gz) = 52272 +SHA256 (Net-Amazon-S3-0.60.tar.gz) = 628937132268e501fb82410f96636e01b183423ea133b6c362894da109d6ac81 +SIZE (Net-Amazon-S3-0.60.tar.gz) = 53232 diff --git a/net/p5-Net-Amazon-S3/files/patch-moosefix b/net/p5-Net-Amazon-S3/files/patch-moosefix index 1456ef7df09..d0ce4154061 100644 --- a/net/p5-Net-Amazon-S3/files/patch-moosefix +++ b/net/p5-Net-Amazon-S3/files/patch-moosefix @@ -1,41 +1,11 @@ -diff --git a/lib/Net/Amazon/S3/Client/Object.pm b/lib/Net/Amazon/S3/Client/Object.pm -index d10cba7..3d70d33 100755 ---- lib/Net/Amazon/S3/Client/Object.pm -+++ lib/Net/Amazon/S3/Client/Object.pm -@@ -13,7 +13,7 @@ use IO::File 1.14; - # ABSTRACT: An easy-to-use Amazon S3 client object +--- lib/Net/Amazon/S3/Client/Object.pm.orig 2014-07-13 05:44:37.000000000 -0700 ++++ lib/Net/Amazon/S3/Client/Object.pm 2014-07-13 05:44:46.000000000 -0700 +@@ -19,7 +19,7 @@ + [ qw(private public-read public-read-write authenticated-read) ]; - enum 'AclShort' => -- qw(private public-read public-read-write authenticated-read); -+ [ qw(private public-read public-read-write authenticated-read) ]; + enum 'StorageClass' => +- qw(standard reduced_redundancy); ++ [ qw(standard reduced_redundancy) ]; has 'client' => ( is => 'ro', isa => 'Net::Amazon::S3::Client', required => 1 ); -diff --git a/lib/Net/Amazon/S3/HTTPRequest.pm b/lib/Net/Amazon/S3/HTTPRequest.pm -index 69c6327..eeb9584 100755 ---- lib/Net/Amazon/S3/HTTPRequest.pm -+++ lib/Net/Amazon/S3/HTTPRequest.pm -@@ -13,7 +13,7 @@ use URI; - my $METADATA_PREFIX = 'x-amz-meta-'; - my $AMAZON_HEADER_PREFIX = 'x-amz-'; - --enum 'HTTPMethod' => qw(DELETE GET HEAD PUT POST); -+enum 'HTTPMethod' => [ qw(DELETE GET HEAD PUT POST) ]; - - has 's3' => ( is => 'ro', isa => 'Net::Amazon::S3', required => 1 ); - has 'method' => ( is => 'ro', isa => 'HTTPMethod', required => 1 ); -diff --git a/lib/Net/Amazon/S3/Request.pm b/lib/Net/Amazon/S3/Request.pm -index 9dded27..0415880 100644 ---- lib/Net/Amazon/S3/Request.pm -+++ lib/Net/Amazon/S3/Request.pm -@@ -7,8 +7,8 @@ use Regexp::Common qw /net/; - # ABSTRACT: Base class for request objects - - enum 'AclShort' => -- qw(private public-read public-read-write authenticated-read); --enum 'LocationConstraint' => ( 'US', 'EU' ); -+ [ qw(private public-read public-read-write authenticated-read) ]; -+enum 'LocationConstraint' => [ 'US', 'EU' ]; - - # To comply with Amazon S3 requirements, bucket names must: - # Contain lowercase letters, numbers, periods (.), underscores (_), and dashes (-) -- 2.41.0