[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: Add fakechroot.
From: |
guix-commits |
Subject: |
06/08: gnu: Add fakechroot. |
Date: |
Thu, 14 May 2020 11:22:11 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 4449e7c5e4c8b746c786fc9a5ea82eab60f6c846
Author: Ludovic Courtès <address@hidden>
AuthorDate: Thu May 7 22:28:32 2020 +0200
gnu: Add fakechroot.
* gnu/packages/linux.scm (fakechroot): New variable.
---
gnu/packages/linux.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 72d92fd..e0f275e 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6797,6 +6797,36 @@ have to construct the archives directly, without using
the archiver.")
(home-page "http://freshmeat.sourceforge.net/projects/fakeroot")
(license license:gpl3+)))
+(define-public fakechroot
+ (package
+ (name "fakechroot")
+ (version "2.20.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/dex4er/fakechroot/releases/download/"
+ version "/fakechroot-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1aijkd0b45wav25v01qhw8zxwa3pl0nnp9fabmmy1nlx7hr09gas"))))
+ (build-system gnu-build-system)
+ (arguments
+ ;; XXX: The tests heavily assume they run on an FHS system so for now
+ ;; skip them.
+ '(#:tests? #f
+ #:configure-flags '("--disable-static")))
+ (synopsis "Emulate @code{chroot} by overriding file system calls")
+ (description
+ "@command{fakechroot} runs a command in an environment were is additional
+possibility to use @code{chroot} 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.
+
+It works by providing @file{libfakechroot.so}, a shared library meant to be
+set as @code{LD_PRELOAD} to override the C library file system functions.")
+ (home-page "https://github.com/dex4er/fakechroot/")
+ (license license:lgpl2.1+)))
+
(define-public inputattach
(package
(name "inputattach")
- branch master updated (19e8a75 -> febd1fc), guix-commits, 2020/05/14
- 03/08: store: 'mapm/accumulate-builds' preserves '%current-target-system'., guix-commits, 2020/05/14
- 04/08: pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable., guix-commits, 2020/05/14
- 05/08: pack: Factorize store references in wrapper., guix-commits, 2020/05/14
- 08/08: news: Add news entry for 'guix pack -RR' and Fakechroot., guix-commits, 2020/05/14
- 06/08: gnu: Add fakechroot.,
guix-commits <=
- 07/08: pack: Add relocation via ld.so and fakechroot., guix-commits, 2020/05/14
- 01/08: pack: Do not cross-compile the image building tools., guix-commits, 2020/05/14
- 02/08: packages: Ensure bags are insensitive to '%current-target-system'., guix-commits, 2020/05/14