3 of 4 on in the package: GIT_LFSPAMSQLITEShow the 1 options that are off
BINDATA
pkg-message
Shown after upgrading
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
Shown after upgrading
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.
Shown after upgrading
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.
Shown after upgrading
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.
Packages by version and architecture
latest
FreeBSD version
amd64
aarch64
i386
FreeBSD 16
28.2.0
✗
–
FreeBSD 15
28.2.0
1.27.3_1
–
FreeBSD 14
28.2.0
1.27.3_1
28.2.0
quarterly (2026Q4)
FreeBSD version
amd64
aarch64
i386
FreeBSD 15
✗
1.27.3_1
–
FreeBSD 14
✗
1.27.3_1
✗
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by pkg audit for the packaged version 28.2.0.
Fixed (63)
Show 63 fixed
VuXML entries whose affected range the packaged version has left.
www/gitea: Re-release 1.15.9
The Gitea project updated the release reusing the same version/tag.
Update the distinfo to the new values. Information provided through
their Discord.
PR: 261085
MFH: 2022Q1
www/gitea: Update to 1.15.7
1.15.7 includes 20 bugsfixea and two enhancements.
Release notes:
https://blog.gitea.io/2021/12/gitea-1.15.7-is-released/
PR: 260205
www/gitea: Update to 1.12.6
SECURITY
Prevent git operations for inactive users (#13527) (#13537)
Disallow urlencoded new lines in git protocol paths if there is a port (#13521) (#13525)
BUGFIXES
API should only return Json (#13511) (#13564)
Fix before and since query arguments at API (#13559) (#13560)
Prevent panic on git blame by limiting lines to 4096 bytes at most (#13470) (#13492)
Fix link detection in repository description with tailing ‘_’ (#13407) (#13408)
Remove obsolete change of email on profile page (#13341) (#13348)
Fix permission check on get Reactions API endpoints (#13344) (#13346)
Add migrated pulls to pull request task queue (#13331) (#13335)
API deny wrong pull creation options (#13308) (#13327)
Fix initial commit page & binary munching problem (#13249) (#13259)
Fix diff parsing (#13157) (#13136) (#13139)
Return error 404 not 500 from API if team does not exist (#13118) (#13119)
Prohibit automatic downgrades (#13108) (#13111)
Fix GitLab Migration Option AuthToken (#13101)
GitLab Label Color Normalizer (#12793) (#13100)
Log the underlying panic in runMigrateTask (#13096) (#13098)
Fix attachments list in edit comment (#13036) (#13097)
Fix deadlock when deleting team user (#13093)
Fix error create comment on outdated file (#13041) (#13042)
Fix repository create/delete event webhooks (#13008) (#13027)
Fix internal server error on README in submodule (#13006) (#13016)
PR: 251296
Submitted by: maintainer
MFH: 2020Q4
Security: https://github.com/go-gitea/gitea/pull/13527
https://github.com/go-gitea/gitea/pull/13521
www/gitea: Update to 1.12.4
v1.12.4: * SECURITY
* Escape provider name in oauth2 provider redirect (#12648) (#12650)
* Escape Email on password reset page (#12610) (#12612)
* When reading expired sessions - expire them (#12686) (#12690)
* ENHANCEMENTS
* StaticRootPath configurable at compile time (#12371) (#12652)
* BUGFIXES
* Fix to show an issue that is related to a deleted issue (#12651) (#12692)
* Expire time acknowledged for cache (#12605) (#12611)
* Fix diff path unquoting (#12554) (#12575)
* Improve HTML escaping helper (#12562)
* models: break out of loop (#12386) (#12561)
* Default empty merger list to those with write permissions (#12535) (#12560)
* Skip SSPI authentication attempts for /api/internal (#12556) (#12559)
* Prevent NPE on commenting on lines with invalidated comments (#12549) (#12550)
* Remove hardcoded ES indexername (#12521) (#12526)
* Fix bug preventing transfer to private organization (#12497) (#12501)
* Keys should not verify revoked email addresses (#12486) (#12495)
* Do not add prefix on http/https submodule links (#12477) (#12479)
* Fix ignored login on compare (#12476) (#12478)
* Fix incorrect error logging in Stats indexer and OAuth2 (#12387) (#12422)
* Upgrade google/go-github to v32.1.0 (#12361) (#12390)
* Render emoji's of Commit message on feed-page (#12373)
* Fix handling of diff on unrelated branches when Git 2.28 used (#12370)
PR: 249095
Submitted by: Greg Fitzgerald
Approved by: maintainer (implicit)
gitea: Update to 1.12.3
1.12.3 - 2020-07-28
BUGFIXES
Don't change creation date when updating Release (#12343) (#12351)
Show 404 page when release not found (#12328) (#12332)
Fix emoji detection in certain cases (#12320) (#12327)
Reduce emoji size (#12317) (#12327)
Fix double-indirection bug in logging IDs (#12294) (#12308)
Link to pull list page on sidebar when view pr (#12256) (#12263)
Extend Notifications API and return pinned notifications by default (#12164) (#12232)
PR: 248375
Submitted by: Greg Fitzgerald
Approved by: maintainer
gitea: Update to 1.12.2
This release fixes a large number of bugs and introduces many new features.
Release notes:
- https://blog.gitea.io/2020/06/gitea-1.12.0-and-1.12.1-are-released/
- https://blog.gitea.io/2020/07/gitea-1.12.2-is-released/
Additional changes to the port:
- Use PORTDATA to avoid enumerating the extensive DATADIR
- Add option to rc file for custom path [1]
- Turn the BINDATA option on by default
PR: 247613, 247989 [1]
Submitted by: maintainer, mikeg bsd-box net [1]
Approved by: maintainer [1]
gitea: Update to 1.11.6
Update Gitea to 1.11.6
This release fixes two security issues and 14 bugs.
Release notes: https://github.com/go-gitea/gitea/releases/tag/v1.11.6
And despite /some/ work being done on the invalid Go template syntax for the
Wiki pages, the main bug has not been fixed and merged, so the patch still is
required.
PR: 246892
Submitted by: maintainer
MFH: 2020Q2
Relnotes: https://github.com/go-gitea/gitea/releases/tag/v1.11.6
Security: yes, see Relnotes
www/gitea: Fix viewing of branches with a slash in the name
An issue[0] was filed upstream in January that branches with a slash in
their name (e.g. stable/11) result in a 500 error when attempting to view
them.
I tracked down the issue to the fact that read(2) on a directory fd in
FreeBSD will actually succeed, while it will not on Linux/other OS. I have
filed a PR[1] with go-git to remedy the problem there, and then we
(hopefully) convince gitea maintainers to accept the patch as well once it's
upstreamed.
The attached patch brings it into the ports tree as well, so that FreeBSD
users can more immediately get the fix. It should still apply to the version
in 2020Q2, more or less, with version numbers changed to protect the
innocent.
[0] https://github.com/go-gitea/gitea/issues/9938
[1] https://github.com/go-git/go-git/pull/39
PR: 245863
Approved by: <stb lassitu de> (maintainer)
Aoorived by: koobs (mentor, ports)
MFH: 2020Q2 (minor bugfix patch)
gitea: Update to 1.11.5
This release fixes 22 bugs, and includes two enhancements.
Release notes: https://github.com/go-gitea/gitea/releases/tag/v1.11.5
PR: 246353
Submitted by: maintainer
gitea: Fix wiki page display
From the PR:
Right now, the version of gitea shipped in ports fails to display wiki
pages. Any wiki page opened results in the following error:
template: repo/wiki/view:48:14: executing "repo/wiki/view" at <(not
$.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned
$.ExposeAnonSSH))>: can't give argument to non-function not
$.DisableHTTP
This is due to extra parentheses in templates/repo/wiki/view.tmpl and
has already been fixed upstream in [1], [2].
I've pulled the single line template fix from upstream and added the
patch to our port. As a workaround, users can also fix the problem by
placing the corrected template in
/usr/local/etc/gitea/templates/repo/wiki/view.tmpl.
Cheers,
Sascha
[1] https://github.com/go-gitea/gitea/issues/10552
[2] https://github.com/zeripath/gitea/commit/1830d0ed5f4a67e3360ecbb55933b5540b6affce
PR: 246020
Submitted by: Sascha Biberhofer
Approved by: maintainer
gitea: Add GIT_LFS option
Add a GIT_LFS option (on by default) for environments that don't want to
make LFS available.
While here, change the pkg-message UCL to only show when upgrading from
< 1.8.0.
Approved by: maintainer
gitea: Update to 1.11.3
This release fixes three bugs.
Release notes: https://blog.gitea.io/2020/03/gitea-1.11.3-and-1.10.6-released/
Also fix LDFLAGS so that the version number (among other things) is built into
the binary correctly, and make the regexp used in the Makefile work with
bsdgrep (both thanks to adamw).
Will MFH due to bsdgrep build failure and stopwatch panic fix.
PR: 244898
Submitted by: maintainer
MFH: 2020Q1