From owner-svn-ports-branches@freebsd.org Thu Nov 9 20:34:52 2017 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9994AE5BC97; Thu, 9 Nov 2017 20:34:52 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65A7C78081; Thu, 9 Nov 2017 20:34:52 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA9KYpqv076192; Thu, 9 Nov 2017 20:34:51 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA9KYpKN076190; Thu, 9 Nov 2017 20:34:51 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201711092034.vA9KYpKN076190@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Thu, 9 Nov 2017 20:34:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r453868 - in branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling: . files X-SVN-Commit-Revision: 453868 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 20:34:52 -0000 Author: feld Date: Thu Nov 9 20:34:51 2017 New Revision: 453868 URL: https://svnweb.freebsd.org/changeset/ports/453868 Log: MFH: r453867 devel/p5-Log-Dispatch-File-Rolling: Fix compatibility with Log-Dispatch 2.67 Added: branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm - copied unchanged from r453867, head/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm Deleted: branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling/files/patch-Log-Dispatch-File-Rolling-pm-fix-append-mode Modified: branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling/Makefile Directory Properties: branches/2017Q4/ (props changed) Modified: branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling/Makefile ============================================================================== --- branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling/Makefile Thu Nov 9 20:34:16 2017 (r453867) +++ branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling/Makefile Thu Nov 9 20:34:51 2017 (r453868) @@ -2,7 +2,7 @@ PORTNAME= Log-Dispatch-File-Rolling PORTVERSION= 1.09 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -12,9 +12,9 @@ COMMENT= Object for logging to date/time/pid stamped f LICENSE= ART20 -BUILD_DEPENDS= p5-Log-Dispatch>=2.37:devel/p5-Log-Dispatch \ +BUILD_DEPENDS= p5-Log-Dispatch>=2.67:devel/p5-Log-Dispatch \ p5-Log-Log4perl>=1.38:devel/p5-Log-Log4perl -RUN_DEPENDS= p5-Log-Dispatch>=2.37:devel/p5-Log-Dispatch \ +RUN_DEPENDS= p5-Log-Dispatch>=2.67:devel/p5-Log-Dispatch \ p5-Log-Log4perl>=1.38:devel/p5-Log-Log4perl USES= dos2unix perl5 Copied: branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm (from r453867, head/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2017Q4/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm Thu Nov 9 20:34:51 2017 (r453868, copy of r453867, head/devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm) @@ -0,0 +1,24 @@ +--- lib/Log/Dispatch/File/Rolling.pm.orig 2017-11-09 20:22:14 UTC ++++ lib/Log/Dispatch/File/Rolling.pm +@@ -39,7 +39,8 @@ sub new { + my $self = bless {}, $class; + + # only append mode is supported +- $p{mode} = 'append'; ++ $p{mode} = 'append'; # Specifies append for Log::Dispatch::File 2.37 through 2.58 ++ $self->{mode} = '>>'; # Specifies append for Log::Dispatch::File 2.59+ (no longer done by _basic_init) + + # base class initialization + $self->_basic_init(%p); +@@ -63,7 +64,10 @@ sub new { + } + + $self->{rolling_fh_pid} = $$; +- $self->_make_handle(); ++ # _make_handle() was removed in Log::Dispatch::File 2.67 ++ # $self->_make_handle(); ++ $self->_open_file() ++ unless $self->{close_after_write} || $self->{lazy_open}; + + return $self; + }