diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-10-03 08:50:33 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-10-03 08:50:33 +0000 |
commit | ccc7a1cba120bc6499622773ca3199ebc2f00d00 (patch) | |
tree | cfaee7f4b334166346ea7aa755835e01327ed6a5 /net | |
parent | 175fa0f388e23b82b5045c773edbf9ca3b8953f0 (diff) | |
download | ports-ccc7a1cba120bc6499622773ca3199ebc2f00d00.tar.gz ports-ccc7a1cba120bc6499622773ca3199ebc2f00d00.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-Google-Calendar/Makefile | 3 | ||||
-rw-r--r-- | net/p5-Net-Google-Calendar/distinfo | 6 | ||||
-rw-r--r-- | net/p5-Net-Google-Calendar/files/patch-Calendar.pm | 11 | ||||
-rw-r--r-- | net/p5-Net-Google-Calendar/files/patch-Entry | 37 |
4 files changed, 4 insertions, 53 deletions
diff --git a/net/p5-Net-Google-Calendar/Makefile b/net/p5-Net-Google-Calendar/Makefile index 0706c52a3bfa..7e641543ad22 100644 --- a/net/p5-Net-Google-Calendar/Makefile +++ b/net/p5-Net-Google-Calendar/Makefile @@ -6,8 +6,7 @@ # PORTNAME= Net-Google-Calendar -DISTVERSION= 0.2_devel -PORTREVISION= 1 +DISTVERSION= 0.4 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net diff --git a/net/p5-Net-Google-Calendar/distinfo b/net/p5-Net-Google-Calendar/distinfo index 9f263bd1cebe..695d5bcb9bb4 100644 --- a/net/p5-Net-Google-Calendar/distinfo +++ b/net/p5-Net-Google-Calendar/distinfo @@ -1,3 +1,3 @@ -MD5 (Net-Google-Calendar-0.2_devel.tar.gz) = 66448dfdf7122c122566aac314cbe609 -SHA256 (Net-Google-Calendar-0.2_devel.tar.gz) = cc76e16909eb64dd5511a9ae95ad90150c48091d8eaed87729a0710e031a6a2b -SIZE (Net-Google-Calendar-0.2_devel.tar.gz) = 7571 +MD5 (Net-Google-Calendar-0.4.tar.gz) = bd1a408d81b54c7a997cd34678aab832 +SHA256 (Net-Google-Calendar-0.4.tar.gz) = 55e31e46dbf65c2e42a43c3667a4a0d89541fbbfdd0830df17dc42c2c5b57b7e +SIZE (Net-Google-Calendar-0.4.tar.gz) = 8005 diff --git a/net/p5-Net-Google-Calendar/files/patch-Calendar.pm b/net/p5-Net-Google-Calendar/files/patch-Calendar.pm deleted file mode 100644 index 49f186a38ce0..000000000000 --- a/net/p5-Net-Google-Calendar/files/patch-Calendar.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/Net/Google/Calendar.pm.orig Wed Apr 26 22:23:27 2006 -+++ lib/Net/Google/Calendar.pm Wed May 17 06:52:56 2006 -@@ -176,7 +176,7 @@ - $url .= "gsessionid=".$self->{_session_id}; - } - -- my %params = ( Content_Type => 'application/atom+xml', -+ my %params = ( Content_Type => 'application/atom+xml; charset=UTF-8', - Authorization => "GoogleLogin auth=".$self->{_auth}, - Content => $entry->as_xml ); - diff --git a/net/p5-Net-Google-Calendar/files/patch-Entry b/net/p5-Net-Google-Calendar/files/patch-Entry deleted file mode 100644 index 3b5e8339c2b0..000000000000 --- a/net/p5-Net-Google-Calendar/files/patch-Entry +++ /dev/null @@ -1,37 +0,0 @@ -diff -ur lib/Net/Google/Calendar/Entry.pm lib/Net/Google/Calendar/Entry.pm ---- lib/Net/Google/Calendar/Entry.pm Thu Jun 15 17:42:23 2006 -+++ lib/Net/Google/Calendar/Entry.pm Tue Jun 20 00:50:28 2006 -@@ -45,10 +45,19 @@ - my ($class, %opts) = @_; - - my $self = $class->SUPER::new( Version => '1.0', %opts ); -- $self->category('', { scheme => 'http://schemas.google.com/g/2005#kind', term => 'http://schemas.google.com/g/2005#event' } ); - -- $self->{_gd_ns} = XML::Atom::Namespace->new(gd => 'http://schemas.google.com/g/2005'); -+ $self->_initialize(); -+ - return $self; -+} -+ -+sub _initialize -+{ -+ my $self = shift; -+ -+ $self->category('', { scheme => 'http://schemas.google.com/g/2005#kind', term => 'http://schemas.google.com/g/2005#event' } ); -+ -+ $self->{_gd_ns} = XML::Atom::Namespace->new(gd => 'http://schemas.google.com/g/2005'); - } - - =head2 id [id] -diff -ur lib/Net/Google/Calendar.pm lib/Net/Google/Calendar.pm ---- lib/Net/Google/Calendar.pm Tue Jun 20 01:32:37 2006 -+++ lib/Net/Google/Calendar.pm Tue Jun 20 00:59:16 2006 -@@ -293,7 +293,7 @@ - my $atom = $r->content; - - my $feed = XML::Atom::Feed->new(\$atom); -- return map { bless $_, 'Net::Google::Calendar::Entry' } $feed->entries; -+ return map { bless $_, 'Net::Google::Calendar::Entry'; $_->_initialize(); $_ } $feed->entries; - } - - |