pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libgit2 Update libgit2 to 0.26.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02708301601c
branches:  trunk
changeset: 365983:02708301601c
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jul 31 14:18:20 2017 +0000

description:
Update libgit2 to 0.26.0.

libgit2 2017/6/19


This is the first release of the v0.26 series, "Aufschub". The changelog follows.

Changes or improvements

Support for opening, creating and modifying worktrees.

We can now detect SHA1 collisions resulting from the SHAttered attack. These
checks can be enabled at build time via -DUSE_SHA1DC.

Fix for missing implementation of git_merge_driver_source getters.

Fix for installed pkg-config file being broken when the prefix contains
spaces.

We now detect when the hashsum of on-disk objects does not match their
expected hashsum.

We now support open-ended ranges (e.g. "master..", "...master") in our
revision range parsing code.

We now correctly compute ignores with leading "/" in subdirectories.

We now optionally call fsync on loose objects, packfiles and their indexes,
loose references and packed reference files.

We can now build against OpenSSL v1.1 and against LibreSSL.

GIT_MERGE_OPTIONS_INIT now includes a setting to perform rename detection.
This aligns this structure with the default by git_merge and
git_merge_trees when NULL was provided for the options.

Improvements for reading index v4 files.

Perform additional retries for filesystem operations on Windows when files
are temporarily locked by other processes.

API additions

New family of functions to handle worktrees:

git_worktree_list() lets you look up worktrees for a repository.
git_worktree_lookup() lets you get a specific worktree.
git_worktree_open_from_repository() lets you get the associated worktree of a repository.
git_worktree_add lets you create new worktrees.
git_worktree_prune lets you remove worktrees from disk.
git_worktree_lock() and git_worktree_unlock() let you lock and unlock a worktree, respectively.
git_repository_open_from_worktree() lets you open a repository via
git_repository_head_for_worktree() lets you get the current HEAD for a
linked worktree.
git_repository_head_detached_for_worktree() lets you check whether a
linked worktree is in detached HEAD mode.
git_repository_item_path() lets you retrieve paths for various repository
files.

git_repository_commondir() lets you retrieve the common directory of a
repository.

git_branch_is_checked_out() allows you to check whether a branch is checked
out in a repository or any of its worktrees.

git_repository_submodule_cache_all() and
git_repository_submodule_cache_clear() functions allow you to prime or clear
the submodule cache of a repository.

You can disable strict hash verifications via the
GIT_OPT_ENABLE_STRICT_HASH_VERIFICATION option with git_libgit2_opts().

You can enable us calling fsync for various files inside the ".git"
directory by setting the GIT_OPT_ENABLE_FSYNC_GITDIR option with
git_libgit2_opts().

You can now enable "offset deltas" when creating packfiles and negotiating
packfiles with a remote server by setting GIT_OPT_ENABLE_OFS_DELTA option
with GIT_libgit2_opts().

You can now set the default share mode on Windows for opening files using
GIT_OPT_SET_WINDOWS_SHAREMODE option with git_libgit2_opts().
You can query the current share mode with GIT_OPT_GET_WINDOWS_SHAREMODE.

git_transport_smart_proxy_options() enables you to get the proxy options for
smart transports.

The GIT_FILTER_INIT macro and the git_filter_init function are provided
to initialize a git_filter structure.

Breaking API changes

clone_checkout_strategy has been removed from
git_submodule_update_option. The checkout strategy used to clone will
be the same strategy specified in checkout_opts.

diffstat:

 devel/libgit2/Makefile      |   5 ++---
 devel/libgit2/PLIST         |   7 ++++---
 devel/libgit2/buildlink3.mk |   4 ++--
 devel/libgit2/distinfo      |  10 +++++-----
 4 files changed, 13 insertions(+), 13 deletions(-)

diffs (65 lines):

