mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Enhance post-install scripts to handle patch failures for multiple dependencies
This commit is contained in:
parent
351ef0cc45
commit
402afb17ae
1 changed files with 5 additions and 5 deletions
|
|
@ -48,7 +48,7 @@
|
|||
"name": "lua-ffi-zlib v0.6",
|
||||
"url": "https://github.com/hamishforbes/lua-ffi-zlib.git",
|
||||
"commit": "61e95cb434e4047c8bc65a180c293a05bf754416",
|
||||
"post_install": "rm src/deps/src/lua-ffi-zlib/test.lua && patch --forward src/deps/src/lua-ffi-zlib/lib/ffi-zlib.lua src/deps/misc/lua-ffi-zlib.patch"
|
||||
"post_install": "rm src/deps/src/lua-ffi-zlib/test.lua && patch --forward src/deps/src/lua-ffi-zlib/lib/ffi-zlib.lua src/deps/misc/lua-ffi-zlib.patch || rm src/deps/src/lua-ffi-zlib/lib/ffi-zlib.lua.orig src/deps/src/lua-ffi-zlib/lib/ffi-zlib.lua.rej"
|
||||
},
|
||||
{
|
||||
"id": "lua-gd",
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
"name": "lua-resty-ipmatcher v0.6.1 (3 commits after just in case)",
|
||||
"url": "https://github.com/api7/lua-resty-ipmatcher.git",
|
||||
"commit": "7fbb618f7221b1af1451027d3c64e51f3182761c",
|
||||
"post_install": "rm -r src/deps/src/lua-resty-ipmatcher/t && patch --forward src/deps/src/lua-resty-ipmatcher/resty/ipmatcher.lua src/deps/misc/ipmatcher.patch"
|
||||
"post_install": "rm -r src/deps/src/lua-resty-ipmatcher/t && patch --forward src/deps/src/lua-resty-ipmatcher/resty/ipmatcher.lua src/deps/misc/ipmatcher.patch || rm src/deps/src/lua-resty-ipmatcher/resty/ipmatcher.lua.orig src/deps/src/lua-resty-ipmatcher/resty/ipmatcher.lua.rej"
|
||||
},
|
||||
{
|
||||
"id": "lua-resty-lock",
|
||||
|
|
@ -192,7 +192,7 @@
|
|||
"name": "luajit-geoip v2.1.0",
|
||||
"url": "https://github.com/leafo/luajit-geoip.git",
|
||||
"commit": "fde33e045083522d73665a6894d78dbf995b9e12",
|
||||
"post_install": "patch --forward src/deps/src/luajit-geoip/geoip/mmdb.lua src/deps/misc/mmdb.patch"
|
||||
"post_install": "patch --forward src/deps/src/luajit-geoip/geoip/mmdb.lua src/deps/misc/mmdb.patch || rm src/deps/src/luajit-geoip/geoip/mmdb.lua.orig src/deps/src/luajit-geoip/geoip/mmdb.lua.rej"
|
||||
},
|
||||
{
|
||||
"id": "lualogging",
|
||||
|
|
@ -226,14 +226,14 @@
|
|||
"name": "ModSecurity v3.0.13",
|
||||
"url": "https://github.com/owasp-modsecurity/ModSecurity.git",
|
||||
"commit": "580fe192df1694934f93e3e008058996ea479e35",
|
||||
"post_install": "rm -r src/deps/src/modsecurity/test src/deps/src/modsecurity/doc && patch --forward src/deps/src/modsecurity/configure.ac src/deps/misc/modsecurity.patch && rm -rf src/deps/src/modsecurity/others/libinjection src/deps/src/modsecurity/others/mbedtls"
|
||||
"post_install": "rm -r src/deps/src/modsecurity/test src/deps/src/modsecurity/doc && rm -rf src/deps/src/modsecurity/others/libinjection src/deps/src/modsecurity/others/mbedtls && patch --forward src/deps/src/modsecurity/configure.ac src/deps/misc/modsecurity.patch || rm src/deps/src/modsecurity/configure.ac.orig src/deps/src/modsecurity/configure.ac.rej"
|
||||
},
|
||||
{
|
||||
"id": "modsecurity-nginx",
|
||||
"name": "ModSecurity-nginx v1.0.3",
|
||||
"url": "https://github.com/owasp-modsecurity/ModSecurity-nginx.git",
|
||||
"commit": "d59e4ad121df702751940fd66bcc0b3ecb51a079",
|
||||
"post_install": "rm -r src/deps/src/modsecurity-nginx/tests && patch --forward src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_log.c src/deps/misc/modsecurity-nginx.patch && patch --forward src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_common.h src/deps/misc/ngx_http_modsecurity_common.h.patch && patch --forward src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_module.c src/deps/misc/ngx_http_modsecurity_module.c.patch && patch --forward src/deps/src/modsecurity-nginx/config src/deps/misc/modsecurity-nginx-config.patch"
|
||||
"post_install": "rm -r src/deps/src/modsecurity-nginx/tests && patch --forward src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_log.c src/deps/misc/modsecurity-nginx.patch || rm src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_log.c.orig src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_log.c.rej && patch --forward src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_common.h src/deps/misc/ngx_http_modsecurity_common.h.patch || rm src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_common.h.orig src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_common.h.rej && patch --forward src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_module.c src/deps/misc/ngx_http_modsecurity_module.c.patch || rm src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_module.c.orig src/deps/src/modsecurity-nginx/src/ngx_http_modsecurity_module.c.rej && patch --forward src/deps/src/modsecurity-nginx/config src/deps/misc/modsecurity-nginx-config.patch || rm src/deps/src/modsecurity-nginx/config.orig src/deps/src/modsecurity-nginx/config.rej"
|
||||
},
|
||||
{
|
||||
"id": "nginx",
|
||||
|
|
|
|||
Loading…
Reference in a new issue