diff options
Diffstat (limited to 'ports/libssh')
| -rw-r--r-- | ports/libssh/CONTROL | 24 | ||||
| -rw-r--r-- | ports/libssh/vcpkg.json | 62 |
2 files changed, 62 insertions, 24 deletions
diff --git a/ports/libssh/CONTROL b/ports/libssh/CONTROL deleted file mode 100644 index cec23294e..000000000 --- a/ports/libssh/CONTROL +++ /dev/null @@ -1,24 +0,0 @@ -Source: libssh -Version: 0.9.5 -Port-Version: 5 -Homepage: https://www.libssh.org/ -Build-Depends: libssh[core,mbedtls] (android) -Description: libssh is a multiplatform C library implementing the SSHv2 protocol on client and server side -Default-Features: crypto -Supports: !(uwp | arm) - -Feature: crypto -Build-Depends: libssh[mbedtls] -Description: Default crypto backend - -Feature: mbedtls -Build-Depends: mbedtls[pthreads] (!android), mbedtls[core] -Description: Crypto support (mbedTLS) - -Feature: openssl -Build-Depends: openssl -Description: Crypto support (OpenSSL) - -Feature: zlib -Description: libssh with zlib -Build-Depends: zlib diff --git a/ports/libssh/vcpkg.json b/ports/libssh/vcpkg.json new file mode 100644 index 000000000..47669c5a2 --- /dev/null +++ b/ports/libssh/vcpkg.json @@ -0,0 +1,62 @@ +{ + "name": "libssh", + "version-string": "0.9.5", + "port-version": 6, + "description": "libssh is a multiplatform C library implementing the SSHv2 protocol on client and server side", + "homepage": "https://www.libssh.org/", + "supports": "!(uwp | arm)", + "dependencies": [ + { + "name": "libssh", + "default-features": false, + "features": [ + "mbedtls" + ], + "platform": "android" + } + ], + "default-features": [ + "crypto" + ], + "features": { + "crypto": { + "description": "Default crypto backend", + "dependencies": [ + { + "name": "libssh", + "features": [ + "mbedtls" + ] + } + ] + }, + "mbedtls": { + "description": "Crypto support (mbedTLS)", + "dependencies": [ + { + "name": "mbedtls", + "default-features": false + }, + { + "name": "mbedtls", + "features": [ + "pthreads" + ], + "platform": "!android" + } + ] + }, + "openssl": { + "description": "Crypto support (OpenSSL)", + "dependencies": [ + "openssl" + ] + }, + "zlib": { + "description": "libssh with zlib", + "dependencies": [ + "zlib" + ] + } + } +} |
