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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2024Q3
cmocka Unit testing framework for C with support for mock objects
1.1.7 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.5Version 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-05-17 09:53:14
Commit Hash: aab2944
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 (16 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/cmocka-1.1.7/catalog.mk
  3. /usr/local/share/licenses/cmocka-1.1.7/LICENSE
  4. /usr/local/share/licenses/cmocka-1.1.7/APACHE20
  5. include/cmocka.h
  6. include/cmocka_pbc.h
  7. lib/cmake/cmocka/cmocka-config-release.cmake
  8. lib/cmake/cmocka/cmocka-config-version.cmake
  9. lib/cmake/cmocka/cmocka-config.cmake
  10. lib/libcmocka.so
  11. lib/libcmocka.so.0
  12. lib/libcmocka.so.0.8.0
  13. libdata/pkgconfig/cmocka.pc
  14. @owner
  15. @group
  16. @mode
Collapse this list.
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 = 1683241770 SHA256 (cmocka-1.1.7.tar.xz) = 810570eb0b8d64804331f82b29ff47c790ce9cd6b163e98d47a4807047ecad82 SIZE (cmocka-1.1.7.tar.xz) = 84064

Packages (timestamps in pop-ups are UTC):
cmocka
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1.71.1.71.1.51.1.51.1.7-1.1.5-
FreeBSD:13:quarterly1.1.51.1.51.1.51.1.51.1.51.1.51.1.51.1.5
FreeBSD:14:latest1.1.51.1.71.1.51.1.51.1.71.1.5-1.1.5
FreeBSD:14:quarterly1.1.51.1.5-1.1.51.1.51.1.51.1.51.1.5
FreeBSD:15:latest1.1.51.1.7n/a1.1.5n/a1.1.51.1.51.1.5
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. devel/nss_wrapper
  5. devel/pam_wrapper
  6. devel/resolv_wrapper
  7. devel/uid_wrapper
Expand this list (27 items / 20 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. net/samba416
  3. net/samba419
  4. net/samba420
  5. security/openvpn
  6. security/openvpn-devel
  7. sysutils/flashrom
  8. 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 2024Q3 for this port