mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 15:08:40 +01:00
pymysql: make python3-cryptography optional
According to the installation guide [1], the support for "sha256_password" or "caching_sha2_password" for authentication is optional. This change makes it optional for the OpenWrt package by providing a build option to enable it. By default it won't be enabled, and packages can choose to enable it. [1] https://pymysql.readthedocs.io/en/latest/user/installation.html Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
menu "Configuration"
|
||||
depends on PACKAGE_python3-pymysql
|
||||
|
||||
config PYTHON3_PYMYSQL_SHA_PASSWORD_SUPPORT
|
||||
bool "Enable support for SHA password authentication"
|
||||
help
|
||||
To use “sha256_password” or “caching_sha2_password” for authentication
|
||||
this symbol needs to be enabled, to also install python3-cryptography.
|
||||
default n
|
||||
|
||||
endmenu
|
||||
Reference in New Issue
Block a user