pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libgit2



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Apr  6 08:33:41 UTC 2020

Modified Files:
        pkgsrc/devel/libgit2: Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/libgit2/patches: patch-deps_ntlmclient_compat.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/devel/libgit2/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/libgit2/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/libgit2/buildlink3.mk
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/libgit2/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/libgit2/patches/patch-deps_ntlmclient_compat.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libgit2/Makefile
diff -u pkgsrc/devel/libgit2/Makefile:1.45 pkgsrc/devel/libgit2/Makefile:1.46
--- pkgsrc/devel/libgit2/Makefile:1.45  Sun Mar  8 16:49:15 2020
+++ pkgsrc/devel/libgit2/Makefile       Mon Apr  6 08:33:40 2020
@@ -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}

Index: pkgsrc/devel/libgit2/PLIST
diff -u pkgsrc/devel/libgit2/PLIST:1.10 pkgsrc/devel/libgit2/PLIST:1.11
--- pkgsrc/devel/libgit2/PLIST:1.10     Sat Feb 29 11:39:53 2020
+++ pkgsrc/devel/libgit2/PLIST  Mon Apr  6 08:33:40 2020
@@ -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/types.h
 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

Index: pkgsrc/devel/libgit2/buildlink3.mk
diff -u pkgsrc/devel/libgit2/buildlink3.mk:1.9 pkgsrc/devel/libgit2/buildlink3.mk:1.10
--- pkgsrc/devel/libgit2/buildlink3.mk:1.9      Sat Feb 29 11:49:57 2020
+++ pkgsrc/devel/libgit2/buildlink3.mk  Mon Apr  6 08:33:40 2020
@@ -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 @@ BUILDLINK_TREE+=        libgit2
 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"

Index: pkgsrc/devel/libgit2/distinfo
diff -u pkgsrc/devel/libgit2/distinfo:1.20 pkgsrc/devel/libgit2/distinfo:1.21
--- pkgsrc/devel/libgit2/distinfo:1.20  Sat Feb 29 11:39:53 2020
+++ pkgsrc/devel/libgit2/distinfo       Mon Apr  6 08:33:40 2020
@@ -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

Index: pkgsrc/devel/libgit2/patches/patch-deps_ntlmclient_compat.h
diff -u pkgsrc/devel/libgit2/patches/patch-deps_ntlmclient_compat.h:1.1 pkgsrc/devel/libgit2/patches/patch-deps_ntlmclient_compat.h:1.2
--- pkgsrc/devel/libgit2/patches/patch-deps_ntlmclient_compat.h:1.1     Sat Feb 29 11:39:54 2020
+++ pkgsrc/devel/libgit2/patches/patch-deps_ntlmclient_compat.h Mon Apr  6 08:33:41 2020
@@ -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 @@ NetBSD does not have htonll.
  
 -#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