aboutsummaryrefslogtreecommitdiff
path: root/ports/libgit2/CONTROL
diff options
context:
space:
mode:
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)