From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 27 19:20:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B7BD1065672 for ; Wed, 27 Jun 2012 19:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 13EEA8FC19 for ; Wed, 27 Jun 2012 19:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5RJKA5N052410 for ; Wed, 27 Jun 2012 19:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5RJKAkm052409; Wed, 27 Jun 2012 19:20:10 GMT (envelope-from gnats) Resent-Date: Wed, 27 Jun 2012 19:20:10 GMT Resent-Message-Id: <201206271920.q5RJKAkm052409@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Banschikov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CCC5106567B for ; Wed, 27 Jun 2012 19:12:26 +0000 (UTC) (envelope-from dbanschikov@tinderbox1.infra.hostcomm.ru) Received: from tinderbox1.infra.hostcomm.ru (tinderbox1.infra.hostcomm.ru [89.104.90.127]) by mx1.freebsd.org (Postfix) with ESMTP id B99C98FC1C for ; Wed, 27 Jun 2012 19:12:25 +0000 (UTC) Received: from tinderbox1.infra.hostcomm.ru (localhost [127.0.0.1]) by tinderbox1.infra.hostcomm.ru (8.14.4/8.14.4) with ESMTP id q5RIlW1V001514 for ; Wed, 27 Jun 2012 18:47:32 GMT (envelope-from dbanschikov@tinderbox1.infra.hostcomm.ru) Received: (from dbanschikov@localhost) by tinderbox1.infra.hostcomm.ru (8.14.4/8.14.4/Submit) id q5RIlVK3001513; Wed, 27 Jun 2012 18:47:31 GMT (envelope-from dbanschikov) Message-Id: <201206271847.q5RIlVK3001513@tinderbox1.infra.hostcomm.ru> Date: Wed, 27 Jun 2012 18:47:31 GMT From: Dmitry Banschikov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/169498: [patch] www/nginx mail module broken after 1.330 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Banschikov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 19:20:11 -0000 >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: