Commit | Line | Data |
---|---|---|
d3066a0d LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages rush) | |
20 | #:use-module (guix packages) | |
21 | #:use-module (guix download) | |
22 | #:use-module (guix build-system gnu) | |
23 | #:use-module (guix licenses) | |
24 | #:use-module (gnu packages)) | |
25 | ||
26 | (define-public rush | |
27 | (package | |
28 | (name "rush") | |
29 | (version "1.7") | |
30 | (source (origin | |
31 | (method url-fetch) | |
32 | (uri (string-append | |
33 | "mirror://gnu/rush/rush-" | |
34 | version | |
35 | ".tar.gz")) | |
36 | (sha256 | |
37 | (base32 | |
38 | "0fh0gbbp0iiq3wbkf503xb40r8ljk42vyj9bnlflbz82d6ipy1rm")))) | |
39 | (build-system gnu-build-system) | |
40 | (arguments | |
41 | '(#:patches (list (assoc-ref %build-inputs "patch/gets-undeclared")))) | |
42 | (inputs `(("patch/gets-undeclared" | |
43 | ,(search-patch "cpio-gets-undeclared.patch")))) | |
44 | (home-page "http://www.gnu.org/software/rush/") | |
45 | (synopsis "Restricted user (login) shell") | |
46 | (description | |
47 | "GNU Rush is a Restricted User Shell, designed for sites providing | |
48 | limited remote access to their resources, such as svn or git repositories, | |
49 | scp, or the like. Using a sophisticated configuration file, Rush gives you | |
50 | complete control over the command lines that users execute, as well as over | |
51 | the usage of system resources, such as virtual memory, CPU time, etc. | |
52 | ||
53 | In particular, it allows remote programs to be run in a chrooted environment, | |
54 | which is important with such programs as sftp-server or scp, that lack this | |
55 | ability.") | |
56 | (license gpl3+))) |