Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2012 14:20:15 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308696 - in head/ftp/mirror: . files
Message-ID:  <201212111420.qBBEKFMU013621@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Tue Dec 11 14:20:14 2012
New Revision: 308696
URL: http://svnweb.freebsd.org/changeset/ports/308696

Log:
  Use current local time Perl module, timelocal.pl is deprecated.
  
  PR:		174357
  Submitted by:	Valentin Nechayev <netch@netch.kiev.ua>

Added:
  head/ftp/mirror/files/patch-dateconv.pl   (contents, props changed)
Modified:
  head/ftp/mirror/Makefile

Modified: head/ftp/mirror/Makefile
==============================================================================
--- head/ftp/mirror/Makefile	Tue Dec 11 14:19:55 2012	(r308695)
+++ head/ftp/mirror/Makefile	Tue Dec 11 14:20:14 2012	(r308696)
@@ -7,7 +7,7 @@
 
 PORTNAME=	mirror
 PORTVERSION=	2.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	ftp
 MASTER_SITES=	ftp://sunsite.ualberta.ca/pub/Mirror/mirror/ \
 		http://komquats.com/distfiles/ \

Added: head/ftp/mirror/files/patch-dateconv.pl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ftp/mirror/files/patch-dateconv.pl	Tue Dec 11 14:20:14 2012	(r308696)
@@ -0,0 +1,12 @@
+--- dateconv.pl.orig	1998-05-29 12:04:32.000000000 -0700
++++ dateconv.pl	2012-12-11 06:16:24.592709834 -0800
+@@ -47,7 +47,8 @@
+ }
+ 
+ 
+-require 'timelocal.pl';
++# require 'timelocal.pl';
++use Time::Local qw(timelocal timegm);
+ package dateconv;
+ 
+ # Use timelocal rather than gmtime.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212111420.qBBEKFMU013621>