BSD Ports

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

SystemPortVersion
MidnightBSDdevel/libcbor0.9.0
FreeBSDdevel/libcbor0.14.0
NetBSDdevel/libcbor0.14.0
DragonFlydevel/libcbor0.11.0
HardenedBSDdevel/libcbor0.14.0
GhostBSDdevel/libcbor0.14.0
OPNsensedevel/libcbor0.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

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
FileSizeSHA256
PJK-libcbor-v0.9.0_GH0.tar.gz275405da81e4f9333e0086d4e2745183c7052f04ecc4dbcffcf910029df24f103c15d1