mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Squashed 'src/deps/src/lua-resty-lrucache/' changes from 129314760..3ff6300e6
3ff6300e6 bugfix: bash does not exist in freebsd. 1e044bff3 tests: bumped the NGINX core to 1.27.1. git-subtree-dir: src/deps/src/lua-resty-lrucache git-subtree-split: 3ff6300e68b73ba20e909c7d16bd839aef2e5a4b
This commit is contained in:
parent
3817b49aef
commit
379de6ab05
2 changed files with 5 additions and 7 deletions
|
|
@ -23,7 +23,7 @@ env:
|
|||
- TEST_NGINX_SLEEP=0.006
|
||||
- TEST_NGINX_RANDOMIZE=1
|
||||
matrix:
|
||||
- NGINX_VERSION=1.27.0
|
||||
- NGINX_VERSION=1.27.1
|
||||
|
||||
install:
|
||||
- export NGX_BUILD_CC=$CC
|
||||
|
|
|
|||
10
Makefile
10
Makefile
|
|
@ -5,8 +5,6 @@ LUA_INCLUDE_DIR ?= $(PREFIX)/include
|
|||
LUA_LIB_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
|
||||
INSTALL ?= install
|
||||
|
||||
SHELL:=/bin/bash
|
||||
|
||||
.PHONY: all test install lint
|
||||
|
||||
all: ;
|
||||
|
|
@ -17,10 +15,10 @@ install: all
|
|||
$(INSTALL) lib/resty/lrucache/*.lua $(DESTDIR)/$(LUA_LIB_DIR)/resty/lrucache/
|
||||
ifeq ($(LUA_LIB_DIR),/usr/local/lib/lua/)
|
||||
@echo
|
||||
@echo -e "\033[33mPLEASE NOTE: \033[0m"
|
||||
@echo -e "\033[33mThe necessary lua_package_path directive needs to be added to nginx.conf\033[0m"
|
||||
@echo -e "\033[33min the http context, because \"/usr/local/lib/lua/\" is not in LuaJIT’s default search path.\033[0m"
|
||||
@echo -e "\033[33mRefer to the Installation section of README.markdown.\033[0m"
|
||||
@printf "\033[33mPLEASE NOTE: \033[0m\n"
|
||||
@printf "\033[33mThe necessary lua_package_path directive needs to be added to nginx.conf\033[0m\n"
|
||||
@printf "\033[33min the http context, because \"/usr/local/lib/lua/\" is not in LuaJIT’s default search path.\033[0m\n"
|
||||
@printf "\033[33mRefer to the Installation section of README.markdown.\033[0m\n"
|
||||
endif
|
||||
|
||||
test: all lint
|
||||
|
|
|
|||
Loading…
Reference in a new issue