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
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
cmocka Unit testing framework for C with support for mock objects
1.1.5 sysutils on this many watch lists=8 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: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: p5-Text-Unidecode, indexinfo, autoconf, libevent, dbus
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 (12 items)
Collapse this list.
  1. include/cmocka.h
  2. include/cmocka_pbc.h
  3. lib/cmake/cmocka/cmocka-config-version.cmake
  4. lib/cmake/cmocka/cmocka-config.cmake
  5. lib/libcmocka.so
  6. lib/libcmocka.so.0
  7. lib/libcmocka.so.0.7.0
  8. libdata/pkgconfig/cmocka.pc
  9. @ldconfig
  10. /usr/local/share/licenses/cmocka-1.1.5/catalog.mk
  11. /usr/local/share/licenses/cmocka-1.1.5/LICENSE
  12. /usr/local/share/licenses/cmocka-1.1.5/APACHE20
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 = 1572277190 SHA256 (cmocka-1.1.5.tar.xz) = f0ccd8242d55e2fd74b16ba518359151f6f8383ff8aef4976e48393f77bba8b6 SIZE (cmocka-1.1.5.tar.xz) = 81004

Packages (timestamps in pop-ups are UTC):
cmocka
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1.51.1.51.1.51.1.51.1.5-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.51.1.51.1.51.1.51.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.5n/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/ldb22
  2. databases/ldb25
  3. databases/ldb28
  4. devel/nss_wrapper
  5. devel/pam_wrapper
  6. devel/resolv_wrapper
  7. devel/uid_wrapper
Expand this list (25 items / 18 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. net/samba416
  3. net/samba419
  4. security/openvpn
  5. security/openvpn-devel
  6. sysutils/flashrom
  7. Collapse this list.

Deleted ports which required this port:

Expand this list of 13 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/samba410*
  9. net/samba411*
  10. net/samba412*
  11. net/samba413*
  12. net/samba47*
  13. net/samba48*
  14. 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:
===> The following configuration options are available for cmocka-1.1.5: STATIC=off: Build static executables and/or libraries ===> Use 'make config' to modify these settings
Options name:
sysutils_cmocka
USES:
cmake tar:xz
pkg-message:
For install:
For more information on using cmocka, see https://api.cmocka.org
Master Sites:
Expand this list (5 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/dteske/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/dteske/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/dteske/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/dteske/
  5. https://cmocka.org/files/1.1/
Collapse this list.

Number of commits found: 14

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.1.5
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.1.5
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.1.5
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.1.5
06 Dec 2019 09:36:51
Revision:519125Original commit files touched by this commit
dteske search for other commits by this committer
sysutils/cmocka: Update cmocka from version 1.1.3 to 1.1.5

Reviewed by:	imp (mentor; previous version), swills
Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D22629
1.1.3
05 Nov 2019 20:57:35
Revision:516835Original commit files touched by this commit
rene search for other commits by this committer
Return dteske's ports to the pool after safekeeping her commit bit.
1.1.3
14 Aug 2019 12:16:13
Revision:508909Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories s)
1.1.3
28 Jun 2019 08:08:04
Revision:505270Original commit files touched by this commit
timur search for other commits by this committer
Update port to 1.1.3 version.

PR:		238401
Approved by:	maintainer timeout
1.1.1_1
25 Dec 2018 20:25:40
Revision:488341Original commit files touched by this commit
tcberner search for other commits by this committer
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
1.1.1_1
23 Mar 2018 21:20:04
Revision:465409Original commit files touched by this commit
dteske search for other commits by this committer
Fix sysutils/cmocka build on powerpc64

Make sure uintptr_t isn't double-defined

PR:		ports/224959
Submitted by:	jhibbits
Reported by:	jhibbits
Reviewed by:	imp
Approved by:	imp (mentor)
1.1.1
30 Oct 2017 04:04:27
Revision:453155Original commit files touched by this commit
timur search for other commits by this committer
Upgrade port to the 1.1.1 version

PR:		222873
Submitted by:	timur
Approved by:	maintainer(timeout)
1.1.0
06 Jun 2017 16:38:01
Revision:442784Original commit files touched by this commit
mat search for other commits by this committer
Add a fixup-lib-pkgconfig target to move files in lib/pkgconfig into
libdata/pkgconfig.

Fix ports that where installing the file in the wrong place.

PR:		218067
Submitted by:	mat
Exp-run by:	antoine
Reviewed by:	rene, antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10129
1.1.0
03 Dec 2016 17:31:40
Revision:427630Original commit files touched by this commit
antoine search for other commits by this committer
Hook cmocka to the build
1.1.0
01 Dec 2016 22:24:27
Revision:427529Original commit files touched by this commit
dteske search for other commits by this committer
Add sysutils/cmocka - a fork for Google's cmockery unit testing framework

Differential Revision:	https://reviews.freebsd.org/D8673
Reviewed by:	shurd, mat
Approved by:	shurd
Sponsored by:	Panzura, Inc.

Number of commits found: 14