BSD Ports

www/gitea 28.2.0 FreeBSD

Compact self-hosted Git service

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
20e15280c7
License
MIT
Categories
www
Package size
31590.0 KiB, 133539.1 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDwww/gitea28.2.0
OpenBSDwww/gitea1.27.3
NetBSDwww/gitea1.27.3nb2
DragonFlywww/gitea1.23.6
MidnightBSDwww/gitea1.18.0

Install

Binary package:

pkg install gitea

From the ports tree:

cd /usr/ports/www/gitea/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	gitea>0:www/gitea

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.27.3_11.27.3_1-1.24.2_21.27.3_1
FreeBSD:14:quarterly1.27.3_11.27.3_1n/a1.24.21.27.3_1
FreeBSD:15:latest1.27.3_11.27.3_1n/a-1.24.2_2
FreeBSD:15:quarterly1.27.3_11.27.3_1n/an/an/a
FreeBSD:16:latest-1.27.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 4
Run dependencies 13

No port depends on this one.

Configuration

Options name: www_gitea

OptionDefaultDescription
BINDATAoffBuild a single monolithic binary, with all assets included
GIT_LFSonSupport for Git Large File Storage (LFS)
PAMonEnable support for PAM
SQLITEonSQLite database support
USES
cpe gmake go:no_targets
Service scripts
gitea

Message after installing

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

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 /usr/local/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.

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.

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.

Files

pkg-plist 8
  • @sample etc/gitea/conf/app.ini.sample
  • etc/gitea/conf/app.ini.defaults
  • sbin/gitea
  • @dir share/gitea
  • @dir(git,git,755) /var/db/gitea
  • @dir(git,git,755) /var/db/gitea/data
  • @dir(git,git,755) /var/db/gitea/gitea-repositories
  • @dir(git,git,755) /var/log/gitea
distinfo 1
FileSizeSHA256
gitea-src-28.2.0.tar.gz7.0647717e+07b8ad80f8a79ea42fa5cf52bdc3d5fd3457bb6abd6bd57cfcfab6a5ad4f31c3dc
Master sites 2
  • https://github.com/go-gitea/gitea/releases/download/v28.2.0/
  • https://dl.gitea.io/gitea/28.2.0/

Commit history 10

DateCommitCreditsLog message
20e15280c7 Mamadou Babaei www/gitea: Update 1.27.3 => 28.2.0 (fix multiple CVEs)
Release Notes: https://blog.gitea.com/release-of-28.0.0/ https://blog.gitea.com/release-of-28.1.0/ https://blog.gitea.com/release-of-28.2.0/ Changelogs: https://github.com/go-gitea/gitea/releases/tag/v28.0.0 https://github.com/go-gitea/gitea/releases/tag/v28.1.0 https://github.com/go-gitea/gitea/releases/tag/v28.2.0 PR: 298979 Approved by: [email protected] (maintainer timeout, 3 weeks) Security: CVE-2026-104632 Security: CVE-2026-104626 Security: CVE-2026-103059 Security: CVE-2026-103667 Security: CVE-2026-95106 Security: CVE-2026-70357 Security: CVE-2026-101027 Security: CVE-2026-101029 Security: CVE-2026-89430 Security: CVE-2026-103670 Security: CVE-2026-94205 Security: CVE-2026-96399 Security: CVE-2026-96404 Security: CVE-2026-96589 Security: CVE-2026-96400 …
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
2c73fa4d6e Dag-Erling Smørgrav various: Drop Go 1.26+ version pin
This is a nop since 1.26 is the oldest supported version.
8d487ea143 Mamadou Babaei www/gitea: Security update 1.27.2 => 1.27.3
Release Notes: https://blog.gitea.com/release-of-1.27.3/ PR: 298072 Approved by: [email protected] (maintainer timeout, 2 weeks) Approved by: osa, vvd (Mentors, implicit) Security: CVE-2026-66877 Security: CVE-2026-71184 Security: CVE-2026-68957 Security: CVE-2026-60010 Security: CVE-2026-70406 Security: CVE-2026-63792 Security: CVE-2026-66874 Security: CVE-2026-68964 Security: CVE-2026-67577 Security: CVE-2026-66849 Security: CVE-2026-73135 Security: CVE-2026-78433 Security: CVE-2026-70407 Security: CVE-2026-73126 Security: CVE-2026-70400 Security: CVE-2026-70396 Security: CVE-2026-63021 Security: CVE-2026-62925 Security: CVE-2026-73273 Security: CVE-2026-60021 Security: CVE-2026-60018 Security: CVE-2026-73130 Security: CVE-2026-70402 Security: CVE-2026-66853 …

The latest 5 of 10 in the history this site was built from.