devel/libcbor 0.9.0 MidnightBSD
CBOR protocol implementation for C and others
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel
Description
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
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/libcbor | 0.9.0 |
| FreeBSD | devel/libcbor | 0.14.0 |
| NetBSD | devel/libcbor | 0.14.0 |
| DragonFly | devel/libcbor | 0.11.0 |
| HardenedBSD | devel/libcbor | 0.14.0 |
| GhostBSD | devel/libcbor | 0.14.0 |
| OPNsense | devel/libcbor | 0.13.0 |
Install
Binary package:
mport install libcbor
From mports:
cd /usr/mports/devel/libcbor && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libcbor>0:devel/libcbor
LIB_DEPENDS= libcbor.so:devel/libcbor
Dependencies
As this port's Makefile names them.
Library 1
libcjson.so: devel/libcjson
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- cmake
- Service scripts
- none
Files
pkg-plist 26
- include/cbor.h
- include/cbor/arrays.h
- include/cbor/bytestrings.h
- include/cbor/callbacks.h
- include/cbor/cbor_export.h
- include/cbor/common.h
- include/cbor/configuration.h
- include/cbor/data.h
- include/cbor/encoding.h
- include/cbor/floats_ctrls.h
- include/cbor/internal/builder_callbacks.h
- include/cbor/internal/encoders.h
- include/cbor/internal/loaders.h
- include/cbor/internal/memory_utils.h
- include/cbor/internal/stack.h
- include/cbor/internal/unicode.h
- include/cbor/ints.h
- include/cbor/maps.h
- include/cbor/serialization.h
- include/cbor/streaming.h
- include/cbor/strings.h
- include/cbor/tags.h
- lib/libcbor.so
- lib/libcbor.so.0
- lib/libcbor.so.
- libdata/pkgconfig/libcbor.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| PJK-libcbor-v0.9.0_GH0.tar.gz | 275405 | da81e4f9333e0086d4e2745183c7052f04ecc4dbcffcf910029df24f103c15d1 |