From 7a08d2cdfa37f70b95c963585a392af18298c06a Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 22 Jan 2024 14:01:38 +0100 Subject: just-mr: Disable all non-HTTP but FTP and TFTP --- CHANGELOG.md | 3 +++ TARGETS | 34 ++++++++++++++++++++++++++++++++-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62aa5d6c..fce863e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,9 @@ A feature release on top of `1.2.0`, backwards compatible. - When `just-mr` executes the action to generate the desired tree of a `"git tree"` repository, it can be specified that certain variables of the environment can be inherited. +- Support for fetching archives from FTP and TFTP was added to `just-mr` + if it was built with bundled curl. For package builds, libcurl has + enabled whatever the distro considers suitable. ### Fixes diff --git a/TARGETS b/TARGETS index 7dc8e547..fc846286 100644 --- a/TARGETS +++ b/TARGETS @@ -194,14 +194,44 @@ { "type": "let*" , "bindings": [ ["ENABLE_ARES", true] - , ["HTTP_ONLY", true] + , ["CURL_DISABLE_DICT", true] + , ["CURL_DISABLE_FILE", true] + , ["CURL_DISABLE_FTP", false] + , ["CURL_DISABLE_GOPHER", true] + , ["CURL_DISABLE_IMAP", true] + , ["CURL_DISABLE_LDAP", true] + , ["CURL_DISABLE_LDAPS", true] + , ["CURL_DISABLE_MQTT", true] + , ["CURL_DISABLE_POP3", true] + , ["CURL_DISABLE_RTSP", true] + , ["CURL_DISABLE_SMB", true] + , ["CURL_DISABLE_SMTP", true] + , ["CURL_DISABLE_TELNET", true] + , ["CURL_DISABLE_TFTP", false] , ["CURL_USE_LIBPSL", false] , ["CURL_USE_LIBSSH2", false] ] , "body": { "type": "env" , "vars": - ["ENABLE_ARES", "HTTP_ONLY", "CURL_USE_LIBPSL", "CURL_USE_LIBSSH2"] + [ "ENABLE_ARES" + , "CURL_DISABLE_DICT" + , "CURL_DISABLE_FILE" + , "CURL_DISABLE_FTP" + , "CURL_DISABLE_GOPHER" + , "CURL_DISABLE_IMAP" + , "CURL_DISABLE_LDAP" + , "CURL_DISABLE_LDAPS" + , "CURL_DISABLE_MQTT" + , "CURL_DISABLE_POP3" + , "CURL_DISABLE_RTSP" + , "CURL_DISABLE_SMB" + , "CURL_DISABLE_SMTP" + , "CURL_DISABLE_TELNET" + , "CURL_DISABLE_TFTP" + , "CURL_USE_LIBPSL" + , "CURL_USE_LIBSSH2" + ] } } } -- cgit v1.2.3