Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2012 18:47:31 GMT
From:      Dmitry Banschikov <dbanschikov@hostcomm.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/169498: [patch] www/nginx mail module broken after 1.330
Message-ID:  <201206271847.q5RIlVK3001513@tinderbox1.infra.hostcomm.ru>
Resent-Message-ID: <201206271920.q5RJKAkm052409@freefall.freebsd.org>

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

>Number:         169498
>Category:       ports
>Synopsis:       [patch] www/nginx mail module broken after 1.330
>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 Jun 27 19:20:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Banschikov
>Release:        FreeBSD 8.2-RELEASE-p7 amd64
>Organization:
hostcomm.ru
>Environment:
System: FreeBSD tinderbox1.infra.hostcomm.ru 8.2-RELEASE-p7 FreeBSD 8.2-RELEASE-p7 #0: Fri May 4 04:41:56 UTC 2012 root@tinderbox1.infra.hostcomm.ru:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
After www/nginx options optionsNGfying mail module is broken.
Error has the same nature, that one was fixed in 1.332.
>How-To-Repeat:
Define any of MAIL_IMAP, MAIL_SMTP, MAIL_POP3 and make a port.
nginx -V will show something like:
 --with-mail --without-mail_imap_module --without-mail_pop3_module --without-mail_smtp_module --with-http_ssl_module

>Fix:
    Apply attached patch to Makefile.

--- Makefile.patch begins here ---
--- Makefile.orig	2012-06-21 06:35:24.000000000 +0000
+++ Makefile	2012-06-27 18:33:19.000000000 +0000
@@ -772,16 +772,16 @@
 
 .if ${PORT_OPTIONS:MMAIL}
 CONFIGURE_ARGS+=--with-mail
-.if ${PORT_OPTIONS:NMAIL_IMAP}
+.if empty(PORT_OPTIONS:NMAIL_IMAP)
 CONFIGURE_ARGS+=--without-mail_imap_module
 .endif
-.if ${PORT_OPTIONS:NMAIL_POP3}
+.if empty(PORT_OPTIONS:NMAIL_POP3)
 CONFIGURE_ARGS+=--without-mail_pop3_module
 .endif
-.if ${PORT_OPTIONS:NMAIL_SMTP}
+.if empty(PORT_OPTIONS:NMAIL_SMTP)
 CONFIGURE_ARGS+=--without-mail_smtp_module
 .endif
-.if ${PORT_OPTIONS:MMAIL_SSL)
+.if ${PORT_OPTIONS:MMAIL_SSL}
 NGINX_OPENSSL=	yes
 CONFIGURE_ARGS+=--with-mail_ssl_module
 .endif
--- Makefile.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?201206271847.q5RIlVK3001513>