BSD Ports

Vulnerable: version 1.23.6 is affected by 4 known vulnerabilities. See below.

www/gitea 1.23.6 DragonFly

Compact self-hosted Git service

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
www
Package size
30118.2 KiB, 136817.0 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
DragonFlywww/gitea1.23.6
FreeBSDwww/gitea28.2.0
OpenBSDwww/gitea1.27.3
NetBSDwww/gitea1.27.3nb2
MidnightBSDwww/gitea1.18.0
HardenedBSDwww/gitea1.27.3
GhostBSDwww/gitea1.27.3

Install

Binary package:

pkg install gitea

From DPorts:

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

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

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.

Known vulnerabilities 4