1
0
Fork 0

updated versions

This commit is contained in:
Sangbum Kim 2016-07-03 11:06:14 +09:00
parent b3c086c60d
commit f2ad4d3c58
1 changed files with 50 additions and 24 deletions

View File

@ -13,25 +13,25 @@ _log_path="/var/log/${_pkgname}"
### 3d party modules:
_libre_ver="2.3.2"
_libre_ver="2.4.1"
_libre_dirname="ngx_libressl"
_cachepurge_ver="2.3"
_cachepurge_dirname="ngx_cachepurge"
_slowfscache_ver="1.10"
_slowfscache_dirname="ngx_slowfscache"
_echo_ver="v0.58"
_echo_ver="v0.59"
_echo_dirname="ngx_echo"
_headersmore_ver="v0.29"
_headersmore_ver="v0.30"
_headersmore_dirname="ngx_headersmore"
_uploadprogress_ver="v0.9.1"
_uploadprogress_dirname="ngx_uploadprogress"
_upstreamfair_hash="a18b4099fbd458111983200e098b6f0c8efed4bc"
_upstreamfair_dirname="ngx_upstreamfair"
_fancyindex_ver="v0.3.5"
_fancyindex_ver="v0.4.0"
_fancyindex_dirname="ngx_fancyindex"
_authpam_ver="1.4"
_authpam_ver="1.5.1"
_authpam_dirname="ngx_authpam"
_pagespeed_ver="1.10.33.5"
_pagespeed_ver="1.11.33.2"
_pagespeed_dirname="ngx_pagespeed"
_rtmp_ver="v1.1.7"
_rtmp_dirname="ngx_rtmp"
@ -41,9 +41,17 @@ _naxsi_ver="0.54"
_naxsi_dirname="ngx_naxsi"
_accesskey_ver="2.0.3"
_accesskey_dirname="ngx_accesskey"
_upsync_ver="1.0.0"
_upsync_dirname="ngx_upsync_module"
_upsync_stream_ver="1.0.0"
_upsync_stream_dirname="ngx_stream_upsync_module"
_vts_ver="0.1.9"
_vts_dirname="ngx_vts_module"
_upstream_jdomain_hash="43390f93060871e2a1d739b237b70a93683971af"
_upstream_jdomain_dirname="ngx_upstream_jdomain"
pkgname=nginx-spica
pkgver=1.9.11
pkgver=1.11.1
pkgrel=1
pkgdesc="Development version of lightweight HTTP server and IMAP/POP3 proxy server with standard, additional and 3d party modules"
arch=('i686' 'x86_64')
@ -92,13 +100,17 @@ source=("nginx.sh"
"${_naxsi_dirname}.tar.gz::https://github.com/nbs-system/naxsi/archive/${_naxsi_ver}.tar.gz"
"${_accesskey_dirname}.tar.gz::https://ostube.googlecode.com/files/Nginx-accesskey-${_accesskey_ver}.tar.gz"
"${_libre_dirname}-${_libre_ver}.tar.gz::http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${_libre_ver}.tar.gz"
"${_upsync_dirname}-${_upsync_ver}.tar.gz::https://github.com/weibocom/nginx-upsync-module/archive/v${_upsync_ver}.tar.gz"
"${_upsync_stream_dirname}-${_upsync_stream_ver}.tar.gz::https://github.com/xiaokai-wang/nginx-stream-upsync-module/archive/v${_upsync_stream_ver}.tar.gz"
"${_vts_dirname}-${_vts_ver}.tar.gz::https://github.com/vozlt/nginx-module-vts/archive/v${_vts_ver}.tar.gz"
"${_upstream_jdomain_dirname}.source::https://github.com/wdaike/ngx_upstream_jdomain/tarball/${_upstream_jdomain_hash}"
)
sha512sums=('a396d52457d22fb68cf5abe3faa09cca97d31b9b354b2e44ce6af02d695e2eb790093cf28c68db0c017b1194d46212a98042d297a1d5929fd5c5b8a1ed5f4bd3'
'0ea04699103f775305f2f19bcf111eca9dfe75d3372ab2e3f487efed21a6d6eb7a95504eeb832ea5fb10feaaf97566e7764f04def5bbd167b09a0e7f54735304'
'953f898fb3f5347dd39c9ad6397c15365ca3450308f969d7f4f1d62728c1c05d20bacecd4b77e43e83d8afb57c62632bce6b1e54a1960529ae0cc2026ffcb58a'
'ee22b310e0ac511d91b7b1925c61935e3513f6a5966bfad2e331eec1c0f0aaa725f79524e99f153a61f75cf3067ee07e7c57b8fa80196ed4c8d47cdcb0b4e69d'
'1ea79b8ade066faa4facdb13631b97c3228cc91f512dc98c7b1b153a489936f2bc13017ea67097cd303581720fd9bc3a212744ac0a03a1ea514e56321b407caa'
'01330a5200b9b5ac5788cd95b2857d2ff87bf0a073a93e3e441b89d19f12137b496e6de67145c04cc74ba88d599a7be96d622f29785e30df23fc8a657adf8b2a'
'ddb4ab3e8e47e1c49680db3e9f648f7cd582c07f963204105118e61432fa1e80c3f1bce69ed689db383011a9c155184bcc7e931eeae20bbd7cbdb5d4eb35a0a8'
'50a31dbf2216a6fae74a186af56dec4600cf55777e76a10ac0075f609e7737135aab063a64f2590dddcd0369ebebd4a523027f3d9ebcca74f7b4355be1c5dcc0'
'fbc9609a8d6913aeefe535f206b9e53477503f131934ead2ae5a6169e395af2f5fb54778704824d5eeb22a4ef40a11ebbcde580db62a631f70edcc2cfc06b15d'
@ -113,7 +125,11 @@ sha512sums=('a396d52457d22fb68cf5abe3faa09cca97d31b9b354b2e44ce6af02d695e2eb7900
'4763b1c5e417248d80acfacf20bfc5ba3e06675ff08e37703867daef99a400980b536941e4955c259432905bd11ab998bc2e2489a50350413c7bf37e18eafb74'
'91934bfd41495715269cc6e549d17f6da66f2bdd0c9a6821fa9096b694dd3927109c4aad2f8b327620ae7c34f76a0839ac16669cd8c65081bc01fa7f829c1d43'
'f6d5e0ce14ca7f98b2a8641d312e86cf3530eda9f28592c38f950a4cfac519fbad9b5850d24a8a59ae78424e5e6420664cce6bd069544ee9984e8a034fd698ec'
'619acf3e9c670cc5f32aa9e0064e8b72297bfc05c68743c5cb9f7b7332207d05fc43f44ea9652db9b651b301e8ce5dd90777a20a4a25e8145d1f7fa977d782c1')
'61db009bf13e409a822e8438cf6dee4ac3e7d763e548d4afa9bf493c0a24aad760438793eb66d3b9a6e6b3f05a61f6dd26ca4a3368587fe6b8214d5f4a814560'
'e7b1bd0f8f658a7705b1da0a48c40531f00e8eddc4bbf6930638e5d98f144cbb2dfa244c9a23a1a553c8a5001a0cbe74d7f7853edbd394d495678efc2c9ecb82'
'719a2f95b0b283e0f5cd73eb6c14da1d50e1926d7f5f137cf04895cf065e139cfdb39216bcc1848b52f4107707865427e8a80c0888eaa4ad1aa1528335615292'
'6a76808f93294d5108c28566787755f6b7a7ab4b45134727127c335ffa3b3bf8d6761a13a010a101c50d2c2533df78e761f1fdfccc5d25ac469d093d687e8c9c'
'5782c151508adf286d1993824273b49e8e4b6d6177b3a676a887c7a7232bdb3b89e3792efbb157dbf708c35ed019bb355777aeb9a17d5ec57be0ee7228f299e8')
build() {
local _src_dir="${srcdir}/${_pkgname}-${pkgver}"
@ -123,16 +139,21 @@ build() {
mv ngx_cache_purge-* ${_cachepurge_dirname}
mv ngx_slowfs_cache-* ${_slowfscache_dirname}
mv openresty-headers-more-nginx-module-* ${_headersmore_dirname}
mv openresty-echo-nginx-module-* ${_echo_dirname}
mv masterzen-nginx-upload-progress-module-* ${_uploadprogress_dirname}
# mv openresty-echo-nginx-module-* ${_echo_dirname}
# mv masterzen-nginx-upload-progress-module-* ${_uploadprogress_dirname}
mv gnosek-nginx-upstream-fair-* ${_upstreamfair_dirname}
mv ngx_http_auth_pam_module-${_authpam_ver} ${_authpam_dirname}
mv ngx_pagespeed-* ${_pagespeed_dirname}
mv psol ${_pagespeed_dirname}/
mv nginx-rtmp-module* ${_rtmp_dirname}
mv nginx-dav-ext-module* ${_davext_dirname}
# mv ngx_http_auth_pam_module-${_authpam_ver} ${_authpam_dirname}
mv ngx_http_auth_pam_module-1.4 ${_authpam_dirname}
# mv ngx_pagespeed-* ${_pagespeed_dirname}
# mv psol ${_pagespeed_dirname}/
# mv nginx-rtmp-module* ${_rtmp_dirname}
# mv nginx-dav-ext-module* ${_davext_dirname}
mv naxsi* ${_naxsi_dirname}
mv nginx-accesskey* ${_accesskey_dirname}
# mv nginx-accesskey* ${_accesskey_dirname}
mv nginx-upsync-module* ${_upsync_dirname}
# mv nginx-stream-upsync-module* ${_upsync_stream_dirname}
mv nginx-module-vts* ${_vts_dirname}
mv wdaike-ngx_upstream_jdomain* ${_upstream_jdomain_dirname}
cd $_src_dir
@ -160,7 +181,6 @@ build() {
--with-file-aio \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-http_dav_module \
--with-http_gzip_static_module \
--with-http_realip_module \
--with-http_addition_module \
@ -184,17 +204,23 @@ build() {
--with-stream_ssl_module \
--with-google_perftools_module \
--add-module=../${_cachepurge_dirname} \
--add-module=../${_echo_dirname} \
--add-module=../${_headersmore_dirname} \
--add-module=../${_slowfscache_dirname} \
--add-module=../${_uploadprogress_dirname} \
--add-module=../${_upstreamfair_dirname} \
--add-module=../${_fancyindex_dirname} \
--add-module=../${_authpam_dirname} \
--add-module=../${_pagespeed_dirname} \
--add-module=../${_rtmp_dirname} \
--add-module=../${_davext_dirname} \
--add-module=../${_accesskey_dirname}
--add-module=../${_upsync_dirname} \
--add-module=../${_vts_dirname} \
--add-module=../${_upstream_jdomain_dirname} \
# --add-module=../${_accesskey_dirname} \
# --with-http_dav_module \
# --add-module=../${_uploadprogress_dirname} \
# --add-module=../${_pagespeed_dirname} \
# --add-module=../${_rtmp_dirname} \
# --add-module=../${_davext_dirname} \
# --add-module=../${_echo_dirname} \
# --add-module=../${_upsync_stream_dirname} \
make -j8
}