diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-02-13 04:44:25 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-02-13 04:44:25 +0000 |
commit | 11074b85c828404470a75608046e8cedeffb6063 (patch) | |
tree | 2a696e076de749c40a27361ac0ebe455afc7ac42 /mail/p5-Mail-SpamAssassin | |
parent | Update to 0.8.10p1 (diff) |
- Fix mail spool directory path
- Bump PORTREVISION
PR: 34833, 34585
Submitted by: Dominik Brettnacher <domi@saargate.de>,
Andrey V. Pevnev <andrey@mgul.ac.ru>
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r-- | mail/p5-Mail-SpamAssassin/Makefile | 3 | ||||
-rw-r--r-- | mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::NoMailAudit.pm | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile index bce48e323790..a04060d8f9ba 100644 --- a/mail/p5-Mail-SpamAssassin/Makefile +++ b/mail/p5-Mail-SpamAssassin/Makefile @@ -7,12 +7,13 @@ PORTNAME= Mail-SpamAssassin PORTVERSION= 2.01 +PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Mail PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.ORG +MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS RUN_DEPENDS= ${BUILD_DEPENDS} diff --git a/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::NoMailAudit.pm b/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::NoMailAudit.pm new file mode 100644 index 000000000000..0188f5e36187 --- /dev/null +++ b/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::NoMailAudit.pm @@ -0,0 +1,19 @@ +--- lib/Mail/SpamAssassin/NoMailAudit.pm.orig Mon Feb 11 15:42:13 2002 ++++ lib/Mail/SpamAssassin/NoMailAudit.pm Mon Feb 11 15:42:23 2002 +@@ -302,7 +302,7 @@ + my $file = shift; + + # some bits of code from Mail::Audit here: +- $file ||= $ENV{'MAIL'} || "/var/spool/mail/".getpwuid($>); ++ $file ||= $ENV{'MAIL'} || "/var/mail/".getpwuid($>); + + if (exists $self->{accept}) { + return $self->{accept}->(); +@@ -321,7 +321,7 @@ + + if (!defined $gotlock) { + # dot-locking not supported here (probably due to file permissions +- # on the /var/spool/mail dir). just use flock(). ++ # on the /var/mail dir). just use flock(). + $nodotlocking = 1; + } |