Port details
gerrit Web-based code review and repository management for Git
3.15.0_1 devel Σ=0 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: delphij@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-11-08 01:00:06
Last Update: 2026-11-24 16:06:28
Commit Hash: a9844c5
Also Listed In: java
License: APACHE20
WWW:
https://www.gerritcodereview.com/
Description: #
Gerrit is a free, web-based code collaboration tool. Software developers in a team can review each other's modifications on their source code using a web browser and approve or reject those changes. It integrates closely with Git, a distributed version control system.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (9 items)
Collapse this list.
  1. /usr/local/share/licenses/gerrit-3.15.0_1/catalog.mk
  2. /usr/local/share/licenses/gerrit-3.15.0_1/LICENSE
  3. /usr/local/share/licenses/gerrit-3.15.0_1/APACHE20
  4. share/sbom/pc/gerrit.pc
  5. share/gerrit/gerrit.war
  6. @dir(gerrit,gerrit,750) /var/db/gerrit
  7. @owner
  8. @group
  9. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • gerrit
Dependency lines:
  • gerrit>0:devel/gerrit
To install the port: #
cd /usr/ports/devel/gerrit/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/gerrit
  • pkg install gerrit
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gerrit
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1795378061 SHA256 (gerrit-3.15.0.war) = 0cce8b9b4feac1f4f7d94c1ff2497db4328a5ecaa26bd03f532c953731ab9b9c SIZE (gerrit-3.15.0.war) = 95125910

Packages (timestamps in pop-ups are UTC): #
gerrit
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest3.14.53.15.0_1---
FreeBSD:14:quarterly-----
FreeBSD:15:latest3.15.0_13.15.0_1n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT3.14.23.15.0_1n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies: #
  1. java : java/openjdk25
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
devel_gerrit
USES: #
cpe java
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://gerrit-releases.storage.googleapis.com/
Collapse this list.
Notes from UPDATING #
These upgrade notes are taken from /usr/ports/UPDATING
  • 2026-11-22
    Affects: users of devel/gerrit
    Author: delphij@FreeBSD.org
    Reason: 
      Gerrit 3.15 requires Java 25 and needs a schema migration and a
      changes index rebuild.  If gerrit_java_home is set in rc.conf, point
      it at a Java 25 runtime, then run:
    
        # service gerrit stop
        # su -m gerrit -c "/usr/local/openjdk25/bin/java -jar /usr/local/share/gerrit/gerrit.war init --batch -d /var/db/gerrit --no-auto-start"
        # su -m gerrit -c "/usr/local/openjdk25/bin/java -jar /usr/local/share/gerrit/gerrit.war reindex --index changes -d /var/db/gerrit"
        # service gerrit start
    
      The rc.d script now keeps its pidfile in /var/run/gerrit.  A stale
      /var/db/gerrit/logs/gerrit.pid from an earlier version can be removed.
    
    

Number of commits found: 4 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.15.0_1
24 Nov 2026 16:06:28
commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump ports with CPE data
3.15.0
24 Nov 2026 06:54:50
commit hash: 19b52118866cb01546939f931890de53e8c2c69acommit hash: 19b52118866cb01546939f931890de53e8c2c69acommit hash: 19b52118866cb01546939f931890de53e8c2c69acommit hash: 19b52118866cb01546939f931890de53e8c2c69a files touched by this commit
Xin LI (delphij) search for other commits by this committer
devel/gerrit: update to 3.15.0, fix rc.d and setup

Release notes: https://www.gerritcodereview.com/3.15.html

Gerrit 3.15 requires Java 25 and a schema migration plus changes
index rebuild; see UPDATING and pkg-message for the upgrade steps.

rc.d script:
- Keep the pidfile in /var/run/gerrit, created on start and owned
  by the service user, instead of the site's logs directory.
- Send daemon output to gerrit_log_file, which was created but
  never used.

Setup:
- Install /var/db/gerrit owned by gerrit:gerrit so the site can be
  initialized as the unprivileged user.
- Tell users to run init as the gerrit user with --no-auto-start,
  so init does not leave a Gerrit instance running outside of rc(8).
3.14.5
09 Nov 2026 07:04:48
commit hash: 29533faa9bf167f6de462d2c76980a21d7ef2cbbcommit hash: 29533faa9bf167f6de462d2c76980a21d7ef2cbbcommit hash: 29533faa9bf167f6de462d2c76980a21d7ef2cbbcommit hash: 29533faa9bf167f6de462d2c76980a21d7ef2cbb files touched by this commit
Xin LI (delphij) search for other commits by this committer
devel/gerrit: update to 3.14.5, fix pkg-message

The top-level pkg-message shadowed files/pkg-message.in, so users saw
literal %%DATADIR%% placeholders.  Remove it and add the template to
SUB_FILES.  Also substitute PORTVERSION in the documentation link.

Release notes:	https://www.gerritcodereview.com/3.14.html
3.14.2
08 Nov 2026 00:57:58
commit hash: 485d9c45c46e42bdc58d92e33863e95525f354a5commit hash: 485d9c45c46e42bdc58d92e33863e95525f354a5commit hash: 485d9c45c46e42bdc58d92e33863e95525f354a5commit hash: 485d9c45c46e42bdc58d92e33863e95525f354a5 files touched by this commit
Xin LI (delphij) search for other commits by this committer
devel/gerrit: add new port for Gerrit Code Review 3.14.2

Gerrit is a free, web-based code collaboration tool for Git-based
projects. It provides code review, repository management, and an
integrated SSH server for git operations.

This port installs the pre-built WAR file with an RC script for
running Gerrit as a daemon.

WWW: https://www.gerritcodereview.com/

Number of commits found: 4