Update buidlroot to version 2016.08.1
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From c060e6f06a81ffa400266a6d0bfc58511265a16f Mon Sep 17 00:00:00 2001
|
||||
From: Olivier Singla <olivier.singla@gmail.com>
|
||||
Date: Thu, 4 Aug 2016 21:23:41 +0200
|
||||
Subject: [PATCH] Makefile: disable always building statically
|
||||
|
||||
Signed-off-by: Olivier Singla <olivier.singla@gmail.com>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 7b8e7ab..5c4c71e 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -126,7 +126,7 @@ BUILT_SOURCES = shellinabox/beep.h \
|
||||
|
||||
shellinaboxd_LDADD = liblogging.la \
|
||||
libhttp.la
|
||||
-shellinaboxd_LDFLAGS = -static
|
||||
+shellinaboxd_LDFLAGS =
|
||||
## Added this for compatibility with older versions of autoconf/automake
|
||||
docdir = ${datadir}/doc/${PACKAGE}
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From c8d9df500b1ca83ad6da9b6055549adaba6ee0d3 Mon Sep 17 00:00:00 2001
|
||||
From: Olivier Singla <olivier.singla@gmail.com>
|
||||
Date: Thu, 4 Aug 2016 22:05:08 +0200
|
||||
Subject: [PATCH] launcher.c: include <sys/ttydefaults.h>
|
||||
|
||||
This include is needed to get the definition of TTYDEF_*.
|
||||
|
||||
Signed-off-by: Olivier Singla <olivier.singla@gmail.com>
|
||||
---
|
||||
shellinabox/launcher.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/shellinabox/launcher.c b/shellinabox/launcher.c
|
||||
index 2bac171..c8ba6cb 100644
|
||||
--- a/shellinabox/launcher.c
|
||||
+++ b/shellinabox/launcher.c
|
||||
@@ -66,6 +66,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/utsname.h>
|
||||
+#include <sys/ttydefaults.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
18
bsp/buildroot/package/shellinabox/Config.in
Normal file
18
bsp/buildroot/package/shellinabox/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_SHELLINABOX
|
||||
bool "shellinabox"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
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.
|
||||
|
||||
https://github.com/shellinabox/shellinabox
|
||||
|
||||
comment "shellinabox needs a toolchain w/ dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
2
bsp/buildroot/package/shellinabox/shellinabox.hash
Normal file
2
bsp/buildroot/package/shellinabox/shellinabox.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 d25ba9f72f04471fc1a8a564c65ef466c4553280ff3eeb365ed9c897d05ed2da shellinabox-v2.19.tar.gz
|
||||
29
bsp/buildroot/package/shellinabox/shellinabox.mk
Normal file
29
bsp/buildroot/package/shellinabox/shellinabox.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# shellinabox
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SHELLINABOX_VERSION = v2.19
|
||||
SHELLINABOX_SITE = $(call github,shellinabox,shellinabox,$(SHELLINABOX_VERSION))
|
||||
SHELLINABOX_LICENSE = GPLv2 with OpenSSL exception
|
||||
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
|
||||
|
||||
# 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)
|
||||
SHELLINABOX_CONF_ENV += ac_cv_header_utmpx_h=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user