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 photosAll times are UTC
Ukraine
Port details
forgejo Compact self-hosted Git service
9.0.3 www on this many watch lists=7 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 9.0.3Version of this port present on the latest quarterly branch.
Maintainer: stb@lassitu.de search for ports maintained by this maintainer
Port Added: 2024-03-09 13:45:04
Last Update: 2024-12-17 23:35:59
Commit Hash: cb922a9
People watching this port, also watch:: unbound, dovecot, nginx, postfix, php83-opcache
License: MIT
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-9.0.3/catalog.mk
  2. /usr/local/share/licenses/forgejo-9.0.3/LICENSE
  3. /usr/local/share/licenses/forgejo-9.0.3/MIT
  4. @sample etc/forgejo/conf/app.ini.sample
  5. etc/forgejo/conf/app.ini.defaults
  6. sbin/forgejo
  7. @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.
Dependency lines:
  • forgejo>0:www/forgejo
Conflicts:
CONFLICTS_INSTALL:
  • forgejo[0-79]*
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 = 1734457879 SHA256 (forgejo-src-9.0.3.tar.gz) = 805fa2e8e799b8ba9e3cae2984033295d1a46fb24271e673dd01362cfefe8881 SIZE (forgejo-src-9.0.3.tar.gz) = 54029967

Packages (timestamps in pop-ups are UTC):
forgejo
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest9.0.1_19.0.3-9.0.1_19.0.3---
FreeBSD:13:quarterly9.0.39.0.3-9.0.39.0.3---
FreeBSD:14:latest9.0.1_19.0.3-9.0.1_19.0.3---
FreeBSD:14:quarterly9.0.39.0.3-9.0.39.0.3---
FreeBSD:15:latest9.0.1_19.0.3n/a-n/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 forgejo-9.0.3: 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.23,no_targets
pkg-message:
For install:
Before starting forgejo for the first time, you must set a number of secrets in the configuration file. For your convenience, a sample file has been copied to /usr/local/etc/forgejo/conf/app.ini. You need to replace every occurence of CHANGE_ME in the file with sensible values. Please refer to the official documentation at https://forgejo.org for details. You will also likely need to create directories for persistent storage. Run su -m git -c 'forgejo doctor check' to check if all prerequisites have been met.
If upgrading from < 1.21:
Since forgejo version 7, the startup script will run forgejo doctor check to verify that forgejo can be started successfully. If you are sure that forgejo will start even if doctor has identified an issue, you can disable the check by setting forgejo_configcheck_enabled=NO in rc.conf.
If upgrading from < 8.0.2:
Breaking changes: upgrading from Forgejo 8 changes the semantics of some authentication, breaking previously working API calls. Please see the release notes for details: https://codeberg.org/forgejo/forgejo/milestone/7235
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeberg.org/forgejo/forgejo/releases/download/v9.0.3/
Collapse this list.

Number of commits found: 20

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
9.0.3
17 Dec 2024 23:35:59
commit hash: cb922a9818d37a0b82c92ff7b392edd8d401a4becommit hash: cb922a9818d37a0b82c92ff7b392edd8d401a4becommit hash: cb922a9818d37a0b82c92ff7b392edd8d401a4becommit hash: cb922a9818d37a0b82c92ff7b392edd8d401a4be files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Stefan Bethke
www/forgejo: Update 9.0.1 → 9.0.3 (fixes security vulnerabilities)

Release notes:
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/9.0.2.md
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/9.0.3.md

PR:	283388
MFH:	2024Q4
9.0.1_1
21 Nov 2024 16:17:04
commit hash: 2aa09e577ed8f1a0c1e79abd1836779cb8ca9411commit hash: 2aa09e577ed8f1a0c1e79abd1836779cb8ca9411commit hash: 2aa09e577ed8f1a0c1e79abd1836779cb8ca9411commit hash: 2aa09e577ed8f1a0c1e79abd1836779cb8ca9411 files touched by this commit This port version is marked as vulnerable.
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Rudolph
www/forgejo: Switch to using "FORGEJO_" prefixed environment variables

Switch the environment variables specified in the Forgejo RC file from
"GITEA_" to "FORGEJO_".
The old variables are still work, but new are preffered:
https://codeberg.org/forgejo/forgejo/src/commit/7015bdfa480e717299377b4547320ae6d70e9da2/modules/setting/path.go#L123
Also, the Forgejo documentation uses new names:
https://forgejo.org/docs/latest/admin/config-cheat-sheet/

PR:		282771
Approved by:	Stefan Bethke <stb@lassitu.de> (maintainer)
9.0.1_1
08 Nov 2024 20:59:26
commit hash: 9ac7419a4970c46871ae5c1ee4a8c1c1a9f1a2e5commit hash: 9ac7419a4970c46871ae5c1ee4a8c1c1a9f1a2e5commit hash: 9ac7419a4970c46871ae5c1ee4a8c1c1a9f1a2e5commit hash: 9ac7419a4970c46871ae5c1ee4a8c1c1a9f1a2e5 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/go123 update
9.0.1
29 Oct 2024 15:20:59
commit hash: b56cd15e5b4777fcc02cc6b3e81e6f096c692f83commit hash: b56cd15e5b4777fcc02cc6b3e81e6f096c692f83commit hash: b56cd15e5b4777fcc02cc6b3e81e6f096c692f83commit hash: b56cd15e5b4777fcc02cc6b3e81e6f096c692f83 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/forgejo: Update 9.0.0 → 9.0.1 (fixes security vulnerabilities)

