devel/protozero 1.8.2 FreeBSD
Minimalist protocol buffer decoder and encoder in C++
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
8a56e088a3- License
- BSD2CLAUSE
- Categories
- devel
- Package size
- 28.5 KiB, 163.9 KiB installed
Description
Minimalistic protocol buffer decoder and encoder in C++.
Designed for high performance. Suitable for writing zero copy parsers and encoders with minimal need for run-time allocation of memory.
Low-level: this is designed to be a building block for writing a very customized decoder for a stable protobuf schema. If your protobuf schema is changing frequently or lazy decoding is not critical for your application then this approach offers no value: just use the C++ API that can be generated with the Google Protobufs protoc program.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/protozero | 1.8.2 |
| OpenBSD | devel/protozero | 1.7.0p2 |
| DragonFly | devel/protozero | 1.8.0 |
Install
Binary package:
pkg install protozero
From the ports tree:
cd /usr/ports/devel/protozero/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= protozero>0:devel/protozero
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.8.2 | 1.8.2 | 1.7.1 | 1.8.1 | 1.8.2 |
| FreeBSD:14:quarterly | 1.8.2 | 1.8.2 | n/a | 1.8.0 | 1.8.2 |
| FreeBSD:15:latest | 1.8.2 | 1.8.2 | n/a | 1.8.1 | 1.8.1 |
| FreeBSD:15:quarterly | 1.8.2 | 1.8.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.8.2 | 1.8.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Configuration
Options name: devel_protozero
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| TEST | on | Enable additional tests, requires protobuf at build time |
- USES
- cmake compiler:c++17-lang
- Service scripts
- none
Files
pkg-plist 18
- include/protozero/basic_pbf_builder.hpp
- include/protozero/basic_pbf_writer.hpp
- include/protozero/buffer_fixed.hpp
- include/protozero/buffer_string.hpp
- include/protozero/buffer_tmpl.hpp
- include/protozero/buffer_vector.hpp
- include/protozero/byteswap.hpp
- include/protozero/config.hpp
- include/protozero/data_view.hpp
- include/protozero/exception.hpp
- include/protozero/iterators.hpp
- include/protozero/pbf_builder.hpp
- include/protozero/pbf_message.hpp
- include/protozero/pbf_reader.hpp
- include/protozero/pbf_writer.hpp
- include/protozero/types.hpp
- include/protozero/varint.hpp
- include/protozero/version.hpp
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mapbox-protozero-v1.8.2_GH0.tar.gz | 1.126935e+06 | 68d1df951b4d8397355c8fc9ffed40d9c06282a877fe847403feac6edcee3ef1 |