1
0
forked from ports/contrib

libgit2: initial commit, version 1.2.0

This commit is contained in:
Tim Biermann 2021-09-19 23:07:22 +02:00
parent 5ba8d80fd8
commit c6f79faa36
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 128 additions and 0 deletions

99
libgit2/.footprint Normal file
View File

@ -0,0 +1,99 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/git2.h
drwxr-xr-x root/root usr/include/git2/
-rw-r--r-- root/root usr/include/git2/annotated_commit.h
-rw-r--r-- root/root usr/include/git2/apply.h
-rw-r--r-- root/root usr/include/git2/attr.h
-rw-r--r-- root/root usr/include/git2/blame.h
-rw-r--r-- root/root usr/include/git2/blob.h
-rw-r--r-- root/root usr/include/git2/branch.h
-rw-r--r-- root/root usr/include/git2/buffer.h
-rw-r--r-- root/root usr/include/git2/cert.h
-rw-r--r-- root/root usr/include/git2/checkout.h
-rw-r--r-- root/root usr/include/git2/cherrypick.h
-rw-r--r-- root/root usr/include/git2/clone.h
-rw-r--r-- root/root usr/include/git2/commit.h
-rw-r--r-- root/root usr/include/git2/common.h
-rw-r--r-- root/root usr/include/git2/config.h
-rw-r--r-- root/root usr/include/git2/cred_helpers.h
-rw-r--r-- root/root usr/include/git2/credential.h
-rw-r--r-- root/root usr/include/git2/credential_helpers.h
-rw-r--r-- root/root usr/include/git2/deprecated.h
-rw-r--r-- root/root usr/include/git2/describe.h
-rw-r--r-- root/root usr/include/git2/diff.h
-rw-r--r-- root/root usr/include/git2/errors.h
-rw-r--r-- root/root usr/include/git2/filter.h
-rw-r--r-- root/root usr/include/git2/global.h
-rw-r--r-- root/root usr/include/git2/graph.h
-rw-r--r-- root/root usr/include/git2/ignore.h
-rw-r--r-- root/root usr/include/git2/index.h
-rw-r--r-- root/root usr/include/git2/indexer.h
-rw-r--r-- root/root usr/include/git2/mailmap.h
-rw-r--r-- root/root usr/include/git2/merge.h
-rw-r--r-- root/root usr/include/git2/message.h
-rw-r--r-- root/root usr/include/git2/net.h
-rw-r--r-- root/root usr/include/git2/notes.h
-rw-r--r-- root/root usr/include/git2/object.h
-rw-r--r-- root/root usr/include/git2/odb.h
-rw-r--r-- root/root usr/include/git2/odb_backend.h
-rw-r--r-- root/root usr/include/git2/oid.h
-rw-r--r-- root/root usr/include/git2/oidarray.h
-rw-r--r-- root/root usr/include/git2/pack.h
-rw-r--r-- root/root usr/include/git2/patch.h
-rw-r--r-- root/root usr/include/git2/pathspec.h
-rw-r--r-- root/root usr/include/git2/proxy.h
-rw-r--r-- root/root usr/include/git2/rebase.h
-rw-r--r-- root/root usr/include/git2/refdb.h
-rw-r--r-- root/root usr/include/git2/reflog.h
-rw-r--r-- root/root usr/include/git2/refs.h
-rw-r--r-- root/root usr/include/git2/refspec.h
-rw-r--r-- root/root usr/include/git2/remote.h
-rw-r--r-- root/root usr/include/git2/repository.h
-rw-r--r-- root/root usr/include/git2/reset.h
-rw-r--r-- root/root usr/include/git2/revert.h
-rw-r--r-- root/root usr/include/git2/revparse.h
-rw-r--r-- root/root usr/include/git2/revwalk.h
-rw-r--r-- root/root usr/include/git2/signature.h
-rw-r--r-- root/root usr/include/git2/stash.h
-rw-r--r-- root/root usr/include/git2/status.h
-rw-r--r-- root/root usr/include/git2/stdint.h
-rw-r--r-- root/root usr/include/git2/strarray.h
-rw-r--r-- root/root usr/include/git2/submodule.h
drwxr-xr-x root/root usr/include/git2/sys/
-rw-r--r-- root/root usr/include/git2/sys/alloc.h
-rw-r--r-- root/root usr/include/git2/sys/commit.h
-rw-r--r-- root/root usr/include/git2/sys/commit_graph.h
-rw-r--r-- root/root usr/include/git2/sys/config.h
-rw-r--r-- root/root usr/include/git2/sys/cred.h
-rw-r--r-- root/root usr/include/git2/sys/credential.h
-rw-r--r-- root/root usr/include/git2/sys/diff.h
-rw-r--r-- root/root usr/include/git2/sys/filter.h
-rw-r--r-- root/root usr/include/git2/sys/hashsig.h
-rw-r--r-- root/root usr/include/git2/sys/index.h
-rw-r--r-- root/root usr/include/git2/sys/mempack.h
-rw-r--r-- root/root usr/include/git2/sys/merge.h
-rw-r--r-- root/root usr/include/git2/sys/midx.h
-rw-r--r-- root/root usr/include/git2/sys/odb_backend.h
-rw-r--r-- root/root usr/include/git2/sys/openssl.h
-rw-r--r-- root/root usr/include/git2/sys/path.h
-rw-r--r-- root/root usr/include/git2/sys/refdb_backend.h
-rw-r--r-- root/root usr/include/git2/sys/reflog.h
-rw-r--r-- root/root usr/include/git2/sys/refs.h
-rw-r--r-- root/root usr/include/git2/sys/repository.h
-rw-r--r-- root/root usr/include/git2/sys/stream.h
-rw-r--r-- root/root usr/include/git2/sys/transport.h
-rw-r--r-- root/root usr/include/git2/tag.h
-rw-r--r-- root/root usr/include/git2/trace.h
-rw-r--r-- root/root usr/include/git2/transaction.h
-rw-r--r-- root/root usr/include/git2/transport.h
-rw-r--r-- root/root usr/include/git2/tree.h
-rw-r--r-- root/root usr/include/git2/types.h
-rw-r--r-- root/root usr/include/git2/version.h
-rw-r--r-- root/root usr/include/git2/worktree.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libgit2.so -> libgit2.so.1.2
lrwxrwxrwx root/root usr/lib/libgit2.so.1.2 -> libgit2.so.1.2.0
-rwxr-xr-x root/root usr/lib/libgit2.so.1.2.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libgit2.pc

5
libgit2/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36svn68KoXguid6Qy2phQfaWw3G9G+kxRUbr3w+zogO2asjLHsmc07JsyjHToSbRxQlY5q582Gd+1WQOkCshzQ8=
SHA256 (Pkgfile) = ca95974407f6d3a0a96dc25e99f1b160c92dffe7f5c206769fb0e9dbf730fffc
SHA256 (.footprint) = 16734aa61ae069d1571157429105a06cf330d502cf9e1f1bd9b4cd05242c2d6e
SHA256 (v1.2.0.tar.gz) = 701a5086a968a46f25e631941b99fc23e4755ca2c56f59371ce1d94b9a0cc643

24
libgit2/Pkgfile Normal file
View File

@ -0,0 +1,24 @@
# Description: A linkable library for Git
# URL: https://libgit2.github.com/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake http-parser
name=libgit2
version=1.2.0
release=1
source=(https://github.com/$name/$name/archive/v$version.tar.gz)
build() {
prt-get isinst ninja && PKGMK_LIBGIT2+=' -G Ninja'
cmake -S $name-$version -B build $PKGMK_LIBGIT2 \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D USE_HTTP_PARSER=system \
-D THREADSAFE=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}