Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security Import libfido2-1.4.0 as security/libfido2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08a06a7d8c3e
branches:  trunk
changeset: 437266:08a06a7d8c3e
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Wed Aug 19 16:25:56 2020 +0000

description:
Import libfido2-1.4.0 as security/libfido2

libfido2 is Yubico's C library and command-line tools for U2F/FIDO.

diffstat:

 security/Makefile                                  |    5 +-
 security/libfido2/DESCR                            |    6 +
 security/libfido2/Makefile                         |   27 +
 security/libfido2/PLIST                            |  353 +++++++++++++++++++++
 security/libfido2/buildlink3.mk                    |   14 +
 security/libfido2/distinfo                         |    7 +
 security/libfido2/patches/patch-src_CMakeLists.txt |   15 +
 7 files changed, 426 insertions(+), 1 deletions(-)

diffs (truncated from 479 to 300 lines):

diff -r dbb89e5b0ce1 -r 08a06a7d8c3e security/Makefile
--- a/security/Makefile Wed Aug 19 16:25:19 2020 +0000
+++ b/security/Makefile Wed Aug 19 16:25:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.775 2020/08/17 07:01:33 riastradh Exp $
+# $NetBSD: Makefile,v 1.776 2020/08/19 16:25:56 riastradh Exp $
 #
 
 COMMENT=       Security tools
@@ -161,6 +161,7 @@
 SUBDIR+=       libcurvecpr
 SUBDIR+=       libdecaf
 SUBDIR+=       libdes
+SUBDIR+=       libfido2
 SUBDIR+=       libfprint
 SUBDIR+=       libfwbuilder
 SUBDIR+=       libgabe
@@ -503,6 +504,7 @@
 SUBDIR+=       py-xmlsec
 SUBDIR+=       py-yara
 SUBDIR+=       py-yubiauth
+SUBDIR+=       py-yubikey-manager
 SUBDIR+=       pyca
 SUBDIR+=       qca2
 SUBDIR+=       qca2-gnupg
@@ -638,6 +640,7 @@
 SUBDIR+=       yafic
 SUBDIR+=       yara
 SUBDIR+=       ykclient
+SUBDIR+=       ykman
 SUBDIR+=       ykpers
 SUBDIR+=       zebedee
 SUBDIR+=       zkt
