pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/p5-Mail-Box MailBox is a library for the Perl pro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fdcf1d8e7a0
branches:  trunk
changeset: 492958:1fdcf1d8e7a0
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Apr 23 17:38:57 2005 +0000

description:
MailBox is a library for the Perl programming language, designed to handle
various kinds of e-mail. It can be used to construct messages, send them,
access various kinds of message folders, filter spam and virussen, and so on.

The MailBox distribution is quite large, with about 140 related modules.

diffstat:

 mail/p5-Mail-Box/DESCR            |   5 ++
 mail/p5-Mail-Box/Makefile         |  33 +++++++++++++++
 mail/p5-Mail-Box/PLIST            |   1 +
 mail/p5-Mail-Box/distinfo         |   6 ++
 mail/p5-Mail-Box/patches/patch-aa |  85 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 130 insertions(+), 0 deletions(-)

diffs (150 lines):

diff -r 7037fa0e597d -r 1fdcf1d8e7a0 mail/p5-Mail-Box/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-Box/DESCR    Sat Apr 23 17:38:57 2005 +0000
@@ -0,0 +1,5 @@
+MailBox is a library for the Perl programming language, designed to handle
+various kinds of e-mail. It can be used to construct messages, send them,
+access various kinds of message folders, filter spam and virussen, and so on.
+
+The MailBox distribution is quite large, with about 140 related modules.
diff -r 7037fa0e597d -r 1fdcf1d8e7a0 mail/p5-Mail-Box/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-Box/Makefile Sat Apr 23 17:38:57 2005 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/23 17:38:57 adrianp Exp $
+
+DISTNAME=      Mail-Box-2.060
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    mail perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Mail/}
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://perl.overmeer.net/mailbox/
+COMMENT=       Set of packages which implement methods to handle e-mail
+
+DEPENDS+=      p5-TimeDate-[0-9]*:../../time/p5-TimeDate
+DEPENDS+=      p5-File-Spec>=0.7:../../devel/p5-File-Spec
+DEPENDS+=      p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
+DEPENDS+=      p5-Scalar-List-Utils>=1.13:../../devel/p5-Scalar-List-Utils
+DEPENDS+=      p5-Object-Realize-Later>=0.14:../../devel/p5-Object-Realize-Later
+DEPENDS+=      p5-MIME-Types>=1.004:../../mail/p5-MIME-Types
+DEPENDS+=      p5-URI>=1.23:../../www/p5-URI
+DEPENDS+=      p5-Test-Simple>=0.47:../../devel/p5-Test-Simple
+DEPENDS+=      p5-User-Identity>=0.07:../../mail/p5-User-Identity
+DEPENDS+=      p5-MailTools-[0-9]*:../../mail/p5-MailTools
+DEPENDS+=      p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools
+DEPENDS+=      p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
+DEPENDS+=      p5-File-Remove-[0-9]*:../../sysutils/p5-File-Remove
+
+PERL5_REQD?=   5.8.0
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+PERL5_PACKLIST=        ${PERL5_SITEARCH}/auto/Mail/Box/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7037fa0e597d -r 1fdcf1d8e7a0 mail/p5-Mail-Box/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-Box/PLIST    Sat Apr 23 17:38:57 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/23 17:38:58 adrianp Exp $
diff -r 7037fa0e597d -r 1fdcf1d8e7a0 mail/p5-Mail-Box/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-Box/distinfo Sat Apr 23 17:38:57 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/04/23 17:38:58 adrianp Exp $
+
+SHA1 (Mail-Box-2.060.tar.gz) = ae5f95f06f0a2069947f310f0a6c5d4b3597eda3
+RMD160 (Mail-Box-2.060.tar.gz) = 093b03a3c2aad7df299aaa959d8acfcac8d32cae
+Size (Mail-Box-2.060.tar.gz) = 587366 bytes
+SHA1 (patch-aa) = a3c249dd076dca30e1370a77a70c23274660e637
diff -r 7037fa0e597d -r 1fdcf1d8e7a0 mail/p5-Mail-Box/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-Box/patches/patch-aa Sat Apr 23 17:38:57 2005 +0000
@@ -0,0 +1,85 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/04/23 17:38:58 adrianp Exp $
+
+--- Makefile.PL.orig   2005-04-23 00:12:41.000000000 +0100
++++ Makefile.PL
+@@ -161,78 +161,8 @@ FIX
+     exit 1;
+ }
+ 
+-print <<'OPTIONAL';
+-
+-* Now, let me ask you whether you want some optional modules to be
+-* installed as well.  You can always install these modules later, by
+-* hand, without a need to re-install MailBox.
+-*
+-OPTIONAL
+-
+-foreach my $optional (@optional)
+-{   my ($module, $version, %args) = @$optional;
+-    my $requirements = $args{requires} || sub {1};
+-    next unless $requirements->();
+-
+-    print "\n";
+-    eval "require $module";
+-    if($@)
+-    {   if($@ =~ m/^Can't locate /)
+-             { print "**** Optional $module is not installed\n"        }
+-        else { print "**** Optional $module compilation failed:\n$@\n" }
+-    }
+-    elsif($module->VERSION < $version )
+-    {   print "**** Optional $module too old: requires $version but is ",
+-            $module->VERSION,"\n";
+-    }
+-    else
+-    {   my $v = $module->VERSION;
+-        my $r = $v eq $version ? ''
+-              : $version == 0  ? " (any version will do)"
+-              :                  " (at least $version required)";
+-
+-        print "**** Found optional $module version $v$r\n";
+-        next;
+-    }
+-
+-    my $reason = $args{reason};
+-    $reason =~ s/^/     /gm;
+-    $reason =~ s/\A    /Use:/;
+-    print $reason;
+-
+-    if(my $warn = $args{warning})
+-    {   $warn =~ s/^/     /gm;
+-        $warn =~ s/\A    /WARN/;
+-        print $warn;
+-    }
+-    
+-    my $install  = $default_install_answer;
+-    my $key = prompt "Do you want to install $module? yes/no/all", $install;
+-
+-    if($key eq 'a')
+-    {   $default_install_answer = 'a';
+-        $install = 'y';
+-    }
+-    else
+-    {   $install = $key eq 'y' ? 'y' : 'n';
+-    }
+-
+-    next unless $install eq 'y';
+-
+-    my $distr = $args{distr} || $module;
+-
+-    $prereq{$distr} = $version;
+-    print "     Added $distr version $version to the requirements\n";
+-}
+-
+-my $tests = prompt "Do you want to run the (large set of) tests? yes/no", "yes";
+-if($tests =~ m/n/i)
+-{   open F, ">", "skiptests";
+-    close F;
+-}
+-else
+-{   unlink "skiptests";
+-}
++open F, ">", "skiptests";
++close F;
+ 
+ print <<'MAKEFILE';
+ 



Home | Main Index | Thread Index | Old Index