ports/115462: [PATCH] mail/mimedefang: fix non-tmp files removal

Robin Gruyters r.gruyters at yirdis.nl
Mon Aug 13 10:40:02 UTC 2007


>Number:         115462
>Category:       ports
>Synopsis:       [PATCH] mail/mimedefang: fix non-tmp files removal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 13 10:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Robin Gruyters
>Release:        FreeBSD 6.2-RELEASE-p5 i386
>Organization:
YIRDIS B.V.
>Environment:
System: FreeBSD server.yirdis.net 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #4: Thu May 31 10:58:52 CEST 2007
>Description:
Their are some issues with SA and cleaning up non-text files in the temp
(/tmp) directory.

-rw-------   1 mailnull  wheel   13110 Aug 12 21:34  .spamassassin89241ESdKdwtmp
-rw-------   1 mailnull  wheel   23161 Aug 12 11:05  .spamassassin89241FYNO81tmp
-rw-------   1 mailnull  wheel   13110 Aug 12 21:34  .spamassassin89241JGI9jEtmp
...

Apparently MD has to include finish() statement ($mail->finish();)

More information, see URL below.

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5444


Port maintainer (wes at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mimedefang-2.62_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /data3/Build/CVS/ports/mail/mimedefang/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile	23 Jul 2007 17:27:13 -0000	1.60
+++ Makefile	13 Aug 2007 10:30:34 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	mimedefang
 PORTVERSION=	2.62
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	http://www.mimedefang.org/static/
 
Index: files/patch-mimedefang.pl.in
===================================================================
RCS file: /data3/Build/CVS/ports/mail/mimedefang/files/patch-mimedefang.pl.in,v
retrieving revision 1.5
diff -u -r1.5 patch-mimedefang.pl.in
--- files/patch-mimedefang.pl.in	14 Jul 2007 03:07:32 -0000	1.5
+++ files/patch-mimedefang.pl.in	13 Aug 2007 10:30:29 -0000
@@ -1,5 +1,5 @@
---- mimedefang.pl.in.orig	Fri Jul 13 08:03:23 2007
-+++ mimedefang.pl.in	Fri Jul 13 08:04:19 2007
+--- mimedefang.pl.in.orig	Wed Mar 28 21:37:15 2007
++++ mimedefang.pl.in	Mon Aug 13 11:50:35 2007
 @@ -186,7 +186,7 @@
  $FprotdHost = "127.0.0.1:10200";
  
@@ -9,3 +9,11 @@
  $TrophieSock = "@SPOOLDIR@/trophie";
  
  package MIME::Parser::ParanoidFiler;
+@@ -6317,6 +6317,7 @@
+     my $status;
+     push_status_tag("Running SpamAssassin");
+     $status = $object->check($mail);
++    $mail->finish();
+     pop_status_tag();
+     return $status;
+ }
--- mimedefang-2.62_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list