aboutsummaryrefslogtreecommitdiff
path: root/ports/libgit2/CONTROL
diff options
context:
space:
mode:
authorKevin Lu <6320810+kevinlul@users.noreply.github.com>2020-10-20 15:23:12 -0400
committerGitHub <noreply@github.com>2020-10-20 12:23:12 -0700
commita4eca5fabc1743e309e75736c6d8a2420f48193d (patch)
tree6de202a69379198b863b277b082a92156ff97b69 /ports/libgit2/CONTROL
parent13af628b03dbb5679d00ae81f6f36c3da6aeb743 (diff)
downloadvcpkg-a4eca5fabc1743e309e75736c6d8a2420f48193d.tar.gz
vcpkg-a4eca5fabc1743e309e75736c6d8a2420f48193d.zip
[libgit2] Devendor bundled dependencies and allow choosing SSL backend (#13074)
Diffstat (limited to 'ports/libgit2/CONTROL')
-rw-r--r--ports/libgit2/CONTROL27
1 files changed, 26 insertions, 1 deletions
diff --git a/ports/libgit2/CONTROL b/ports/libgit2/CONTROL
index 1c16caf88..0077410d5 100644
--- a/ports/libgit2/CONTROL
+++ b/ports/libgit2/CONTROL
@@ -1,8 +1,10 @@
Source: libgit2
Version: 1.0.1
+Port-Version: 1
Homepage: https://github.com/libgit2/libgit2
-Build-Depends: zlib, openssl (!windows&&!uwp)
+Build-Depends: zlib, http-parser
Description: Git linkable library
+Default-Features: pcre, ssl
Supports: !uwp
Feature: pcre
@@ -12,3 +14,26 @@ Build-Depends: pcre
Feature: pcre2
Description: Build against external libpcre2
Build-Depends: pcre2
+
+Feature: ssh
+Build-Depends: libgit2[core,openssl], libssh2
+Description: SSH support via libssh2
+
+Feature: ssl
+Build-Depends: libgit2[core,openssl] (!windows&!osx), libgit2[core,winhttp] (windows), libgit2[core,sectransp] (osx)
+Description: Default SSL backend
+
+# SSL backends
+Feature: openssl
+Build-Depends: openssl
+Description: SSL support (OpenSSL)
+
+Feature: winhttp
+Description: SSL support (WinHTTP)
+
+Feature: sectransp
+Description: SSL support (sectransp)
+
+Feature: mbedtls
+Build-Depends: mbedtls
+Description: SSL support (mbedTLS)