Tue Jun 9 11:04:56 2020 UTC ()
libgit2: Update to 1.0.1

v1.0.1
------

This is a bugfix release with the following changes:

- Calculating information about renamed files during merges is more
  efficient because dissimilarity about files is now being cached and
  no longer needs to be recomputed.

- The `git_worktree_prune_init_options` has been correctly restored for
  backward compatibility.  In v1.0 it was incorrectly deprecated with a
  typo.

- The optional ntlmclient dependency now supports NetBSD.

- A bug where attempting to stash on a bare repository may have failed
  has been fixed.

- Configuration files that are unreadable due to permissions are now
  silently ignored, and treated as if they do not exist.  This matches
  git's behavior; previously this case would have been an error.

- v4 index files are now correctly written; previously we would read
  them correctly but would not write the prefix-compression accurately,
  causing corruption.

- A bug where the smart HTTP transport could not read large data packets
  has been fixed.  Previously, fetching from servers like Gerrit, that
  sent large data packets, would error.


(nia)
diff -r1.48 -r1.49 pkgsrc/devel/libgit2/Makefile
diff -r1.21 -r1.22 pkgsrc/devel/libgit2/distinfo
diff -r1.2 -r0 pkgsrc/devel/libgit2/patches/patch-deps_ntlmclient_compat.h

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

--- pkgsrc/devel/libgit2/Makefile 2020/05/22 10:56:04 1.48
+++ pkgsrc/devel/libgit2/Makefile 2020/06/09 11:04:56 1.49
@@ -1,29 +1,26 @@ @@ -1,29 +1,26 @@
1# $NetBSD: Makefile,v 1.48 2020/05/22 10:56:04 adam Exp $ 1# $NetBSD: Makefile,v 1.49 2020/06/09 11:04:56 nia Exp $
2 2
3DISTNAME= libgit2-1.0.0 3DISTNAME= libgit2-1.0.1
4PKGREVISION= 2 
5CATEGORIES= devel 4CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_GITHUB:=libgit2/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=libgit2/}
7GITHUB_TAG= v${PKGVERSION_NOREV} 6GITHUB_TAG= v${PKGVERSION_NOREV}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://libgit2.org/ 9HOMEPAGE= https://libgit2.org/
11COMMENT= Portable, pure C implementation of the Git core methods 10COMMENT= Portable, pure C implementation of the Git core methods
12LICENSE= gnu-gpl-v2 # linking exception (linking allowed in more ways) 11LICENSE= gnu-gpl-v2 # linking exception (linking allowed in more ways)
13 12
14EXTRACT_USING= bsdtar 
15USE_CMAKE= yes 13USE_CMAKE= yes
16USE_LANGUAGES= c99 
17USE_TOOLS+= pkg-config 14USE_TOOLS+= pkg-config
18 15
19CMAKE_ARGS+= -DREGEX_BACKEND="pcre2" 16CMAKE_ARGS+= -DREGEX_BACKEND="pcre2"
20 17
21PKGCONFIG_OVERRIDE+= libgit2.pc.in 18PKGCONFIG_OVERRIDE+= libgit2.pc.in
22 19
23do-test: 20do-test:
24 cd ${WRKSRC} && ctest 21 cd ${WRKSRC} && ctest
25 22
26.include "../../devel/zlib/buildlink3.mk" 23.include "../../devel/zlib/buildlink3.mk"
27.include "../../devel/pcre2/buildlink3.mk" 24.include "../../devel/pcre2/buildlink3.mk"
28.include "../../security/libssh2/buildlink3.mk" 25.include "../../security/libssh2/buildlink3.mk"
29.include "../../security/openssl/buildlink3.mk" 26.include "../../security/openssl/buildlink3.mk"

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

--- pkgsrc/devel/libgit2/distinfo 2020/04/06 08:33:40 1.21
+++ pkgsrc/devel/libgit2/distinfo 2020/06/09 11:04:56 1.22
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.21 2020/04/06 08:33:40 wiz Exp $ 1$NetBSD: distinfo,v 1.22 2020/06/09 11:04:56 nia Exp $
2 2
3SHA1 (libgit2-1.0.0.tar.gz) = 70ea27ada7433b08c08b2706dc8520a8da2156fb 3SHA1 (libgit2-1.0.1.tar.gz) = 9f5702ae1e13e7f9fb0128069b3aa62bf933b9c5
4RMD160 (libgit2-1.0.0.tar.gz) = 6b3f8c350692ff04b10a1dcc03167e7773db9617 4RMD160 (libgit2-1.0.1.tar.gz) = f4d42e0348758a189cf6d3e68ede4ad2fe151e33
5SHA512 (libgit2-1.0.0.tar.gz) = 7e3b6582dd1567fd5ebfc829a98e22acfd5566ba08f2fb9b7a6783fa87f5e8952ac67f1a2c13adb543e56753d858e73a03204bac17a096c72f5daf4ba376d904 5SHA512 (libgit2-1.0.1.tar.gz) = 7c307822b22e3771e5e908b115600310f7901b3250287532c498003b25a5b1e007bfa23592f16ec4d83c1567a9213710526f78cab7c120316e9a8fc74c5e57a9
6Size (libgit2-1.0.0.tar.gz) = 5312324 bytes 6Size (libgit2-1.0.1.tar.gz) = 5312878 bytes
7SHA1 (patch-deps_ntlmclient_compat.h) = c808fccd9ee6bc99f0620cd8820fbdb301d4c42b 

File Deleted: pkgsrc/devel/libgit2/patches/Attic/patch-deps_ntlmclient_compat.h