Date: Tue, 11 Dec 2012 07:33:46 +0200 (EET) From: Valentin Nechayev <netch@netch.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/174357: port ftp/mirror uses disappearing Perl module Message-ID: <201212110533.qBB5XkSN044692@segfault.kiev.ua> Resent-Message-ID: <201212110540.qBB5e0W2033404@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 174357 >Category: ports >Synopsis: port ftp/mirror uses disappearing Perl module >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 11 05:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Valentin Nechayev >Release: FreeBSD 8.3-RELEASE-p3 i386 >Organization: private >Environment: FreeBSD 8.3 Perl 5.14 >Description: When running mirror under Perl 5.14, the latter complains: Legacy library timelocal.pl will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at /usr/local/lib/mirror/dateconv.pl, line 50. >How-To-Repeat: Install and start it. >Fix: Add the patch: === cut here === --- dateconv.pl +++ dateconv.pl @@ -47,7 +47,7 @@ } -require 'timelocal.pl'; +use Time::Local qw(timelocal timegm); package dateconv; # Use timelocal rather than gmtime. === end cut === >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212110533.qBB5XkSN044692>