pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libgit2 libgit2: update to 1.0.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22f30c8ba227
branches:  trunk
changeset: 426742:22f30c8ba227
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 06 08:33:40 2020 +0000

description:
libgit2: update to 1.0.0.

v1.0
----

This is release v1.0 "Luftschloss", which is the first stabe release of
libgit2. The API will stay compatible across all releases of the same major
version. This release includes bugfixes only and supersedes v0.99, which will
stop being maintained. Both v0.27 and v0.28 stay supported in accordance with
our release policy.

### Changes or improvements

- CMake was converted to make use of the GNUInstallDirs module for both our
  pkgconfig and install targets in favor of our custom build options
  `BIN_INSTALL_DIR`, `LIB_INSTALL_DIR` and `INCLUDE_INSTALL_DIR`. Instead, you
  can now use CMakes standard variables `CMAKE_INSTALL_BINDIR`,
  `CMAKE_INSTALL_LIBDIR` and `CMAKE_INSTALL_INCLUDEDIR`.

- Some CMake build options accepted either a specific value or a boolean value
  to disable the option altogether or use automatic detection. We only accepted
  "ON" or "OFF", but none of the other values CMake recognizes as boolean. This
  was aligned with CMake's understanding of booleans.

- The installed pkgconfig file contained incorrect values for both `libdir` and
  `includedir` variables.

- If using pcre2 for regular expressions, then we incorrectly added "pcre2"
  instead of "pcre2-8" to our pkgconfig dependencies, which was corrected.

- Fixed building the bundled ntlmclient dependency on FreeBSD, OpenBSD and
  SunOS.

- When writing symlinks on Windows, we incorrectly handled relative symlink
  targets, which was corrected.

- When using the HTTP protocol via macOS' SecureTransport implementation, reads
  could stall at the end of the session and only continue after a timeout of 60
  seconds was reached.

- The filesystem-based reference callback didn't corectly initialize the backend
  version.

- A segmentation fault was fixed when calling `git_blame_buffer()` for files
  that were modified and added to the index.

- A backwards-incompatible change was introduced when we moved some structures
  from "git2/credentials.h" into "git2/sys/credentials.h". This was fixed in the
  case where you do not use hard deprecation.

- Improved error handling in various places.

diffstat:

 devel/libgit2/Makefile                               |   5 ++---
 devel/libgit2/PLIST                                  |   4 ++--
 devel/libgit2/buildlink3.mk                          |   4 ++--
 devel/libgit2/distinfo                               |  12 ++++++------
 devel/libgit2/patches/patch-deps_ntlmclient_compat.h |   6 +++---
 5 files changed, 15 insertions(+), 16 deletions(-)

diffs (87 lines):

diff -r 46b3fa9482d5 -r 22f30c8ba227 devel/libgit2/Makefile
--- a/devel/libgit2/Makefile    Mon Apr 06 08:28:38 2020 +0000
+++ b/devel/libgit2/Makefile    Mon Apr 06 08:33:40 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.45 2020/03/08 16:49:15 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2020/04/06 08:33:40 wiz Exp $
 
-DISTNAME=      libgit2-0.99.0
-PKGREVISION=   1
+DISTNAME=      libgit2-1.0.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libgit2/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r 46b3fa9482d5 -r 22f30c8ba227 devel/libgit2/PLIST
--- a/devel/libgit2/PLIST       Mon Apr 06 08:28:38 2020 +0000
+++ b/devel/libgit2/PLIST       Mon Apr 06 08:33:40 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2020/02/29 11:39:53 nia Exp $
+@comment $NetBSD: PLIST,v 1.11 2020/04/06 08:33:40 wiz Exp $
 include/git2.h
 include/git2/annotated_commit.h
 include/git2/apply.h
@@ -87,6 +87,6 @@
 include/git2/version.h
 include/git2/worktree.h
 lib/libgit2.so
-lib/libgit2.so.0.99
+lib/libgit2.so.1.0
 lib/libgit2.so.${PKGVERSION}
 lib/pkgconfig/libgit2.pc