Changelog:
https://codeberg.org/forgejo/forgejo/milestone/8544

PR:	282387
MFH:	2024Q4
9.0.0
20 Oct 2024 19:58:11
commit hash: c88a65a9a7faddec69f6342a5a963b3594204f96commit hash: c88a65a9a7faddec69f6342a5a963b3594204f96commit hash: c88a65a9a7faddec69f6342a5a963b3594204f96commit hash: c88a65a9a7faddec69f6342a5a963b3594204f96 files touched by this commit This port version is marked as vulnerable.
Joel Bodenmann (jbo) search for other commits by this committer
Author: Stefan Bethke
www/forgejo: Update to 9.0.0

Changelog: https://codeberg.org/forgejo/forgejo/milestone/7235

PR:	282153
8.0.3
06 Sep 2024 20:33:40
commit hash: 891df28121bb41ca62e10c38089e8045090f0310commit hash: 891df28121bb41ca62e10c38089e8045090f0310commit hash: 891df28121bb41ca62e10c38089e8045090f0310commit hash: 891df28121bb41ca62e10c38089e8045090f0310 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/forgejo: Update 8.0.2 → 8.0.3 (fixes security vulnerability)

Changelog:
  Security
    - PR (backported): replace v-html with v-text in branch search
      inputbox for XSS protection
    - PR: Upgrade webpack to v5.94.0 as a precaution to mitigate
      CVE-2024-43788, although we were not yet able to confirm that
      this can be exploited in Forgejo.
https://codeberg.org/forgejo/forgejo/milestone/8231

PR:	281314
MFH:	2024Q3
8.0.2
04 Sep 2024 21:12:16
commit hash: 2aef28e7e64b47a6b35e98fe58bf11a226e4b842commit hash: 2aef28e7e64b47a6b35e98fe58bf11a226e4b842commit hash: 2aef28e7e64b47a6b35e98fe58bf11a226e4b842commit hash: 2aef28e7e64b47a6b35e98fe58bf11a226e4b842 files touched by this commit This port version is marked as vulnerable.
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Marko Cupać
www/forgejo7: Update 7.0.4 → 7.0.8

Branch 7.0.x is a kind of LTS - supported until July of 2025:
https://forgejo.org/2024-07-release-v8-0/#release-schedule-and-long-term-support

Changelogs:
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-5
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-6
https://codeberg.org/forgejo/forgejo/milestone/7683
https://codeberg.org/forgejo/forgejo/milestone/7729

 - Take maintainership.
 - Add CONFLICTS_INSTALL with www/forgejo.

PR:	280532
8.0.2
30 Aug 2024 22:26:48
commit hash: 5737efc12f17aac0dd208c00f865445866684811commit hash: 5737efc12f17aac0dd208c00f865445866684811commit hash: 5737efc12f17aac0dd208c00f865445866684811commit hash: 5737efc12f17aac0dd208c00f865445866684811 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/forgejo: Update 8.0.1 → 8.0.2 (fixes security vulnerability)

Changelog:
https://codeberg.org/forgejo/forgejo/milestone/7728

PR:	281133
MFH:	2024Q3
8.0.1
26 Aug 2024 01:18:47
commit hash: ba954124e5279d7c56b685456dca8c1be9004f30commit hash: ba954124e5279d7c56b685456dca8c1be9004f30commit hash: ba954124e5279d7c56b685456dca8c1be9004f30commit hash: ba954124e5279d7c56b685456dca8c1be9004f30 files touched by this commit This port version is marked as vulnerable.
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Älven
www/forgejo: update 8.0.0 → 8.0.1, fix security issue

Release notes:
We strongly recommend that all Forgejo installations are upgraded to
the latest version as soon as possible.
https://forgejo.org/2024-08-release-v801/#recommended-action

PR:	281056
8.0.0_1
09 Aug 2024 06:24:09
commit hash: aeb01135150a7f1da57a02c0169cdae9886fb319commit hash: aeb01135150a7f1da57a02c0169cdae9886fb319commit hash: aeb01135150a7f1da57a02c0169cdae9886fb319commit hash: aeb01135150a7f1da57a02c0169cdae9886fb319 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
8.0.0
30 Jul 2024 19:11:13
commit hash: 10f54e767b07310246d139f2f1b839f7f2728110commit hash: 10f54e767b07310246d139f2f1b839f7f2728110commit hash: 10f54e767b07310246d139f2f1b839f7f2728110commit hash: 10f54e767b07310246d139f2f1b839f7f2728110 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/forgejo: update 7.0.4 → 8.0.0

Changelogs:
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#8-0-0

