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 2025Q1
gitea Compact self-hosted Git service
1.23.6 www on this many watch lists=0 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.25.5_1Version of this port present on the latest quarterly branch.
Maintainer: stb@lassitu.de search for ports maintained by this maintainer
Port Added: 2025-01-21 23:30:14
Last Update: 2025-03-30 13:28:16
Commit Hash: ce10d12
License: MIT
WWW:
https://gitea.io/en-US/
Description:
A self-hosted Git service. Gitea is a community managed 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 (12 items)
Collapse this list.
  1. /usr/local/share/licenses/gitea-1.23.6/catalog.mk
  2. /usr/local/share/licenses/gitea-1.23.6/LICENSE
  3. /usr/local/share/licenses/gitea-1.23.6/MIT
  4. @sample etc/gitea/conf/app.ini.sample
  5. etc/gitea/conf/app.ini.defaults
  6. sbin/gitea
  7. @dir(git,git,755) /var/db/gitea
  8. @dir(git,git,755) /var/db/gitea/gitea-repositories
  9. @dir(git,git,755) /var/log/gitea
  10. @owner
  11. @group
  12. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • gitea>0:www/gitea
To install the port:
cd /usr/ports/www/gitea/ && make install clean
To add the package, run one of these commands:
  • pkg install www/gitea
  • pkg install gitea
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gitea
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1743171461 SHA256 (gitea-src-1.23.6.tar.gz) = 7704ebce0e31617d9dad985d3f3f4828855ad856383b9efc5a2f81befbed693c SIZE (gitea-src-1.23.6.tar.gz) = 55397368

Packages (timestamps in pop-ups are UTC):
gitea
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.25.51.25.4_1-1.24.2_31.25.5_1n/an/an/a
FreeBSD:13:quarterly1.25.5_11.25.5_1-1.24.21.25.5_1n/an/an/a
FreeBSD:14:latest1.25.5_11.25.5_1-1.24.2_21.25.5_1---
FreeBSD:14:quarterly1.25.5_11.25.5_1-1.24.21.25.5_1---
FreeBSD:15:latest1.25.5_11.25.5_1n/a-n/an/a--
FreeBSD:15:quarterly1.25.5_11.25.5_1n/a-n/an/a--
FreeBSD:16:latest1.25.51.25.5_1n/a-n/an/a--
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. go123 : lang/go123
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 gitea-1.23.6: BINDATA=off: 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_gitea
USES:
cpe gmake go:1.23,no_targets
pkg-message:
If upgrading from < 1.20.0:
Please make sure to empty or maintain the contents of the /usr/local/share/gitea folder between your upgrades of gitea. Changes between versions can break the web UI due to residual files from earlier versions. 1.21.0 has a breaking change regarding the public assets folder. In case you use a proxying webserver serving the files, you need to update your configuration: https://github.com/go-gitea/gitea/pull/25907
If upgrading from < 1.7.6:
When upgrading from Gitea 1.7 or earlier, Gitea requires the addition of another secret to the config file in order to start up. Either manually add JWT_SECRET to the ${PREFIX}/etc/gitea/conf/app.ini config file (see app.ini.sample), or allow Gitea to make the change for you by making the config file writable to the git user.
If upgrading from < 1.15.0:
Some config file options have been changed in Gitea 1.15. Please refer to the documentation at https://docs.gitea.io/en-us/customizing-gitea/ and the release notes.
If upgrading from < 1.15.1:
We remind users that a bug was discovered with gitea dump in 1.14.3-1.14.6 and 1.15.0. Database dumps from these versions cause broken fields in the repo_unit and login_source tables causing the issue identified in #16961. Users on 1.14.x must upgrade to 1.14.7 before running gitea dump. See the release notes for more information.
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://dl.gitea.io/gitea/1.23.6/
  2. https://github.com/go-gitea/gitea/releases/download/v1.23.6/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.23.6
30 Mar 2025 13:28:16
commit hash: ce10d122e2be9439245731e1dddf91e6e9da8ba6commit hash: ce10d122e2be9439245731e1dddf91e6e9da8ba6commit hash: ce10d122e2be9439245731e1dddf91e6e9da8ba6commit hash: ce10d122e2be9439245731e1dddf91e6e9da8ba6 files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: FiLiS
www/gitea: Update 1.23.5 => 1.23.6 (CVE-2025-30204, CVE-2025-29923,
CVE-2025-22870)

