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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q3
git Distributed source code management tool
2.50.1 devel on this many watch lists=0 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 2.50.1Version of this port present on the latest quarterly branch.
Maintainer: garga@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-07-10 12:27:05
Last Update: 2025-07-10 12:25:45
Commit Hash: 42ee0f7
License: GPLv2
WWW:
https://git-scm.com/
Description:
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
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
There is no configure plist information for this port.
Dependency lines:
  • git>0:devel/git
Conflicts:
CONFLICTS_INSTALL:
  • git-lite
  • git-tiny
To install the port:
cd /usr/ports/devel/git/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/git
  • pkg install git
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: git
Package flavors (<flavor>: <package>)
  • default: git
  • lite: git-lite
  • tiny: git-tiny
distinfo:
TIMESTAMP = 1751994170 SHA256 (git-2.50.1.tar.xz) = 7e3e6c36decbd8f1eedd14d42db6674be03671c2204864befa2a41756c5c8fc4 SIZE (git-2.50.1.tar.xz) = 7880972

Expand this list (4 items)

Collapse this list.

SHA256 (git-manpages-2.50.1.tar.xz) = 7dd86882bbc22bef8852924de96b9cb378aad8532089e301c82093da3e7c5478 SIZE (git-manpages-2.50.1.tar.xz) = 598416 SHA256 (git-htmldocs-2.50.1.tar.xz) = d15ccd1518b822e317d14b63de4444bb288909294f117cbbfa385c60ab739bca SIZE (git-htmldocs-2.50.1.tar.xz) = 1615796

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Slave ports:
  1. devel/git-cvs
  2. devel/git-gui
  3. devel/git-p4
  4. devel/git-svn
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. curl : ftp/curl
  2. p5-Error>=0 : lang/p5-Error
  3. asciidoctor : textproc/rubygem-asciidoctor
  4. xmlto : textproc/xmlto
  5. gmake>=4.4.1 : devel/gmake
  6. gettext-runtime>=0.22_1 : devel/gettext-runtime
  7. msgfmt : devel/gettext-tools
  8. python3.11 : lang/python311
  9. autoconf>=2.72 : devel/autoconf
  10. automake>=1.17 : devel/automake
  11. perl5>=5.40.r<5.41 : lang/perl5.40
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. curl : ftp/curl
  2. p5-Error>=0 : lang/p5-Error
  3. p5-Authen-SASL>=0 : security/p5-Authen-SASL
  4. p5-IO-Socket-SSL>=0 : security/p5-IO-Socket-SSL
  5. python3.11 : lang/python311
  6. perl5>=5.40.r<5.41 : lang/perl5.40
Library dependencies:
  1. libexpat.so : textproc/expat2
  2. libpcre2-8.so : devel/pcre2
  3. libintl.so : devel/gettext-runtime
This port is required by:
for Build
  1. textproc/gitlab-elasticsearch-indexer
  2. textproc/gitlab-zoekt-indexer
  3. www/gitlab-workhorse
for Run
  1. devel/git-cinnabar
  2. devel/git-cvs
  3. devel/git-gui
  4. devel/git-p4
  5. devel/git-svn
  6. devel/gitlab-runner

Configuration Options:
===> The following configuration options are available for git-2.50.1: CONTRIB=on: Install contributed scripts CURL=on: Install curl support (provides HTTPS transport) DOCS=on: Build and/or install documentation GITWEB=on: Install gitweb ICONV=on: Encoding conversion support via iconv NLS=on: Native Language Support PCRE2=on: Use Perl Compatible Regular Expressions (v2) PERL=on: Perl scripting language support SEND_EMAIL=on: Enable the git-send-email(1) script SUBTREE=on: Install git-subtree ===> Use 'make config' to modify these settings
Options name:
devel_git
USES:
autoreconf cpe gmake iconv shebangfix tar:xz ssl gettext perl5 python
pkg-message:
For install:
If you installed the GITWEB option please follow these instructions: In the directory /usr/local/share/examples/git/gitweb you can find all files to make gitweb work as a public repository on the web. All you have to do to make gitweb work is: 1) Please be sure you're able to execute CGI scripts in /usr/local/share/examples/git/gitweb. 2) Set the GITWEB_CONFIG variable in your webserver's config to /usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi. 3) Restart server. If you installed the CONTRIB option please note that the scripts are installed in /usr/local/share/git-core/contrib. Some of them require other ports to be installed (perl, python, etc), which you may need to install manually.
Master Sites:
Expand this list (7 items)
Collapse this list.
  1. ftp://ftp.ntu.edu.tw/software/scm/git/
  2. ftp://ftp.riken.jp/Linux/kernel.org/software/scm/git/
  3. http://ftp.nara.wide.ad.jp/pub/kernel.org/software/scm/git/
  4. http://ftp.yandex.ru/pub/software/scm/git/
  5. https://cdn.kernel.org/pub/software/scm/git/
  6. https://mirrors.mit.edu/kernel/software/scm/git/
  7. https://www.kernel.org/pub/software/scm/git/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.50.1
10 Jul 2025 12:25:45
commit hash: 42ee0f7c8a66eec10efaf5f6e9609370eeb43a19commit hash: 42ee0f7c8a66eec10efaf5f6e9609370eeb43a19commit hash: 42ee0f7c8a66eec10efaf5f6e9609370eeb43a19commit hash: 42ee0f7c8a66eec10efaf5f6e9609370eeb43a19 files touched by this commit
Renato Botelho (garga) search for other commits by this committer
devel/git: Update to 2.50.1

Security:	CVE-2025-27613
Security:	CVE-2025-27614
Security:	CVE-2025-46835
Security:	CVE-2025-48384
Security:	CVE-2025-48385
Security:	CVE-2025-48386
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit d3f6c42d2f36989f583ea23cbbf14e5ae8665848)
2.50.0_1
10 Jul 2025 12:25:44
commit hash: 4ce881e02d7cfd7ecad4c25be118aed4e3c2f459commit hash: 4ce881e02d7cfd7ecad4c25be118aed4e3c2f459commit hash: 4ce881e02d7cfd7ecad4c25be118aed4e3c2f459commit hash: 4ce881e02d7cfd7ecad4c25be118aed4e3c2f459 files touched by this commit This port version is marked as vulnerable.
Renato Botelho (garga) search for other commits by this committer
devel/git: Handle libsysinfo properly

git 2.50.0 was failing to build when libsysinfo was installed and, to
workaround this issue, an option LIBSYSINFO was added to the port and a
small change made on configure.ac to make it possible to disable this
knob.

After some discussion with git developers they prpoposed a different
approach to just ignore libsysinfo if it's installed because git should
never use it on FreeBSD.  It should use BSD_SYSCTL option instead.

This change removes the LIBSYSINFO option and properly change
configure.ac to ignore LIBSYSINFO when HAVE_BSD_SYSCTL is set.  This way
git will build exactly the same when libsysinfo is or not installed.

Obtained
from:	https://lore.kernel.org/git/b57b1418-2179-480c-92a3-a107388d71f2@gentoo.org/T/#ma65c83afdc1918ffdb18c9cae9ead29db4738b0f
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 5b6183a160c3d97feefb4f02f1adec877ebf28ca)

Number of commits found: 2