define Package/shellinabox SECTION:=net CATEGORY:=Network TITLE:=a web based terminal emulator URL:=https://github.com/shellinabox/shellinabox DEPENDS:=+zlib +libopenssl +busybox +@BUSYBOX_CUSTOM +@BUSYBOX_CONFIG_LOGIN endef
define Package/shellinabox/description Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins. endef
if test "x$enable_runtime_loading" == xno; then dnl Link against OpenSSL libraries, unless SSL support has been disabled if test "x$enable_ssl" != xno; then AC_CHECK_HEADER(openssl/bio.h, [AC_CHECK_HEADER(openssl/err.h, [AC_CHECK_HEADER(openssl/ssl.h, [LIBS="-lssl -lcrypto $LIBS"])])]) fi
dnl Link against PAM libraries, unless PAM support has been disabled if test "x$enable_pam" != xno; then AC_CHECK_HEADER(security/pam_appl.h, [LIBS="-lpam $LIBS"]) AC_CHECK_HEADER(security/pam_misc.h, [LIBS="-lpam_misc $LIBS"]) fi fi
接着查看runtime_loading的值, 默认runtime-loading的值是yes,
1 2 3 4 5 6 7 8 9 10 11 12 13
dnl We try to always use dlopen() instead of linking libraries dynamically, as dnl this reduces the hard run-time dependencies that our binary has. But we dnl allow users to disable this feature. AC_ARG_ENABLE(runtime-loading, [ --disable-runtime-loading ShellInABox will try to load the OpenSSL, and PAM libraries at run-time, if it has been compiled with support for these libraries, and if the operating system supports dynamic loading of libraries. This allows you to install the same binary on different systems independent of whether they have OpenSSL and PAM enabled. If you would rather directly link these libraries into the binary, thus making them a hard dependency, then disable runtime-loading.])
define Package/shellinabox SECTION:=net CATEGORY:=Network TITLE:=a web based terminal emulator URL:=https://github.com/shellinabox/shellinabox DEPENDS:=+zlib +libopenssl +libpam +busybox +@BUSYBOX_CUSTOM +@BUSYBOX_CONFIG_LOGIN endef
define Package/shellinabox/description Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins. endef