Date: Mon, 2 Oct 2006 07:59:28 +0800 (CST) From: Cheng-Lung Sung <clsung@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mhsin@mhsin.org Subject: ports/103885: [PATCH] net/p5-Net-Google-Calendar: update to 0.4 Message-ID: <20061001235928.A29ED28463@going04.iis.sinica.edu.tw> Resent-Message-ID: <200610020000.k9200so7037035@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103885 >Category: ports >Synopsis: [PATCH] net/p5-Net-Google-Calendar: update to 0.4 >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: Mon Oct 02 00:00:54 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD going04.iis.sinica.edu.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #21: Wed Sep 13 17:54:15 CST 2006 >Description: - Update to 0.4 Removed file(s): - files/patch-Calendar.pm - files/patch-Entry Port maintainer (mhsin@mhsin.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Net-Google-Calendar-0.4.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/p5-Net-Google-Calendar/Makefile,v retrieving revision 1.4 diff -u -u -r1.4 Makefile --- Makefile 20 Jun 2006 19:10:56 -0000 1.4 +++ Makefile 1 Oct 2006 23:58:19 -0000 @@ -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 Index: distinfo =================================================================== RCS file: /home/pcvs/ports/net/p5-Net-Google-Calendar/distinfo,v retrieving revision 1.2 diff -u -u -r1.2 distinfo --- distinfo 19 Jun 2006 07:27:55 -0000 1.2 +++ distinfo 1 Oct 2006 23:58:19 -0000 @@ -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 Index: files/patch-Calendar.pm =================================================================== RCS file: files/patch-Calendar.pm diff -N files/patch-Calendar.pm --- files/patch-Calendar.pm 16 May 2006 22:56:00 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -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 ); - Index: files/patch-Entry =================================================================== RCS file: files/patch-Entry diff -N files/patch-Entry --- files/patch-Entry 20 Jun 2006 19:10:56 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -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; - } - - --- p5-Net-Google-Calendar-0.4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061001235928.A29ED28463>