diff --git a/recipes/libftp/all/conandata.yml b/recipes/libftp/all/conandata.yml index 1df2b6440cd9a..8d5caee5db724 100644 --- a/recipes/libftp/all/conandata.yml +++ b/recipes/libftp/all/conandata.yml @@ -1,4 +1,7 @@ sources: + "1.5.0": + url: "https://github.com/deniskovalchuk/libftp/archive/refs/tags/v1.5.0.tar.gz" + sha256: "fe24d5d6ae8f28e1ea35f2ffd09461cc21351a0d4f7e2c0f52550d8ce6ebd64f" "1.4.0": url: "https://github.com/deniskovalchuk/libftp/archive/refs/tags/v1.4.0.tar.gz" sha256: "0d8c9f8ea36ef010c4b7be79e3c4ad46830d2f644bcecd608d83f69274a2aa9e" diff --git a/recipes/libftp/all/conanfile.py b/recipes/libftp/all/conanfile.py index 9ead6038cf850..3bd8e4900cc7e 100644 --- a/recipes/libftp/all/conanfile.py +++ b/recipes/libftp/all/conanfile.py @@ -39,8 +39,14 @@ def layout(self): cmake_layout(self, src_folder="src") def requirements(self): - self.requires("boost/1.86.0", transitive_headers=True) - if Version(self.version) >= "0.5.0": + version = Version(self.version) + + if version >= "1.5.0": + self.requires("boost/1.88.0", transitive_headers=True) + else: + self.requires("boost/1.86.0", transitive_headers=True) + + if version >= "0.5.0": self.requires("openssl/[>=1.1 <4]", transitive_headers=True, transitive_libs=True) def validate(self): diff --git a/recipes/libftp/config.yml b/recipes/libftp/config.yml index fc2acdcc60347..3bc45d0d42bcd 100644 --- a/recipes/libftp/config.yml +++ b/recipes/libftp/config.yml @@ -1,4 +1,6 @@ versions: + "1.5.0": + folder: all "1.4.0": folder: all "1.3.0":