diff -r 798064e632c1 -r 02708301601c devel/libgit2/Makefile
--- a/devel/libgit2/Makefile    Mon Jul 31 14:17:25 2017 +0000
+++ b/devel/libgit2/Makefile    Mon Jul 31 14:18:20 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2017/04/30 01:21:33 ryoon Exp $
+# $NetBSD: Makefile,v 1.19 2017/07/31 14:18:20 taca Exp $
 
-DISTNAME=      libgit2-0.25.1
-PKGREVISION=   1
+DISTNAME=      libgit2-0.26.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libgit2/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r 798064e632c1 -r 02708301601c devel/libgit2/PLIST
--- a/devel/libgit2/PLIST       Mon Jul 31 14:17:25 2017 +0000
+++ b/devel/libgit2/PLIST       Mon Jul 31 14:18:20 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2017/01/11 00:11:24 taca Exp $
+@comment $NetBSD: PLIST,v 1.7 2017/07/31 14:18:20 taca Exp $
 include/git2.h
 include/git2/annotated_commit.h
 include/git2/attr.h
@@ -78,7 +78,8 @@
 include/git2/tree.h
 include/git2/types.h
 include/git2/version.h
+include/git2/worktree.h
 lib/libgit2.so
-lib/libgit2.so.0.25.1
-lib/libgit2.so.25
+lib/libgit2.so.${PKGVERSION}
+lib/libgit2.so.26
 lib/pkgconfig/libgit2.pc
diff -r 798064e632c1 -r 02708301601c devel/libgit2/buildlink3.mk
--- a/devel/libgit2/buildlink3.mk       Mon Jul 31 14:17:25 2017 +0000
+++ b/devel/libgit2/buildlink3.mk       Mon Jul 31 14:18:20 2017 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.3 2017/02/18 13:17:23 taca Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2017/07/31 14:18:20 taca Exp $
 
 BUILDLINK_TREE+=       libgit2
 
 .if !defined(LIBGIT2_BUILDLINK3_MK)
 LIBGIT2_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libgit2+=        libgit2>=0.25.0
+BUILDLINK_API_DEPENDS.libgit2+=        libgit2>=0.26.0
 BUILDLINK_PKGSRCDIR.libgit2?=  ../../devel/libgit2
 
 .include "../../devel/zlib/buildlink3.mk"
diff -r 798064e632c1 -r 02708301601c devel/libgit2/distinfo
--- a/devel/libgit2/distinfo    Mon Jul 31 14:17:25 2017 +0000
+++ b/devel/libgit2/distinfo    Mon Jul 31 14:18:20 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2017/01/11 00:11:24 taca Exp $
+$NetBSD: distinfo,v 1.9 2017/07/31 14:18:20 taca Exp $
 
-SHA1 (libgit2-0.25.1.tar.gz) = c65238d0e0a698b202a3a886d003228cac6dacc3
-RMD160 (libgit2-0.25.1.tar.gz) = a9f3315d22f79e1955761f156117105781aea442
-SHA512 (libgit2-0.25.1.tar.gz) = bbd0d27c95406b548185ce02e2a9288a9dcb8c3b28476ba20f4f4917f6bd67f1ddee80de3054d30b79cdb9d973c3061a15ea7847c79bfa4e0c62e41d5195cb99
-Size (libgit2-0.25.1.tar.gz) = 4252130 bytes
+SHA1 (libgit2-0.26.0.tar.gz) = 7e9792e3d2ee88719f0d7cb59737256bfc1cddbb
+RMD160 (libgit2-0.26.0.tar.gz) = f2c7a593ffeed7cfd25593d35f585a2e2a7eb2cc
+SHA512 (libgit2-0.26.0.tar.gz) = 988c616c99637f2c1f80c498de34820296b78c0601669475eba9d194490cfd2047131987e63a799599277893e5741f9bcc226ffa594327356047ed563f07d346
+Size (libgit2-0.26.0.tar.gz) = 4697149 bytes



Home | Main Index | Thread Index | Old Index