summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 08:55:47 +0800
committerGitHub <noreply@github.com>2020-09-23 19:55:47 -0500
commit653344a9f1d2e545f42b8a1163eb21bc9689900e (patch)
tree31fa8fb32ab90dddb97ca217d07a8d99abc9b39d /var
parent3690a81aa4a35370261dbc09c538a331b15b9230 (diff)
downloadspack-653344a9f1d2e545f42b8a1163eb21bc9689900e.tar.gz
spack-653344a9f1d2e545f42b8a1163eb21bc9689900e.tar.bz2
spack-653344a9f1d2e545f42b8a1163eb21bc9689900e.tar.xz
spack-653344a9f1d2e545f42b8a1163eb21bc9689900e.zip
Add new package: fakechroot (#18887)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/fakechroot/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fakechroot/package.py b/var/spack/repos/builtin/packages/fakechroot/package.py
new file mode 100644
index 0000000000..c29f4e9623
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fakechroot/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Fakechroot(AutotoolsPackage):
+ """fakechroot runs a command in an environment were is additional
+ possibility to use chroot(8) command without root privileges.This
+ is useful for allowing users to create own chrooted environment
+ with possibility to install another packages without need for root
+ privileges."""
+
+ homepage = "https://github.com/dex4er/fakechroot"
+ url = "https://github.com/dex4er/fakechroot/releases/download/2.20.1/fakechroot-2.20.1.tar.gz"
+
+ version('2.20.1', sha256='5abd04323c9ddae06b5dcaa56b2da07728de3fe21007b08bd88a17b2409b32aa')
+ version('2.20', sha256='5da99358d2a49ddd3dd54ba2ff401d93a8fa641e3754cd058bdf53adb4b7e100')
+ version('2.19', sha256='39ffbbbe3a823be7450928b8e3b99ae4cb339c47213b2f1d8ff903e0246f2e15')