aboutsummaryrefslogtreecommitdiff
path: root/lib/libcbor
Commit message (Collapse)AuthorAgeFilesLines
* libcbor: Ignore errors for unknown #pragmasJohn Baldwin2024-09-081-0/+1
| | | | | | | | libcbor embeds clang-specific #pragmas that GCC then warns about. Reviewed by: emaste (cherry picked from commit 6ca0468a2f23c82d6cdde2af1a42b62af3664766)
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-231-1/+0
| | | | | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/ Similar commit in main: (cherry picked from commit d0b2dbfa0ecf)
* libcbor: update to 0.10.2Ed Maste2023-07-211-1/+2
| | | | | | Sponsored by: The FreeBSD Foundation (cherry picked from commit 5d3e7166f6a0187fa3f8831b16a06bd9955c21ff)
* Add libcbor to the buildEd Maste2022-02-093-0/+93
From https://github.com/PJK/libcbor: libcbor is a C library for parsing and generating CBOR, the general- purpose schema-less binary data format. libcbor will be used by ssh to support FIDO/U2F keys. It is currently intended only for use by ssh, and so is installed as a PRIVATELIB and is placed in the ssh pkgbase package. cbor_export.h and configuration.h were generated by the upstream CMake build. We could create them with bmake rules instead (as NetBSD has done) but this is a fine start. This is currently disabled for the 32-bit library build as libfido2 is not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is no need for libcbor without libfido2. Reviewed by: kevans MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32347 (cherry picked from commit 2e85df652caef859c532b7e1e8a178c75f1a4a92)