GNU bug report logs - #77203
[PATCH 0/4] gnu: Add fscrypt.

Previous Next

Package: guix-patches;

Reported by: 45mg <45mg.writes <at> gmail.com>

Date: Sun, 23 Mar 2025 10:23:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 77203 <at> debbugs.gnu.org (full text, mbox):

From: 45mg <45mg.writes <at> gmail.com>
To: 77203 <at> debbugs.gnu.org
Cc: Wilko Meyer <w <at> wmeyer.eu>, 45mg <45mg.writes <at> gmail.com>,
 Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>, Leo Famulari <leo <at> famulari.name>
Subject: [PATCH v2 4/4] gnu: Add fscryptctl.
Date: Fri,  4 Apr 2025 00:10:50 +0530
* gnu/packages/file-systems.scm (fscryptctl): New variable.

Change-Id: I98b0100402307d0f3e0af6d46e0d1abbf7cd59d5
---
 gnu/packages/file-systems.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 890557625d..3b2098df2b 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2025 Julian Flake <flake <at> uni-koblenz.de>
 ;;; Copyright © 2025 Ashish SHUKLA <ashish.is <at> lostca.se>
 ;;; Copyright © 2020-2025 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2025 45mg <45mg.writes <at> gmail.com>
 ;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -85,6 +86,7 @@ (define-module (gnu packages file-systems)
   #:use-module (gnu packages golang-crypto)
   #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages jemalloc)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages libevent)
@@ -524,6 +526,37 @@ (define-public fscrypt
 modifying encrypted directories.")
     (license license:asl2.0)))
 
+(define-public fscryptctl
+  (package
+    (name "fscryptctl")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/google/fscryptctl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "15zbmh9jlhqbai7lcaqyvymrjjcdi0l9zli9j51skwap59sq9jz6"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:make-flags #~(list (string-append "PREFIX=" #$output)
+                           (string-append "CC=" #$(cc-for-target)))
+      #:tests? #f  ;Test setup requires root
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure))))
+    (native-inputs (list pandoc))
+    (home-page "https://github.com/google/fscryptctl")
+    (synopsis "Small C tool for Linux filesystem encryption")
+    (description "@command{fscryptctl} is a low-level tool written in C that
+handles raw keys and manages policies for Linux filesystem encryption,
+specifically the @code{fscrypt} kernel interface which is supported by the
+ext4, f2fs, UBIFS, and CephFS filesystems.")
+    (license license:asl2.0)))
+
 (define-public fstransform
   (package
     (name "fstransform")
-- 
2.49.0





This bug report was last modified 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.