CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

devel/p4api 2026.1.3062361

Perforce API (static libraries and header files)

Port info

Maintainer
antonfb@hesiod.org
Packages
latest: 2026.1.3062361
Upstream
up to date
Last update
to 2026.1.3062361 · 61d8abd290
Quarterly
2026Q4: 2026.1.3062361
WWW
https://www.perforce.com/products/helix-core
Links
cgit · VuXML

Install

Package
# pkg install p4api
installs 2026.1.3062361 from latest; from quarterly (2026Q4) 2026.1.3062361
Port
# cd /usr/ports/devel/p4api && make install clean
# make -C /usr/ports/devel/p4api config  # change options first
Size
1.7 MiB download · 14 MiB installed
Depends on
nothing
License
BSD3CLAUSE
Options
1 of 1 on in the package: EXAMPLES

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162026.1.30623612026.1.3062361–
FreeBSD 152026.1.30623612026.1.3062361–
FreeBSD 142026.1.30623612026.1.30623612026.1.3062361

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152026.1.30623612026.1.3062361–
FreeBSD 142026.1.30623612026.1.30623612026.1.3062361

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 2026.1.3062361.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (47)

Craig Leres (leres) · 2026.1.3062361
devel/{p4,p4api}: Update to 2026.1 release (3062361)

Also change license to BSD 3 Clause.

PR:		298717
Approved by:	antonfb@hesiod.org (maintainer)
61d8abd290
Craig Leres (leres) · 2025.1.2761706
devel/{p4,p4api}: Update to 2025.1 release (6994039)

PR:		287436
Approved by:	antonfb@hesiod.org (maintainer)
35b5de2c7d
Craig Leres (leres)
devel/p4api: Update to 2024.1 release patch 2 (2655224)

PR:		281679
Approved by:	antonfb@hesiod.org (maintainer)
3abf3a3920
Craig Leres (leres)
devel/{p4,p4api}: Update to 2023.1 release and fix armv7

PR:		271502
Approved by:	antonfb@hesiod.org (maintainer)
c5db9bdcad
Craig Leres (leres)
devel/{p4,p4api}: Unbreak build on arm

Also change devel/p4api to use devel/p4 files/patches and distinfo.

PR:		270531
Approved by:	antonfb@hesiod.org (maintainer)
c3c2129c94
Craig Leres (leres)
devel/p4: Update to r22.2.2407422

Remove BROKEN lines (this version is 7 years newer).

Documentation is only in html form online now.

PR:		270420
Approved by:	antonfb@hesiod.org (maintainer)
3ef98eb228
Craig Leres (leres)
devel/{p4,p4api}: Unbreak MASTER_SITES, update maintainership

Welcome, new port maintainer!

PR:		270320
4ec3d3d8c1
Alan Somers (asomers)
devel/{p4,p4api}: relinquish maintainership

I haven't used these ports for 5 years, and I cannot test changes to
them.

PR:		270245
Approved by:	fernape (ports)
3287e13ac4
Stefan Eßer (se)
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)
fb16dfecae
Stefan Eßer (se)
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.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Rene Ladan (rene)
cleanup: drop support for EOL FreeBSD 11.X

Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
620968a43a
Mathieu Arnold (mat)
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
305f148f48
Piotr Kubaj (pkubaj)
devel/p4api: unbreak on powerpc64 elfv2

Builds fine on head, which uses clang and elfv2.
de97248fb4
Mark Linimon (linimon)
Mark these ports as broken on powerpc64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
272bca67ef
Alan Somers (asomers)
devel/p4 devel/p4api: cache distfiles in LOCAL

Perforce unhelpfully rebuilds their distfiles every few hours, changing the
archived files' timestamps in the process. This obviously changes their
checksums. Work around the issue by caching local copies of the distfiles and
using those for the checksums.

Also, set a sane DIST_SUBDIR since the distfiles are ambiguously named.

Also, take over maintainership from gordon.

Reported by:	gordon, antoine
Reviewed by:	mat
Approved by:	mat (ports)
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D14211
9a45e1dd4e
Alan Somers (asomers)
devel/p4 devel/p4api: build from source

Build devel/p4 and devel/p4api from source rather than use the prebuilt
binary downloads. This fixes p4api on FreeBSD 12.  The ports originally used
the binaries because source wasn't available until a few years ago.  By
happy accident, building from source also makes the ports available on
non-Intel architectures.

PR:		225613
Reviewed by:	brd
Approved by:	brd (ports)
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D14162
f49163f747
Gordon Tetlow (gordon) · 2016.1.1492381
Update Perforce ports to 2016.1/1492381.

MFH:		2017Q1 (Blanket)
151bcb3c62
Alan Somers (asomers) · 2016.1.1461251
remove RESTRICTED from devel/p4 and devel/p4api

devel/p4 and devel/p4api are BSD licensed, even though the distfile does not
include any license file. The source for these ports is separately
distributed through swarm.workshop.perforce.com, and Perforce support
assures me that the license found in the source also applies to the binary
distfile used by these ports.

PR:		215662
Reviewed by:	mat, gordon
Approved by:	mat (ports)
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D8623
33bf590053
Gordon Tetlow (gordon) · 2016.1.1461251
Update Perforce related ports due to micropatching.

Submitted by:	asomers@
MFH:		2016Q4 (Blanket)
Differential Revision:	https://reviews.freebsd.org/D8534
c41d391948
Dmitry Marakasov (amdmi3) · 2016.1.1454320
Mark BROKEN due to checksum mismatch. Again.

