From f2d29d056eb161edfa0a8e9de8347bc2dd413e44 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 3 May 2015 22:40:43 +0300 Subject: [PATCH] mail not enabled by default, no point disabling mail modules --- nginx.spec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/nginx.spec b/nginx.spec index 75ddf63..d66d472 100644 --- a/nginx.spec +++ b/nginx.spec @@ -16,12 +16,12 @@ %bcond_without rtsig # rtsig %bcond_without select # select %bcond_without spdy # spdy module -%bcond_without status # stats module +%bcond_without status # status module %bcond_without ssl # ssl support %bcond_with http_browser # header "User-agent" parser %bcond_with rtmp # rtmp support %bcond_with threads # thread pool support -%bcond_with debug # build with debug enabled: http://nginx.org/en/docs/debugging_log.html +%bcond_with debug # enable debug logging: http://nginx.org/en/docs/debugging_log.html %bcond_without auth_request # auth_request module %ifarch x32 @@ -324,9 +324,6 @@ build() { %if %{with perl} build perl \ --with-http_perl_module \ - --without-mail_pop3_module \ - --without-mail_imap_module \ - --without-mail_smtp_module \ %{?with_addition:--with-http_addition_module} \ %{?with_dav:--with-http_dav_module} \ %{?with_flv:--with-http_flv_module} \ @@ -349,10 +346,10 @@ mv -f objs/src/http/modules/perl/nginx.pm bin/nginx.pm %if %{with mail} build mail \ + --without-http \ --with-imap \ --with-mail \ --with-mail_ssl_module \ - --without-http \ %{nil} mv -f objs/nginx bin/nginx-mail @@ -368,9 +365,6 @@ build light \ %{?with_threads:--with-threads} \ %{?with_spdy:--with-http_spdy_module} \ --without-http_browser_module \ - --without-mail_pop3_module \ - --without-mail_imap_module \ - --without-mail_smtp_module \ --with-http_secure_link_module \ %{nil} -- 2.44.0