Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jul 2004 11:40:28 -0300 (BRT)
From:      Renato Botelho <renato@galle.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        freebsd@simplerezo.com
Subject:   ports/68770: [PATCH] mail/qmail-scanner: Add an option to select language
Message-ID:  <200407071440.i67EeSdl036557@srv2.galle.com.br>
Resent-Message-ID: <200407071450.i67EoN6s044259@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68770
>Category:       ports
>Synopsis:       [PATCH] mail/qmail-scanner: Add an option to select language
>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:   Wed Jul 07 14:50:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD srv2.galle.com.br 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #8: Thu Jul  1 10:59:34 BRT
>Description:
Add an option (QMAILSCAN_LANG) to select language of notifies.

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

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

--- qmail-scanner-1.22.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/qmail-scanner.bak/Makefile /usr/ports/mail/qmail-scanner/Makefile
--- /usr/ports/mail/qmail-scanner.bak/Makefile	Wed Jun 30 18:38:17 2004
+++ /usr/ports/mail/qmail-scanner/Makefile	Wed Jul  7 11:32:56 2004
@@ -64,6 +64,9 @@
 .if defined(QMAILSCAN_SPAMSTOSUFFIX)
 CONFIGURE_ARGS+=	--spams-tosuffix "${QMAILSCAN_SPAMSTOSUFFIX}"
 .endif
+.if defined(QMAILSCAN_LANG)
+CONFIGURE_ARGS+=	--lang "${QMAILSCAN_LANG}"
+.endif
 
 SPOOLDIR=	${PREFIX}/qmailscan
 PLIST_SUB=	SPOOLDIR="${SPOOLDIR:S,${PREFIX}/,,}"
@@ -100,6 +103,11 @@
 	@${ECHO_MSG} "QMAILSCAN_SCANNERS       list of installed content scanner"
 	@${ECHO_MSG} "                         default is automatic, so you do not need to set this"
 	@${ECHO_MSG} "QMAILSCAN_SILENTVIRUSES  viruses that qs shoud not notify about"
+	@${ECHO_MSG} "QMAILSCAN_LANG           select language that qmail-scanner uses to send"
+	@${ECHO_MSG} "                         notify mails, default is en_GB, valid languages are:"
+	@${ECHO_MSG} "                         af_ZA cs_CZ da_DK de_DE en_GB en_PL enlt_LT enlt_LT_short"
+	@${ECHO_MSG} "                         es_ES fr_FR it_IT ja_JP.EUC nl_NL no_NO pl_PL pt_BR pt_PT"
+	@${ECHO_MSG} "                         sk_SK sv_SE tr_TR tr_TR_ascii tw_BIG5"
 	@${ECHO_MSG} "QMAILSCAN_SPAMSREDIRECT* set this if you want to redirect all spams to a"
 	@${ECHO_MSG} "                         specific email address"
 	@${ECHO_MSG} "QMAILSCAN_SPAMSTOSUFFIX* suffix to alter spams recipients with"
--- qmail-scanner-1.22.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407071440.i67EeSdl036557>