diff --git a/network/misc/libssh/actions.py b/network/misc/libssh/actions.py
index 90bc4ec304..2527e02abc 100644
--- a/network/misc/libssh/actions.py
+++ b/network/misc/libssh/actions.py
@@ -14,12 +14,14 @@ from pisi.actionsapi import get
def setup():
# fix unittest error
pisitools.dosed("tests/unittests/torture_misc.c", "cmocka_unit_test\(torture_path_expand_tilde_unix\),", "")
-
+ pisitools.dosed("tests/unittests/CMakeLists.txt", "torture_config", "")
+
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DUNIT_TESTING=ON \
+ -DWITH_NACL=OFF \
-DWITH_GSSAPI=OFF", sourceDir="..")
def build():
@@ -29,7 +31,7 @@ def build():
def check():
shelltools.cd("build")
- autotools.make("test")
+ autotools.make("test -j2")
def install():
shelltools.cd("build")
@@ -39,4 +41,4 @@ def install():
pisitools.dohtml("doc/html/*")
shelltools.cd("..")
- pisitools.dodoc("COPYING", "README*")
\ No newline at end of file
+ pisitools.dodoc("COPYING", "README*")
diff --git a/network/misc/libssh/pspec.xml b/network/misc/libssh/pspec.xml
index a41677ea86..de3b5e0697 100644
--- a/network/misc/libssh/pspec.xml
+++ b/network/misc/libssh/pspec.xml
@@ -13,7 +13,7 @@
library
Full C library functions for manipulating a client-side SSH connection
libssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).
- https://www.libssh.org/files/0.10/libssh-0.10.2.tar.xz
+ https://www.libssh.org/files/0.10/libssh-0.10.4.tar.xz
openssl-devel
cmocka-devel
@@ -61,8 +61,8 @@
- 2022-09-01
- 0.10.2
+ 2022-09-14
+ 0.10.4
Version bump.
Mustafa Cinasal
muscnsl@gmail.com