diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2013-12-14 22:50:47 -0800 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2013-12-14 22:50:47 -0800 |
commit | 397721b8701ebef1c3c040984cc294c9569fbc3f (patch) | |
tree | a9093692651aa893c7e885155b94f33e57c6bcb3 /pkgs/servers | |
parent | 45fadcfd39581b7f5db67fbbc2a0a336d821b10c (diff) | |
parent | b7a9e1a9982d4f63508db872a93e0ca5e4935a52 (diff) | |
download | nixlib-397721b8701ebef1c3c040984cc294c9569fbc3f.tar nixlib-397721b8701ebef1c3c040984cc294c9569fbc3f.tar.gz nixlib-397721b8701ebef1c3c040984cc294c9569fbc3f.tar.bz2 nixlib-397721b8701ebef1c3c040984cc294c9569fbc3f.tar.lz nixlib-397721b8701ebef1c3c040984cc294c9569fbc3f.tar.xz nixlib-397721b8701ebef1c3c040984cc294c9569fbc3f.tar.zst nixlib-397721b8701ebef1c3c040984cc294c9569fbc3f.zip |
Merge pull request #1360 from tomberek/add_shellinabox
Add shellinabox
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/shellinabox/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/servers/shellinabox/default.nix b/pkgs/servers/shellinabox/default.nix new file mode 100644 index 000000000000..49d7810a3c20 --- /dev/null +++ b/pkgs/servers/shellinabox/default.nix @@ -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; + }; +} |