libcbor is a C library for parsing and generating CBOR, the general-purpose
schema-less binary data format.
Main features:
- Complete RFC conformance
- Robust C99 implementation
- Layered architecture offers both control and convenience
- Flexible memory management
- No shared global state - threading friendly
- Proper handling of UTF-8
- Full support for streams & incremental processing
- Extensive documentation and test suite
- No runtime dependencies, small footprint
devel/libcbor: fix strict prototype warnings with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
security/libfido2 failed to build with clang 15:
In file included from
/wrkdirs/usr/ports/security/libfido2/work/libfido2-1.12.0/src/aes256.c:8:
In file included from
/wrkdirs/usr/ports/security/libfido2/work/libfido2-1.12.0/src/fido.h:42:
In file included from /usr/local/include/cbor.h:14:
/usr/local/include/cbor/arrays.h:100:51: error: a function declaration without
a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
CBOR_EXPORT cbor_item_t* cbor_new_indefinite_array();
^
void
In file included from
/wrkdirs/usr/ports/security/libfido2/work/libfido2-1.12.0/src/aes256.c:8:
In file included from
/wrkdirs/usr/ports/security/libfido2/work/libfido2-1.12.0/src/fido.h:42:
In file included from /usr/local/include/cbor.h:15:
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
Add libcbor 0.5.0
libcbor is a C library for parsing and generating CBOR, the general-purpose
schema-less binary data format.
Main features:
- Complete RFC conformance
- Robust C99 implementation
- Layered architecture offers both control and convenience
- Flexible memory management
- No shared global state - threading friendly
- Proper handling of UTF-8
- Full support for streams & incremental processing
- Extensive documentation and test suite
- No runtime dependencies, small footprint
WWW: http://libcbor.org/