Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Petazzoni
1cad81f0fe shellinabox: add dependency on !BR2_STATIC_LIBS
shellinabox uses <dlfcn.h>, so a !BR2_STATIC_LIBS dependency is needed.

Fixes:

  http://autobuild.buildroot.net/results/59dd88e31a5f49231c4131b840fbf1bb76e777e7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-04 22:38:19 +02:00
Olivier Singla
35ccd358b3 shellinabox: fix build on musl
This commit fixes the build of shellinabox with the musl C library,
which requires two changes:

 - A patch to include <sys/ttydefaults.h>, which is needed to get the
   definitions of TTYDEF_*

 - A hack to workaround what seems to be a problem in musl itself (musl
   does #define utmp utmpx, which causes some symbol conflicts down the
   road). Since anyway the utmpx implementation is just a set of stubs
   in musl, we simply make shellinabox believe that <utmpx.h> is not
   available by passing the appropriate variable. The musl issue has
   been reported at http://www.openwall.com/lists/musl/2016/08/04/8.

Fixes:

  http://autobuild.buildroot.net/results/1847cab964957da3c9bf4911a5ad3602b3c82431/

Signed-off-by: Olivier Singla <olivier.singla@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-04 22:38:14 +02:00
Thomas Petazzoni
99ed68487a shellinabox: convert patch to a Git formatted one
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-04 22:37:44 +02:00
Thomas Petazzoni
cc2be0b256 shellinabox: needs MMU support
Fixes:

  http://autobuild.buildroot.net/results/609ec63d36e235581fe0388c0e1102362743d5b2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-07 10:36:03 +02:00
Olivier Singla
479cebcfb7 shellinabox: new package
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 Singla <olivier.singla@gmail.com>
[Thomas:
 - Use "select" instead of "depends on" for the OpenSSL dependency, and
   use alphabetic ordering.
 - Rewrap Config.in help text.
 - Use github macro
 - Explain why the OpenSSL dependency is mandatory, while
   --enable-ssl/--disable-ssl are available.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-06 12:04:15 +02:00