GNU bug report logs -
#77174
gnu: Add fscrypt.
Previous Next
Reported by: 45mg <45mg.writes <at> gmail.com>
Date: Sat, 22 Mar 2025 12:28:02 UTC
Severity: normal
Done: 45mg <45mg.writes <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 77174 in the body.
You can then email your comments to 77174 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#77174
; Package
guix-patches
.
(Sat, 22 Mar 2025 12:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
45mg <45mg.writes <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 22 Mar 2025 12:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
45mg (2):
gnu: Add go-github-com-wadey-gocovmerge.
gnu: Add fscrypt.
gnu/packages/golang-crypto.scm | 74 +++++++++++++++++++++++++++++++++-
gnu/packages/golang-xyz.scm | 26 ++++++++++++
2 files changed, 99 insertions(+), 1 deletion(-)
base-commit: 9eddd250b773043fcac5e7eaa4939e5a2d9940bd
--
2.48.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#77174
; Package
guix-patches
.
(Sat, 22 Mar 2025 12:30:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 77174 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/golang-xyz.scm (go-github-com-wadey-gocovmerge): New
variable.
Change-Id: Idde447ff494064fbc74c973b49ff0fd5699f9346
---
gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 13eb2b4c7f..230e53eec5 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -57,6 +57,7 @@
;;; Copyright © 2024 gemmaro <gemmaro.dev <at> gmail.com>
;;; Copyright © 2024 Roman Scherer <roman <at> burningswell.com>
;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010 <at> zohomail.in>
+;;; Copyright © 2025 45mg <45mg.writes <at> gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -15430,6 +15431,31 @@ (define-public go-github-com-warpfork-go-fsx
;; BSD-3-Clause terms.
(license (list license:expat license:asl2.0 license:bsd-3))))
+(define-public go-github-com-wadey-gocovmerge
+ (package
+ (name "go-github-com-wadey-gocovmerge")
+ (version "0.0.0-20160331181800-b5bfa59ec0ad")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wadey/gocovmerge")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00m7kxcmmw0l9z0m7z6ii06n5j4bcrxqjbhxjbfzmsdgdsvkic31"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/wadey/gocovmerge"))
+ (propagated-inputs (list go-golang-org-x-tools))
+ (home-page "https://github.com/wadey/gocovmerge")
+ (synopsis "Merge coverprofile results from multiple go cover runs")
+ (description
+ "gocovmerge takes the results from multiple @command{go test -coverprofile} runs and
+merges them into one profile.")
+ (license license:bsd-2)))
+
(define-public go-github-com-whyrusleeping-base32
(package
(name "go-github-com-whyrusleeping-base32")
--
2.48.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#77174
; Package
guix-patches
.
(Sat, 22 Mar 2025 12:30:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 77174 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/golang-crypto.scm (fscrypt): New variable.
Change-Id: I7df45a9345726480518c598583a10b6e905e8a1f
---
gnu/packages/golang-crypto.scm | 74 +++++++++++++++++++++++++++++++++-
1 file changed, 73 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 17567219e4..61a911a494 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -26,6 +26,7 @@
;;; Copyright © 2024 Superfly Johnson <superfly.johnson <at> yahoo.com>
;;; Copyright © 2025 Roman Scherer <roman <at> burningswell.com>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus <at> gmail.com>
+;;; Copyright © 2025 45mg <45mg.writes <at> gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -50,6 +51,7 @@ (define-module (gnu packages golang-crypto)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
+ #:use-module (gnu packages base)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
@@ -57,8 +59,11 @@ (define-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-compression)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages m4)
#:use-module (gnu packages password-utils)
- #:use-module (gnu packages specifications))
+ #:use-module (gnu packages specifications)
+ #:use-module (gnu packages version-control))
;;; Commentary:
;;;
@@ -2608,6 +2613,73 @@ (define-public age
(define-public age-keygen
(deprecated-package "age-keygen" age))
+(define-public fscrypt
+ (package
+ (name "fscrypt")
+ (version "0.3.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/fscrypt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15b89g7imv4691aq16xn9q6nh6fcdldkxmvysc7igm6a8p1n6bai"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/google/fscrypt"
+ #:install-source? #f
+ #:test-flags
+ #~(list "-skip"
+ (string-join (list
+ ;; These tests expect to be able to find /home,
+ ;; /mnt and /tmp.
+ "TestLoadReadOnlyMount"
+ "TestReadWriteMountIsPreferredOverReadOnlyMount"
+ "TestLoadAmbiguousMounts"
+ "TestRootSubtreeIsPreferred") "|"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'fix-version-detection
+ ;; We don't have .git in the build directory.
+ (lambda _
+ (substitute* "src/github.com/google/fscrypt/Makefile"
+ (("\\$\\(shell git describe --tags\\)")
+ (string-append "v" #$version)))))
+ (replace 'build
+ (lambda* (#:key parallel-build? #:allow-other-keys)
+ (with-directory-excursion "src/github.com/google/fscrypt"
+ (invoke "make"
+ "-j" (if parallel-build?
+ (number->string (parallel-job-count))
+ "1")
+ (string-append "CC=" #$(cc-for-target))))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "src/github.com/google/fscrypt"
+ (invoke "make" "install"
+ (string-append "PREFIX=" #$output))))))))
+ (propagated-inputs (list go-github-com-client9-misspell
+ go-github-com-pkg-errors
+ go-github-com-urfave-cli
+ go-github-com-wadey-gocovmerge
+ go-golang-org-x-crypto
+ go-golang-org-x-sys
+ go-golang-org-x-term
+ go-golang-org-x-tools
+ go-google-golang-org-protobuf
+ go-honnef-co-go-tools))
+ (native-inputs (list gnu-make linux-pam m4))
+ (home-page "https://github.com/google/fscrypt")
+ (synopsis "Go tool for managing Linux filesystem encryption")
+ (description "@command{fscrypt} is a high-level tool for the management of
+Linux native filesystem encryption. It manages metadata, key generation, key
+wrapping, PAM integration, and provides a uniform interface for creating and
+modifying encrypted directories.")
+ (license license:asl2.0)))
+
(define-public go-jwker
(package/inherit go-github-com-jphastings-jwker
(name "go-jwker")
--
2.48.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#77174
; Package
guix-patches
.
(Sun, 23 Mar 2025 10:26:04 GMT)
Full text and
rfc822 format available.
Message #14 received at 77174 <at> debbugs.gnu.org (full text, mbox):
Closing in favor of #77203.
Reply sent
to
45mg <45mg.writes <at> gmail.com>
:
You have taken responsibility.
(Sun, 23 Mar 2025 10:37:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
45mg <45mg.writes <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 23 Mar 2025 10:37:03 GMT)
Full text and
rfc822 format available.
Message #19 received at 77174-done <at> debbugs.gnu.org (full text, mbox):
45mg <45mg.writes <at> gmail.com> writes:
> Closing in favor of #77203.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 20 Apr 2025 11:24:22 GMT)
Full text and
rfc822 format available.
This bug report was last modified 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.