ports/125538: [PATCH] mail/spamass-milter: allow local flags to be added to default

Thomas Sandford freebsduser at paradisegreen.co.uk
Sat Jul 12 13:40:03 UTC 2008


>Number:         125538
>Category:       ports
>Synopsis:       [PATCH] mail/spamass-milter: allow local flags to be added to default
>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:   Sat Jul 12 13:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Sandford
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
Paradise Green Technical Services
>Environment:
System: FreeBSD miriam.paradisegreen.co.uk 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
With the present configuration, if you want to specify local flags to the
spamass-milter daemon [eg the -r NN option to reject at SMTP level mails
scoring above a certain level] you have to totally replace the default flags.

However the default flags are an appropriate minimum for almost all
installations.

This patch adds the option for local flags to be defined that are added to
the existing default (whilst still maintaining the option to replace the 
deafults altogether should this be required).

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

Generated with FreeBSD Port Tools 0.77

>How-To-Repeat:
>Fix:

--- spamass-milter-0.3.1_6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/spamass-milter_orig/files/spamass-milter.in /usr/ports/mail/spamass-milter/files/spamass-milter.in
--- /usr/ports/mail/spamass-milter_orig/files/spamass-milter.in	2008-07-12 13:53:40.000000000 +0100
+++ /usr/ports/mail/spamass-milter/files/spamass-milter.in	2008-07-12 13:54:40.000000000 +0100
@@ -52,7 +52,7 @@
 load_rc_config $name
 : ${spamass_milter_enable="NO"}
 : ${spamass_milter_socket="/var/run/spamass-milter.sock"}
-: ${spamass_milter_flags="-f -p ${spamass_milter_socket}"}
+: ${spamass_milter_flags="-f -p ${spamass_milter_socket} ${spamass_milter_localflags}"}
 : ${spamass_milter_socket_owner="root"}
 : ${spamass_milter_socket_group="wheel"}
 : ${spamass_milter_socket_mode="644"}
--- spamass-milter-0.3.1_6.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list