BSD Ports

devel/libgit2 1.7.2_1 MidnightBSD

Portable, pure C implementation of the Git core

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl2
Categories
devel

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

In the other systems

SystemPortVersion
MidnightBSDdevel/libgit21.7.2_1
FreeBSDdevel/libgit21.9.7
OpenBSDdevel/libgit2/libgit21.9.7
NetBSDdevel/libgit21.9.7nb1
DragonFlydevel/libgit21.8.4_1

Install

Binary package:

mport install libgit2

From mports:

cd /usr/mports/devel/libgit2 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libgit2>0:devel/libgit2
LIB_DEPENDS=	libgit2.so:devel/libgit2

Dependencies

As this port's Makefile names them.

Library 2

Build dependencies 2
Run dependencies 2

Configuration

Options name: devel_libgit2

OptionDefaultDescription
SSHonEnable SSH support through libssh2
THREADSon
USES
cmake:testing cpe localbase pkgconfig python:build ssl
Service scripts
none

Files

pkg-plist 98
  • bin/git2
  • include/git2.h
  • include/git2/annotated_commit.h
  • include/git2/apply.h
  • include/git2/attr.h
  • include/git2/blame.h
  • include/git2/blob.h
  • include/git2/branch.h
  • include/git2/buffer.h
  • include/git2/cert.h
  • include/git2/checkout.h
  • include/git2/cherrypick.h
  • include/git2/clone.h
  • include/git2/commit.h
  • include/git2/common.h
  • include/git2/config.h
  • include/git2/cred_helpers.h
  • include/git2/credential.h
  • include/git2/credential_helpers.h
  • include/git2/deprecated.h
  • include/git2/describe.h
  • include/git2/diff.h
  • include/git2/email.h
  • include/git2/errors.h
  • include/git2/experimental.h
  • include/git2/filter.h
  • include/git2/global.h
  • include/git2/graph.h
  • include/git2/ignore.h
  • include/git2/index.h
  • include/git2/indexer.h
  • include/git2/mailmap.h
  • include/git2/merge.h
  • include/git2/message.h
  • include/git2/net.h
  • include/git2/notes.h
  • include/git2/object.h
  • include/git2/odb.h
  • include/git2/odb_backend.h
  • include/git2/oid.h
  • include/git2/oidarray.h
  • include/git2/pack.h
  • include/git2/patch.h
  • include/git2/pathspec.h
  • include/git2/proxy.h
  • include/git2/rebase.h
  • include/git2/refdb.h
  • include/git2/reflog.h
  • include/git2/refs.h
  • include/git2/refspec.h
  • include/git2/remote.h
  • include/git2/repository.h
  • include/git2/reset.h
  • include/git2/revert.h
  • include/git2/revparse.h
  • include/git2/revwalk.h
  • include/git2/signature.h
  • include/git2/stash.h
  • include/git2/status.h
  • include/git2/stdint.h
  • include/git2/strarray.h
  • include/git2/submodule.h
  • include/git2/sys/alloc.h
  • include/git2/sys/commit.h
  • include/git2/sys/commit_graph.h
  • include/git2/sys/config.h
  • include/git2/sys/cred.h
  • include/git2/sys/credential.h
  • include/git2/sys/diff.h
  • include/git2/sys/email.h
  • include/git2/sys/filter.h
  • include/git2/sys/hashsig.h
  • include/git2/sys/index.h
  • include/git2/sys/mempack.h
  • include/git2/sys/merge.h
  • include/git2/sys/midx.h
  • include/git2/sys/odb_backend.h
  • include/git2/sys/openssl.h
  • include/git2/sys/path.h
  • include/git2/sys/refdb_backend.h
  • include/git2/sys/reflog.h
  • include/git2/sys/remote.h
  • include/git2/sys/refs.h
  • include/git2/sys/repository.h
  • include/git2/sys/stream.h
  • include/git2/sys/transport.h
  • include/git2/tag.h
  • include/git2/trace.h
  • include/git2/transaction.h
  • include/git2/transport.h
  • include/git2/tree.h
  • include/git2/types.h
  • include/git2/version.h
  • include/git2/worktree.h
  • lib/libgit2.so
  • lib/libgit2.so.
  • lib/libgit2.so.
  • libdata/pkgconfig/libgit2.pc
distinfo 1
FileSizeSHA256
libgit2-libgit2-v1.7.2_GH0.tar.gz7.548186e+06de384e29d7efc9330c6cdb126ebf88342b5025d920dcb7c645defad85195ea7f