Index: head/devel/libgit2/Makefile =================================================================== --- head/devel/libgit2/Makefile +++ head/devel/libgit2/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= libgit2 -PORTVERSION= 0.26.0 +PORTVERSION= 0.27.0 DISTVERSIONPREFIX= v CATEGORIES= devel Index: head/devel/libgit2/distinfo =================================================================== --- head/devel/libgit2/distinfo +++ head/devel/libgit2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1510679233 -SHA256 (libgit2-libgit2-v0.26.0_GH0.tar.gz) = 6a62393e0ceb37d02fe0d5707713f504e7acac9006ef33da1e88960bd78b6eac -SIZE (libgit2-libgit2-v0.26.0_GH0.tar.gz) = 4697156 +TIMESTAMP = 1524466383 +SHA256 (libgit2-libgit2-v0.27.0_GH0.tar.gz) = 545b0458292c786aba334f1bf1c8f73600ae73dd7205a7bb791a187ee48ab8d2 +SIZE (libgit2-libgit2-v0.27.0_GH0.tar.gz) = 4761312 Index: head/devel/libgit2/files/patch-src_openssl__stream.h =================================================================== --- head/devel/libgit2/files/patch-src_openssl__stream.h +++ head/devel/libgit2/files/patch-src_openssl__stream.h @@ -1,11 +0,0 @@ ---- src/openssl_stream.h.orig 2017-06-14 11:31:20 UTC -+++ src/openssl_stream.h -@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_st - - - --# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+# if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) - - GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name) - { Index: head/devel/libgit2/files/patch-src_openssl__stream.c =================================================================== --- head/devel/libgit2/files/patch-src_openssl__stream.c +++ head/devel/libgit2/files/patch-src_openssl__stream.c @@ -1,11 +0,0 @@ ---- src/openssl_stream.c.orig 2017-06-14 11:31:20 UTC -+++ src/openssl_stream.c -@@ -103,7 +103,7 @@ int git_openssl_stream_global_init(void) - ssl_opts |= SSL_OP_NO_COMPRESSION; - #endif - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) - SSL_load_error_strings(); - OpenSSL_add_ssl_algorithms(); - #else Index: head/devel/libgit2/files/patch-src_streams_openssl.h =================================================================== --- head/devel/libgit2/files/patch-src_streams_openssl.h +++ head/devel/libgit2/files/patch-src_streams_openssl.h @@ -0,0 +1,11 @@ +--- src/streams/openssl.h.orig 2018-04-23 07:00:52 UTC ++++ src/streams/openssl.h +@@ -31,7 +31,7 @@ extern int git_openssl__set_cert_locatio + + + +-# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++# if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + + GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name) + { Index: head/devel/libgit2/files/patch-src_streams_openssl.c =================================================================== --- head/devel/libgit2/files/patch-src_streams_openssl.c +++ head/devel/libgit2/files/patch-src_streams_openssl.c @@ -0,0 +1,11 @@ +--- src/streams/openssl.c.orig 2018-04-23 07:00:42 UTC ++++ src/streams/openssl.c +@@ -104,7 +104,7 @@ int git_openssl_stream_global_init(void) + ssl_opts |= SSL_OP_NO_COMPRESSION; + #endif + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + SSL_load_error_strings(); + OpenSSL_add_ssl_algorithms(); + #else Index: head/devel/libgit2/pkg-plist =================================================================== --- head/devel/libgit2/pkg-plist +++ head/devel/libgit2/pkg-plist @@ -65,7 +65,6 @@ include/git2/sys/refdb_backend.h include/git2/sys/reflog.h include/git2/sys/refs.h -include/git2/sys/remote.h include/git2/sys/repository.h include/git2/sys/stream.h include/git2/sys/time.h