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 2025Q2
libgit2 Portable, pure C implementation of the Git core
1.9.3 devel on this many watch lists=8 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 1.9.2Version of this port present on the latest quarterly branch.
Maintainer: mfechner@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2011-05-27 09:45:51
Last Update: 2026-05-05 08:12:06
Commit Hash: fb728b9
People watching this port, also watch:: glib, protobuf, py311-pycparser, libidn, libunistring
License: GPLv2
WWW:
https://libgit2.org
https://github.com/libgit2/libgit2
Description:
libgit2 is... licensed under a very permissive license so you can use it anywhere faster than any other Git library written in standards compliant C99 completely multi-platform: Windows, Linux, Mac OS X, xBSD compiled natively under all platforms (yes, even MSVC on Windows) re-entrant, with sane error handling designed with a solid and consistent API available as bindings for all major scripting languages
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (109 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libgit2-1.9.3/catalog.mk
  3. /usr/local/share/licenses/libgit2-1.9.3/LICENSE
  4. /usr/local/share/licenses/libgit2-1.9.3/GPLv2
  5. bin/git2
  6. include/git2.h
  7. include/git2/annotated_commit.h
  8. include/git2/apply.h
  9. include/git2/attr.h
  10. include/git2/blame.h
  11. include/git2/blob.h
  12. include/git2/branch.h
  13. include/git2/buffer.h
  14. include/git2/cert.h
  15. include/git2/checkout.h
  16. include/git2/cherrypick.h
  17. include/git2/clone.h
  18. include/git2/commit.h
  19. include/git2/common.h
  20. include/git2/config.h
  21. include/git2/cred_helpers.h
  22. include/git2/credential.h
  23. include/git2/credential_helpers.h
  24. include/git2/deprecated.h
  25. include/git2/describe.h
  26. include/git2/diff.h
  27. include/git2/email.h
  28. include/git2/errors.h
  29. include/git2/experimental.h
  30. include/git2/filter.h
  31. include/git2/global.h
  32. include/git2/graph.h
  33. include/git2/ignore.h
  34. include/git2/index.h
  35. include/git2/indexer.h
  36. include/git2/mailmap.h
  37. include/git2/merge.h
  38. include/git2/message.h
  39. include/git2/net.h
  40. include/git2/notes.h
  41. include/git2/object.h
  42. include/git2/odb.h
  43. include/git2/odb_backend.h
  44. include/git2/oid.h
  45. include/git2/oidarray.h
  46. include/git2/pack.h
  47. include/git2/patch.h
  48. include/git2/pathspec.h
  49. include/git2/proxy.h
  50. include/git2/rebase.h
  51. include/git2/refdb.h
  52. include/git2/reflog.h
  53. include/git2/refs.h
  54. include/git2/refspec.h
  55. include/git2/remote.h
  56. include/git2/repository.h
  57. include/git2/reset.h
  58. include/git2/revert.h
  59. include/git2/revparse.h
  60. include/git2/revwalk.h
  61. include/git2/signature.h
  62. include/git2/stash.h
  63. include/git2/status.h
  64. include/git2/stdint.h
  65. include/git2/strarray.h
  66. include/git2/submodule.h
  67. include/git2/sys/alloc.h
  68. include/git2/sys/commit.h
  69. include/git2/sys/commit_graph.h
  70. include/git2/sys/config.h
  71. include/git2/sys/cred.h
  72. include/git2/sys/credential.h
  73. include/git2/sys/diff.h
  74. include/git2/sys/email.h
  75. include/git2/sys/errors.h
  76. include/git2/sys/filter.h
  77. include/git2/sys/hashsig.h
  78. include/git2/sys/index.h
  79. include/git2/sys/mempack.h
  80. include/git2/sys/merge.h
  81. include/git2/sys/midx.h
  82. include/git2/sys/odb_backend.h
  83. include/git2/sys/openssl.h
  84. include/git2/sys/path.h
  85. include/git2/sys/refdb_backend.h
  86. include/git2/sys/remote.h
  87. include/git2/sys/refs.h
  88. include/git2/sys/repository.h
  89. include/git2/sys/stream.h
  90. include/git2/sys/transport.h
  91. include/git2/tag.h
  92. include/git2/trace.h
  93. include/git2/transaction.h
  94. include/git2/transport.h
  95. include/git2/tree.h
  96. include/git2/types.h
  97. include/git2/version.h
  98. include/git2/worktree.h
  99. lib/cmake/libgit2/libgit2Config.cmake
  100. lib/cmake/libgit2/libgit2ConfigVersion.cmake
  101. lib/cmake/libgit2/libgit2Targets-release.cmake
  102. lib/cmake/libgit2/libgit2Targets.cmake
  103. lib/libgit2.so
  104. lib/libgit2.so.1.9.3
  105. lib/libgit2.so.1.9
  106. libdata/pkgconfig/libgit2.pc
  107. @owner
  108. @group
  109. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libgit2>0:devel/libgit2
To install the port:
cd /usr/ports/devel/libgit2/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/libgit2
  • pkg install libgit2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libgit2
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1777961121 SHA256 (libgit2-libgit2-v1.9.3_GH0.tar.gz) = d532172d7ab24d2a25944e2434212d63ee85f3650e97b5f7579e7f201a78ad64 SIZE (libgit2-libgit2-v1.9.3_GH0.tar.gz) = 7674513

Packages (timestamps in pop-ups are UTC):
libgit2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.9.21.9.21.0.11.9.11.9.2n/an/an/a
FreeBSD:13:quarterly1.9.21.9.21.5.2_11.9.11.9.2n/an/an/a
FreeBSD:14:latest1.9.31.9.31.5.01.9.11.9.31.5.2_1-1.5.2_1
FreeBSD:14:quarterly1.9.21.9.2-1.9.11.9.21.7.11.7.11.7.2
FreeBSD:15:latest1.9.31.9.3n/a1.9.1n/an/a1.7.11.7.2
FreeBSD:15:quarterly1.9.21.9.2n/a-n/an/a--
FreeBSD:16:latest1.9.31.9.3n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf
Test dependencies:
  1. python3.11 : lang/python311
Library dependencies:
  1. libpcre2-8.so : devel/pcre2
  2. libllhttp.so : www/llhttp
  3. libssh2.so : security/libssh2
This port is required by:
for Build
  1. textproc/meilisearch

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/py-itools*
  2. Collapse this list of deleted ports.
for Libraries
  1. cad/fritzing
  2. cad/horizon-eda
  3. cad/kicad
  4. cad/kicad-devel
  5. deskutils/qownnotes
  6. deskutils/subsurface
  7. devel/R-cran-gert
Expand this list (72 items / 65 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/R-cran-git2r
  3. devel/cargo-c
  4. devel/cargo-generate
  5. devel/cargo-udeps
  6. devel/criterion
  7. devel/dorst
  8. devel/dura
  9. devel/forgejo-cli
  10. devel/foundry
  11. devel/gbump
  12. devel/geany-plugin-git-changebar
  13. devel/geany-plugin-workbench
  14. devel/git-repo-manager
  15. devel/git-workspace
  16. devel/gitg
  17. devel/gitui
  18. devel/gnome-builder
  19. devel/interactive_rebase_tool
  20. devel/kf5-ktexteditor
  21. devel/kommit
  22. devel/libgit2-glib
  23. devel/openapi-tui
  24. devel/py-pygit2
  25. devel/sem
  26. devel/sentry-cli
  27. devel/spr
  28. devel/tabby
  29. devel/uv
  30. editors/amp
  31. editors/calligra
  32. editors/gram
  33. editors/jucipp
  34. editors/lapce
  35. editors/zed
  36. emulators/es-de
  37. lang/julia
  38. lang/pharo
  39. misc/broot
  40. misc/gitlogue
  41. misc/tenere
  42. shells/starship
  43. sysutils/exa
  44. sysutils/lsd
  45. sysutils/mise
  46. sysutils/nix
  47. sysutils/onefetch
  48. sysutils/rucola
  49. textproc/bat
  50. textproc/caps-log
  51. textproc/codebook
  52. textproc/feluda
  53. www/stagit
  54. Collapse this list.

Deleted ports which required this port:

Expand this list of 13 deleted ports
  1. deskutils/basket*
  2. devel/cargo-tree*
  3. devel/grv*
  4. devel/jucipp*
  5. devel/libegit2*
  6. devel/py3-pygit2*
  7. editors/kate-devel*
  8. lang/julia06*
  9. lang/julia07*
  10. lang/julia10*
  11. lang/julia11*
  12. textproc/askgit*
  13. textproc/mergestat*
  14. Collapse this list of deleted ports.
for Run

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/py-itools*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for libgit2-1.9.3: SSH=on: Enable SSH support through libssh2 ===> Use 'make config' to modify these settings
Options name:
devel_libgit2
USES:
cmake:testing cpe localbase:ldflags pathfix pkgconfig python:test ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/libgit2/libgit2/tar.gz/v1.9.3?dummy=/
Collapse this list.

There are no commits on branch 2025Q2 for this port