added autossh 1.4b.
svn path=/nixpkgs/trunk/; revision=22018
This commit is contained in:
parent
c13b3f2f8a
commit
66c784d4dd
23
pkgs/tools/networking/autossh/default.nix
Normal file
23
pkgs/tools/networking/autossh/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{stdenv, fetchurl, openssh}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name="autossh-1.4b";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.harding.motd.ca/autossh/autossh-1.4b.tgz";
|
||||||
|
md5 = "8f9aa006f6f69e912d3c2f504622d6f7";
|
||||||
|
};
|
||||||
|
buildInputs = [ openssh ];
|
||||||
|
installPhase = ''
|
||||||
|
install -D -m755 autossh $out/bin/autossh || return 1
|
||||||
|
install -D -m644 CHANGES $out/share/doc/autossh/CHANGES || return 1
|
||||||
|
install -D -m644 README $out/share/doc/autossh/README || return 1
|
||||||
|
install -D -m644 autossh.host $out/share/autossh/examples/autossh.host || return 1
|
||||||
|
install -D -m644 rscreen $out/share/autossh/examples/rscreen || return 1
|
||||||
|
install -D -m644 autossh.1 $out/man/man1/autossh.1 || return 1
|
||||||
|
'';
|
||||||
|
meta = {
|
||||||
|
homepage = http://www.harding.motd.ca/autossh/;
|
||||||
|
description = "Automatically restart SSH sessions and tunnels";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -448,6 +448,10 @@ let
|
|||||||
inherit fetchurl stdenv python;
|
inherit fetchurl stdenv python;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
autossh = import ../tools/networking/autossh {
|
||||||
|
inherit stdenv fetchurl openssh;
|
||||||
|
};
|
||||||
|
|
||||||
bibtextools = import ../tools/typesetting/bibtex-tools {
|
bibtextools = import ../tools/typesetting/bibtex-tools {
|
||||||
inherit fetchurl stdenv aterm tetex hevea;
|
inherit fetchurl stdenv aterm tetex hevea;
|
||||||
inherit (strategoPackages016) strategoxt sdf;
|
inherit (strategoPackages016) strategoxt sdf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user