@@ -24,25 +24,27 @@ class NginxFull < Formula
24
24
depends_on 'lua-nginx-module' if build . include? 'with-luajit'
25
25
depends_on 'echo-nginx-module' if build . include? 'with-echo-module'
26
26
depends_on 'auth-digest-nginx-module' if build . include? 'with-auth-digest'
27
+ depends_on 'set-misc-nginx-module' if build . include? 'with-set-misc-module'
27
28
28
29
skip_clean 'logs'
29
30
30
31
# Options
31
32
def options_array
32
33
option_data = [
33
- [ 'with-passenger' , nil , 'Compile with support for Phusion Passenger module' ] ,
34
- [ 'with-luajit' , nil , 'Compile with support for LUA module' ] ,
35
- [ 'with-echo-module' , nil , 'Compile with support for Echo Module' ] ,
36
- [ 'with-auth-digest' , nil , 'Compile with support for Auth Digest Module' ] ,
37
- [ 'with-webdav' , 'with-http_dav_module' , 'Compile with support for WebDAV module' ] ,
38
- [ 'with-debug' , 'with-debug' , 'Compile with support for debug log' ] ,
39
- [ 'with-spdy' , 'with-http_spdy_module' , 'Compile with support for SPDY module' ] ,
40
- [ 'with-gunzip' , 'with-http_gunzip_module' , 'Compile with support for gunzip module' ] ,
41
- [ 'with-secure-link' , 'with-http_secure_link_module' , 'Compile with support for secure link module' ] ,
42
- [ 'with-status' , 'with-http_stub_status_module' , 'Compile with support for stub status module' ] ,
43
- [ 'with-mp4' , 'with-http_mp4_module' , 'Compile with support for mp4 module' ] ,
44
- [ 'with-realip' , 'with-http_realip_module' , 'Compile with support for real IP module' ] ,
45
- [ 'with-perl' , 'with-http_perl_module' , 'Compile with support for Perl module' ]
34
+ [ 'with-passenger' , nil , 'Compile with support for Phusion Passenger module' ] ,
35
+ [ 'with-luajit' , nil , 'Compile with support for LUA module' ] ,
36
+ [ 'with-echo-module' , nil , 'Compile with support for Echo Module' ] ,
37
+ [ 'with-auth-digest' , nil , 'Compile with support for Auth Digest Module' ] ,
38
+ [ 'with-set-misc-module' , nil , 'Compile with support for Set Misc Module' ] ,
39
+ [ 'with-webdav' , 'with-http_dav_module' , 'Compile with support for WebDAV module' ] ,
40
+ [ 'with-debug' , 'with-debug' , 'Compile with support for debug log' ] ,
41
+ [ 'with-spdy' , 'with-http_spdy_module' , 'Compile with support for SPDY module' ] ,
42
+ [ 'with-gunzip' , 'with-http_gunzip_module' , 'Compile with support for gunzip module' ] ,
43
+ [ 'with-secure-link' , 'with-http_secure_link_module' , 'Compile with support for secure link module' ] ,
44
+ [ 'with-status' , 'with-http_stub_status_module' , 'Compile with support for stub status module' ] ,
45
+ [ 'with-mp4' , 'with-http_mp4_module' , 'Compile with support for mp4 module' ] ,
46
+ [ 'with-realip' , 'with-http_realip_module' , 'Compile with support for real IP module' ] ,
47
+ [ 'with-perl' , 'with-http_perl_module' , 'Compile with support for Perl module' ]
46
48
]
47
49
end
48
50
def options
@@ -124,6 +126,9 @@ def install
124
126
# Echo module
125
127
args << "--add-module=/usr/local/share/echo-nginx-module" if build . include? 'with-echo-module'
126
128
129
+ # Set-Misc module
130
+ args << "--add-module=/usr/local/share/set-misc-nginx-module" if build . include? 'with-set-misc-module'
131
+
127
132
# Auth Digest Module
128
133
args << "--add-module=/usr/local/share/auth-digest-nginx-module" if build . include? "with-auth-digest"
129
134
0 commit comments