Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 261063

Summary: =www-servers/nginx-0.7*: imap use flag invalid, configure switch replaced by generic --with-mail
Product: Gentoo Linux Reporter: Vasiliy Tolstov <v.tolstov>
Component: New packagesAssignee: Konstantin Arkhipov (RETIRED) <voxus>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: djc, gef.kornflakes
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch against nginx-0.8.29.ebuild to add POP3/IMAP4/SMTP proxy module support

Description Vasiliy Tolstov 2009-03-03 13:30:41 UTC
nginx-0.7*
nginx now dows not have imap configure switch, to build mail proxy module 
  --with-mail                        enable POP3/IMAP4/SMTP proxy module
  --with-mail_ssl_module             enable ngx_mail_ssl_module

please update ebuild with mail use flag and add build options..

Reproducible: Always
Comment 1 Johan Bergström 2009-07-21 13:14:39 UTC
Good catch. I'm in favor of deprecating the IMAP flag since pop3 and smtp also is in the mix. 
Comment 2 Gef 2009-12-18 22:06:58 UTC
Created attachment 213433 [details, diff]
Patch against nginx-0.8.29.ebuild to add POP3/IMAP4/SMTP proxy module support

This patch drops "imap" USE-flag and adds following USE-flags :
mail-proxy: enable POP3/IMAP4/SMTP proxy module (ngx_mail_*)
mail-proxy-ssl: enable SSL/TLS support for POP3/IMAP4/SMTP (ngx_mail_ssl_module)

./configure has a few more switches to disable certain protocoles:
  --without-mail_pop3_module         disable ngx_mail_pop3_module
  --without-mail_imap_module         disable ngx_mail_imap_module
  --without-mail_smtp_module         disable ngx_mail_smtp_module
but i didn't had flags to disable these modules.

Feedback appreciated.
[btw, nginx-0.8.30 is out, hence the name of this patch!]
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-01-03 17:52:17 UTC
Bug 210086 has a better patch for this.

*** This bug has been marked as a duplicate of bug 210086 ***