Skip to content

Commit 7933843

Browse files
committed
Resolve merge conflicts
1 parent 231412d commit 7933843

File tree

7 files changed

+2
-99
lines changed

7 files changed

+2
-99
lines changed

apisix-master-0.rockspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ dependencies = {
7171
"ext-plugin-proto = 0.6.1",
7272
"casbin = 1.41.8-1",
7373
"inspect == 3.1.1",
74-
"lualdap = 1.2.6-1",
7574
"lua-resty-rocketmq = 0.3.0-0",
7675
"opentelemetry-lua = 0.2-3",
7776
"net-url = 0.9-1",

ci/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ GRPC_SERVER_EXAMPLE_VER=20210819
177177

178178
linux_get_dependencies () {
179179
apt update
180-
apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl libpcre3 libpcre3-dev libldap2-dev
180+
apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl libpcre3 libpcre3-dev
181181
}
182182

183183
function start_grpc_server_example() {

ci/performance_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set -ex
2222

2323
install_dependencies() {
2424
apt-get -y update --fix-missing
25-
apt-get -y install lua5.1 liblua5.1-0-dev libldap2-dev
25+
apt-get -y install lua5.1 liblua5.1-0-dev
2626
export_or_prefix
2727
export OPENRESTY_VERSION=source
2828
./ci/linux-install-openresty.sh

ci/pod/docker-compose.plugin.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -123,26 +123,6 @@ services:
123123
networks:
124124
skywalk_net:
125125

126-
127-
## OpenLDAP
128-
openldap:
129-
image: bitnami/openldap:2.5.8
130-
environment:
131-
- LDAP_ADMIN_USERNAME=amdin
132-
- LDAP_ADMIN_PASSWORD=adminpassword
133-
- LDAP_USERS=user01,user02
134-
- LDAP_PASSWORDS=password1,password2
135-
- LDAP_ENABLE_TLS=yes
136-
- LDAP_TLS_CERT_FILE=/certs/localhost_slapd_cert.pem
137-
- LDAP_TLS_KEY_FILE=/certs/localhost_slapd_key.pem
138-
- LDAP_TLS_CA_FILE=/certs/apisix.crt
139-
ports:
140-
- "1389:1389"
141-
- "1636:1636"
142-
volumes:
143-
- ./t/certs:/certs
144-
145-
146126
## Grafana Loki
147127
loki:
148128
image: grafana/loki:2.8.0

docs/en/latest/building-apisix.md

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -69,43 +69,6 @@ make install
6969

7070
This will install the runtime-dependent Lua libraries and `apisix-runtime` the `apisix` CLI tool.
7171

72-
:::note
73-
74-
If you get an error message like `Could not find header file for LDAP/PCRE/openssl` while running `make deps`, use this solution.
75-
76-
`luarocks` supports custom compile-time dependencies (See: [Config file format](https://github.com/luarocks/luarocks/wiki/Config-file-format)). You can use a third-party tool to install the missing packages and add its installation directory to the `luarocks`' variables table. This method works on macOS, Ubuntu, CentOS, and other similar operating systems.
77-
78-
The solution below is for macOS but it works similarly for other operating systems:
79-
80-
1. Install `openldap` by running:
81-
82-
```shell
83-
brew install openldap
84-
```
85-
86-
2. Locate the installation directory by running:
87-
88-
```shell
89-
brew --prefix openldap
90-
```
91-
92-
3. Add this path to the project configuration file by any of the two methods shown below:
93-
1. You can use the `luarocks config` command to set `LDAP_DIR`:
94-
95-
```shell
96-
luarocks config variables.LDAP_DIR /opt/homebrew/cellar/openldap/2.6.1
97-
```
98-
99-
2. You can also change the default configuration file of `luarocks`. Open the file `~/.luaorcks/config-5.1.lua` and add the following:
100-
101-
```shell
102-
variables = { LDAP_DIR = "/opt/homebrew/cellar/openldap/2.6.1", LDAP_INCDIR = "/opt/homebrew/cellar/openldap/2.6.1/include", }
103-
```
104-
105-
`/opt/homebrew/cellar/openldap/` is default path `openldap` is installed on Apple Silicon macOS machines. For Intel machines, the default path is `/usr/local/opt/openldap/`.
106-
107-
:::
108-
10972
To uninstall the APISIX runtime, run:
11073

11174
```shell

docs/zh/latest/building-apisix.md

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -70,43 +70,6 @@ make install
7070

7171
该命令将安装 APISIX 运行时依赖的 Lua 库以及 `apisix-runtime``apisix` 命令。
7272

73-
:::note
74-
75-
如果你在运行 `make deps` 时收到类似 `Could not find header file for LDAP/PCRE/openssl` 的错误消息,请使用此解决方案。
76-
77-
`luarocks` 支持自定义编译时依赖项(请参考:[配置文件格式](https://github.com/luarocks/luarocks/wiki/Config-file-format))。你可以使用第三方工具安装缺少的软件包并将其安装目录添加到 `luarocks` 变量表中。此方法适用于 macOS、Ubuntu、CentOS 和其他类似操作系统。
78-
79-
此处仅给出 macOS 的具体解决步骤,其他操作系统的解决方案类似:
80-
81-
1. 安装 `openldap`
82-
83-
```shell
84-
brew install openldap
85-
```
86-
87-
2. 使用以下命令命令找到本地安装目录:
88-
89-
```shell
90-
brew --prefix openldap
91-
```
92-
93-
3. 将路径添加到项目配置文件中(选择两种方法中的一种即可):
94-
1. 你可以使用 `luarocks config` 命令设置 `LDAP_DIR`
95-
96-
```shell
97-
luarocks config variables.LDAP_DIR /opt/homebrew/cellar/openldap/2.6.1
98-
```
99-
100-
2. 你还可以更改 `luarocks` 的默认配置文件。打开 `~/.luaorcks/config-5.1.lua` 文件并添加以下内容:
101-
102-
```shell
103-
variables = { LDAP_DIR = "/opt/homebrew/cellar/openldap/2.6.1", LDAP_INCDIR = "/opt/homebrew/cellar/openldap/2.6.1/include", }
104-
```
105-
106-
`/opt/homebrew/cellar/openldap/``brew` 在 macOS(Apple Silicon) 上安装 `openldap` 的默认位置。`/usr/local/opt/openldap/` 是 brew 在 macOS(Intel) 上安装 openldap 的默认位置。
107-
108-
:::
109-
11073
如果你不再需要 APISIX,可以执行以下命令卸载:
11174

11275
```shell

t/chaos/utils/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ RUN set -x \
3131
pkgconfig \
3232
cmake \
3333
git \
34-
openldap-dev \
3534
pcre-dev \
3635
sudo \
3736
&& cd apisix \
@@ -51,7 +50,6 @@ RUN set -x \
5150
bash \
5251
curl \
5352
libstdc++ \
54-
openldap \
5553
pcre \
5654
tzdata
5755

0 commit comments

Comments
 (0)