From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 2 04:12:13 2010 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37A70106566B; Fri, 2 Apr 2010 04:12:13 +0000 (UTC) (envelope-from kasahara@nc.kyushu-u.ac.jp) Received: from elvenbow.cc.kyushu-u.ac.jp (unknown [IPv6:2001:200:905:1314::80]) by mx1.freebsd.org (Postfix) with ESMTP id ACF848FC0A; Fri, 2 Apr 2010 04:12:12 +0000 (UTC) Received: from localhost (kasahara@localhost [IPv6:::1]) by elvenbow.cc.kyushu-u.ac.jp (8.14.4/8.14.4) with ESMTP id o324CAwM038150; Fri, 2 Apr 2010 13:12:10 +0900 (JST) (envelope-from kasahara@nc.kyushu-u.ac.jp) Date: Fri, 02 Apr 2010 13:11:50 +0900 (JST) Message-Id: <20100402.131150.794183672501064546.kasahara@nc.kyushu-u.ac.jp> To: pav@FreeBSD.org From: Yoshiaki Kasahara In-Reply-To: <201003311256.o2VCupV2013580@freefall.freebsd.org> References: <201003311256.o2VCupV2013580@freefall.freebsd.org> X-Fingerprint: CDA2 B6B6 6796 0DD3 9D80 2602 E909 4623 A15E A074 X-URL: http://rd.cc.kyushu-u.ac.jp/~kasahara/ X-Mailer: Mew version 7.0.50 on Emacs 23.1.92 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_Apr__2_13_11_50_2010_111)--" Content-Transfer-Encoding: 7bit Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/144204: mail/mailagent is not compatible with perl 5.10 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 04:12:13 -0000 ----Next_Part(Fri_Apr__2_13_11_50_2010_111)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Here is a patch. At least it passes the internal tests and seems to work in my environment. Because there is no tarball provided from the project page on SourceForge, I made a tarball by myself and put it on my webserver for test purpose (without permission from the original author yet). I'm not sure if it is the right way to provide a distfile (maybe not). Also, the SVN revision is 65 but revision.h says 64 (it seems that commiting revision.h incremented the revision number by one). Users might be confused, but I'm not sure if it is better to patch revision.h locally or not. pkg-plist seems fine without modification. ----Next_Part(Fri_Apr__2_13_11_50_2010_111)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mailagent.diff" diff -urN mailagent/Makefile mailagent31/Makefile --- mailagent/Makefile 2008-08-15 06:38:45.000000000 +0900 +++ mailagent31/Makefile 2010-04-02 12:50:43.000000000 +0900 @@ -6,16 +6,16 @@ # PORTNAME= mailagent -PORTVERSION= 3.0.73 -PORTREVISION= 1 +PORTVERSION= 3.1.65 CATEGORIES= mail -MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= ../../authors/id/RAM +MASTER_SITES= http://eron.info/ MAINTAINER= ports@FreeBSD.org COMMENT= A sophisticated automatic mail-processing tool USE_PERL5= yes +USE_BZIP2= yes + NO_PACKAGE= Correct FQDN needs to be hardcoded IS_INTERACTIVE= yes HAS_CONFIGURE= yes diff -urN mailagent/distinfo mailagent31/distinfo --- mailagent/distinfo 2006-01-22 21:50:24.000000000 +0900 +++ mailagent31/distinfo 2010-04-02 12:24:24.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (mailagent-3.0.73.tar.gz) = bd1d450307956933c1465de79ef9e46d -SHA256 (mailagent-3.0.73.tar.gz) = 99c42f7496d301d8655e859c253d803553f5e50bc085d089e617e0945e455c2e -SIZE (mailagent-3.0.73.tar.gz) = 533579 +MD5 (mailagent-3.1.65.tar.bz2) = 8ba6f9f5bdf850b19d6f38e7d02a3322 +SHA256 (mailagent-3.1.65.tar.bz2) = 3212c1e0118ccdae5209950377debe70ec3fa15dbe2b1dc422568f3e5dcd8ba1 +SIZE (mailagent-3.1.65.tar.bz2) = 454295 diff -urN mailagent/files/patch-agent::pl::compress.pl mailagent31/files/patch-agent::pl::compress.pl --- mailagent/files/patch-agent::pl::compress.pl 1970-01-01 09:00:00.000000000 +0900 +++ mailagent31/files/patch-agent::pl::compress.pl 2010-04-02 12:08:23.000000000 +0900 @@ -0,0 +1,13 @@ +--- agent/pl/compress.pl.ORIG 2010-04-02 11:34:22.000000000 +0900 ++++ agent/pl/compress.pl 2010-04-02 12:06:36.000000000 +0900 +@@ -63,9 +63,8 @@ + unless (open(COMPSPEC, "$cf'compspec")) { + # Configure a set of defaults if the user hasn't specified them manually + # Fields are: tag extension compression_prog uncompress_prog cat_prog +- # The following legacy line removed as modern systems lack compress: +- # compress .Z compress uncompress zcat + &add_compressor(<<'EOT'); ++compress .Z compress uncompress zcat + gzip .gz gzip gunzip gunzip -c + bzip2 .bz2 bzip2 bunzip2 bzcat + EOT ----Next_Part(Fri_Apr__2_13_11_50_2010_111)----