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
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2024Q3
forgejo Compact self-hosted Git service
8.0.3 www on this many watch lists=0 search for ports that depend on this port This port version is marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 14.0.5Version of this port present on the latest quarterly branch.
Maintainer: stb@lassitu.de search for ports maintained by this maintainer
Port Added: 2024-08-30 22:39:07
Last Update: 2024-09-06 20:58:48
Commit Hash: 3f44e8b
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-8.0.3/catalog.mk
  2. /usr/local/share/licenses/forgejo-8.0.3/LICENSE
  3. /usr/local/share/licenses/forgejo-8.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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • forgejo>0:www/forgejo
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 = 1725643658 SHA256 (forgejo-src-8.0.3.tar.gz) = b543532cf01453967c331063639b172600cccd62d815e6815a4f05a25a0b0795 SIZE (forgejo-src-8.0.3.tar.gz) = 53477625

Packages (timestamps in pop-ups are UTC):
forgejo
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest14.0.4_114.0.5-11.0.3_114.0.4_2n/an/an/a
FreeBSD:13:quarterly14.0.4_114.0.4_2-11.0.214.0.5n/an/an/a
FreeBSD:14:latest1515-11.0.315---
FreeBSD:14:quarterly14.0.5_114.0.5_1-11.0.214.0.5_1---
FreeBSD:15:latest1515n/a-n/an/a--
FreeBSD:15:quarterly14.0.5_114.0.5_1n/a-n/an/a--
FreeBSD:16:latest1515n/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. go122 : lang/go122
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-8.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.22,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.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeberg.org/forgejo/forgejo/releases/download/v8.0.3/
Collapse this list.

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
8.0.3
06 Sep 2024 20:58:48
commit hash: 3f44e8bb4bf3048e2b135304e9e863f203ce8f0acommit hash: 3f44e8bb4bf3048e2b135304e9e863f203ce8f0acommit hash: 3f44e8bb4bf3048e2b135304e9e863f203ce8f0acommit hash: 3f44e8bb4bf3048e2b135304e9e863f203ce8f0a 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
(cherry picked from commit 891df28121bb41ca62e10c38089e8045090f0310)
8.0.2
30 Aug 2024 22:38:06
commit hash: 22183498e2b0e5c2202e1fbb33338bd417ff4d1acommit hash: 22183498e2b0e5c2202e1fbb33338bd417ff4d1acommit hash: 22183498e2b0e5c2202e1fbb33338bd417ff4d1acommit hash: 22183498e2b0e5c2202e1fbb33338bd417ff4d1a 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
(cherry picked from commit 5737efc12f17aac0dd208c00f865445866684811)
8.0.1
30 Aug 2024 22:37:43
commit hash: 676441d697b813e0b1772d92fd3f981a19396013commit hash: 676441d697b813e0b1772d92fd3f981a19396013commit hash: 676441d697b813e0b1772d92fd3f981a19396013commit hash: 676441d697b813e0b1772d92fd3f981a19396013 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
(cherry picked from commit ba954124e5279d7c56b685456dca8c1be9004f30)
8.0.0
30 Aug 2024 22:34:52
commit hash: 303085b1a503a681b60f95b2d0b3e144a8fe4e96commit hash: 303085b1a503a681b60f95b2d0b3e144a8fe4e96commit hash: 303085b1a503a681b60f95b2d0b3e144a8fe4e96commit hash: 303085b1a503a681b60f95b2d0b3e144a8fe4e96 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
(cherry picked from commit 10f54e767b07310246d139f2f1b839f7f2728110)

Number of commits found: 4