aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgit2
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2015-09-07 04:48:51 +0800
committerkwm <kwm@FreeBSD.org>2015-09-07 04:48:51 +0800
commitdcbea611fc6996001530219e014bf595b3199e0b (patch)
tree21a3326ccb37322104f6a4991407bdea50c350c7 /devel/libgit2
parentd44e0d51d7c0242087af3f36f4bb3b4fc1c79d12 (diff)
downloadfreebsd-ports-gnome-dcbea611fc6996001530219e014bf595b3199e0b.tar.gz
freebsd-ports-gnome-dcbea611fc6996001530219e014bf595b3199e0b.tar.zst
freebsd-ports-gnome-dcbea611fc6996001530219e014bf595b3199e0b.zip
Update libgit2 to 0.23.1.
Add curl option for HTTP support. Submitted by: Andrey Cherkashin <andoriyu@gmail.com> Approved by: wg@ Differential Revision: https://reviews.freebsd.org/D3494
Diffstat (limited to 'devel/libgit2')
-rw-r--r--devel/libgit2/Makefile10
-rw-r--r--devel/libgit2/distinfo4
-rw-r--r--devel/libgit2/pkg-plist3
3 files changed, 10 insertions, 7 deletions
diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index 53335f6b19d9..07cf0f10a7d8 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= libgit2
-PORTVERSION= 0.22.3
+PORTVERSION= 0.23.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
@@ -19,15 +19,19 @@ USE_OPENSSL= yes
PLIST_SUB= SHLIB_VER=${PORTVERSION:R:E}
-OPTIONS_DEFINE= SSH THREADS
-OPTIONS_DEFAULT=SSH THREADS
+OPTIONS_DEFINE= SSH THREADS CURL
+OPTIONS_DEFAULT=SSH THREADS CURL
SSH_DESC= Enable SSH support through libssh2
+CURL_DESC= Enable HTTP support through cURL
SSH_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
SSH_CMAKE_ON= -DUSE_SSH=ON
SSH_CMAKE_OFF= -DUSE_SSH=OFF
THREADS_CMAKE_ON= -DTHREADSAFE=ON
THREADS_CMAKE_OFF= -DTHREADSAFE=OFF
+CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+CURL_CMAKE_ON= -DCURL=ON
+CURL_CMAKE_OFF= -DCURL=OFF
.include <bsd.port.pre.mk>
diff --git a/devel/libgit2/distinfo b/devel/libgit2/distinfo
index 5b1f66d304b5..5d0b1d0b82f1 100644
--- a/devel/libgit2/distinfo
+++ b/devel/libgit2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libgit2-libgit2-v0.22.3_GH0.tar.gz) = 511fe60e7c12c3525b4e0489861e5c1fe0e331d604bee9a3dfb8420c2f288f60
-SIZE (libgit2-libgit2-v0.22.3_GH0.tar.gz) = 3594098
+SHA256 (libgit2-libgit2-v0.23.1_GH0.tar.gz) = 113748018e5876bea84af5c749af25b62f58cb4ca82730dcbffaac90c87f7056
+SIZE (libgit2-libgit2-v0.23.1_GH0.tar.gz) = 3717102
diff --git a/devel/libgit2/pkg-plist b/devel/libgit2/pkg-plist
index ae2372195b3f..e8106428a7c1 100644
--- a/devel/libgit2/pkg-plist
+++ b/devel/libgit2/pkg-plist
@@ -34,7 +34,6 @@ include/git2/oidarray.h
include/git2/pack.h
include/git2/patch.h
include/git2/pathspec.h
-include/git2/push.h
include/git2/rebase.h
include/git2/refdb.h
include/git2/reflog.h
@@ -75,6 +74,6 @@ include/git2/tree.h
include/git2/types.h
include/git2/version.h
lib/libgit2.so
-lib/libgit2.so.0.%%SHLIB_VER%%.3
+lib/libgit2.so.0.%%SHLIB_VER%%.1
lib/libgit2.so.%%SHLIB_VER%%
libdata/pkgconfig/libgit2.pc