notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2025Q2
cmocka Unit testing framework for C with support for mock objects
1.1.8 sysutils on this many watch lists=10 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.1.8Version of this port present on the latest quarterly branch.
Maintainer: dteske@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-12-01 22:24:36
Last Update: 2025-08-17 14:12:21
Commit Hash: d5a85cc
People watching this port, also watch:: dbus, indexinfo, libevent, autoconf, p5-Error
License: APACHE20
WWW:
https://cmocka.org/
Description:
cmocka is a fork for Google's cmockery unit testing framework to fix bugs and support it in future.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (17 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/cmocka-1.1.8/catalog.mk
  3. /usr/local/share/licenses/cmocka-1.1.8/LICENSE
  4. /usr/local/share/licenses/cmocka-1.1.8/APACHE20
  5. include/cmocka.h
  6. include/cmocka_pbc.h
  7. lib/cmake/cmocka/cmocka-config-version.cmake
  8. lib/cmake/cmocka/cmocka-config.cmake
  9. lib/cmake/cmocka/cmocka-targets-release.cmake
  10. lib/cmake/cmocka/cmocka-targets.cmake
  11. lib/libcmocka.so
  12. lib/libcmocka.so.0
  13. lib/libcmocka.so.0.8.1
  14. libdata/pkgconfig/cmocka.pc
  15. @owner
  16. @group
  17. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • cmocka>0:sysutils/cmocka
To install the port:
cd /usr/ports/sysutils/cmocka/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/cmocka
  • pkg install cmocka
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: cmocka
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1753935962 SHA256 (cmocka-1.1.8.tar.xz) = 58435b558766d7f4c729ba163bdf3aec38bed3bc766dab684e3526ed0aa7c780 SIZE (cmocka-1.1.8.tar.xz) = 77872

Packages (timestamps in pop-ups are UTC):
cmocka
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1.81.1.81.1.51.1.81.1.8n/an/an/a
FreeBSD:13:quarterly1.1.71.1.81.1.51.1.71.1.8n/an/an/a
FreeBSD:14:latest1.1.81.1.81.1.51.1.81.1.81.1.5-1.1.5
FreeBSD:14:quarterly1.1.71.1.8-1.1.71.1.81.1.51.1.51.1.5
FreeBSD:15:latest1.1.81.1.8n/a1.1.8n/an/a1.1.51.1.5
FreeBSD:15:quarterly-1.1.8n/a-n/an/a--
FreeBSD:16:latest-1.1.8n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
This port is required by:
for Build
  1. databases/ldb25
  2. databases/ldb28
  3. databases/ldb29
  4. net/samba416
  5. net/samba419
  6. net/samba420
  7. security/openvpn
Expand this list (23 items / 16 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. security/openvpn-devel
  3. sysutils/flashrom
  4. Collapse this list.

Deleted ports which required this port:

Expand this list of 14 deleted ports
  1. databases/ldb12*
  2. databases/ldb13*
  3. databases/ldb14*
  4. databases/ldb15*
  5. databases/ldb20*
  6. databases/ldb21*
  7. databases/ldb22*
  8. net/samba4-devel*
  9. net/samba410*
  10. net/samba411*
  11. net/samba412*
  12. net/samba413*
  13. net/samba47*
  14. net/samba48*
  15. Collapse this list of deleted ports.
for Libraries
  1. net/freeipa-client

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. cad/xtrkcad*
  2. Collapse this list of deleted ports.
for Run

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. databases/ldb12*
  2. databases/ldb13*
  3. databases/ldb14*
  4. databases/ldb15*
  5. databases/ldb20*
  6. databases/ldb21*
  7. net/samba4-devel*
  8. net/samba47*
  9. net/samba48*
  10. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
sysutils_cmocka
USES:
cmake:testing pathfix tar:xz
pkg-message:
For install:
For more information on using cmocka, see https://api.cmocka.org
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://cmocka.org/files/1.1/
Collapse this list.

There are no commits on branch 2025Q2 for this port