xref: /OK3568_Linux_fs/buildroot/package/shellinabox/shellinabox.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# shellinabox
4#
5################################################################################
6
7SHELLINABOX_VERSION = 2.20
8SHELLINABOX_SITE = $(call github,shellinabox,shellinabox,v$(SHELLINABOX_VERSION))
9SHELLINABOX_LICENSE = GPL-2.0 with OpenSSL exception
10SHELLINABOX_LICENSE_FILES = COPYING GPL-2
11SHELLINABOX_CPE_ID_VENDOR = shellinabox_project
12
13# 0002-CVE-2018-16789-fix-for-broken-multipart-form-data.patch
14SHELLINABOX_IGNORE_CVES += CVE-2018-16789
15
16# Fetching from Github, and patching Makefile.am, so we need to autoreconf
17SHELLINABOX_AUTORECONF = YES
18
19# The OpenSSL support is supposed to be optional, but in practice,
20# with OpenSSL disabled, it fails to build. See
21# https://github.com/shellinabox/shellinabox/issues/385.
22SHELLINABOX_DEPENDENCIES = zlib openssl
23SHELLINABOX_CONF_OPTS = \
24	--disable-runtime-loading \
25	--enable-ssl
26
27# musl's implementation of utmpx is a dummy one, and some aspects of
28# it cause build failures in shellinabox
29ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
30SHELLINABOX_CONF_OPTS += --disable-utmp
31endif
32
33$(eval $(autotools-package))
34