mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add cachefilesd.
* gnu/packages/linux.scm (cachefilesd): New public variable. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
8f929fdf0b
commit
c0792d77dd
1 changed files with 37 additions and 0 deletions
|
@ -6954,3 +6954,40 @@ (define-public kexec-tools
|
||||||
kernel from the context of an already-running kernel, bypassing the normal
|
kernel from the context of an already-running kernel, bypassing the normal
|
||||||
system boot process.")
|
system boot process.")
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
|
(define-public cachefilesd
|
||||||
|
(package
|
||||||
|
(name "cachefilesd")
|
||||||
|
(version "0.10.10")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://git.kernel.org/pub/scm/linux/kernel/git/dhowells"
|
||||||
|
"/cachefilesd.git/snapshot/cachefilesd-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0g40ljjnn3wzh9gp6il21c95f977298qrrkrxfnwfl3k3asfmnbi"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(outputs '("out"))
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; there are no tests
|
||||||
|
#:make-flags
|
||||||
|
(let ((prefix-dir (lambda (var dir)
|
||||||
|
(string-append var "=" %output "/" dir)))
|
||||||
|
(target ,(%current-target-system)))
|
||||||
|
(list (string-append "CC="
|
||||||
|
(if target
|
||||||
|
(string-append target "-gcc")
|
||||||
|
"gcc"))
|
||||||
|
(prefix-dir "SBINDIR" "sbin/")
|
||||||
|
(prefix-dir "ETCDIR" "etc/")
|
||||||
|
(prefix-dir "MANDIR" "share/man/")))
|
||||||
|
#:phases (modify-phases %standard-phases (delete 'configure))))
|
||||||
|
(home-page "https://people.redhat.com/~dhowells/cachefs/")
|
||||||
|
(synopsis "CacheFiles userspace management daemon")
|
||||||
|
(description "@code{cachefilesd} is a userspace daemon that manages the
|
||||||
|
cache data store that is used by network file systems such as @code{AFS} and
|
||||||
|
@code{NFS} to cache data locally on disk. The content of the cache is
|
||||||
|
persistent over reboots.")
|
||||||
|
(license license:gpl2+)))
|
||||||
|
|
Loading…
Reference in a new issue