Approved by:	portmgr blanket
76d3f66b1a
Gordon Tetlow (gordon) · 2016.1.1454320
Update devel ports for p4, p4d, and p4api for micropatching.

MFH:		2016Q4
cacd1fc7aa
Gordon Tetlow (gordon) · 2016.1.1446835
Update Perforce ports due to micropatching.

PR:		213172
Approved by:	mat (implicit, mentor)
MFH:		2016Q4
b348cff0e6
Gordon Tetlow (gordon) · 2016.1.1429894
Update devel/p4, p4d, p4api to 2016.1/1429894 due to micropatching.

MFH:		2016Q3
f782a09f88
Gordon Tetlow (gordon) · 2016.1.1411799
Update Perforce related ports due to micropatching.

Approved by:	mat (mentor, implicit)
MFH:		2016Q3
Differential Revision:	 https://reviews.freebsd.org/D7220
965593250e
Gordon Tetlow (gordon) · 2016.1.1404799
Update incorrect distinfo for devel/p4api.
27d7990a74
Gordon Tetlow (gordon) · 2016.1.1404799
Update Perforce related ports to 2016.1.

PR:		210358
Reported by:	brd
Approved by:	mat (mentor, previous version)
Differential Revision:	https://reviews.freebsd.org/D6905
99e7a91ac2
Gordon Tetlow (gordon) · 2015.1.1384697
Update various Perforce ports to 2015.1/1384697 due to micropatching.

Approved by:	mat (mentor, implicit)
MFH:		2016Q2
a5eb413535
Gordon Tetlow (gordon) · 2015.1.1341249
Update to 2015.1.1341249 for micropatching

Approved by:	mat (implicit, mentor)
MFH:		2016Q1
6347ab0288
Dmitry Marakasov (amdmi3) · 2015.1.1314399
- Mark BROKEN, checksum mismatch:

size mismatch: expected 1469314, actual 1470002

Reported by:	pkg-fallout
Approved by:	portmgr blanket
85fc67eb23
Gordon Tetlow (gordon) · 2015.1.1314399
Update devel/p4api to 2015.1/1314399.

Approved by:	mat (mentor, implicit)
MFH:		2015Q4
be24534210
Gordon Tetlow (gordon) · 2015.1.1126382
Unbreak devel/p4api and update to 2015.1/1126382

Approved by:	mat (mentor, earlier version)
MFH:		2015Q3
Differential Revision:	https://reviews.freebsd.org/D3090
86cff36bb9
Dmitry Marakasov (amdmi3) · 2014.2.978861
- Mark BROKEN: checksum mismatch

=> Attempting to fetch ftp://ftp.perforce.com/perforce/r14.2/bin.freebsd100x86_64/p4
fetch: ftp://ftp.perforce.com/perforce/r14.2/bin.freebsd100x86_64/p4: size mismatch: expected 2732720, actual 2755088
=> Attempting to fetch http://filehost.perforce.com/perforce/r14.2/bin.freebsd100x86_64/p4
fetch: http://filehost.perforce.com/perforce/r14.2/bin.freebsd100x86_64/p4: size mismatch: expected 2732720, actual 2755088

Approved by:	portmgr blanket
Reported by:	pkg-fallout
c8cb2aa57e
Gordon Tetlow (gordon) · 2014.2.978861
Take over p4api port and update to recentish version 2014.2/978861.

Differential Revision:	https://reviews.freebsd.org/D2029
Approved by:	kuriyama, mat (mentor)
f677adbd21
Baptiste Daroussin (bapt) · 08.1
Cleanup plist
6f2e3d424c
Adam Weinberger (adamw) · 08.1
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.

Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
44eaadcb75
Martin Wilke (miwi) · 08.1
- Stage support
dc2d5f2fee
Baptiste Daroussin (bapt) · 08.1
Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 3)
580a778a16
Eitan Adler (eadler) · 08.1
Remove quotes from BROKEN and IGNORE as they are not required

Approved by:	maintainer timeout
7d4a16a84d
Olli Hauer (ohauer) · 08.1
-remove MD5
d6db46aade
Pav Lucistnik (pav) · 08.1
- Remove conditional checks for FreeBSD 5.x and older
d095d4a965
Jun Kuriyama (kuriyama) · 08.1
- Upgrade to 08.1 version. - Also supports amd64 arch.

PR:		ports/127632
Submitted by:	tobez@
5e00a85f8f
Edwin Groothuis (edwin) · 03.1_1
SHA256ify (manually updated and checked)

Approved by: krion@
eabe5ffb0c
Jun Kuriyama (kuriyama) · 03.1_1
SIZEify.

Submitted by:	trevor
1b7bb85f82
Anton Berezin (tobez) · 03.1_1
This port was not really usable on i386-5.X due to an updated GCC, since C++ name mangling has changed in an incompatible way.  Now that perforce has put FreeBSD 5.X p4api binary on their FTP site, the port can be updated to work on both 4.X and 5.X.

The tarball for 4.X was tested with 2.95.4.  The tarball for 5.X was
tested with 3.3.1.  If there were other incompatible name mangling
changes in GCC in between, neither will work, so beware.

Also, the FreeBSD 4.X p4api tarball checksum has changed.  Perforce has
confirmed that the new checksum is correct.

Approved by:	maintainer
212da3dab3
Jun Kuriyama (kuriyama) · 03.1
Upgrade to 03.1. Move $VERSION and $REVISION to out of arch conditional. [1]

PR:		ports/54991 [1]
Submitted by:	Mark Linimon <linimon@lonesome.com> [1]
38990ed8e2
Jun Kuriyama (kuriyama)
Add Perforce API (static libraries and header files).
812d84ac17