Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details on branch 2023Q4
libgit2 Portable, pure C implementation of the Git core
1.9.7 devel Σ=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.7Version 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-08-14 04:19:02
Commit Hash: 265edfb
People watching this port, also watch: glib, protobuf, py312-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.7/catalog.mk
  3. /usr/local/share/licenses/libgit2-1.9.7/LICENSE
  4. /usr/local/share/licenses/libgit2-1.9.7/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.7
  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:
  • For RUN/BUILD depends:
    • libgit2>0:devel/libgit2
  • For LIB depends:
    • libgit2.so: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 = 1786680128 SHA256 (libgit2-libgit2-v1.9.7_GH0.tar.gz) = 1a4fbe7589e814777ae76b64734ad80f4ecad22cd33a22682a2aaea4ae5375e7 SIZE (libgit2-libgit2-v1.9.7_GH0.tar.gz) = 7769162

Packages (timestamps in pop-ups are UTC): #
libgit2
ABIaarch64amd64armv6armv7i386
FreeBSD:13:latest1.9.21.9.2n/an/an/a
FreeBSD:13:quarterly1.9.21.9.2n/an/an/a
FreeBSD:14:latest1.9.71.9.71.5.01.9.11.9.7
FreeBSD:14:quarterly1.9.71.9.7-1.9.11.9.7
FreeBSD:15:latest1.9.71.9.7n/a1.9.1n/a
FreeBSD:15:quarterly1.9.71.9.7n/a-n/a
FreeBSD:16:latest1.9.71.9.7n/a-n/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.12 : lang/python312
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. astro/siril
  2. cad/fritzing
  3. cad/horizon-eda
  4. cad/kicad
  5. cad/kicad-devel
  6. deskutils/qownnotes
  7. deskutils/subsurface
Expand this list (76 items / 69 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. devel/R-cran-gert
  3. devel/R-cran-git2r
  4. devel/cargo-c
  5. devel/cargo-generate
  6. devel/cargo-udeps
  7. devel/criterion
  8. devel/dorst
  9. devel/dura
  10. devel/forgejo-cli
  11. devel/foundry
  12. devel/gbump
  13. devel/geany-plugin-git-changebar
  14. devel/geany-plugin-workbench
  15. devel/git-branchless
  16. devel/git-repo-manager
  17. devel/git-workspace
  18. devel/gitg
  19. devel/gitui
  20. devel/gnome-builder
  21. devel/interactive_rebase_tool
  22. devel/kf5-ktexteditor
  23. devel/kommit
  24. devel/libgit2-glib
  25. devel/openapi-tui
  26. devel/pijul
  27. devel/py-pygit2
  28. devel/sem
  29. devel/sentry-cli
  30. devel/spr
  31. devel/tabby
  32. devel/tuicr
  33. editors/amp
  34. editors/calligra
  35. editors/gram
  36. editors/jucipp
  37. editors/lapce
  38. editors/zed
  39. emulators/es-de
  40. lang/julia
  41. lang/pharo
  42. misc/broot
  43. misc/gitlogue
  44. misc/tenere
  45. misc/warp
  46. shells/starship
  47. sysutils/exa
  48. sysutils/lsd
  49. sysutils/mise
  50. sysutils/nix
  51. sysutils/onefetch
  52. sysutils/rucola
  53. textproc/bat
  54. textproc/caps-log
  55. textproc/codebook
  56. textproc/feluda
  57. www/stagit
  58. 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.7: 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.7?dummy=/
Collapse this list.

There are no commits on branch 2023Q4 for this port