Lines 72-77
Link Here
|
72 |
HTTP_FANCYINDEX_MODULE_URI="http://gitorious.org/ngx-fancyindex/ngx-fancyindex/archive-tarball/2034d0ad" |
72 |
HTTP_FANCYINDEX_MODULE_URI="http://gitorious.org/ngx-fancyindex/ngx-fancyindex/archive-tarball/2034d0ad" |
73 |
HTTP_FANCYINDEX_MODULE_WD="${WORKDIR}/ngx-fancyindex-ngx-fancyindex" |
73 |
HTTP_FANCYINDEX_MODULE_WD="${WORKDIR}/ngx-fancyindex-ngx-fancyindex" |
74 |
|
74 |
|
|
|
75 |
# http_dav_ext_module (https://github.com/arut/nginx-dav_ext-module) |
76 |
HTTP_DAVEXT_MODULE_PV="0.0.1" |
77 |
HTTP_DAVEXT_MODULE_P="arut-nginx-dav-ext-module-54cebc1" |
78 |
HTTP_DAVEXT_MODULE_SHA1="54cebc1" |
79 |
HTTP_DAVEXT_MODULE_URI="https://github.com/arut/nginx-dav_ext-module/tarball/${HTTP_DAVEXT_MODULE_SHA1}" |
80 |
|
75 |
# http_lua (https://github.com/chaoslawful/lua-nginx-module, BSD license) |
81 |
# http_lua (https://github.com/chaoslawful/lua-nginx-module, BSD license) |
76 |
HTTP_LUA_MODULE_PV="0.7.11" |
82 |
HTTP_LUA_MODULE_PV="0.7.11" |
77 |
HTTP_LUA_MODULE_P="ngx_http_lua-${HTTP_LUA_MODULE_PV}" |
83 |
HTTP_LUA_MODULE_P="ngx_http_lua-${HTTP_LUA_MODULE_PV}" |
Lines 91-96
Link Here
|
91 |
SRC_URI="http://nginx.org/download/${P}.tar.gz |
97 |
SRC_URI="http://nginx.org/download/${P}.tar.gz |
92 |
syslog? ( ${SYSLOG_MODULE_URI} -> ${SYSLOG_MODULE_P}.tar.gz ) |
98 |
syslog? ( ${SYSLOG_MODULE_URI} -> ${SYSLOG_MODULE_P}.tar.gz ) |
93 |
${DEVEL_KIT_MODULE_URI} -> ${DEVEL_KIT_MODULE_P}.tar.gz |
99 |
${DEVEL_KIT_MODULE_URI} -> ${DEVEL_KIT_MODULE_P}.tar.gz |
|
|
100 |
nginx_modules_http_dav_ext? ( ${HTTP_DAVEXT_MODULE_URI} -> ${HTTP_DAVEXT_MODULE_P}.tar.gz ) |
94 |
nginx_modules_http_upload_progress? ( ${HTTP_UPLOAD_PROGRESS_MODULE_URI} -> ${HTTP_UPLOAD_PROGRESS_MODULE_P}.tar.gz ) |
101 |
nginx_modules_http_upload_progress? ( ${HTTP_UPLOAD_PROGRESS_MODULE_URI} -> ${HTTP_UPLOAD_PROGRESS_MODULE_P}.tar.gz ) |
95 |
nginx_modules_http_headers_more? ( ${HTTP_HEADERS_MORE_MODULE_URI} -> ${HTTP_HEADERS_MORE_MODULE_P}.tar.gz ) |
102 |
nginx_modules_http_headers_more? ( ${HTTP_HEADERS_MORE_MODULE_URI} -> ${HTTP_HEADERS_MORE_MODULE_P}.tar.gz ) |
96 |
nginx_modules_http_push? ( ${HTTP_PUSH_MODULE_URI} -> ${HTTP_PUSH_MODULE_P}.tar.gz ) |
103 |
nginx_modules_http_push? ( ${HTTP_PUSH_MODULE_URI} -> ${HTTP_PUSH_MODULE_P}.tar.gz ) |
Lines 112-117
Link Here
|
112 |
mp4 perl random_index realip secure_link stub_status sub xslt" |
119 |
mp4 perl random_index realip secure_link stub_status sub xslt" |
113 |
NGINX_MODULES_MAIL="imap pop3 smtp" |
120 |
NGINX_MODULES_MAIL="imap pop3 smtp" |
114 |
NGINX_MODULES_3RD=" |
121 |
NGINX_MODULES_3RD=" |
|
|
122 |
http_dav_ext |
115 |
http_upload_progress |
123 |
http_upload_progress |
116 |
http_headers_more |
124 |
http_headers_more |
117 |
http_push |
125 |
http_push |
Lines 147-152
Link Here
|
147 |
selinux? ( sec-policy/selinux-nginx ) |
155 |
selinux? ( sec-policy/selinux-nginx ) |
148 |
ssl? ( dev-libs/openssl ) |
156 |
ssl? ( dev-libs/openssl ) |
149 |
http-cache? ( userland_GNU? ( dev-libs/openssl ) ) |
157 |
http-cache? ( userland_GNU? ( dev-libs/openssl ) ) |
|
|
158 |
nginx_modules_http_dav_ext? ( dev-libs/expat ) |
150 |
nginx_modules_http_geo? ( dev-libs/geoip ) |
159 |
nginx_modules_http_geo? ( dev-libs/geoip ) |
151 |
nginx_modules_http_gzip? ( sys-libs/zlib ) |
160 |
nginx_modules_http_gzip? ( sys-libs/zlib ) |
152 |
nginx_modules_http_gzip_static? ( sys-libs/zlib ) |
161 |
nginx_modules_http_gzip_static? ( sys-libs/zlib ) |
Lines 162-168
Link Here
|
162 |
arm? ( dev-libs/libatomic_ops ) |
171 |
arm? ( dev-libs/libatomic_ops ) |
163 |
libatomic? ( dev-libs/libatomic_ops )" |
172 |
libatomic? ( dev-libs/libatomic_ops )" |
164 |
PDEPEND="vim-syntax? ( app-vim/nginx-syntax )" |
173 |
PDEPEND="vim-syntax? ( app-vim/nginx-syntax )" |
165 |
REQUIRED_USE="pcre-jit? ( pcre )" |
174 |
REQUIRED_USE="pcre-jit? ( pcre ) |
|
|
175 |
nginx_modules_http_dav_ext? ( nginx_modules_http_dav )" |
166 |
|
176 |
|
167 |
pkg_setup() { |
177 |
pkg_setup() { |
168 |
ebegin "Creating nginx user and group" |
178 |
ebegin "Creating nginx user and group" |
Lines 235-240
Link Here
|
235 |
fi |
245 |
fi |
236 |
|
246 |
|
237 |
# third-party modules |
247 |
# third-party modules |
|
|
248 |
|
249 |
if use nginx_modules_http_dav_ext; then |
250 |
http_enabled=1 |
251 |
myconf+=" --add-module=${WORKDIR}/${HTTP_DAVEXT_MODULE_P}" |
252 |
fi |
253 |
|
238 |
if use nginx_modules_http_upload_progress; then |
254 |
if use nginx_modules_http_upload_progress; then |
239 |
http_enabled=1 |
255 |
http_enabled=1 |
240 |
myconf+=" --add-module=${HTTP_UPLOAD_PROGRESS_MODULE_WD}" |
256 |
myconf+=" --add-module=${HTTP_UPLOAD_PROGRESS_MODULE_WD}" |