192e047fda
In96c3b52132
(package/uacme: don't allow ualpn with mbedTLS), the preference order moved openssl before mbedtls, because ualpn was not compatible with mbedtls. That caused the preference order in the .mk to diverge semantically from the preference order in the Config.in. Indeed, openssl is only selected when neither gnutls nor mbedtls are enabled, so openssl is clearly leastpreferred crypto backend. But when both openssl and mbedtls were enabled, then uacme would use opensslC because of ualpn. The ualpn limitation was lifted in6c7b46945e
(package/uacme: allow ualpn with mbedTLS), but the preference order in the .mk was not restored to match that of the Config.in. Restore the order in the .mk so that openssl is again treated as the least-preferred crypto backend. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [yann.morin.1998@free.fr: - split off to its own patch - write the full commit log ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# uacme
|
|
#
|
|
################################################################################
|
|
|
|
UACME_VERSION = 1.7.1
|
|
# Released versions are on branch upstream/latest, tagged as
|
|
# upstream/X.Y.Z Do not use vX.Y.Z tags from master, as they do not
|
|
# include .tarball-version
|
|
UACME_SITE = $(call github,ndilieto,uacme,upstream/$(UACME_VERSION))
|
|
UACME_LICENSE = GPL-3.0+
|
|
UACME_LICENSE_FILES = COPYING
|
|
UACME_DEPENDENCIES = libcurl
|
|
|
|
UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
UACME_CONF_OPTS += --with-gnutls
|
|
UACME_DEPENDENCIES += gnutls
|
|
else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
|
UACME_CONF_OPTS += --with-mbedtls
|
|
UACME_DEPENDENCIES += mbedtls
|
|
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
UACME_CONF_OPTS += --with-openssl
|
|
UACME_DEPENDENCIES += openssl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_UACME_UALPN),y)
|
|
UACME_DEPENDENCIES += libev
|
|
UACME_CONF_OPTS += --with-ualpn
|
|
else
|
|
UACME_CONF_OPTS += --without-ualpn
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|