* [bug#52900] [PATCH] gnu: libfido2: install udev rules
@ 2021-12-30 17:00 dan
2021-12-30 17:12 ` [bug#52900] Update cover letter dan
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: dan @ 2021-12-30 17:00 UTC (permalink / raw)
To: 52900
[arguments]: Add a configure flag specifying the installation directory of the
udev rule.
---
gnu/packages/security-token.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 6a3e2d9179..719515e3ea 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -777,7 +777,9 @@ (define-public libfido2
("openssl" ,openssl)))
(build-system cmake-build-system)
(arguments
- '(#:phases
+ '(#:configure-flags
+ (list (string-append "-DUDEV_RULES_DIR=" %output "/lib/udev/rules.d"))
+ #:phases
(modify-phases %standard-phases
;; regress tests enabled only for debug builds
(delete 'check))))
--
2.34.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#52900] Update cover letter
2021-12-30 17:00 [bug#52900] [PATCH] gnu: libfido2: install udev rules dan
@ 2021-12-30 17:12 ` dan
2022-06-15 16:13 ` [bug#52900] [PATCH] gnu: libfido2: install udev rules John Kehayias via Guix-patches via
2022-10-06 17:07 ` Nicolas Graves via Guix-patches via
2 siblings, 0 replies; 5+ messages in thread
From: dan @ 2021-12-30 17:12 UTC (permalink / raw)
To: 52900
For some reason the cover letter was not shown up properly. The
following is the missing line:
* gnu/packages/security-token.scm(libfido2): Install udev rules.
--
dan
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#52900] [PATCH] gnu: libfido2: install udev rules
2021-12-30 17:00 [bug#52900] [PATCH] gnu: libfido2: install udev rules dan
2021-12-30 17:12 ` [bug#52900] Update cover letter dan
@ 2022-06-15 16:13 ` John Kehayias via Guix-patches via
2022-10-06 17:07 ` Nicolas Graves via Guix-patches via
2 siblings, 0 replies; 5+ messages in thread
From: John Kehayias via Guix-patches via @ 2022-06-15 16:13 UTC (permalink / raw)
To: 52900@debbugs.gnu.org
Hello,
Thanks for the patch. Could you update it to match the current package definition of libfido2 (and you may want to add your copyright line to the top)?
Since libu2f is deprecated, we should rely on libfido2, so we need the udev rules that this patch makes available. I tested a local version which just needed to add the (string-append...) s-expression to the #:configure-flags that are currently present. I tested that it built and did have the udev rules.
Thanks!
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#52900] [PATCH] gnu: libfido2: install udev rules.
2021-12-30 17:00 [bug#52900] [PATCH] gnu: libfido2: install udev rules dan
2021-12-30 17:12 ` [bug#52900] Update cover letter dan
2022-06-15 16:13 ` [bug#52900] [PATCH] gnu: libfido2: install udev rules John Kehayias via Guix-patches via
@ 2022-10-06 17:07 ` Nicolas Graves via Guix-patches via
2022-10-13 11:44 ` bug#52900: " Christopher Baines
2 siblings, 1 reply; 5+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-10-06 17:07 UTC (permalink / raw)
To: 52900; +Cc: John Kehayias, ngraves, dan
[arguments]: Add a configure flag specifying the installation directory of the
udev rule.
---
gnu/packages/security-token.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 447a7a582d..5f10b5592a 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -909,7 +909,8 @@ (define-public libfido2
"-DPKG_CONFIG_EXECUTABLE="
(search-input-file %build-inputs
(string-append
- "/bin/" ,(pkg-config-for-target)))))
+ "/bin/" ,(pkg-config-for-target))))
+ (string-append "-DUDEV_RULES_DIR=" %output "/lib/udev/rules.d"))
#:phases
(modify-phases %standard-phases
;; regress tests enabled only for debug builds
--
2.37.3
--
Best regards,
Nicolas Graves
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#52900: [PATCH] gnu: libfido2: install udev rules.
2022-10-06 17:07 ` Nicolas Graves via Guix-patches via
@ 2022-10-13 11:44 ` Christopher Baines
0 siblings, 0 replies; 5+ messages in thread
From: Christopher Baines @ 2022-10-13 11:44 UTC (permalink / raw)
To: Nicolas Graves; +Cc: John Kehayias, 52900-done, dan
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:
> [arguments]: Add a configure flag specifying the installation directory of the
> udev rule.
> ---
> gnu/packages/security-token.scm | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Thanks all, I've gone ahead and pushed this to master as.
33f56db65498b75ad0a55b780ce501d2b3532044.
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-10-13 11:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30 17:00 [bug#52900] [PATCH] gnu: libfido2: install udev rules dan
2021-12-30 17:12 ` [bug#52900] Update cover letter dan
2022-06-15 16:13 ` [bug#52900] [PATCH] gnu: libfido2: install udev rules John Kehayias via Guix-patches via
2022-10-06 17:07 ` Nicolas Graves via Guix-patches via
2022-10-13 11:44 ` bug#52900: " Christopher Baines
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).