diff -r 46b3fa9482d5 -r 22f30c8ba227 devel/libgit2/buildlink3.mk
--- a/devel/libgit2/buildlink3.mk       Mon Apr 06 08:28:38 2020 +0000
+++ b/devel/libgit2/buildlink3.mk       Mon Apr 06 08:33:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2020/02/29 11:49:57 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2020/04/06 08:33:40 wiz Exp $
 
 BUILDLINK_TREE+=       libgit2
 
@@ -6,7 +6,7 @@
 LIBGIT2_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.libgit2+=        libgit2>=0.28.0
-BUILDLINK_ABI_DEPENDS.libgit2+=        libgit2>=0.99.0
+BUILDLINK_ABI_DEPENDS.libgit2+=        libgit2>=1.0
 BUILDLINK_PKGSRCDIR.libgit2?=  ../../devel/libgit2
 
 .include "../../devel/zlib/buildlink3.mk"
diff -r 46b3fa9482d5 -r 22f30c8ba227 devel/libgit2/distinfo
--- a/devel/libgit2/distinfo    Mon Apr 06 08:28:38 2020 +0000
+++ b/devel/libgit2/distinfo    Mon Apr 06 08:33:40 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.20 2020/02/29 11:39:53 nia Exp $
+$NetBSD: distinfo,v 1.21 2020/04/06 08:33:40 wiz Exp $
 
-SHA1 (libgit2-0.99.0.tar.gz) = b5aa2daf06f9e6258358d54a0e2b6ccd5597a48e
-RMD160 (libgit2-0.99.0.tar.gz) = c8685a267ec8006e9e0e6d98d0c36d7c532713ab
-SHA512 (libgit2-0.99.0.tar.gz) = e38e18da0e6ed1e5c8198c9eb2c362b21da2d0b9c8bc23309d2f70183549f4b9f23a6db8ce5f1f0f24b373e6427039c2a845b62dd74f91b02cfe8954f961a91b
-Size (libgit2-0.99.0.tar.gz) = 5307975 bytes
-SHA1 (patch-deps_ntlmclient_compat.h) = a6d6eca024fa6a63f1f0575e9c7ac22980f82594
+SHA1 (libgit2-1.0.0.tar.gz) = 70ea27ada7433b08c08b2706dc8520a8da2156fb
+RMD160 (libgit2-1.0.0.tar.gz) = 6b3f8c350692ff04b10a1dcc03167e7773db9617
+SHA512 (libgit2-1.0.0.tar.gz) = 7e3b6582dd1567fd5ebfc829a98e22acfd5566ba08f2fb9b7a6783fa87f5e8952ac67f1a2c13adb543e56753d858e73a03204bac17a096c72f5daf4ba376d904
+Size (libgit2-1.0.0.tar.gz) = 5312324 bytes
+SHA1 (patch-deps_ntlmclient_compat.h) = c808fccd9ee6bc99f0620cd8820fbdb301d4c42b
diff -r 46b3fa9482d5 -r 22f30c8ba227 devel/libgit2/patches/patch-deps_ntlmclient_compat.h
--- a/devel/libgit2/patches/patch-deps_ntlmclient_compat.h      Mon Apr 06 08:28:38 2020 +0000
+++ b/devel/libgit2/patches/patch-deps_ntlmclient_compat.h      Mon Apr 06 08:33:40 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-deps_ntlmclient_compat.h,v 1.1 2020/02/29 11:39:54 nia Exp $
+$NetBSD: patch-deps_ntlmclient_compat.h,v 1.2 2020/04/06 08:33:41 wiz Exp $
 
 NetBSD does not have htonll.
 
---- deps/ntlmclient/compat.h.orig      2020-02-19 10:27:00.000000000 +0000
+--- deps/ntlmclient/compat.h.orig      2020-04-01 13:49:12.000000000 +0000
 +++ deps/ntlmclient/compat.h
 @@ -21,7 +21,7 @@
  # include <stdbool.h>
@@ -10,6 +10,6 @@
  
 -#ifdef __linux__
 +#if defined(__linux__) || defined(__NetBSD__)
+ /* See man page endian(3) */
  # include <endian.h>
  # define htonll htobe64
- #endif



Home | Main Index | Thread Index | Old Index