package/libpam-tacplus: add openssl optional dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 22 Jan 2020 21:00:46 +0000 (22:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 2 Feb 2020 08:07:14 +0000 (09:07 +0100)
openssl is an optional dependency since version 1.4.1 and
https://github.com/kravietz/pam_tacplus/commit/789cf4a85266dcb426ed133b2d07df86d0a55972

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libpam-tacplus/libpam-tacplus.mk

index f69d275cb66c72198f4a8447423acf52d3f101d5..fd2b4f9a3040dd12599c341b37c0f2262a20ae9f 100644 (file)
@@ -8,7 +8,9 @@ LIBPAM_TACPLUS_VERSION = 1.5.1
 LIBPAM_TACPLUS_SITE = $(call github,jeroennijhof,pam_tacplus,v$(LIBPAM_TACPLUS_VERSION))
 LIBPAM_TACPLUS_LICENSE = GPL-2.0+
 LIBPAM_TACPLUS_LICENSE_FILES = COPYING
-LIBPAM_TACPLUS_DEPENDENCIES = linux-pam
+LIBPAM_TACPLUS_DEPENDENCIES = \
+       linux-pam \
+       $(if $(BR2_PACKAGE_OPENSSL),openssl)
 # Fetching from github, we need to generate the configure script
 LIBPAM_TACPLUS_AUTORECONF = YES
 LIBPAM_TACPLUS_INSTALL_STAGING = YES