1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- Fix mail spool directory path

- Bump PORTREVISION

PR:		34833, 34585
Submitted by:	Dominik Brettnacher <domi@saargate.de>,
		Andrey V. Pevnev <andrey@mgul.ac.ru>
This commit is contained in:
Patrick Li 2002-02-13 04:44:25 +00:00
parent e8ff45fadb
commit 11074b85c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54643
2 changed files with 21 additions and 1 deletions

View File

@ -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}

View File

@ -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;
}