ports/77639: [PATCH] mail/qmail-scanner: Don´t delete quarantine-attachments.txt

Renato Botelho renato at galle.com.br
Thu Feb 17 14:40:19 UTC 2005


>Number:         77639
>Category:       ports
>Synopsis:       [PATCH] mail/qmail-scanner: Don´t delete quarantine-attachments.txt
>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:   Thu Feb 17 14:40:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
Galle Folheados
>Environment:
System: FreeBSD srv1.galle.com.br 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #6: Mon Jan 17 09:05:47 BRDT 2005
>Description:
Delete quarantine-attachments.txt just if it don´t differ from .sample

Port maintainer (freebsd at simplerezo.com) is cc'd.

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

--- qmail-scanner-1.25.patch begins here ---
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/qmail-scanner/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	30 May 2004 00:37:26 -0000	1.4
+++ pkg-plist	17 Feb 2005 14:38:33 -0000
@@ -3,7 +3,7 @@
 bin/qs2mrtg.pl
 share/examples/qs2mrtg/mrtg-qmail-scanner.cfg
 %%SPOOLDIR%%/quarantine-attachments.sample
-%%SPOOLDIR%%/quarantine-attachments.txt
+ at unexec if cmp -s %%SPOOLDIR%%/quarantine-attachments.txt %%SPOOLDIR%%/quarantine-attachments.sample; then rm -f %%SPOOLDIR%%/quarantine-attachments.txt; fi
 @unexec rmdir share/examples/qs2mrtg 2>/dev/null || true
 @unexec rmdir %%SPOOLDIR%%/archives/cur 2>/dev/null || true
 @unexec rmdir %%SPOOLDIR%%/archives/new 2>/dev/null || true
--- qmail-scanner-1.25.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list