Install python module required by iRedAdmin: passlib.

This commit is contained in:
Zhang Huangbin
2026-04-13 15:07:47 +08:00
parent a9f0414c9c
commit 5ea6d8da07
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -94,10 +94,11 @@ install_all()
# uwsgi.
# Required by mlmmjadmin, iredadmin.
if [ X"${DISTRO}" == X'RHEL' ]; then
ALL_PKGS="${ALL_PKGS} uwsgi-logger-syslog uwsgi-plugin-python3"
ALL_PKGS="${ALL_PKGS} uwsgi-logger-syslog uwsgi-plugin-python3 python3-passlib"
elif [ X"${DISTRO}" == X'DEBIAN' -o X"${DISTRO}" == X'UBUNTU' ]; then
ALL_PKGS="${ALL_PKGS} uwsgi uwsgi-plugin-python3"
ALL_PKGS="${ALL_PKGS} uwsgi uwsgi-plugin-python3 python3-passlib"
elif [ X"${DISTRO}" == X'OPENBSD' ]; then
ALL_PKGS="${ALL_PKGS} py3-passlib"
PIP3_MODULES="${PIP3_MODULES} ${PKG_MISC_DIR}/uwsgi-${OB_UWSGI_VERSION}.tar.gz"
fi
+1 -1
View File
@@ -133,7 +133,7 @@ install_all()
ALL_PKGS="${ALL_PKGS} ${PY_FLAVOR}-dnspython ${PY_FLAVOR}-multipart"
# iRedAdmin dependencies.
ALL_PKGS="${ALL_PKGS} ${PY_FLAVOR}-Jinja2 ${PY_FLAVOR}-bcrypt ${PY_FLAVOR}-simplejson ${PY_FLAVOR}-requests ${PY_FLAVOR}-netifaces ${PY_FLAVOR}-more-itertools"
ALL_PKGS="${ALL_PKGS} ${PY_FLAVOR}-Jinja2 ${PY_FLAVOR}-bcrypt ${PY_FLAVOR}-simplejson ${PY_FLAVOR}-requests ${PY_FLAVOR}-netifaces ${PY_FLAVOR}-more-itertools ${PY_FLAVOR}-passlib"
# Fail2ban.
if [ X"${USE_FAIL2BAN}" == X'YES' ]; then