Subject: pkg/28725: please update time/p5-TimeDate to 1.16 (svk log problem)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
List: pkgsrc-bugs
Date: 12/20/2004 21:54:00
>Number:         28725
>Category:       pkg
>Synopsis:       please update time/p5-TimeDate to 1.16 (svk log problem)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 20 21:54:00 +0000 2004
>Originator:     Pavel Cahyna
>Release:        NetBSD 2.0_BETA i386
>Organization:
>Environment:


System: NetBSD 2.0_BETA (GENERIC_DIAGNOSTIC s patchem D. Reeda - PR#26839) #4: Wed Oct  6 10:13:10 CEST 2004
	pavel@pc.martani.n2.repy.czf:/mnt/obj/kompilace/jadra/compile/GENERIC_DIAGNOSTIC



>Description:


I tried to do svk log (from devel/svk 0.26) on my repository, and to my surprise, 
all dates are reported as 1970-01-01 00:00:00 +0000:

pavel@pc:~$ svk log //pf
----------------------------------------------------------------------
r8:  pavel | 1970-01-01 00:00:00 +0000

tag as OpenBSD 3.6
----------------------------------------------------------------------
r7:  pavel | 1970-01-01 00:00:00 +0000

prepare vendor tag
----------------------------------------------------------------------
...

svk author Chia-Liang Kao suggested this:
"Reading the changelog of TimeDate distribution, it seems:

Change 775 on 2003/03/03 by <gbarr@pobox.com> (Graham Barr)
        Fix UTC support on ISO dates

fixes your case. So please upgrade to latest TimeDate (1.16) and see if
it works."

Upgrading time/p5-TimeDate to 1.16 really helped.


>How-To-Repeat:


see above.


>Fix:


Index: Makefile
===================================================================
RCS file: /home/pavel/cvs/pkgsrc/time/p5-TimeDate/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile    5 Jan 2004 22:16:25 -0000       1.7
+++ Makefile    20 Dec 2004 14:27:41 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.7 2004/01/05 22:16:25 jlam Exp $
 #
 
-DISTNAME=              TimeDate-1.14
+DISTNAME=              TimeDate-1.16
 PKGNAME=       p5-${DISTNAME}
 SVR4_PKGNAME=  p5tid
 CATEGORIES=    textproc perl5
Index: distinfo
===================================================================
RCS file: /home/pavel/cvs/pkgsrc/time/p5-TimeDate/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo    14 Feb 2003 18:29:46 -0000      1.2
+++ distinfo    20 Dec 2004 14:28:37 -0000
@@ -1,4 +1,4 @@
 $NetBSD: distinfo,v 1.2 2003/02/14 18:29:46 wiz Exp $
 
-SHA1 (TimeDate-1.14.tar.gz) = 5ea1e50a2e2461bc1a6b2d6cf43b6b6cd83faea3
-Size (TimeDate-1.14.tar.gz) = 19036 bytes
+SHA1 (TimeDate-1.16.tar.gz) = 36875a6cb20585d0589e2fccade04fae6e0db372
+Size (TimeDate-1.16.tar.gz) = 22366 bytes