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
Port details on branch 2025Q4
libgit2 Portable, pure C implementation of the Git core
1.9.2 devel on this many watch lists=0 search for ports that depend on this port 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: 2025-12-06 20:00:08
Last Update: 2025-12-06 19:47:16
Commit Hash: 033293c
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 - 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 (109 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libgit2-1.9.2/catalog.mk
  3. /usr/local/share/licenses/libgit2-1.9.2/LICENSE
  4. /usr/local/share/licenses/libgit2-1.9.2/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.2
  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 = 1765048128 SHA256 (libgit2-libgit2-v1.9.2_GH0.tar.gz) = 6f097c82fc06ece4f40539fb17e9d41baf1a5a2fc26b1b8562d21b89bc355fe6 SIZE (libgit2-libgit2-v1.9.2_GH0.tar.gz) = 7667818

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
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
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for libgit2-1.9.2: 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.2?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.9.2
06 Dec 2025 19:47:16
commit hash: 033293c8440d8a38f865d2763aba92ef0d6040accommit hash: 033293c8440d8a38f865d2763aba92ef0d6040accommit hash: 033293c8440d8a38f865d2763aba92ef0d6040accommit hash: 033293c8440d8a38f865d2763aba92ef0d6040ac files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
devel/libgit2: update to 1.9.2

Changes:	https://github.com/libgit2/libgit2/releases/tag/v1.9.2
(cherry picked from commit efdb49d98b019778bbb6ffc89007f7ea673b3f2a)

Number of commits found: 1