diff --git a/libs/libssh/libssh.py b/libs/libssh/libssh.py index 8c145b20..43681993 100644 --- a/libs/libssh/libssh.py +++ b/libs/libssh/libssh.py @@ -1,49 +1,50 @@ # -*- coding: utf-8 -*- # Copyright Hannah von Reth # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. import info class subinfo(info.infoclass): def setTargets(self): self.svnTargets["master"] = "git://git.libssh.org/projects/libssh.git" - for ver in ["0.8.5"]: + for ver in ["0.8.5", "0.9.4"]: self.targets[ver] = f"https://www.libssh.org/files/{ver[:3]}/libssh-{ver}.tar.xz" self.targetInstSrc[ver] = f"libssh-{ver}" self.targetDigests["0.8.5"] = (['07d2c431240fc88f6b06bcb36ae267f9afeedce2e32f6c42f8844b205ab5a335'], CraftHash.HashAlgorithm.SHA256) + self.targetDigests["0.9.4"] = (['150897a569852ac05aac831dc417a7ba8e610c86ca2e0154a99c6ade2486226b'], CraftHash.HashAlgorithm.SHA256) self.description = "a working SSH implementation by the mean of a library" - self.defaultTarget = "0.8.5" - + self.defaultTarget = "0.9.4" + def setDependencies(self): self.runtimeDependencies["virtual/base"] = None self.runtimeDependencies["libs/zlib"] = None self.runtimeDependencies["libs/openssl"] = None from Package.CMakePackageBase import * class Package(CMakePackageBase): def __init__(self): CMakePackageBase.__init__(self)