pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libgit2: upgrade candidate for devel/libgit2
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Thu Apr 11 11:30:23 2024 +0200
Changeset: 523273f4ad478a29ad77a73dd345b8cf2d26740e
Modified Files:
Makefile
Added Files:
libgit2/DESCR
libgit2/Makefile
libgit2/PLIST
libgit2/TODO
libgit2/buildlink3.mk
libgit2/distinfo
Log Message:
libgit2: upgrade candidate for devel/libgit2
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=523273f4ad478a29ad77a73dd345b8cf2d26740e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 +
libgit2/DESCR | 3 ++
libgit2/Makefile | 37 +++++++++++++++++++
libgit2/PLIST | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++
libgit2/TODO | 1 +
libgit2/buildlink3.mk | 16 ++++++++
libgit2/distinfo | 5 +++
7 files changed, 164 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 56123c02d4..4550ce8293 100644
--- a/Makefile
+++ b/Makefile
@@ -1925,6 +1925,7 @@ SUBDIR+= libgda4
SUBDIR+= libgfbgraph
SUBDIR+= libghemical
SUBDIR+= libginac
+SUBDIR+= libgit2
SUBDIR+= libglade-java
SUBDIR+= libgnome-java
SUBDIR+= libgnome-keyring
@@ -4818,6 +4819,7 @@ SUBDIR+= qFlipper
SUBDIR+= qbe-git
SUBDIR+= qcdloop
SUBDIR+= qemu-git
+SUBDIR+= qemu-guest-agent
SUBDIR+= qemu-virtfs-netbsd
SUBDIR+= qgis
SUBDIR+= qico
diff --git a/libgit2/DESCR b/libgit2/DESCR
new file mode 100644
index 0000000000..1f844976c9
--- /dev/null
+++ b/libgit2/DESCR
@@ -0,0 +1,3 @@
+libgit2 is a portable, pure C implementation of the Git core methods provided as
+a re-entrant linkable library with a solid API, allowing you to write native
+speed custom Git applications in any language which supports C bindings.
diff --git a/libgit2/Makefile b/libgit2/Makefile
new file mode 100644
index 0000000000..555d8606c2
--- /dev/null
+++ b/libgit2/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.77 2024/04/05 17:03:59 wiz Exp $
+
+DISTNAME= libgit2-1.8.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libgit2/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://libgit2.org/
+COMMENT= Portable, pure C implementation of the Git core methods
+LICENSE= gnu-gpl-v2 # linking exception (linking allowed in more ways)
+
+USE_LANGUAGES= c99
+USE_TOOLS+= pkg-config
+
+CMAKE_ARGS+= -DREGEX_BACKEND="pcre2"
+
+PKGCONFIG_OVERRIDE+= ${CMAKE_BUILD_DIR}/libgit2.pc
+PKGCONFIG_OVERRIDE_STAGE= pre-install
+
+BUILDLINK_TRANSFORM+= rm:-Werror
+
+# In some environments, two tests might fail with permission problems
+# https://github.com/libgit2/libgit2/issues/6647
+do-test:
+ cd ${WRKSRC}/${CMAKE_BUILD_DIR} && ctest
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../security/libssh2/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+# for tests
+.include "../../lang/python/pyversion.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../www/http-parser/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libgit2/PLIST b/libgit2/PLIST
new file mode 100644
index 0000000000..fd9037531f
--- /dev/null
+++ b/libgit2/PLIST
@@ -0,0 +1,100 @@
+@comment $NetBSD$
+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/errors.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/refs.h
+include/git2/sys/remote.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.1.8
+lib/libgit2.so.${PKGVERSION}
+lib/pkgconfig/libgit2.pc
diff --git a/libgit2/TODO b/libgit2/TODO
new file mode 100644
index 0000000000..1d1bf045a9
--- /dev/null
+++ b/libgit2/TODO
@@ -0,0 +1 @@
+Upgrade candidate for devel/libgit2. Breaks libgit2-sys crate using rust programs.
diff --git a/libgit2/buildlink3.mk b/libgit2/buildlink3.mk
new file mode 100644
index 0000000000..4d32c780f0
--- /dev/null
+++ b/libgit2/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.14 2023/08/14 05:24:11 wiz Exp $
+
+BUILDLINK_TREE+= libgit2
+
+.if !defined(LIBGIT2_BUILDLINK3_MK)
+LIBGIT2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libgit2+= libgit2>=0.28.0
+BUILDLINK_ABI_DEPENDS.libgit2+= libgit2>=1.6.4nb2
+BUILDLINK_PKGSRCDIR.libgit2?= ../../wip/libgit2
+
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.endif # LIBGIT2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libgit2
diff --git a/libgit2/distinfo b/libgit2/distinfo
new file mode 100644
index 0000000000..9c69f0b1a6
--- /dev/null
+++ b/libgit2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.38 2024/04/05 17:03:59 wiz Exp $
+
+BLAKE2s (libgit2-1.8.0.tar.gz) = 45bcf3f8f54b6d7912d75708140fc00335a8024827f9278ef7b58201a496968a
+SHA512 (libgit2-1.8.0.tar.gz) = e5634267bd9c6a594c9a954d09c657e7b8aadf213609bf7dd83b99863d0d0c7109a5277617dd508abc2da54ea3f12c2af1908d1aeb73c000e94056e2f3653144
+Size (libgit2-1.8.0.tar.gz) = 7590126 bytes
Home |
Main Index |
Thread Index |
Old Index