pkgsrc-Bugs archive

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

pkg/49760: Support USB token for GnuPG2



>Number:         49760
>Category:       pkg
>Synopsis:       Support USB token for GnuPG2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 19 15:30:01 +0000 2015
>Originator:     Yasushi Oshima
>Release:        pkgsrc-current at Mar 19 2015
>Organization:
>Environment:
NetBSD n6i836 6.1.5 NetBSD 6.1.5 (GENERIC)
>Description:
GnuPG2's internal CCID driver supports some USB Token with libusb.
If enable this, scdaemon can use some USB Token without another pcsc daemon.

also GnuPG (pkgsrc/security/gnupg) will be the same.
>How-To-Repeat:


>Fix:
This patch add usb option tto PKG_OPTIONS.gnupg2.
I don't know whether to make this option default.

RCS file: /cvsroot/pkgsrc/security/gnupg2/options.mk,v
retrieving revision 1.7
diff -u -r1.7 options.mk
--- options.mk  28 Jul 2014 11:02:11 -0000      1.7
+++ options.mk  19 Mar 2015 14:48:29 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.7 2014/07/28 11:02:11 wiz Exp $

 PKG_OPTIONS_VAR=       PKG_OPTIONS.gnupg2
-PKG_SUPPORTED_OPTIONS= gnupg2-gpgsm
+PKG_SUPPORTED_OPTIONS= gnupg2-gpgsm usb
 PKG_SUGGESTED_OPTIONS= gnupg2-gpgsm

 # remove after 2014Q3
@@ -27,3 +27,7 @@
 PLIST_SRC+=    ${.CURDIR}/PLIST.gpgsm
 .  include "../../security/dirmngr/buildlink3.mk"
 .endif
+
+.if !empty(PKG_OPTIONS:Musb)
+.  include "../../devel/libusb/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index