This release also addresses the following security vulnerabilities:
 - CVE-2025-30204 in jwt and CVE-2025-29923 in go-redis – thanks to
   @TheFox0x7 for the fix.
 - CVE-2025-22870 in golang.org/x/crypto and golang.org/x/net – fixed
   for security hardening. Thanks again to @wxiaoguang for the
   contribution.

Changelog:
https://blog.gitea.com/release-of-1.23.6/

PR:		285727
Approved by:	Stefan Bethke <stb@lassitu.de> (maintainer)
MFH:		2025Q1

(cherry picked from commit 25fbbf6ad58085c9127a92461a39344b8f792163)
1.23.5
06 Mar 2025 19:25:52
commit hash: 01213ea5c79e98f7700aa4bc613e10b2b8875bafcommit hash: 01213ea5c79e98f7700aa4bc613e10b2b8875bafcommit hash: 01213ea5c79e98f7700aa4bc613e10b2b8875bafcommit hash: 01213ea5c79e98f7700aa4bc613e10b2b8875baf files touched by this commit This port version is marked as vulnerable.
Vladimir Druzenko (vvd) search for other commits by this committer
Author: FiLiS
www/gitea: Update 1.23.3 → 1.23.5 (fix security issues)

Changelogs:
https://blog.gitea.com/release-of-1.23.4/
https://blog.gitea.com/release-of-1.23.5/

PR:		285191
Approved by:	Stefan Bethke <stb@lassitu.de> (maintainer)
MFH:		2025Q1

(cherry picked from commit 5cbc9c46110d1261669de8e9ca4fddd77d9dcdb6)
1.23.3
09 Feb 2025 13:18:46
commit hash: 7dff6c6d17db33bf2803435b39d6e6b6c841294fcommit hash: 7dff6c6d17db33bf2803435b39d6e6b6c841294fcommit hash: 7dff6c6d17db33bf2803435b39d6e6b6c841294fcommit hash: 7dff6c6d17db33bf2803435b39d6e6b6c841294f files touched by this commit This port version is marked as vulnerable.
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Stefan Bethke
www/gitea: Update 1.23.1 → 1.23.3

Security:
 * Build Gitea with Golang v1.23.6 to fix security bugs

Changelogs:
https://github.com/go-gitea/gitea/releases/tag/v1.23.2
https://github.com/go-gitea/gitea/releases/tag/v1.23.3

PR:	284675
MFH:	2025Q1
(cherry picked from commit 7313293ea2aa1b544be33a5eb32924ceceaa9589)
1.23.1
26 Jan 2025 18:44:26
commit hash: e538d246b3cbb0ab9875c2804a8a7ad612f0dd47commit hash: e538d246b3cbb0ab9875c2804a8a7ad612f0dd47commit hash: e538d246b3cbb0ab9875c2804a8a7ad612f0dd47commit hash: e538d246b3cbb0ab9875c2804a8a7ad612f0dd47 files touched by this commit This port version is marked as vulnerable.
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Stefan Bethke
www/gitea: Update 1.22.6 → 1.23.1 (fixes security vulnerability)

Announcement:
https://blog.gitea.com/release-of-1.23.0/
Release Notes:
https://github.com/go-gitea/gitea/releases/tag/v1.23.0
https://github.com/go-gitea/gitea/releases/tag/v1.23.1

PR:	284360
MFH:	2025Q1
(cherry picked from commit 95b887efad8f60836bed72f9880dfcddb4a5f0bd)
1.22.6_1
21 Jan 2025 22:52:53
commit hash: 3a5f172d6756b805c68894d3da4c10a12a595449commit hash: 3a5f172d6756b805c68894d3da4c10a12a595449commit hash: 3a5f172d6756b805c68894d3da4c10a12a595449commit hash: 3a5f172d6756b805c68894d3da4c10a12a595449 files touched by this commit This port version is marked as vulnerable.
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go122 update

PR:		284181
MFH:		2025Q1
(cherry picked from commit 39522060fe30d16b47ca1671b543507a15d0817b)

Number of commits found: 5