shellinabox.mk 1.1 KB

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