PR:	280515
7.0.4_1
03 Jul 2024 08:29:47
commit hash: f36b85a91c51dd4660f628b4f6e6eb5f38bd18a2commit hash: f36b85a91c51dd4660f628b4f6e6eb5f38bd18a2commit hash: f36b85a91c51dd4660f628b4f6e6eb5f38bd18a2commit hash: f36b85a91c51dd4660f628b4f6e6eb5f38bd18a2 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
7.0.4
19 Jun 2024 06:37:17
commit hash: be43fb2830c94e23e0d9aa49ef9b982b0ab31e2ccommit hash: be43fb2830c94e23e0d9aa49ef9b982b0ab31e2ccommit hash: be43fb2830c94e23e0d9aa49ef9b982b0ab31e2ccommit hash: be43fb2830c94e23e0d9aa49ef9b982b0ab31e2c files touched by this commit This port version is marked as vulnerable.
Fernando Apesteguía (fernape) search for other commits by this committer
Author: Stefan Bethke
www/forgejo: update to 7.0.4 (fixes security vulnerabilities)

CVE-2024-24789: the archive/zip package's handling of certain types of invalid
zip files differs from the behavior of most zip implementations. This
misalignment could be exploited to create an zip file with contents that vary
depending on the implementation reading the file.

PR:		279781
Reported by:	stb@lassitu.de (maintainer)
MFH:		2024Q2
Security:	CVE-2024-24789
7.0.3_1
15 Jun 2024 09:52:23
commit hash: b24868e7be03b2ce962ee5e9ead293c10dc15cfbcommit hash: b24868e7be03b2ce962ee5e9ead293c10dc15cfbcommit hash: b24868e7be03b2ce962ee5e9ead293c10dc15cfbcommit hash: b24868e7be03b2ce962ee5e9ead293c10dc15cfb 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

MFH:		2024Q2
7.0.3
24 May 2024 17:50:09
commit hash: b7a05632d12830f7ee8020e7006eb9e5ef3c5305commit hash: b7a05632d12830f7ee8020e7006eb9e5ef3c5305commit hash: b7a05632d12830f7ee8020e7006eb9e5ef3c5305commit hash: b7a05632d12830f7ee8020e7006eb9e5ef3c5305 files touched by this commit This port version is marked as vulnerable.
Fernando Apesteguía (fernape) search for other commits by this committer
Author: Stefan Bethke
www/forgejo: update to 7.0.3 (fixes CVE)

ChangeLog:
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-3

PR:		279250
Reported by:	stb@lassitu.de (maintainer)
MFH:		2024Q2 (security fix)
Security:	CVE-2024-24788
7.0.2
16 May 2024 17:26:36
commit hash: bfcf765a321bcf7ed02348a07b6cbcc32987c0b9commit hash: bfcf765a321bcf7ed02348a07b6cbcc32987c0b9commit hash: bfcf765a321bcf7ed02348a07b6cbcc32987c0b9commit hash: bfcf765a321bcf7ed02348a07b6cbcc32987c0b9 files touched by this commit This port version is marked as vulnerable.
Li-Wen Hsu (lwhsu) search for other commits by this committer
Author: Stefan Bethke
www/forgejo: Update to 7.0.2

Also improve diagnostics prior to starting the service, add information
to pkg-message, and enable running the forgejo binary on the command
line more easily.

Release notes:
  https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-2

PR:		278876
1.21.10.0_2
13 May 2024 17:56:04
commit hash: fce0cc32720e61042bc675152b116f9e61532e92commit hash: fce0cc32720e61042bc675152b116f9e61532e92commit hash: fce0cc32720e61042bc675152b116f9e61532e92commit hash: fce0cc32720e61042bc675152b116f9e61532e92 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/go121 update

MFH:		2024Q2
1.21.10.0_1
15 Apr 2024 08:20:04
commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0 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/go121 update

MFH:		2024Q2
1.21.10.0
11 Apr 2024 06:39:44
commit hash: e2de6b1f887b2ef36fad6b574a292889eab66ea1commit hash: e2de6b1f887b2ef36fad6b574a292889eab66ea1commit hash: e2de6b1f887b2ef36fad6b574a292889eab66ea1commit hash: e2de6b1f887b2ef36fad6b574a292889eab66ea1 files touched by this commit This port version is marked as vulnerable.
Fernando Apesteguía (fernape) search for other commits by this committer
Author: Stefan Bethke
www/forgejo: update to v1.21.8-0

PR:		278119
Reported by:	stb@lassitu.de (maintainer)
MFH:		2024Q2 (security fix)
Security:	CVE-2023-45288
1.21.7.0
09 Mar 2024 13:43:11
commit hash: 00770786d88e06602a7dd3ed9cf0b2c96da4527fcommit hash: 00770786d88e06602a7dd3ed9cf0b2c96da4527fcommit hash: 00770786d88e06602a7dd3ed9cf0b2c96da4527fcommit hash: 00770786d88e06602a7dd3ed9cf0b2c96da4527f files touched by this commit This port version is marked as vulnerable.
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Author: Vladimir Timofeev
www/forgejo: New port

Number of commits found: 20