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 2025Q2
libgit2 Portable, pure C implementation of the Git core
1.9.1 devel on this many watch lists=10 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.8.4_1Version 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: 2025-06-08 04:20:06
Commit Hash: a0dca9c
People watching this port, also watch:: p5-Error, indexinfo, xorg-fonts-truetype, lua52, py311-six
License: GPLv2
WWW:
https://libgit2.org
https://libgit2.github.com/
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.1/catalog.mk
  3. /usr/local/share/licenses/libgit2-1.9.1/LICENSE
  4. /usr/local/share/licenses/libgit2-1.9.1/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.1
  105. lib/libgit2.so.1.9
  106. libdata/pkgconfig/libgit2.pc
  107. @owner
  108. @group
  109. @mode
Collapse this list.
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 = 1749283664 SHA256 (libgit2-libgit2-v1.9.1_GH0.tar.gz) = 14cab3014b2b7ad75970ff4548e83615f74d719afe00aa479b4a889c1e13fc00 SIZE (libgit2-libgit2-v1.9.1_GH0.tar.gz) = 7665631

Packages (timestamps in pop-ups are UTC):
libgit2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.9.11.9.11.0.11.9.11.9.1-1.0.1-
FreeBSD:13:quarterly1.8.4_11.8.4_11.5.2_11.8.4_11.8.4_11.7.11.7.11.7.2
FreeBSD:14:latest1.9.01.9.11.5.01.9.01.9.11.5.2_1-1.5.2_1
FreeBSD:14:quarterly1.8.4_11.8.4_1-1.8.4_11.8.4_11.7.11.7.11.7.2
FreeBSD:15:latest1.9.01.9.1n/a1.9.0n/a1.7.11.7.11.7.2
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/horizon-eda
  2. cad/kicad
  3. cad/kicad-devel
  4. deskutils/subsurface
  5. devel/R-cran-gert
  6. devel/R-cran-git2r
  7. devel/cargo-c
Expand this list (59 items / 52 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/cargo-generate
  3. devel/cargo-udeps
  4. devel/criterion
  5. devel/dorst
  6. devel/dura
  7. devel/gbump
  8. devel/geany-plugin-git-changebar
  9. devel/geany-plugin-workbench
  10. devel/git-repo-manager
  11. devel/git-workspace
  12. devel/gitg
  13. devel/gitui
  14. devel/gnome-builder
  15. devel/interactive_rebase_tool
  16. devel/kf5-ktexteditor
  17. devel/kommit
  18. devel/libgit2-glib
  19. devel/py-pygit2
  20. devel/sentry-cli
  21. devel/spr
  22. devel/tabby
  23. devel/uv
  24. editors/amp
  25. editors/calligra
  26. editors/jucipp
  27. editors/lapce
  28. emulators/es-de
  29. lang/julia
  30. lang/pharo
  31. misc/broot
  32. misc/tenere
  33. shells/starship
  34. sysutils/exa
  35. sysutils/mise
  36. sysutils/nix
  37. sysutils/onefetch
  38. textproc/bat
  39. textproc/feluda
  40. www/stagit
  41. 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.1: 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.1?dummy=/
Collapse this list.

There are no commits on branch 2025Q2 for this port