Added shellinabox v2.19
PATCH 1/1 Added shellinabox v2.19
From: Olivier <[email protected]>
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.
--- package/Config.in | 1 + .../shellinabox/0001-Makefile.am-fix-static.patch | 11 +++++++++++ package/shellinabox/Config.in | 10 ++++++++++ package/shellinabox/shellinabox.hash | 3 +++ package/shellinabox/shellinabox.mk | 23 ++++++++++++++++++++++ 5 files changed, 48 insertions(+) create mode 100644 package/shellinabox/0001-Makefile.am-fix-static.patch create mode 100644 package/shellinabox/Config.in create mode 100644 package/shellinabox/shellinabox.hash create mode 100644 package/shellinabox/shellinabox.mk
package/Config.in +1 -0
@@ -1525,6 +1525,7 @@ menu "Networking applications" source "package/sconeserver/Config.in" source "package/ser2net/Config.in" source "package/shairport-sync/Config.in" + source "package/shellinabox/Config.in" source "package/smcroute/Config.in" source "package/socat/Config.in" source "package/socketcand/Config.in"
package/shellinabox/0001-Makefile.am-fix-static.patch new file +11 -0
@@ -0,0 +1,11 @@ +--- shellinabox-2.19/Makefile.am.orig 2016-07-03 20:46:42.655784211 -0400 ++++ shellinabox-2.19/Makefile.am 2016-07-03 20:46:50.582801842 -0400 +@@ -126,7 +126,7 @@ + + 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} +
package/shellinabox/Config.in new file +6 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_SHELLINABOX + bool "shellinabox" + select BR2_PACKAGE_ZLIB + help + + https://github.com/shellinabox/shellinabox
package/shellinabox/shellinabox.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated after checking pgp signature + +sha256 d25ba9f72f04471fc1a8a564c65ef466c4553280ff3eeb365ed9c897d05ed2da v2.19.tar.gz
package/shellinabox/shellinabox.mk new file +23 -0
@@ -0,0 +1,23 @@ +################################################################################ +# +# shellinabox +# +################################################################################ + +SHELLINABOX_VERSION = 2.19 +SHELLINABOX_SOURCE = v$(SHELLINABOX_VERSION).tar.gz +SHELLINABOX_SITE = https://github.com/shellinabox/shellinabox/archive +SHELLINABOX_INSTALL_STAGING = YES +SHELLINABOX_LICENSE = GNU GPL v2 +#SHELLINABOX_CONF_OPTS = --enable-shared --disable-static +SHELLINABOX_AUTORECONF = YES + +SHELLINABOX_DEPENDENCIES = zlib +ifeq ($(BR2_PACKAGE_OPENSSL),y) + SHELLINABOX_CONF_OPTS += --enable-ssl +else + SHELLINABOX_CONF_OPTS += --disable-ssl +endif +SHELLINABOX_CONF_OPTS += --disable-runtime-loading + +$(eval $(autotools-package))
Signature · 1 line
2.5.5
PATCH 1/1 Added shellinabox v2.19
Hello,
Quoted 8 lines · Olivier Singla
From: Olivier <[email protected]>
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.
Signed-off-by Olivier <[email protected]>
Thanks for this new version! It's much better now that it is sent with "git send-email". There are still a few things to fix, but it's clearly heading into the right direction.
First, the title of the commit should be:
shellinabox: new package
package/shellinabox/0001-Makefile.am-fix-static.patch
Quoted 5 lines
package/shellinabox/0001-Makefile.am-fix-static.patch new file +0
-0
The patches added to the packages must have a description + Signed-off-by.
Quoted 18 lines
package/shellinabox/0001-Makefile.am-fix-static.patch new file +11
-0@@ -0,0 +1,11 @@ +--- shellinabox-2.19/Makefile.am.orig 2016-07-03 20:46:42.655784211 -0400 ++++ shellinabox-2.19/Makefile.am 2016-07-03 20:46:50.582801842 -0400 +@@ -126,7 +126,7 @@ + + 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} +package/shellinabox/Config.in new file +0
-0
package/shellinabox/Config.in line 5
Quoted 5 lines
package/shellinabox/Config.in new file +5
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_SHELLINABOX + bool "shellinabox" + select BR2_PACKAGE_ZLIB + help +
Why did you remove the description here? Please re-add it, intended with one tab + two spaces.
package/shellinabox/shellinabox.hash line 2
Quoted 9 lines
package/shellinabox/Config.in new file +1
-0+ https://github.com/shellinabox/shellinaboxpackage/shellinabox/shellinabox.hash new file +2
-0@@ -0,0 +1,3 @@ +# Locally calculated after checking pgp signature +
Useless blank line. Which PGP signature did you check? I don't think Github provides PGP signatures for the auto generated tarballs.
Quoted 7 lines
package/shellinabox/shellinabox.hash new file +1
-0+sha256 d25ba9f72f04471fc1a8a564c65ef466c4553280ff3eeb365ed9c897d05ed2da v2.19.tar.gzpackage/shellinabox/shellinabox.mk new file +0
-0
package/shellinabox/shellinabox.mk line 9
Quoted 9 lines
package/shellinabox/shellinabox.mk new file +9
-0@@ -0,0 +1,23 @@ +################################################################################ +# +# shellinabox +# +################################################################################ + +SHELLINABOX_VERSION = 2.19 +SHELLINABOX_SOURCE = v$(SHELLINABOX_VERSION).tar.gz +SHELLINABOX_SITE = https://github.com/shellinabox/shellinabox/archive
Please use the Github macro:
SHELLINABOX_VERSION = v2.19SHELLINABOX_SITE = $(call github,shellinabox,shellinabox,$(SHELLINABOX_VERSION))
package/shellinabox/shellinabox.mk line 10
Quoted 1 line
package/shellinabox/shellinabox.mk new file +1
-0+SHELLINABOX_INSTALL_STAGING = YES
Is shellinabox really a library? I don't think it is, so installing to staging is not needed.
package/shellinabox/shellinabox.mk line 11
Quoted 1 line
package/shellinabox/shellinabox.mk new file +1
-0+SHELLINABOX_LICENSE = GNU GPL v2
We encode the GNU GPL v2 as "GPLv2" in this variable. In addition, shellinabox uses the OpenSSL exception to allow to be linked against OpenSSL, so this should be:
SHELLINABOX_LICENSE = GPLv2 with OpenSSL exception
Also, please add:
SHELLINABOX_LICENSE_FILES = COPYING GPL-2
package/shellinabox/shellinabox.mk line 12
Quoted 1 line
package/shellinabox/shellinabox.mk new file +1
-0+#SHELLINABOX_CONF_OPTS = --enable-shared --disable-static
Please remove commented lines.
package/shellinabox/shellinabox.mk line 13
Quoted 1 line
package/shellinabox/shellinabox.mk new file +1
-0+SHELLINABOX_AUTORECONF = YES
Could you add above this line a comment:
# Fetching from Github, and patching Makefile.am, so we need to
# autoreconf
package/shellinabox/shellinabox.mk line 15
Quoted 2 lines
package/shellinabox/shellinabox.mk new file +2
-0+ +SHELLINABOX_DEPENDENCIES = zlib
This line as a trailing space, not needed.
Also, please add an empty line here.
package/shellinabox/shellinabox.mk line 17
Quoted 2 lines
package/shellinabox/shellinabox.mk new file +2
-0+ifeq ($(BR2_PACKAGE_OPENSSL),y) + SHELLINABOX_CONF_OPTS += --enable-ssl
Please don't indent such lines. More importantly, you forgot to add:
SHELLINABOX_DEPENDENCIES += openssl
Without this, you have no guarantee that openssl will be built before shellinabox.
package/shellinabox/shellinabox.mk line 23
Quoted 6 lines
package/shellinabox/shellinabox.mk new file +6
-0+else + SHELLINABOX_CONF_OPTS += --disable-ssl +endif +SHELLINABOX_CONF_OPTS += --disable-runtime-loading + +$(eval $(autotools-package))
Could you fix those comments and send an updated version?
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com