emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63639: closed ([PATCH] gnu: password-store: Fix program name in usag


From: GNU bug Tracking System
Subject: bug#63639: closed ([PATCH] gnu: password-store: Fix program name in usage and tmpdir.)
Date: Sat, 01 Jul 2023 11:17:01 +0000

Your message dated Sat, 01 Jul 2023 13:15:54 +0200
with message-id <87y1jzj311.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#63639] [PATCH] gnu: password-store: Fix program name 
in usage and tmpdir.
has caused the debbugs.gnu.org bug report #63639,
regarding [PATCH] gnu: password-store: Fix program name in usage and tmpdir.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
63639: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63639
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: password-store: Fix program name in usage and tmpdir. Date: Mon, 22 May 2023 09:44:47 +0200
* gnu/packages/password-utils.scm (password-store): Fix program name in
usage and tmpdir.
---
 gnu/packages/password-utils.scm | 6 ++++++
 1 file changed, 6 insertions(+)

Hi,

pass from password-store uses the wrong programn name in its usage. The
program name is also used when creating temporary directories/files during
'pass edit'. It doesn't break anything though AFAICT, so this is purely a
cosmetic issue:

#+begin_src
$ pass help
[...]
Usage:
    .pass-real init [--path=subfolder,-p subfolder] gpg-id...
        Initialize new password storage and use gpg-id for encryption.
        Selectively reencrypt existing passwords using new gpg-id.
[...]
#+end_src

Thanks.

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index f5f301308a..b4cd866514 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -563,6 +563,12 @@ (define-public password-store
                                  "${PASSWORD_STORE_SYSTEM_EXTENSION_DIR:-"
                                  extension-dir
                                  "}\"\n"))))))
+         (add-before 'install 'patch-program-name
+           ;; Use pass not .pass-real in tmpdir and cmd_usage
+           (lambda _
+             (substitute* "src/password-store.sh"
+               (("^PROGRAM=.*$")
+                "PROGRAM=\"pass\"\n"))))
          (add-before 'install 'patch-passmenu-path
            ;; FIXME Wayland support requires ydotool and dmenu-wl packages
            ;; We are ignoring part of the script that gets executed if

base-commit: 849286ba66c96534bddc04df1a47d5692cbc977e
-- 
2.40.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#63639] [PATCH] gnu: password-store: Fix program name in usage and tmpdir. Date: Sat, 01 Jul 2023 13:15:54 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Hello,

Tobias Kortkamp <tobias.kortkamp@gmail.com> writes:

> * gnu/packages/password-utils.scm (password-store): Fix program name in
> usage and tmpdir.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]