2010-04-26 09:59:25 +01:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-15 13:33:56 +00:00
|
|
|
name = "rush-1.8";
|
2010-04-26 09:59:25 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/rush/${name}.tar.gz";
|
2016-11-15 13:33:56 +00:00
|
|
|
sha256 = "1vxdb81ify4xcyygh86250pi50krb16dkj42i5ii4ns3araiwckz";
|
2010-04-26 09:59:25 +01:00
|
|
|
};
|
|
|
|
|
2018-03-11 18:49:43 +00:00
|
|
|
patches = [ ./fix-format-security-error.patch
|
|
|
|
./intprops.patch
|
|
|
|
];
|
2014-08-08 16:12:38 +01:00
|
|
|
|
2010-04-26 09:59:25 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Restricted User Shell";
|
2010-04-26 09:59:25 +01:00
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' GNU Rush is a Restricted User Shell, designed for sites
|
|
|
|
providing limited remote access to their resources, such as
|
|
|
|
svn or git repositories, scp, or the like. Using a
|
|
|
|
sophisticated configuration file, Rush gives you complete
|
|
|
|
control over the command lines that users execute, as well as
|
|
|
|
over the usage of system resources, such as virtual memory,
|
|
|
|
CPU time, etc.
|
|
|
|
|
|
|
|
In particular, it allows remote programs to be run in a chrooted
|
|
|
|
environment, which is important with such programs as
|
|
|
|
sftp-server or scp, that lack this ability.
|
|
|
|
'';
|
|
|
|
|
2018-12-01 18:22:13 +00:00
|
|
|
homepage = https://www.gnu.org/software/rush/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-04-26 09:59:25 +01:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bjg ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2016-05-14 14:03:13 +01:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
shellPath = "/bin/rush";
|
|
|
|
};
|
2010-04-26 09:59:25 +01:00
|
|
|
}
|