BSD Ports

devel/protobuf-c 1.5.2 FreeBSD

Code generator and libraries to use Protocol Buffers from pure C

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
b69422ee13
License
BSD2CLAUSE
Categories
devel
Package size
146.4 KiB, 725.8 KiB installed

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

SystemPortVersion
FreeBSDdevel/protobuf-c1.5.2
OpenBSDdevel/protobuf-c1.5.2p4
NetBSDdevel/protobuf-c1.5.2nb5
DragonFlydevel/protobuf-c1.5.1_1
MidnightBSDdevel/protobuf-c1.5.1_3
HardenedBSDdevel/protobuf-c1.5.2
GhostBSDdevel/protobuf-c1.5.1_4
OPNsensedevel/protobuf-c1.5.1_4

Install

Binary package:

pkg install protobuf-c

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.5.21.5.2-1.5.1_31.5.2
FreeBSD:14:quarterly1.5.21.5.2n/a1.5.1_31.5.2
FreeBSD:15:latest1.5.21.5.2n/a1.5.1_31.5.1_3
FreeBSD:15:quarterly1.5.21.5.2n/an/an/a
FreeBSD:16:latest1.5.21.5.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 2

The full lists below include those, and their dependencies in turn.

Build dependencies 70
Run dependencies 3
Required by 98

Configuration

Options name: devel_protobuf-c

OptionDefaultDescription
DOCSoffBuild and/or install documentation
DOXYGENonBuild documentation with Doxygen
USES
autoreconf compiler:c++17-lang cpe 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.2.tar.gz532447e2c86271873a79c92b58fef7ebf8de1aa0df4738347a8bd5d4e65a80a16d0d24
Master sites 1
  • https://github.com/protobuf-c/protobuf-c/releases/download/v${DISTVERSION}/

Commit history 2

DateCommitCreditsLog message
b69422ee13 R. Christian McDonald devel/protobuf-c: update to 1.5.2
Update protobuf-c to version 1.5.2: * Chase compatibility issues with Google protobuf 30.0-rc1 by @edmonds in #762 * protoc-gen-c: Explicitly construct strings where needed for protobuf 30.x by @edmonds in #768 Add autoreconf. Add a small patch to fix the symbol versioning bug. The patch will be submitted upstream as well. Fetch GitHub release tarball. (truckman) PR: 298768 Sponsored by: DomainTools LLC
4b7bea9f49 Bernhard Froehlich devel/protobuf-c: Add CPE information
Event: EuroBSDcon 2026