Changeset 40462


Ignore:
Timestamp:
Oct 2, 2008, 5:26:30 PM (12 years ago)
Author:
boeyms@…
Message:

nginx: add multiple variants

This patch adds variants to enable:

  • nginx to act as a backend (realip);
  • nginx to automatically append text to pages (addition);
  • nginx to automatically replace text in pages (substitution);
  • nginx to cache compressed versions of files it has gzipped for transmission (gzip-static); and
  • Google Performance Tools profiling on worker threads (google_perftools).

These variants come from the patch submitted in ticket:15948.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/nginx/Portfile

    r40461 r40462  
    106106    configure.args-append   --with-http_perl_module
    107107}
     108
     109variant realip description {Using nginx as a backend} {
     110    configure.args-append   --with-http_realip_module
     111}
     112
     113variant addition description {Append text to pages} {
     114    configure.args-append   --with-http_addition_module
     115}
     116
     117variant substitution description {Replace text in pages} {
     118    configure.args-append   --with-http_sub_module
     119}
     120
     121variant gzip_static description {Avoids compressing the same file each\
     122        time it is requested} {
     123    configure.args-append   --with-http_gzip_static_module
     124}
     125
     126variant google_perftools description {Enable Google Performance Tools\
     127        profiling for workers} {
     128    depends_lib-append      port:google-perftools
     129    configure.args-append   --with-google_perftools_module
     130}
Note: See TracChangeset for help on using the changeset viewer.