Thu Mar 2 08:34:23 2023 UTC ()
libgit2: downgrade to 1.5.1

keep the pkg-config file fix, bump PKGREVISION for that

Wait for https://github.com/libgit2/libgit2/issues/6519 and
https://github.com/rust-lang/git2-rs/issues/936 before upgrading.


(wiz)
diff -r1.63 -r1.64 pkgsrc/devel/libgit2/Makefile
diff -r1.17 -r1.18 pkgsrc/devel/libgit2/PLIST
diff -r1.31 -r1.32 pkgsrc/devel/libgit2/distinfo

cvs diff -r1.63 -r1.64 pkgsrc/devel/libgit2/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/libgit2/Makefile 2023/03/01 06:40:14 1.63
+++ pkgsrc/devel/libgit2/Makefile 2023/03/02 08:34:23 1.64
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1# $NetBSD: Makefile,v 1.63 2023/03/01 06:40:14 wiz Exp $ 1# $NetBSD: Makefile,v 1.64 2023/03/02 08:34:23 wiz Exp $
2 2
3DISTNAME= libgit2-1.6.2 3DISTNAME= libgit2-1.5.1
 4PKGREVISION= 1
4CATEGORIES= devel 5CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=libgit2/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=libgit2/}
6GITHUB_TAG= v${PKGVERSION_NOREV} 7GITHUB_TAG= v${PKGVERSION_NOREV}
7 8
8MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://libgit2.org/ 10HOMEPAGE= https://libgit2.org/
10COMMENT= Portable, pure C implementation of the Git core methods 11COMMENT= Portable, pure C implementation of the Git core methods
11LICENSE= gnu-gpl-v2 # linking exception (linking allowed in more ways) 12LICENSE= gnu-gpl-v2 # linking exception (linking allowed in more ways)
12 13
13USE_LANGUAGES= c99 14USE_LANGUAGES= c99
14USE_TOOLS+= pkg-config 15USE_TOOLS+= pkg-config
15 16
16CMAKE_ARGS+= -DREGEX_BACKEND="pcre2" 17CMAKE_ARGS+= -DREGEX_BACKEND="pcre2"

cvs diff -r1.17 -r1.18 pkgsrc/devel/libgit2/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/libgit2/PLIST 2023/03/01 06:40:14 1.17
+++ pkgsrc/devel/libgit2/PLIST 2023/03/02 08:34:23 1.18
@@ -1,39 +1,38 @@ @@ -1,39 +1,38 @@
1@comment $NetBSD: PLIST,v 1.17 2023/03/01 06:40:14 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.18 2023/03/02 08:34:23 wiz Exp $
2bin/git2 2bin/git2_cli
3include/git2.h 3include/git2.h
4include/git2/annotated_commit.h 4include/git2/annotated_commit.h
5include/git2/apply.h 5include/git2/apply.h
6include/git2/attr.h 6include/git2/attr.h
7include/git2/blame.h 7include/git2/blame.h
8include/git2/blob.h 8include/git2/blob.h
9include/git2/branch.h 9include/git2/branch.h
10include/git2/buffer.h 10include/git2/buffer.h
11include/git2/cert.h 11include/git2/cert.h
12include/git2/checkout.h 12include/git2/checkout.h
13include/git2/cherrypick.h 13include/git2/cherrypick.h
14include/git2/clone.h 14include/git2/clone.h
15include/git2/commit.h 15include/git2/commit.h
16include/git2/common.h 16include/git2/common.h
17include/git2/config.h 17include/git2/config.h
18include/git2/cred_helpers.h 18include/git2/cred_helpers.h
19include/git2/credential.h 19include/git2/credential.h
20include/git2/credential_helpers.h 20include/git2/credential_helpers.h
21include/git2/deprecated.h 21include/git2/deprecated.h
22include/git2/describe.h 22include/git2/describe.h
23include/git2/diff.h 23include/git2/diff.h
24include/git2/email.h 24include/git2/email.h
25include/git2/errors.h 25include/git2/errors.h
26include/git2/experimental.h 
27include/git2/filter.h 26include/git2/filter.h
28include/git2/global.h 27include/git2/global.h
29include/git2/graph.h 28include/git2/graph.h
30include/git2/ignore.h 29include/git2/ignore.h
31include/git2/index.h 30include/git2/index.h
32include/git2/indexer.h 31include/git2/indexer.h
33include/git2/mailmap.h 32include/git2/mailmap.h
34include/git2/merge.h 33include/git2/merge.h
35include/git2/message.h 34include/git2/message.h
36include/git2/net.h 35include/git2/net.h
37include/git2/notes.h 36include/git2/notes.h
38include/git2/object.h 37include/git2/object.h
39include/git2/odb.h 38include/git2/odb.h
@@ -84,16 +83,16 @@ include/git2/sys/refs.h @@ -84,16 +83,16 @@ include/git2/sys/refs.h
84include/git2/sys/remote.h 83include/git2/sys/remote.h
85include/git2/sys/repository.h 84include/git2/sys/repository.h
86include/git2/sys/stream.h 85include/git2/sys/stream.h
87include/git2/sys/transport.h 86include/git2/sys/transport.h
88include/git2/tag.h 87include/git2/tag.h
89include/git2/trace.h 88include/git2/trace.h
90include/git2/transaction.h 89include/git2/transaction.h
91include/git2/transport.h 90include/git2/transport.h
92include/git2/tree.h 91include/git2/tree.h
93include/git2/types.h 92include/git2/types.h
94include/git2/version.h 93include/git2/version.h
95include/git2/worktree.h 94include/git2/worktree.h
96lib/libgit2.so 95lib/libgit2.so
97lib/libgit2.so.1.6 96lib/libgit2.so.1.5
98lib/libgit2.so.${PKGVERSION} 97lib/libgit2.so.${PKGVERSION}
99lib/pkgconfig/libgit2.pc 98lib/pkgconfig/libgit2.pc

cvs diff -r1.31 -r1.32 pkgsrc/devel/libgit2/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/libgit2/distinfo 2023/03/01 06:40:14 1.31
+++ pkgsrc/devel/libgit2/distinfo 2023/03/02 08:34:23 1.32
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.31 2023/03/01 06:40:14 wiz Exp $ 1$NetBSD: distinfo,v 1.32 2023/03/02 08:34:23 wiz Exp $
2 2
3BLAKE2s (libgit2-1.6.2.tar.gz) = cf3eeaa9a751bb13619a96cc405d83b8fd50817ed3e1c20c7c3a6fb63a0121b2 3BLAKE2s (libgit2-1.5.1.tar.gz) = f247ec23b0b615cf904abfbfbf557b190072d5bb8195d01975d31df3f30ddfba
4SHA512 (libgit2-1.6.2.tar.gz) = ef9feef36c5876776f3aa608101115c9e7a0970e6dd752851d930cb85b4b1789ed68f42700ebea51095ff54600e37c18a4de0c0678d9a4d7d4aba83668890c09 4SHA512 (libgit2-1.5.1.tar.gz) = 04cf389e30cd9fb787704e3c8997acaaeea5c13e1e2f9eaf9f5598d35c2e85f3cf04b47312cae9e7278236ecb089c2d33addd852e38d3c7d2daa87929b077f39
5Size (libgit2-1.6.2.tar.gz) = 6666383 bytes 5Size (libgit2-1.5.1.tar.gz) = 5895483 bytes