pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/p5-Mail-Audit Update to 2.1, closing PR 29996:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1279260ccd32
branches:  trunk
changeset: 492722:1279260ccd32
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 18 16:57:13 2005 +0000

description:
Update to 2.1, closing PR 29996:

2.1 - Tue Jan 15 17:59:46 EST 2002
    - Meng Weng Wong made some edits.

  (1) ~username and strftime interpolation into accept() arguments.

      $mail->accept("~/Mail/In/%Y%m%d");

      260(accept): accepting to /home/matest/Mail/In/20020115

  (2) multiple-argument accept() will deliver to multiple
      maildirs using single-inode multiple-hardlink style.

      $mail->accept("~/maildir1/", "~/maildir2/");

      20020115-01:55:31 matest@dumbo:~% ll maildir?/*/*
      -rw-------   2 matest   matest        416 Jan 15 01:55 maildir1/new/1011077720.13062_0.dumbo
      -rw-------   2 matest   matest        416 Jan 15 01:55 maildir2/new/1011077720.13062_1.dumbo

  (3) emergency mailbox support if none of the accept()s work.

      $mail->accept("/etc/bogus");

      296(accept): calling accept handler accept_to_mbox(/etc/bogus)
      359(accept_to_mbox): Couldn't open /etc/bogus: Permission denied
      319(accept): unable to write to /etc/bogus; wrote to emergency mailbox /var/spool/mail/matest.

  (4) deferral back to mailqueue if emergency couldn't get delivered.

      296(accept): calling accept handler accept_to_mbox(/etc/bogus)
      359(accept_to_mbox): Couldn't open /etc/bogus: Permission denied
      359(accept_to_mbox): Couldn't open /etc/emergency: Permission denied
      320(accept): unable to write to /etc/bogus or to emergency mailbox /etc/emergency either; exiting EX_TEMPFAIL

  (5) fixed the From header bug http://rt.cpan.org/NoAuth/Bug.html?id=118
  (6) fixed the user method override bug with (@_) argument passing
  (7) autocreation of parent and maildir cur/new/tmp dirs as necessary.

      260(accept): accepting to /home/mengwong/tmp/blah/some/really/deep/directory/
      761(mkdir_p): /home/mengwong/tmp/blah/some/really/deep/directory/tmp doesn't exist, creating.
      761(mkdir_p): /home/mengwong/tmp/blah/some/really/deep/directory doesn't exist, creating.
      761(mkdir_p): /home/mengwong/tmp/blah/some/really/deep doesn't exist, creating.
      761(mkdir_p): /home/mengwong/tmp/blah/some/really doesn't exist, creating.
      761(mkdir_p): /home/mengwong/tmp/blah/some doesn't exist, creating.
      761(mkdir_p): /home/mengwong/tmp/blah/some/really/deep/directory/new doesn't exist, creating.
      761(mkdir_p): /home/mengwong/tmp/blah/some/really/deep/directory/cur doesn't exist, creating.
      492(accept_to_maildir): maildir: hardlinking to /home/mengwong/tmp/blah/some/really/deep/directory/new/1011077537.12691_3.dumbo
      304(accept): delivered successfully to 1 destinations.

  (8) support for MIME, with direct inheritance from
      Mail::Internet and MIME::Entity (as appropriate) instead
      of containment in ->{obj}.  added ->is_mime method.

  (9) added "reply" method.  uses Mail::Mailer::sendmail.

 (10) STDERR is directed to the logfile.

 (11) added test infrastructure.

diffstat:

 mail/p5-Mail-Audit/Makefile |  7 ++++---
 mail/p5-Mail-Audit/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r 89934b9b2662 -r 1279260ccd32 mail/p5-Mail-Audit/Makefile
--- a/mail/p5-Mail-Audit/Makefile       Mon Apr 18 16:55:35 2005 +0000
+++ b/mail/p5-Mail-Audit/Makefile       Mon Apr 18 16:57:13 2005 +0000
@@ -1,17 +1,18 @@
-# $NetBSD: Makefile,v 1.13 2005/04/11 21:46:21 tv Exp $
+# $NetBSD: Makefile,v 1.14 2005/04/18 16:57:13 wiz Exp $
 
-DISTNAME=      Mail-Audit-2.0
+DISTNAME=      Mail-Audit-2.1
 PKGNAME=       p5-${DISTNAME}
 SVR4_PKGNAME=  p5mau
-PKGREVISION=   1
 CATEGORIES=    mail perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Mail/}
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Mail-Audit/
 COMMENT=       Perl5 module for filtering mail
 
 DEPENDS+=      p5-MailTools-[0-9]*:../../mail/p5-MailTools
 DEPENDS+=      p5-Mail-ListDetector-[0-9]*:../../mail/p5-Mail-ListDetector
+DEPENDS+=      p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools
 # We need Net::SMTP from p5-Net.
 DEPENDS+=      p5-Net>=1.0:../../net/p5-Net
 
diff -r 89934b9b2662 -r 1279260ccd32 mail/p5-Mail-Audit/distinfo
--- a/mail/p5-Mail-Audit/distinfo       Mon Apr 18 16:55:35 2005 +0000
+++ b/mail/p5-Mail-Audit/distinfo       Mon Apr 18 16:57:13 2005 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 09:59:25 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/04/18 16:57:13 wiz Exp $
 
-SHA1 (Mail-Audit-2.0.tar.gz) = 0775a6552a7ca3c3d55476d452400eb615c38d96
-RMD160 (Mail-Audit-2.0.tar.gz) = 854e1408fd20169c09f530b2c46c8d73f1b26a87
-Size (Mail-Audit-2.0.tar.gz) = 12526 bytes
+SHA1 (Mail-Audit-2.1.tar.gz) = 4fbfc782c8230025b793c2e15eff231acfa55f57
+RMD160 (Mail-Audit-2.1.tar.gz) = c59d006f1f9aa544e854be089f3fe793a8694d4f
+Size (Mail-Audit-2.1.tar.gz) = 21669 bytes



Home | Main Index | Thread Index | Old Index