pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/py-fido2
Module Name: pkgsrc
Committed By: adam
Date: Mon Jan 19 08:17:33 UTC 2026
Modified Files:
pkgsrc/security/py-fido2: Makefile distinfo
Added Files:
pkgsrc/security/py-fido2/patches: patch-fido2_hid_____init____.py
Log Message:
py-fido2: fix HID on NetBSD
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/security/py-fido2/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/py-fido2/distinfo
cvs rdiff -u -r0 -r1.3 \
pkgsrc/security/py-fido2/patches/patch-fido2_hid_____init____.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/py-fido2/Makefile
diff -u pkgsrc/security/py-fido2/Makefile:1.15 pkgsrc/security/py-fido2/Makefile:1.16
--- pkgsrc/security/py-fido2/Makefile:1.15 Fri Jan 16 16:37:39 2026
+++ pkgsrc/security/py-fido2/Makefile Mon Jan 19 08:17:33 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2026/01/16 16:37:39 adam Exp $
+# $NetBSD: Makefile,v 1.16 2026/01/19 08:17:33 adam Exp $
DISTNAME= fido2-2.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -19,5 +19,8 @@ DEPENDS+= ${PYPKGPREFIX}-scard>=2.0.0:..
# check fido2/hid/__init__.py for supported platforms
BROKEN_ON_PLATFORM+= SunOS-*-*
+post-install:
+ ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/fido2/hid/__init__.py.orig
+
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-fido2/distinfo
diff -u pkgsrc/security/py-fido2/distinfo:1.11 pkgsrc/security/py-fido2/distinfo:1.12
--- pkgsrc/security/py-fido2/distinfo:1.11 Fri Jan 16 16:37:39 2026
+++ pkgsrc/security/py-fido2/distinfo Mon Jan 19 08:17:33 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2026/01/16 16:37:39 adam Exp $
+$NetBSD: distinfo,v 1.12 2026/01/19 08:17:33 adam Exp $
BLAKE2s (fido2-2.1.0.tar.gz) = 53563c7dc0de786f8e3b23f00ead8668183479b3a724f183db48e455e0c202cd
SHA512 (fido2-2.1.0.tar.gz) = e5a1b756a51844c8d11a82078a13ef22ff3556449e69574334f9f9a367e6c9e00aace5831d6ebabd93c20733b0d417326b0fdbae1e74939c08c256580079739c
Size (fido2-2.1.0.tar.gz) = 4455878 bytes
+SHA1 (patch-fido2_hid_____init____.py) = c8280881eb71f18fa2328956fd19cff309b0f9c1
Added files:
Index: pkgsrc/security/py-fido2/patches/patch-fido2_hid_____init____.py
diff -u /dev/null pkgsrc/security/py-fido2/patches/patch-fido2_hid_____init____.py:1.3
--- /dev/null Mon Jan 19 08:17:33 2026
+++ pkgsrc/security/py-fido2/patches/patch-fido2_hid_____init____.py Mon Jan 19 08:17:33 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-fido2_hid_____init____.py,v 1.3 2026/01/19 08:17:33 adam Exp $
+
+Properly detect NetBSD. See docs for sys.platform.
+
+--- fido2/hid/__init__.py.orig 1970-01-01 00:00:00.000000000 +0000
++++ fido2/hid/__init__.py
+@@ -50,7 +50,7 @@ elif sys.platform == "darwin":
+ from . import macos as backend
+ elif sys.platform == "freebsd":
+ from . import freebsd as backend
+-elif sys.platform == "netbsd":
++elif sys.platform.startswith("netbsd"):
+ from . import netbsd as backend
+ elif sys.platform == "openbsd":
+ from . import openbsd as backend
Home |
Main Index |
Thread Index |
Old Index