diff --git a/libgit2/.footprint b/libgit2/.footprint new file mode 100644 index 000000000..4c2e6f0c1 --- /dev/null +++ b/libgit2/.footprint @@ -0,0 +1,106 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/git2 +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/email.h +-rw-r--r-- root/root usr/include/git2/errors.h +-rw-r--r-- root/root usr/include/git2/experimental.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/email.h +-rw-r--r-- root/root usr/include/git2/sys/errors.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/remote.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.8 +lrwxrwxrwx root/root usr/lib/libgit2.so.1.8 -> libgit2.so.1.8.1 +-rwxr-xr-x root/root usr/lib/libgit2.so.1.8.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libgit2.pc diff --git a/libgit2/.signature b/libgit2/.signature new file mode 100644 index 000000000..d6fbbe5dd --- /dev/null +++ b/libgit2/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/Vc7mIn5n+5qVN74awu1G3bDYhY2fXHBwQz8lw0+W+WIg8rJlKZ7wSNBPnyGaJmVBk7zvr4K9h1Zja1szO6OkwU= +SHA256 (Pkgfile) = 09732b24eaa8e6a13f84e508235e58852a85a64ffaff9877aab7b1dc1a849f16 +SHA256 (.footprint) = de6b5fa62d1079bb7d53add565a94921985cd238d715f7d253544d38b711a527 +SHA256 (libgit2-1.8.1.tar.gz) = 8c1eaf0cf07cba0e9021920bfba9502140220786ed5d8a8ec6c7ad9174522f8e diff --git a/libgit2/Pkgfile b/libgit2/Pkgfile new file mode 100644 index 000000000..9d19ddabe --- /dev/null +++ b/libgit2/Pkgfile @@ -0,0 +1,26 @@ +# Description: A linkable library for Git +# URL: https://libgit2.org/ +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: http-parser + +name=libgit2 +version=1.8.1 +release=1 +source=(https://github.com/libgit2/libgit2/archive/v$version/$name-$version.tar.gz) + +build() { + sed -i -e 's:HTTP_Parser:HTTPParser:' \ + $name-$version/cmake/SelectHTTPParser.cmake + + cmake -S $name-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -D CMAKE_BUILD_TYPE=Release \ + -D USE_HTTP_PARSER=system \ + -Wno-dev + + cmake --build build + DESTDIR=$PKG cmake --install build +}