Merge pull request #1360 from tomberek/add_shellinabox

Add shellinabox
This commit is contained in:
Michael Raskin 2013-12-14 22:50:47 -08:00
commit 397721b870
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchurl, pam, openssl, openssh }:
stdenv.mkDerivation {
name = "shellinabox-2.14";
src = fetchurl {
url = "https://shellinabox.googlecode.com/files/shellinabox-2.14.tar.gz";
sha1 = "9e01f58c68cb53211b83d0f02e676e0d50deb781";
};
buildInputs = [pam openssl openssh];
# Disable GSSAPIAuthentication errors as well as correct hardcoded path. Take /usr/games's place.
preConfigure = ''
substituteInPlace ./shellinabox/service.c --replace "-oGSSAPIAuthentication=no" ""
substituteInPlace ./shellinabox/launcher.c --replace "/usr/games" "${openssh}/bin"
'';
meta = {
homepage = https://code.google.com/p/shellinabox;
description = "Web based AJAX terminal emulator";
license = "GPLv2";
maintainers = [stdenv.lib.maintainers.tomberek];
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -1778,6 +1778,8 @@ let
shebangfix = callPackage ../tools/misc/shebangfix { };
shellinabox = callPackage ../servers/shellinabox { };
siege = callPackage ../tools/networking/siege {};
silc_client = callPackage ../applications/networking/instant-messengers/silc-client { };