[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] gnu: Add minimal pinentry.
From: |
Efraim Flashner |
Subject: |
[PATCH 1/2] gnu: Add minimal pinentry. |
Date: |
Tue, 26 Apr 2016 17:03:18 +0300 |
* gnu/packages/gnupg.scm (pinentry): Rename pinentry-gtk, inherit from
pinentry.
[arguments]: Add pinentry-tty flag.
[inputs]: Use gtk+-2, glib for pinentry-gtk2 only.
[description]: Modify description based on inputs.
---
gnu/packages/gnupg.scm | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index d447007..71f6ece 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -580,21 +580,33 @@ including tools for signing keys, keyring analysis, and
party preparation.
(base32
"1cp7wjqr6nx31mdclr61s2h84ijqjl0ph99kgj4vyawpjj1j1633"))))
(build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags '("--enable-pinentry-tty")))
(inputs
`(("ncurses" ,ncurses)
("libassuan" ,libassuan)
- ("libsecret" ,libsecret "out")
- ("gtk+" ,gtk+-2)
- ("glib" ,glib)))
+ ("libsecret" ,libsecret "out")))
(native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "https://gnupg.org/aegypten2/")
(synopsis "GnuPG's interface to passphrase input")
(description
- "Pinentry provides a console and a GTK+ GUI that allows users to
-enter a passphrase when `gpg' or `gpg2' is run and needs it.")
+ "Pinentry provides a console that allows users to enter a passphrase when
address@hidden or @code{gpg2} is run and needs it.")
(license license:gpl2+)))
+(define-public pinentry-gtk2
+ (package
+ (inherit pinentry)
+ (name "pinentry-gtk2")
+ (inputs
+ `(("gtk+" ,gtk+-2)
+ ("glib" ,glib)
+ ,@(package-inputs pinentry)))
+ (description
+ "Pinentry provides a console and a GTK+ GUI that allows users to enter a
+passphrase when @code{gpg} or @code{gpg2} is run and needs it.")))
+
(define-public paperkey
(package
(name "paperkey")
--
2.8.1
- [PATCH 0/2] New pinentries, Efraim Flashner, 2016/04/26
- Re: [PATCH 0/2] New pinentries, Ricardo Wurmus, 2016/04/26
- Re: [PATCH 0/2] New pinentries, Leo Famulari, 2016/04/26
- Re: [PATCH 0/2] New pinentries, Efraim Flashner, 2016/04/26
- Re: [PATCH 0/2] New pinentries, Leo Famulari, 2016/04/27
- Re: [PATCH 0/2] New pinentries, Efraim Flashner, 2016/04/27
- Re: [PATCH 0/2] New pinentries, Efraim Flashner, 2016/04/27
- Re: [PATCH 0/2] New pinentries, Leo Famulari, 2016/04/29