package/openvpn: add pkcs11 support
If the pkcs11-helper package is selected, add the package to the dependency list and explicitly set --enable-pkcs11. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
dee4fbdf5a
commit
bf8eca8fd3
@ -51,6 +51,13 @@ else
|
||||
OPENVPN_CONF_OPTS += --disable-plugin-auth-pam
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PKCS11_HELPER),y)
|
||||
OPENVPN_DEPENDENCIES += pkcs11-helper
|
||||
OPENVPN_CONF_OPTS += --enable-pkcs11
|
||||
else
|
||||
OPENVPN_CONF_OPTS += --disable-pkcs11
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
OPENVPN_DEPENDENCIES += systemd
|
||||
OPENVPN_CONF_OPTS += --enable-systemd
|
||||
|
Loading…
Reference in New Issue
Block a user