Bug 209124 - www/nginx DSO option
Summary: www/nginx DSO option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Sergey A. Osokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-28 13:30 UTC by FiLiS
Modified: 2016-04-29 11:31 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (osa)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FiLiS 2016-04-28 13:30:59 UTC
We didn't expect modules to be built as dynamic by default, which hurts us pretty severely, since we cannot work around it in the config file, as nginx lacks something like Apache's IfModule directive. 
Could you add a switch to get back to the port's default behavior of building static modules so people relying on this have more time to adopt?
When running multiple nginx instances, mixed 1.8 and 1.10 with the same config templates, this breaks everything.
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2016-04-28 20:48:04 UTC
Hi Philip,

thanks for report.

It looks like a feature request isn't it?

Also, please note there is no more 1.8.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-04-29 02:19:17 UTC
A commit references this bug:

Author: osa
Date: Fri Apr 29 02:18:51 UTC 2016
New revision: 414249
URL: https://svnweb.freebsd.org/changeset/ports/414249

Log:
  Add DSO knob - an ability to build an old "good" nginx without dynamic modules.
  Do not bump PORTREVISION cause functionally nothing has been changed.

  PR:	209124

Changes:
  head/www/nginx/Makefile
  head/www/nginx-devel/Makefile
Comment 3 FiLiS 2016-04-29 08:37:56 UTC
wow, that was quick, thank you very much!