2016-07-06 04:27:31 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# shellinabox
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-08-19 21:44:57 +02:00
|
|
|
SHELLINABOX_VERSION = v2.20
|
2016-07-06 04:27:31 +02:00
|
|
|
SHELLINABOX_SITE = $(call github,shellinabox,shellinabox,$(SHELLINABOX_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
SHELLINABOX_LICENSE = GPL-2.0 with OpenSSL exception
|
2016-07-06 04:27:31 +02:00
|
|
|
SHELLINABOX_LICENSE_FILES = COPYING GPL-2
|
|
|
|
|
|
|
|
# Fetching from Github, and patching Makefile.am, so we need to autoreconf
|
|
|
|
SHELLINABOX_AUTORECONF = YES
|
|
|
|
|
|
|
|
# The OpenSSL support is supposed to be optional, but in practice,
|
|
|
|
# with OpenSSL disabled, it fails to build. See
|
|
|
|
# https://github.com/shellinabox/shellinabox/issues/385.
|
|
|
|
SHELLINABOX_DEPENDENCIES = zlib openssl
|
|
|
|
SHELLINABOX_CONF_OPTS = \
|
|
|
|
--disable-runtime-loading \
|
|
|
|
--enable-ssl
|
|
|
|
|
2016-08-04 03:47:12 +02:00
|
|
|
# musl's implementation of utmpx is a dummy one, and some aspects of
|
|
|
|
# it cause build failures in shellinabox
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
2018-08-19 21:44:57 +02:00
|
|
|
SHELLINABOX_CONF_OPTS += --disable-utmp
|
2016-08-04 03:47:12 +02:00
|
|
|
endif
|
|
|
|
|
2016-07-06 04:27:31 +02:00
|
|
|
$(eval $(autotools-package))
|