BSD Ports

devel/protobuf-c 1.5.1_3 MidnightBSD

Code generator and libraries to use Protocol Buffers from pure C

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2
Categories
devel

Description

This package provides a code generator and runtime libraries to use Protocol Buffers from pure C (not C++). It uses a modified version of protoc called protoc-c.

In the other systems

The newest version among them is 1.5.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/protobuf-c1.5.1_3 behind since 2026-09-28no data-[email protected]-
FreeBSDdevel/protobuf-c1.5.2 newestnone known-[email protected]2026-09-28
OpenBSDdevel/protobuf-c1.5.2p4 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-09-07
NetBSDdevel/protobuf-c1.5.2nb5 newestnone known-[email protected]2026-09-26
DragonFlydevel/protobuf-c1.5.1_1 behind since 2026-09-28none known-[email protected]-
HardenedBSDdevel/protobuf-c1.5.2 newestno data-[email protected]-
GhostBSDdevel/protobuf-c1.5.1_4 behind since 2026-09-28no data-[email protected]-
OPNsensedevel/protobuf-c1.5.1_4 behind since 2026-09-28no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install protobuf-c

From mports:

cd /usr/mports/devel/protobuf-c && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	protobuf-c>0:devel/protobuf-c
LIB_DEPENDS=	libprotobuf-c.so:devel/protobuf-c

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Library 2

Build dependencies 2
Run dependencies 2
Required by 1

Configuration

Options name: devel_protobuf-c

OptionDefaultDescription
DOCSoff
DOXYGENon
USES
compiler:c++17-lang gmake libtool pkgconfig
Service scripts
none

Files

pkg-plist 9
  • bin/protoc-c
  • bin/protoc-gen-c
  • include/google/protobuf-c/protobuf-c.h
  • include/protobuf-c/protobuf-c.h
  • include/protobuf-c/protobuf-c.proto
  • lib/libprotobuf-c.so
  • lib/libprotobuf-c.so.1
  • lib/libprotobuf-c.so.1.0.0
  • libdata/pkgconfig/libprotobuf-c.pc
distinfo 1
FileSizeSHA256
protobuf-c-1.5.1.tar.gz53169320d1dc257da96f8ddff8be4dd9779215bbd0a6069ed53bbe9de38fa7629be06b
Master sites 1
  • https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.1/