Skip to content

Commit f57c4e3

Browse files
committed
1 parent 99b719f commit f57c4e3

File tree

2 files changed

+31
-13
lines changed

2 files changed

+31
-13
lines changed

nginx-full.rb

+18-13
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,27 @@ class NginxFull < Formula
2424
depends_on 'lua-nginx-module' if build.include? 'with-luajit'
2525
depends_on 'echo-nginx-module' if build.include? 'with-echo-module'
2626
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'
2728

2829
skip_clean 'logs'
2930

3031
# Options
3132
def options_array
3233
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']
4648
]
4749
end
4850
def options
@@ -124,6 +126,9 @@ def install
124126
# Echo module
125127
args << "--add-module=/usr/local/share/echo-nginx-module" if build.include? 'with-echo-module'
126128

129+
# Set-Misc module
130+
args << "--add-module=/usr/local/share/set-misc-nginx-module" if build.include? 'with-set-misc-module'
131+
127132
# Auth Digest Module
128133
args << "--add-module=/usr/local/share/auth-digest-nginx-module" if build.include? "with-auth-digest"
129134

set-misc-nginx-module.rb

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
require 'formula'
2+
3+
class SetMiscNginxModule < Formula
4+
5+
homepage 'https://github.com/agentzh/set-misc-nginx-module'
6+
url 'https://github.com/agentzh/set-misc-nginx-module/archive/v0.22rc8.tar.gz'
7+
sha1 '5754e2c26af8fbf12949dcdd68d8c916a3da8450'
8+
9+
def install
10+
(share+'set-misc-nginx-module').install Dir['*']
11+
end
12+
13+
end

0 commit comments

Comments
 (0)