notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
protobuf-c Code generator and libraries to use Protocol Buffers from pure C
1.4.0_1 devel on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.4.0Version of this port present on the latest quarterly branch.
Maintainer: truckman@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2011-05-31 02:01:43
Last Update: 2021-07-21 18:11:52
Commit Hash: f4acead
People watching this port, also watch:: bash, p5-GSSAPI, pcre, protobuf, expat
License: BSD2CLAUSE
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (17 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/protobuf-c-1.4.0_1/catalog.mk
  3. /usr/local/share/licenses/protobuf-c-1.4.0_1/LICENSE
  4. /usr/local/share/licenses/protobuf-c-1.4.0_1/BSD2CLAUSE
  5. bin/protoc-c
  6. bin/protoc-gen-c
  7. include/google/protobuf-c/protobuf-c.h
  8. include/protobuf-c/protobuf-c.h
  9. include/protobuf-c/protobuf-c.proto
  10. lib/libprotobuf-c.a
  11. lib/libprotobuf-c.so
  12. lib/libprotobuf-c.so.1
  13. lib/libprotobuf-c.so.1.0.0
  14. libdata/pkgconfig/libprotobuf-c.pc
  15. @owner
  16. @group
  17. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • protobuf-c>0:devel/protobuf-c
  • For LIB depends:
    • libprotobuf-c.so:devel/protobuf-c
To install the port: cd /usr/ports/devel/protobuf-c/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/protobuf-c
  • pkg install protobuf-c
PKGNAME: protobuf-c
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
protobuf-c
ABIlatestquarterly
FreeBSD:11:aarch641.3.11.3.2_5
FreeBSD:11:amd641.4.0_11.4.0
FreeBSD:11:armv61.2.1-
FreeBSD:11:i3861.4.0_11.4.0
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch641.3.11.4.0
FreeBSD:12:amd641.4.01.4.0
FreeBSD:12:armv61.3.1-
FreeBSD:12:armv71.3.11.3.2_6
FreeBSD:12:i3861.4.0_11.4.0
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-1.3.2_7
FreeBSD:13:aarch641.3.2_61.4.0
FreeBSD:13:amd641.4.0_11.4.0
FreeBSD:13:armv6--
FreeBSD:13:armv71.3.2_6-
FreeBSD:13:i3861.4.0_11.4.0
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-1.4.0
FreeBSD:14:aarch641.4.0_1-
FreeBSD:14:amd641.4.0_1-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3861.4.0_1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.3.2_7-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. doxygen : devel/doxygen
  2. gmake>=4.3 : devel/gmake
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. autoconf>=2.69 : devel/autoconf
  5. automake>=1.16.1 : devel/automake
  6. libtoolize : devel/libtool
Library dependencies:
  1. libprotobuf.so : devel/protobuf
This port is required by:
for Libraries
  1. audio/umurmur
  2. databases/postgis30
  3. databases/postgis31
  4. databases/postgresql-cstore_fdw
  5. dns/bind9-devel
  6. dns/bind911
  7. dns/bind916
Expand this list (16 items / 9 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. graphics/mapserver
  3. net/axa
  4. net/nmsg
  5. net/ocserv
  6. net/sie-nmsg
  7. net-im/purple-hangouts
  8. net-mgmt/riemann-c-client
  9. polish/libgadu
  10. science/py-tensorflow
  11. Collapse this list.

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/protobuf-c/protobuf-c/tar.gz/v1.4.0?dummy=/
Collapse this list.

Number of commits found: 48

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
21 Jul 2021 18:11:52
 files touched by this commit commit hash:f4acead6367a692af17431cc233565e8f1149366  1.4.0_1
sunpoet search for other commits by this committer
devel/protobuf: Update to 3.17.3

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		257026
Exp-run by:	antoine
31 May 2021 17:20:47
 files touched by this commit commit hash:6e51deddd0634104e958603f3e5936e5a03a161a  1.4.0
truckman search for other commits by this committer
devel/protobuf-c: Upgrade to version 1.4.0:

  [ Ilya Lipnitsky ]
  * c_message.cc: Resolve name conflict between certain enums and oneofs
    (#427).
  * protobuf-c.h: Fix Windows DLL export issue with the
    protobuf_c_empty_string symbol (#428).
  * Standardize pkg-config for use by autotools and cmake, fix cmake tests
    (#425).
  * protobuf-c.c: Cast %lu args to unsigned long int (#429).
  * protoc-c: Remove leading underscores from structs (#430).
  * protoc-c: Fix shared lib build on windows, migrate from Travis CI to
    GitHub Actions (#459).
  * protobuf-c: Don't use ProtobufCWireType internally (#463).
  * protoc-c: Add custom options support (#466).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.3.2_7
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
26 Jan 2021 14:01:09
Original commit files touched by this commit Revision:562671  1.3.2_7
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/protobuf shlib change
30 Aug 2020 20:19:42
Original commit files touched by this commit Revision:547081  1.3.2_6
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/protobuf shlib change
03 Jun 2020 18:32:06
Original commit files touched by this commit Revision:537830  1.3.2_5
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/protobuf shlib change
22 Jan 2020 05:53:20
Original commit files touched by this commit Revision:523788  1.3.2_4
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/protobuf shlib change
31 Jul 2019 16:38:53
Original commit files touched by this commit Revision:507719  1.3.2_3
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/protobuf shlib change
26 Jul 2019 20:46:57
Original commit files touched by this commit Revision:507372  1.3.2_2
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
05 Jul 2019 19:08:49
Original commit files touched by this commit Revision:505909  1.3.2_1
sunpoet search for other commits by this committer
Update devel/protobuf to 3.8.0

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		238808
Exp-run by:	antoine
26 Jun 2019 18:06:12
Original commit files touched by this commit Revision:505176  1.3.2
truckman search for other commits by this committer
Upgrade devel/protobuf-c to version 1.3.2:

  [ Robert Edmonds ]
  * Release 1.3.2.

  * Use protobuf 3.7.1 in the Travis-CI environment (#368).

  * Fix test suite build failure on newer versions of protobuf (#369).

  [ Ilya Lipnitskiy ]
  * Fix proto3 repeated scalar field default packing behavior (#330, #377).

  [ Adam Cozzette ]
  * Fix out-of-bounds read in scan_length_prefixed_data() (#375, #376).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
31 Mar 2019 13:41:03
Original commit files touched by this commit Revision:497411  1.3.1_3
sunpoet search for other commits by this committer
Update devel/protobuf to 3.7.1

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		236157
Exp-run by:	antoine
12 Dec 2018 01:35:36
Original commit files touched by this commit Revision:487272  1.3.1_2
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
03 Dec 2018 19:41:33
Original commit files touched by this commit Revision:486531  1.3.1_1
sunpoet search for other commits by this committer
Update devel/protobuf to 3.6.1

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		231008
Exp-run by:	antoine
10 Sep 2018 13:14:52
Original commit files touched by this commit Revision:479406  1.3.1
mat search for other commits by this committer
Add DOCS options to ports that should have one.

Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
15 Aug 2018 17:13:32
Original commit files touched by this commit Revision:477241  1.3.1
truckman search for other commits by this committer
Upgrade devel/protobuf-c to version 1.3.1:

  [ Robert Edmonds ]
  * Release 1.3.1.

  * Restore protobuf-2.x compatibility (#284, #285).

  * Use xenial and protobuf 3.6.1 in the Travis-CI environment (#332).

  * Convert uses of protobuf's scoped_ptr.h to C++11 std::unique_ptr, needed
    to compile against protobuf 3.6.1 (#320, #333).

  * Use AX_CXX_COMPILE_STDCXX macro to enable C++11 support in old compilers
    (#312, #317, #327, #334).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
29 Jul 2018 22:18:46
Original commit files touched by this commit Revision:475857  1.3.0_4
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
24 Jun 2018 21:11:15
Original commit files touched by this commit Revision:473276  1.3.0_3
sunpoet search for other commits by this committer
Revert r473259 and r473260 which are committed by accident

- Bump PORTEPOCH for protobuf and py-protobuf
- Bump PORTREVISION for dependent ports
24 Jun 2018 20:19:46
Original commit files touched by this commit Revision:473259  1.3.0_2
sunpoet search for other commits by this committer
Update to 3.6.0

Changes:	https://github.com/google/protobuf/releases
15 Feb 2018 00:33:27
Original commit files touched by this commit Revision:461850  1.3.0_1
truckman search for other commits by this committer
Add compiler:c++11-lang to USES to unbreak protobuf-c build on Tier-2
FreeBSD architectures that use ancient gcc as their base compiler.

No PORTREVISION bump since there is no change on architectures where
protobuf-c already builds.

PR:		225662
Submitted by:	devel@stasyan.com
Sponsored by:	Farsight Security, Inc.
11 Dec 2017 18:26:14
Original commit files touched by this commit Revision:456058  1.3.0_1
sunpoet search for other commits by this committer
Update devel/protobuf to 3.5.0

- Bump PORTREVISION for shlib change

Changes:	https://github.com/google/protobuf/releases
17 Aug 2017 11:19:18
Original commit files touched by this commit Revision:448087  1.3.0
truckman search for other commits by this committer
Upgrade protobuf-c to version 1.3.0:

  [ Robert Edmonds ]
  * Release 1.3.0.

  * Add test case for the issue in #220 (#254).

  * Fix issue #251, "Bad enums with multiple oneofs" (#256).

  * Add warning flags to my_CFLAGS (#257).

  * Fix namespace errors when compiled with latest protobuf (#280).

  * Bump minimum required header version for proto3 syntax (#282).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
16 Aug 2017 15:44:49
Original commit files touched by this commit Revision:448041  1.2.1_3
sunpoet search for other commits by this committer
Update devel/protobuf to 3.4.0

- Bump PORTREVISION for shlib change

Changes:	https://github.com/google/protobuf/releases
29 Jan 2017 16:04:36
Original commit files touched by this commit Revision:432762  1.2.1_2
sunpoet search for other commits by this committer
Update devel/protobuf to 3.2.0

- Bump PORTREVISION for shlib change

Changes:	https://github.com/google/protobuf/releases
14 Dec 2016 17:58:20
Original commit files touched by this commit Revision:428581  1.2.1_1
sunpoet search for other commits by this committer
- Update devel/protobuf to 3.1.0
- Bump PORTREVISION for shlib change

Changes:	https://github.com/google/protobuf/releases
02 Dec 2016 09:21:59
Original commit files touched by this commit Revision:427548  1.2.1
mat search for other commits by this committer
http://github.com redirects to https://github.com, spare everyone a redirect.

Sponsored by:	Absolight
01 Apr 2016 14:00:57
Original commit files touched by this commit Revision:412346  1.2.1
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
02 Feb 2016 22:55:33
Original commit files touched by this commit Revision:407899  1.2.1
truckman search for other commits by this committer
Upgrade protobuf-c to version 1.2.1:

protobuf-c (1.2.1)

  [ Robert Edmonds ]
  * Release 1.2.1.

  [ Paolo Borelli ]
  * protoc-c: Generate code that uses the universal zero initializer {0} when
    initializing a oneof union (#187, #205).

PR:		206863
Submitted by:	olgeni
Sponsored by:	Farsight Security, Inc.
01 Feb 2016 07:08:15
Original commit files touched by this commit Revision:407688  1.2.0
truckman search for other commits by this committer
Upgrade devel/protobuf-c to 1.2.0.

  [ Robert Edmonds ]
  * Release 1.2.0.

  [ Ilya Lipnitsky ]
  * Implement the "optimize_for = CODE_SIZE" option (#183).

  * Eliminate undefined behavior in zigzag functions (#198).

  * Pack negative enum values correctly (#199).

  [ Peter Leschev ]
  * Fix protobuf_c_message_get_packed_size() on 16-bit systems (#196, #197).

  [ Diego Elio Petten\xc3\xb2 ]
  * Update link to Autotools Mythbuster to canonical site (#201).

  [ Zex Li ]
  * Skip test suite when cross-compiling (#184).

PR:		206757
Submitted by:	olgeni
Sponsored by:	Farsight Security, Inc.
22 Aug 2015 01:05:26
Original commit files touched by this commit Revision:395007  1.1.1
truckman search for other commits by this committer
Use option helper, eliminating the need for bsd.port.options.mk.

Sponsored by:	Farsight Security, Inc.
06 May 2015 21:05:06
Original commit files touched by this commit Revision:385568  1.1.1
truckman search for other commits by this committer
Upgrade devel/protobuf-c to 1.1.1

  [ Robert Edmonds ]
  * Release 1.1.1.

  * Use protobuf 2.6.1 in the Travis-CI environment.

  [ Ilya Lipnitskiy ]
  * Munge C block comment delimiters in protobuf comments, preventing syntax
    errors in generated header files (Issue #180, #185).

  * Add static qualifier to ProtobufCEnumValue and ProtobufCEnumValueIndex
    variables in generated output.

  [ Oleg Efimov ]
(Only the first 15 lines of the commit message are shown above View all of this commit message)
28 Apr 2015 18:44:05
Original commit files touched by this commit Revision:384932  1.1.0
bdrewery search for other commits by this committer
USE_GITHUB: For the new support, fix DISTNAME to be more consistent.

When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.

Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.

empty() is used rather than (!defined || !${}) to support fmake.

The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.

PR:		199069
With hat:	portmgr
Testing done:	All USE_GITHUB ports without GH_COMMIT were
checksum/fetch/extract/WRKSRC tested.
06 Apr 2015 12:51:37
Original commit files touched by this commit Revision:383422  1.1.0
truckman search for other commits by this committer
Convert to USE_GITHUB. This requires USES=autoreconf, but eliminates
the need for USES=pathfix as well as a patch.

Differential Revision:	https://reviews.freebsd.org/D2234
Approved by:	mat (mentor)
Sponsored by:	Farsight Security, Inc.
08 Jan 2015 00:03:45
Original commit files touched by this commit Revision:376506  1.1.0
truckman search for other commits by this committer
Upgrade to version 1.1.0:

  protobuf-c (1.1.0)

  [ Robert Edmonds ]
  * Release 1.1.0.

  [ Ilya Lipnitskiy ]
  * Fix a bug when merging optional byte fields.

  * Documentation updates.

  * Implement oneof support (Issue #174). Protobuf 2.6.0 or newer is now
  required to build protobuf-c.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
31 Dec 2014 06:45:11
Original commit files touched by this commit Revision:375872  1.0.2_2
antoine search for other commits by this committer
Update devel/doxygen to 1.8.9

PR:		ports/196342
Submitted by:	Naram Qashat (maintainer)
Exp-run and fixes to depending ports:	self
27 Oct 2014 11:03:01
Original commit files touched by this commit Revision:371551  1.0.2_1
bapt search for other commits by this committer
Cleanup plist
04 Oct 2014 15:12:45
Original commit files touched by this commit Revision:369969  1.0.2_1
sunpoet search for other commits by this committer
- Update to 2.6.0
- Update MASTER_SITES
- Add my LOCAL to MASTER_SITES
- Use USE_CSTD
- Use MAKE_CMD
- Reformat pkg-descr
- Update WWW
- Take maintainership
- Bump PORTREVISION for devel/protobuf shlib change

Changes:	https://code.google.com/p/protobuf/source/browse/trunk/CHANGES.txt
19 Sep 2014 07:25:41
Original commit files touched by this commit Revision:368541  1.0.2
amdmi3 search for other commits by this committer
- Update to 1.0.2

PR:		193674
Submitted by:	truckman@FreeBSD.org (maintainer)
27 Aug 2014 10:27:06
Original commit files touched by this commit Revision:366302  1.0.1_1
amdmi3 search for other commits by this committer
- Drop .la files, no dependees require them

Approved by:	portmgr blanket
16 Aug 2014 21:04:53
Original commit files touched by this commit Revision:365134  1.0.1
wg search for other commits by this committer
devel/protobuf-c: update to 1.0.1

- Bump port revision due to shlib change
- Add DOCS option
- Pass maintainership to submitter

PR:		192175
Submitted by:	truckman
Approved by:	maintainer
23 Apr 2014 13:25:17
Original commit files touched by this commit Revision:351936  0.15_2
tijl search for other commits by this committer
When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
05 Feb 2014 23:34:19
Original commit files touched by this commit Revision:342898  0.15_1
bapt search for other commits by this committer
Support stage
USES=libtool
20 Sep 2013 17:13:47
Original commit files touched by this commit Revision:327724  0.15_1
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
02 Sep 2013 06:45:48
Refresh Original commit files touched by this commit Revision:325945  Sanity Test Failure
bapt search for other commits by this committer
Eradicate USE_GNOME=pkgconfig from devel
While here:
USE_GMAKE->USES=gmake
USE_GNOME=gnomehack->USES=pathfix
USE_PERL5*->USES=perl5
18 Mar 2013 15:14:28
Original commit files touched by this commit Revision:314580  0.15_1
vanilla search for other commits by this committer
1: Upgrade protobuf to 2.5.0.
2: bump revision.
3: document UPDATING.
11 Nov 2011 01:56:07
Original commit files touched by this commit   0.15
linimon search for other commits by this committer
Mark as broken on powerpc-9: does not compile.

Hat:            portmgr
Feature safe:   yes
23 Sep 2011 22:26:39
Original commit files touched by this commit   0.15
amdmi3 search for other commits by this committer
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:             157936
Submitted by:   myself
Exp-runs by:    pav
Approved by:    pav
31 May 2011 02:01:28
Original commit files touched by this commit   0.15
vanilla search for other commits by this committer
Add protobuf-c 0.15, this package provides a code generator and runtime
libraries to use Protocol Buffers from pure C (not C++).

PR:             ports/157099
Submitted by:   Aaron Hurt <ahurt at anbcs.com>

Number of commits found: 48