Thu May 16 11:12:00 2024 UTC (31d)
libgit2: update to 1.8.1.

This release primarily includes straightforward bugfixes, as well
as new functionality to have more control over the HTTP User-Agent
header. However, there is an API change from v1.8 that was required
for cross-platform compatibility.

In v1.8, libgit2 introduced the report_unchanged member in the
git_fetch_options structure. We mistakenly introduced this as a
bitfield, which is not suitable for our public API. To correct this
mistake, we have removed the report_unchanged member. To support
the report unchanged tips option, users can set the update_fetchhead
member to include the GIT_REMOTE_UPDATE_REPORT_UNCHANGED value.

The libgit2 projects regrets the API change, but this was required
to support cross-platform compatibility.

What's Changed

New features

    Allow more control over the user-agent by @ethomson in #6788

Bug fixes

    commit: Fix git_commit_create_from_stage without author and committer by @florianpircher in #6781
    process.c: fix environ for macOS by @barracuda156 in #6792
    Bounds check for pack index read by @ConradIrwin in #6796
    transport: provide a useful error message during cancellation by @ethomson in #6802
    transport: support sha256 oids by @ethomson in #6803
    Revparse: Correctly accept ref with '@' at the end by @csware in #6809
    remote: drop bitfields in git_remote_fetch_options by @ethomson in #6806
    examples: fix memory leak in for-each-ref.c by @qaqland in #6808
    xdiff: use proper free function by @ethomson in #6810
    rand: avoid uninitialized loadavg warnings by @ethomson in #6812
    cli: include alloca on illumos / solaris / sunos by @ethomson in #6813
    Update git_array allocator to obey strict aliasing rules by @ethomson in #6814
    tree: avoid mixed signedness comparison by @ethomson in #6815

Build and CI improvements

    ci: update nightly workflows by @ethomson in #6773
    ci: give all nightly builds a unique id by @ethomson in #6782
    cmake: remove workaround that isn't compatible with Windows on ARM by @hackhaslam in #6794

Documentation improvements

    Docs meta-updates by @ethomson in #6787

Dependency updates

    Enable llhttp for HTTP parsing by @sgallagher in #6713


(wiz)
diff -r1.80 -r1.81 pkgsrc/devel/libgit2/Makefile
diff -r1.39 -r1.40 pkgsrc/devel/libgit2/distinfo

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

--- pkgsrc/devel/libgit2/Makefile 2024/05/16 06:14:46 1.80
+++ pkgsrc/devel/libgit2/Makefile 2024/05/16 11:12:00 1.81
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.80 2024/05/16 06:14:46 wiz Exp $ 1# $NetBSD: Makefile,v 1.81 2024/05/16 11:12:00 wiz Exp $
2 2
3DISTNAME= libgit2-1.8.0 3DISTNAME= libgit2-1.8.1
4PKGREVISION= 1 
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
14USE_LANGUAGES= c 13USE_LANGUAGES= c
15USE_TOOLS+= pkg-config 14USE_TOOLS+= pkg-config
16 15
17USE_CC_FEATURES+= c99 16USE_CC_FEATURES+= c99

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

--- pkgsrc/devel/libgit2/distinfo 2024/05/06 06:22:09 1.39
+++ pkgsrc/devel/libgit2/distinfo 2024/05/16 11:12:00 1.40
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.39 2024/05/06 06:22:09 wiz Exp $ 1$NetBSD: distinfo,v 1.40 2024/05/16 11:12:00 wiz Exp $
2 2
3BLAKE2s (libgit2-1.8.0.tar.gz) = 45bcf3f8f54b6d7912d75708140fc00335a8024827f9278ef7b58201a496968a 3BLAKE2s (libgit2-1.8.1.tar.gz) = d40458653e2fd38823afe527a9ca622a8bd69cdf8bfbab94162e5b95e2e46425
4SHA512 (libgit2-1.8.0.tar.gz) = e5634267bd9c6a594c9a954d09c657e7b8aadf213609bf7dd83b99863d0d0c7109a5277617dd508abc2da54ea3f12c2af1908d1aeb73c000e94056e2f3653144 4SHA512 (libgit2-1.8.1.tar.gz) = 7429fbdc46ae44fd359e9260cbe33d9ce9276db810c096f12c43e5d302d01011463cdfd98d604e59780187e020e216e839823a77479dc12f952a37628516af78
5Size (libgit2-1.8.0.tar.gz) = 7590126 bytes 5Size (libgit2-1.8.1.tar.gz) = 7608949 bytes