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 photos
All times are UTC
Ukraine
Port details on branch 2026Q2
forgejo Compact self-hosted Git forge
14.0.5 www on this many watch lists=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 14.0.5Version of this port present on the latest quarterly branch.
Maintainer: des@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-07 17:48:06
Last Update: 2026-04-29 16:59:41
Commit Hash: 5e28a912
License: GPLv3+
WWW:
https://forgejo.org/
Description:
A self-hosted Git service. Forgejo is a community managed soft-fork of Gitea, which is a fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.
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 (14 items)
Collapse this list.
  1. /usr/local/share/licenses/forgejo-14.0.5/catalog.mk
  2. /usr/local/share/licenses/forgejo-14.0.5/LICENSE
  3. /usr/local/share/licenses/forgejo-14.0.5/GPLv3+
  4. @sample etc/forgejo/conf/app.ini.sample
  5. etc/forgejo/conf/app.ini.defaults
  6. sbin/forgejo
  7. @comment @dir share/forgejo
  8. @dir(git,git,755) /var/db/forgejo
  9. @dir(git,git,755) /var/db/forgejo/data
  10. @dir(git,git,755) /var/db/forgejo/forgejo-repositories
  11. @dir(git,git,755) /var/log/forgejo
  12. @owner
  13. @group
  14. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • forgejo
Dependency lines:
  • forgejo>0:www/forgejo
Conflicts:
CONFLICTS_INSTALL:
  • forgejo-lts
  • forgejo7
To install the port:
cd /usr/ports/www/forgejo/ && make install clean
To add the package, run one of these commands:
  • pkg install www/forgejo
  • pkg install forgejo
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: forgejo
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1777479557 SHA256 (forgejo-src-14.0.5.tar.gz) = c5324571b1b8ef9d3ff954cd9372c37b0e0cabc902d2624ec6cbd8649d56e30d SIZE (forgejo-src-14.0.5.tar.gz) = 48132807

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. go125 : lang/go125
Runtime dependencies:
  1. git : devel/git
  2. git-lfs : devel/git-lfs
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for forgejo-14.0.5: BINDATA=on: Build a single monolithic binary, with all assets included GIT_LFS=on: Support for Git Large File Storage (LFS) PAM=on: Enable support for PAM SQLITE=on: SQLite database support ===> Use 'make config' to modify these settings
Options name:
www_forgejo
USES:
cpe gmake go:1.25+,no_targets
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeberg.org/forgejo/forgejo/releases/download/v14.0.5/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
14.0.5
29 Apr 2026 16:59:41
commit hash: 5e28a912a03a17d352e448d6a49fe49dce391216commit hash: 5e28a912a03a17d352e448d6a49fe49dce391216commit hash: 5e28a912a03a17d352e448d6a49fe49dce391216commit hash: 5e28a912a03a17d352e448d6a49fe49dce391216 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
www/foregjo: Update to 14.0.5

Changelog:
*
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/14.0.5.md

MFH:		2026Q2
(cherry picked from commit ebe4b4ee79ce847f736b39ede67058848ca4d69d)
14.0.4_2
25 Apr 2026 18:19:04
commit hash: a50884eef5b4f3a8b16ec56e0743c2a2578672d6commit hash: a50884eef5b4f3a8b16ec56e0743c2a2578672d6commit hash: a50884eef5b4f3a8b16ec56e0743c2a2578672d6commit hash: a50884eef5b4f3a8b16ec56e0743c2a2578672d6 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
www/forgejo: Fix non-BINDATA case

DATADIR is still needed for static assets in the non-BINDATA case.
Point StaticRootPath at it.  In the BINDATA case (which is the default),
the assets are linked into the binary and StaticRootPath is not used.

PR:		294619
Fixes:		3686ad021c23 ("www/forgejo: Correct AppWorkPAth")
MFH:		2026Q2
(cherry picked from commit e75690e3147e1f973ad5936934721619ab319754)
14.0.4_1
19 Apr 2026 15:07:48
commit hash: 186c106f0c77a417cc549e46cda0539f0026d950commit hash: 186c106f0c77a417cc549e46cda0539f0026d950commit hash: 186c106f0c77a417cc549e46cda0539f0026d950commit hash: 186c106f0c77a417cc549e46cda0539f0026d950 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
www/forgejo: Correct AppWorkPAth

We were incorrectly setting AppWorkPath to DATADIR and creating DATADIR
on installation.  Set it to DBDIR instead to match the app.ini and rc
script we generate.  This should be a nop for anyone with a working
configuration, and should allow forgejo-cli to work without explicitly
specifying the correct work directory.

PR:		294619
MFH:		2026Q2
(cherry picked from commit 3686ad021c2308f83b00ccba3e046b69dbb0ecf6)
14.0.4
11 Apr 2026 17:07:29
commit hash: 8d2de24a5e188b14641377c27a9a581a5efffe75commit hash: 8d2de24a5e188b14641377c27a9a581a5efffe75commit hash: 8d2de24a5e188b14641377c27a9a581a5efffe75commit hash: 8d2de24a5e188b14641377c27a9a581a5efffe75 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
www/foregjo: Update to 14.0.4

Changelog:
*
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/14.0.4.md

MFH:		2026Q2
(cherry picked from commit 4a534eca000565556a49d837b3ea1c7472b68def)
14.0.3_2
10 Apr 2026 16:19:03
commit hash: 9c91901491db265de51255eeec8093989f724305commit hash: 9c91901491db265de51255eeec8093989f724305commit hash: 9c91901491db265de51255eeec8093989f724305commit hash: 9c91901491db265de51255eeec8093989f724305 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump go ports for go-1.25.9 / 1.26.2
14.0.3_1
07 Apr 2026 17:47:15
commit hash: 56d3b2908f0648db6e3e1529fa51eee7d14125aecommit hash: 56d3b2908f0648db6e3e1529fa51eee7d14125aecommit hash: 56d3b2908f0648db6e3e1529fa51eee7d14125aecommit hash: 56d3b2908f0648db6e3e1529fa51eee7d14125ae files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
www/forgejo: Fix PAM authentication

Add an upstream patch which addresses an issue with PAM authentication.

MFH:		2026Q2
(cherry picked from commit 2b64940408072efce43c002eaa5120e874fa56d9)

Number of commits found: 6