Skip to contentSkip to conversation

Added shellinabox v2.19

PATCH New Olivier Singla 2 participants 2 messages Jul 4, 2016

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 Added shellinabox v2.19

Hi Olivier,

Thanks for this contribution, some comments below:

Le 04/07/2016 ? 21:15, Olivier Singla a ?crit :

Quoted 4 lines

From 5af5aa8d3e6d20d6611611a9782bc47b5f49a8d8 Mon Sep 17 00:00:00 2001
From: Olivier <olivier.singla at gmail.com <mailto:[email protected]>>
Date: Mon, 4 Jul 2016 14:53:21 -0400
Subject: [PATCH 1/1] Added shellinabox v2.19

Please send a patch using git send-email command:
http://nightly.buildroot.org/manual.html#submitting-patches

Your patch is corrupted by your mail client.

Quoted 34 lines
Signed-off-by Olivier <olivier.singla at gmail.com <mailto:[email protected]>>
---
 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 <http://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 <http://shellinabox.mk>
package/Config.in +1 -0
index 2c4c196..91fcf37 100644
@@ -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 +0 -0
new file mode 100644
index 0000000..e1ad67d

package/shellinabox/0001-Makefile.am-fix-static.patch line 2

Quoted 2 lines
package/shellinabox/0001-Makefile.am-fix-static.patch new file +2 -0
@@ -0,0 +1,11 @@
+--- shellinabox-2.19/Makefile.am.orig2016-07-03 20:46:42.655784211 -0400
++++ shellinabox-2.19/Makefile.am2016-07-03 20:46:50.582801842 -0400

Please, add a comment about what the patch is doing and don't forget to add your Sob line.

http://nightly.buildroot.org/manual.html#_format_and_licensing_of_the_package_patches

Quoted 16 lines
package/shellinabox/0001-Makefile.am-fix-static.patch new file +9 -0
+@@ -126,7 +126,7 @@
+ 
+ shellinaboxd_LDADD   = liblogging.la <http://liblogging.la>                  
                       \
+                        libhttp.la <http://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
new file mode 100644
index 0000000..75cdfd8

package/shellinabox/Config.in line 2

Quoted 2 lines
package/shellinabox/Config.in new file +2 -0
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_SHELLINABOX
+bool "shellinabox"

Indent with one tab

package/shellinabox/Config.in line 10

Quoted 8 lines
package/shellinabox/Config.in new file +8 -0
+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

Indent the help text with one tab + 2 spaces (72 characters max per line)

Quoted 11 lines
package/shellinabox/shellinabox.hash new file +3 -0
new file mode 100644
index 0000000..16bf12c
@@ -0,0 +1,3 @@
+# Locally calculated after checking pgp signature
+
+sha256d25ba9f72f04471fc1a8a564c65ef466c4553280ff3eeb365ed9c897d05ed2da

v2.19.tar.gz

Your patch is wrapped here by you mail client.

Quoted 7 lines
<http://shellinabox.mk> renamed from package/shellinabox/shellinabox.mk +0 -0

b/package/shellinabox/shellinabox.mk <http://shellinabox.mk>
new file mode 100644
index 0000000..03adc21

package/shellinabox/shellinabox.mk <http://shellinabox.mk> line 9

Quoted 9 lines
package/shellinabox/shellinabox.mk <http://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

Use the gitbub helper here
http://nightly.buildroot.org/manual.html#github-download-url

package/shellinabox/shellinabox.mk <http://shellinabox.mk> line 10

Quoted 1 line
package/shellinabox/shellinabox.mk <http://shellinabox.mk> new file +1 -0
+SHELLINABOX_INSTALL_STAGING = YES

Why shellinabox is installed on staging ?

package/shellinabox/shellinabox.mk <http://shellinabox.mk> line 11

Quoted 1 line
package/shellinabox/shellinabox.mk <http://shellinabox.mk> new file +1 -0
+SHELLINABOX_LICENSE = GNU GPL v2

should be GPLv2
Also check if a license file is available.

package/shellinabox/shellinabox.mk <http://shellinabox.mk> line 12

Quoted 1 line
package/shellinabox/shellinabox.mk <http://shellinabox.mk> new file +1 -0
+#SHELLINABOX_CONF_OPTS = --enable-shared --disable-static

Remove this commented line.

package/shellinabox/shellinabox.mk <http://shellinabox.mk> line 13

Quoted 1 line
package/shellinabox/shellinabox.mk <http://shellinabox.mk> new file +1 -0
+SHELLINABOX_AUTORECONF = YES

Why we need to autoreconf the package ?
is a configure script available ?

package/shellinabox/shellinabox.mk <http://shellinabox.mk> line 17

Quoted 4 lines
package/shellinabox/shellinabox.mk <http://shellinabox.mk> new file +4 -0
+
+SHELLINABOX_DEPENDENCIES = zlib 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+SHELLINABOX_CONF_OPTS += --enable-ssl

missing build dependency on openssl package

I'll mark this package change requested in patchwork, please send an updated version.

Best regards,
Romain Naour

Quoted 16 lines
package/shellinabox/shellinabox.mk <http://shellinabox.mk> new file +6 -0
+else
+SHELLINABOX_CONF_OPTS += --disable-ssl
+endif
+SHELLINABOX_CONF_OPTS += --disable-runtime-loading
+
+$(eval $(autotools-package))
Signature · 8 lines
2.5.5



_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot