ports/60853: [change request] ports: mail/qmail-scanner

Fumihiko Kimura jfkimura at yahoo.co.jp
Sat Jan 3 12:20:03 UTC 2004


>Number:         60853
>Category:       ports
>Synopsis:       [change request] ports: mail/qmail-scanner
>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 Jan 03 04:20:00 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Fumihiko Kimura
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
>Description:

I tried presentation again.

|According to the maintainer, these issues have been addressed
|during recent upgrade to 1.20. 
|
|Please submit another PR if you still have problems with the port.
|
|http://www.freebsd.org/cgi/query-pr.cgi?pr=60395

>How-To-Repeat:

Our server's maillog has:

	X-Qmail-Scanner-1.20: [-] Unable to open pipe to /usr/local/bin/qmail-queue [-] (#4.3.0) - Broken pipe
	X-Qmail-Scanner-1.20: [-] Unable to close pipe to /usr/local/bin/qmail-queue -] (#4.3.0) -

However,

	# ls -la /var/qmail/bin/qmail-queue
	-rws--x--x  1 qmailq  qmail  13192 Dec 21 23:08 /var/qmail/bin/qmail-queue

ports/mail/qmail 's ports said:

# A normal qmail installation puts everything into /var/qmail/.
# If you want to install to /usr/local/, then "/usr/local/qmail" is
# suggested instead of "/usr/local", but both will work.
PREFIX?=                /var/qmail
--
I wish that it is considered, but will it be my mistake?


One other demands.
It is language correspondence, but will need the reason?

>Fix:

==== Begin here
diff -urN /usr/ports/mail/qmail-scanner-20040103/Makefile /usr/ports/mail/qmail-scanner/Makefile
--- /usr/ports/mail/qmail-scanner-20040103/Makefile	Tue Dec 30 10:32:03 2003
+++ /usr/ports/mail/qmail-scanner/Makefile	Sat Jan  3 03:49:01 2004
@@ -53,6 +53,18 @@
 CONFIGURE_ARGS+=	--spams-tosuffix "${QMAILSCAN_SPAMSTOSUFFIX}"
 .endif
 
+# af_ZA cs_CZ de_DE en_GB en_PL enlt_LT enlt_LT_short es_ES fr_FR it_IT
+# ja_JP.EUC nl_NL no_NO pl_PL pt_BR pt_PT sv_SE tr_TR tr_TR_ascii tw_BIG5
+.if defined(QMAILSCAN_LANG)
+CONFIGURE_ARGS+=	--lang "${QMAILSCAN_LANG}"
+.endif
+
+.if defined(QMAILSCAN_QUEUE-BINARY)
+CONFIGURE_ARGS+=	--qmail-queue-binary "${QMAILSCAN_QUEUE-BINARY}"
+.else
+CONFIGURE_ARGS+=	--qmail-queue-binary "${QMAIL_DIR}/bin/qmail-queue"
+.endif
+
 SPOOLDIR=	${PREFIX}/qmailscan
 PLIST_SUB=	SPOOLDIR="${SPOOLDIR:S,${PREFIX}/,,}"
==== END here


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



More information about the freebsd-ports-bugs mailing list