Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Apr 2010 13:11:50 +0900 (JST)
From:      Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
To:        pav@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/144204: mail/mailagent is not compatible with perl 5.10
Message-ID:  <20100402.131150.794183672501064546.kasahara@nc.kyushu-u.ac.jp>
In-Reply-To: <201003311256.o2VCupV2013580@freefall.freebsd.org>
References:  <201003311256.o2VCupV2013580@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----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)----



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