diff -r dbb89e5b0ce1 -r 08a06a7d8c3e security/libfido2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfido2/DESCR   Wed Aug 19 16:25:56 2020 +0000
@@ -0,0 +1,6 @@
+libfido2 provides library functionality and command-line tools to
+communicate with a FIDO device over USB, and to verify attestation and
+assertion signatures.
+
+libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2)
+protocols.
diff -r dbb89e5b0ce1 -r 08a06a7d8c3e security/libfido2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfido2/Makefile        Wed Aug 19 16:25:56 2020 +0000
@@ -0,0 +1,27 @@
+#      $NetBSD: Makefile,v 1.1 2020/08/19 16:25:56 riastradh Exp $
+
+DISTNAME=      libfido2-1.4.0
+CATEGORIES=    security devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=Yubico/}
+GITHUB_PROJECT=        ${PKGBASE}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://developers.yubico.com/libfido2/
+COMMENT=       U2F/FIDO/FIDO2 library and tools
+LICENSE=       2-clause-bsd
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c
+
+CONFIGURE_DIRS+=       build
+CMAKE_ARG_PATH=                ..
+
+CMAKE_ARGS.NetBSD+=    -DBASE_LIBRARIES:STRING=usbhid
+
+pre-configure:
+       ${MKDIR} ${WRKSRC}/build
+
+.include "../../devel/libcbor/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r dbb89e5b0ce1 -r 08a06a7d8c3e security/libfido2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfido2/PLIST   Wed Aug 19 16:25:56 2020 +0000
@@ -0,0 +1,353 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/19 16:25:56 riastradh Exp $
+bin/fido2-assert
+bin/fido2-cred
+bin/fido2-token
+include/fido.h
+include/fido/bio.h
+include/fido/credman.h
+include/fido/eddsa.h
+include/fido/err.h
+include/fido/es256.h
+include/fido/param.h
+include/fido/rs256.h
+include/fido/types.h
+lib/libfido2.a
+lib/libfido2.so
+lib/libfido2.so.1
+lib/libfido2.so.${PKGVERSION}
+lib/pkgconfig/libfido2.pc
+man/man1/fido2-assert.1
+man/man1/fido2-cred.1
+man/man1/fido2-token.1
+man/man3/eddsa_pk_free.3
+man/man3/eddsa_pk_from_ptr.3
+man/man3/eddsa_pk_new.3
+man/man3/eddsa_pk_to_EVP_PKEY.3
+man/man3/es256_pk_free.3
+man/man3/es256_pk_from_EC_KEY.3
+man/man3/es256_pk_from_ptr.3
+man/man3/es256_pk_new.3
+man/man3/es256_pk_to_EVP_PKEY.3
+man/man3/fido_assert_allow_cred.3
+man/man3/fido_assert_authdata_len.3
+man/man3/fido_assert_authdata_ptr.3
+man/man3/fido_assert_clientdata_hash_len.3
+man/man3/fido_assert_clientdata_hash_ptr.3
+man/man3/fido_assert_count.3
+man/man3/fido_assert_free.3
+man/man3/fido_assert_hmac_secret_len.3
+man/man3/fido_assert_hmac_secret_ptr.3
+man/man3/fido_assert_new.3
+man/man3/fido_assert_set_authdata.3
+man/man3/fido_assert_set_clientdata_hash.3
+man/man3/fido_assert_set_count.3
+man/man3/fido_assert_set_extensions.3
+man/man3/fido_assert_set_hmac_salt.3
+man/man3/fido_assert_set_rp.3
+man/man3/fido_assert_set_sig.3
+man/man3/fido_assert_set_up.3
+man/man3/fido_assert_set_uv.3
+man/man3/fido_assert_sig_len.3
+man/man3/fido_assert_sig_ptr.3
+man/man3/fido_assert_sigcount.3
+man/man3/fido_assert_user_display_name.3
+man/man3/fido_assert_user_icon.3
+man/man3/fido_assert_user_id_len.3
+man/man3/fido_assert_user_id_ptr.3
+man/man3/fido_assert_user_name.3
+man/man3/fido_assert_verify.3
+man/man3/fido_bio_dev_enroll_begin.3
+man/man3/fido_bio_dev_enroll_cancel.3
+man/man3/fido_bio_dev_enroll_continue.3
+man/man3/fido_bio_dev_enroll_remove.3
+man/man3/fido_bio_dev_get_info.3
+man/man3/fido_bio_dev_get_template_array.3
+man/man3/fido_bio_dev_set_template_name.3
+man/man3/fido_bio_enroll_free.3
+man/man3/fido_bio_enroll_last_status.3
+man/man3/fido_bio_enroll_new.3
+man/man3/fido_bio_enroll_remaining_samples.3
+man/man3/fido_bio_info_free.3
+man/man3/fido_bio_info_max_samples.3
+man/man3/fido_bio_info_new.3
+man/man3/fido_bio_info_type.3
+man/man3/fido_bio_template.3
+man/man3/fido_bio_template_array_count.3
+man/man3/fido_bio_template_array_free.3
+man/man3/fido_bio_template_array_new.3
+man/man3/fido_bio_template_free.3
+man/man3/fido_bio_template_id_len.3
+man/man3/fido_bio_template_id_ptr.3
+man/man3/fido_bio_template_name.3
+man/man3/fido_bio_template_new.3
+man/man3/fido_bio_template_set_id.3
+man/man3/fido_bio_template_set_name.3
+man/man3/fido_cbor_info_aaguid_len.3
+man/man3/fido_cbor_info_aaguid_ptr.3
+man/man3/fido_cbor_info_extensions_len.3
+man/man3/fido_cbor_info_extensions_ptr.3
+man/man3/fido_cbor_info_free.3
+man/man3/fido_cbor_info_fwversion.3
+man/man3/fido_cbor_info_maxmsgsiz.3
+man/man3/fido_cbor_info_new.3
+man/man3/fido_cbor_info_options_len.3
+man/man3/fido_cbor_info_options_name_ptr.3
+man/man3/fido_cbor_info_options_value_ptr.3
+man/man3/fido_cbor_info_protocols_len.3
+man/man3/fido_cbor_info_protocols_ptr.3
+man/man3/fido_cbor_info_versions_len.3
+man/man3/fido_cbor_info_versions_ptr.3
+man/man3/fido_cred_authdata_len.3
+man/man3/fido_cred_authdata_ptr.3
+man/man3/fido_cred_clientdata_hash_len.3
+man/man3/fido_cred_clientdata_hash_ptr.3
+man/man3/fido_cred_exclude.3
+man/man3/fido_cred_fmt.3
+man/man3/fido_cred_free.3
+man/man3/fido_cred_id_len.3
+man/man3/fido_cred_id_ptr.3
+man/man3/fido_cred_new.3
+man/man3/fido_cred_prot.3
+man/man3/fido_cred_pubkey_len.3
+man/man3/fido_cred_pubkey_ptr.3
+man/man3/fido_cred_set_authdata.3
+man/man3/fido_cred_set_authdata_raw.3
+man/man3/fido_cred_set_clientdata_hash.3
+man/man3/fido_cred_set_extensions.3
+man/man3/fido_cred_set_fmt.3
+man/man3/fido_cred_set_prot.3
+man/man3/fido_cred_set_rk.3
+man/man3/fido_cred_set_rp.3
+man/man3/fido_cred_set_sig.3
+man/man3/fido_cred_set_type.3
+man/man3/fido_cred_set_user.3
+man/man3/fido_cred_set_uv.3
+man/man3/fido_cred_set_x509.3
+man/man3/fido_cred_sig_len.3
+man/man3/fido_cred_sig_ptr.3
+man/man3/fido_cred_verify.3
+man/man3/fido_cred_x5c_len.3
+man/man3/fido_cred_x5c_ptr.3
+man/man3/fido_credman_del_dev_rk.3
+man/man3/fido_credman_get_dev_metadata.3
+man/man3/fido_credman_get_dev_rk.3
+man/man3/fido_credman_get_dev_rp.3
+man/man3/fido_credman_metadata_free.3
+man/man3/fido_credman_metadata_new.3
+man/man3/fido_credman_rk.3
+man/man3/fido_credman_rk_count.3
+man/man3/fido_credman_rk_existing.3
+man/man3/fido_credman_rk_free.3
+man/man3/fido_credman_rk_new.3
+man/man3/fido_credman_rk_remaining.3
+man/man3/fido_credman_rp_count.3
+man/man3/fido_credman_rp_free.3
+man/man3/fido_credman_rp_id.3
+man/man3/fido_credman_rp_id_hash_len.3
+man/man3/fido_credman_rp_id_hash_ptr.3
+man/man3/fido_credman_rp_name.3
+man/man3/fido_credman_rp_new.3
+man/man3/fido_dev_build.3
+man/man3/fido_dev_cancel.3
+man/man3/fido_dev_close.3
+man/man3/fido_dev_flags.3
+man/man3/fido_dev_force_fido2.3
+man/man3/fido_dev_force_u2f.3
+man/man3/fido_dev_free.3
+man/man3/fido_dev_get_assert.3
+man/man3/fido_dev_get_cbor_info.3
+man/man3/fido_dev_get_retry_count.3
+man/man3/fido_dev_info_free.3
+man/man3/fido_dev_info_manifest.3
+man/man3/fido_dev_info_manufacturer_string.3
+man/man3/fido_dev_info_new.3
+man/man3/fido_dev_info_path.3
+man/man3/fido_dev_info_product.3
+man/man3/fido_dev_info_product_string.3
+man/man3/fido_dev_info_ptr.3
+man/man3/fido_dev_info_vendor.3
+man/man3/fido_dev_is_fido2.3
+man/man3/fido_dev_major.3
+man/man3/fido_dev_make_cred.3
+man/man3/fido_dev_minor.3
+man/man3/fido_dev_new.3
+man/man3/fido_dev_open.3
+man/man3/fido_dev_protocol.3
+man/man3/fido_dev_reset.3
+man/man3/fido_dev_set_io_functions.3
+man/man3/fido_dev_set_pin.3
+man/man3/fido_init.3
+man/man3/fido_strerr.3
+man/man3/rs256_pk_free.3
+man/man3/rs256_pk_from_RSA.3
+man/man3/rs256_pk_from_ptr.3
+man/man3/rs256_pk_new.3
+man/man3/rs256_pk_to_EVP_PKEY.3
+share/doc/libfido2/html/eddsa_pk_free.html
+share/doc/libfido2/html/eddsa_pk_from_ptr.html
+share/doc/libfido2/html/eddsa_pk_new.html
+share/doc/libfido2/html/eddsa_pk_to_EVP_PKEY.html
+share/doc/libfido2/html/es256_pk_free.html
+share/doc/libfido2/html/es256_pk_from_EC_KEY.html
+share/doc/libfido2/html/es256_pk_from_ptr.html
+share/doc/libfido2/html/es256_pk_new.html
+share/doc/libfido2/html/es256_pk_to_EVP_PKEY.html
+share/doc/libfido2/html/fido2-assert.html
+share/doc/libfido2/html/fido2-cred.html
+share/doc/libfido2/html/fido2-token.html
+share/doc/libfido2/html/fido_assert_allow_cred.html
+share/doc/libfido2/html/fido_assert_authdata_len.html
+share/doc/libfido2/html/fido_assert_authdata_ptr.html
+share/doc/libfido2/html/fido_assert_clientdata_hash_len.html
+share/doc/libfido2/html/fido_assert_clientdata_hash_ptr.html
+share/doc/libfido2/html/fido_assert_count.html
+share/doc/libfido2/html/fido_assert_free.html
+share/doc/libfido2/html/fido_assert_hmac_secret_len.html
+share/doc/libfido2/html/fido_assert_hmac_secret_ptr.html
+share/doc/libfido2/html/fido_assert_new.html
+share/doc/libfido2/html/fido_assert_set_authdata.html
+share/doc/libfido2/html/fido_assert_set_clientdata_hash.html
+share/doc/libfido2/html/fido_assert_set_count.html
+share/doc/libfido2/html/fido_assert_set_extensions.html
+share/doc/libfido2/html/fido_assert_set_hmac_salt.html
+share/doc/libfido2/html/fido_assert_set_rp.html
+share/doc/libfido2/html/fido_assert_set_sig.html
+share/doc/libfido2/html/fido_assert_set_up.html
+share/doc/libfido2/html/fido_assert_set_uv.html
+share/doc/libfido2/html/fido_assert_sig_len.html
+share/doc/libfido2/html/fido_assert_sig_ptr.html
+share/doc/libfido2/html/fido_assert_sigcount.html
+share/doc/libfido2/html/fido_assert_user_display_name.html
+share/doc/libfido2/html/fido_assert_user_icon.html
+share/doc/libfido2/html/fido_assert_user_id_len.html



Home | Main Index | Thread Index | Old Index