pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/openssh



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Dec  1 11:01:05 UTC 2023

Modified Files:
        pkgsrc/security/openssh: options.mk

Log Message:
openssh: Query PLATFORM_SUPPORTS_FIDO2 for fido option default


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/security/openssh/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/openssh/options.mk
diff -u pkgsrc/security/openssh/options.mk:1.47 pkgsrc/security/openssh/options.mk:1.48
--- pkgsrc/security/openssh/options.mk:1.47     Wed Nov  8 10:48:45 2023
+++ pkgsrc/security/openssh/options.mk  Fri Dec  1 11:01:05 2023
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.47 2023/11/08 10:48:45 nia Exp $
+# $NetBSD: options.mk,v 1.48 2023/12/01 11:01:05 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.openssh
 PKG_SUPPORTED_OPTIONS= editline fido kerberos openssl pam legacymodsz
@@ -6,13 +6,9 @@ PKG_SUGGESTED_OPTIONS= editline openssl
 
 .include "../../mk/bsd.prefs.mk"
 
-# libfido2 is BROKEN_EXCEPT_ON_PLATFORM; lacking a facility to query
-# that list, open code it here.
-.if (${OPSYS} == "Darwin" && empty(MACHINE_ARCH:Mpowerpc*)) || \
-    ${OPSYS} == "FreeBSD" || ${OPSYS} == "MidnightBSD" || \
-    ${OPSYS} == "Linux" || \
-    ${OPSYS} == "NetBSD" || \
-    ${OPSYS} == "OpenBSD"
+.include "../../security/libfido2/platform.mk"
+
+.if ${PLATFORM_SUPPORTS_FIDO2:tl} != "no"
 PKG_SUGGESTED_OPTIONS+=        fido
 .endif
 



Home | Main Index | Thread Index | Old Index