GNU bug report logs -
#46646
[PATCH] gnu: Add pwsafe-cli.
Previous Next
Reported by: Stefan Reichör <stefan <at> xsteve.at>
Date: Fri, 19 Feb 2021 21:17:02 UTC
Severity: normal
Tags: patch
Done: Léo Le Bouter <lle-bout <at> zaclys.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 23 Feb 2021 18:34:45 +0100
with message-id <f829d2a22a14604475b9df6abd044c1793ecf4bd.camel <at> zaclys.net>
and subject line
has caused the debbugs.gnu.org bug report #46646,
regarding [PATCH] gnu: Add pwsafe-cli.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
46646: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46646
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/password-utils.scm (pwsafe-cli): New variable.
---
gnu/packages/password-utils.scm | 44 +++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index ef4bf535a4..6d6834cfd5 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -29,6 +29,7 @@
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note <at> m4x.org>
;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
;;; Copyright © 2020 Vinicius Monego <monego <at> posteo.net>
+;;; Copyright © 2021 Stefan Reichör <stefan <at> xsteve.at>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -58,6 +59,7 @@
#:use-module (gnu packages admin)
#:use-module (gnu packages aidc)
#:use-module (gnu packages authentication)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -255,6 +257,48 @@ There are other programs that support the file format on different
platforms.")
(license license:artistic2.0)))
+(define-public pwsafe-cli
+ (let ((commit "c49a0541b66647ad04d19ddb351d264054c67759")
+ (revision "0"))
+ (package
+ (name "pwsafe-cli")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nsd20463/pwsafe")
+ (commit commit)))
+ (sha256
+ (base32
+ "0ak09r1l7k57m6pdx468hhzvz0szmaq42vyr575fvsjc8rbrp8qq"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; skip failing test suite (requires write access to /tmp)
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'bootstrap
+ (lambda _
+ (invoke "aclocal")
+ (invoke "autoheader")
+ (invoke "automake" "--add-missing")
+ (invoke "autoconf")
+ #t)))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)))
+ (inputs
+ `(("openssl" ,openssl)
+ ("libx11" ,libx11)
+ ("libxt" ,libxt)
+ ("libxmu" ,libxmu)))
+ (home-page "https://github.com/nsd20463/pwsafe")
+ (synopsis "CLI password manager")
+ (description "Command line tool compatible with Counterpane's
+Passwordsafe.")
+ (license license:gpl2))))
+
(define-public shroud
(package
(name "shroud")
--
2.25.1
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Pushed as 33a212bf88904295ddc20fcb05a4c237205812f8
I tried to enable the tests by substituting /tmp in all files in the
"test" directory but somehow the files created by the tests in a
writable directory are not writable themselves, still quite obscure to
me.
Please suggest another patch if you fix the tests one day.
Thank you!
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 171 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.