diff --git a/network/misc/libssh/actions.py b/network/misc/libssh/actions.py
index 6c358263d6..90bc4ec304 100644
--- a/network/misc/libssh/actions.py
+++ b/network/misc/libssh/actions.py
@@ -5,28 +5,38 @@
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import cmaketools
-from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
+from pisi.actionsapi import autotools
+from pisi.actionsapi import pisitools
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\),", "")
+
shelltools.makedirs("build")
shelltools.cd("build")
- cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
+ cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DUNIT_TESTING=ON \
-DWITH_GSSAPI=OFF", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
- #cmaketools.make("doc")
+ autotools.make("docs")
+
+def check():
+ shelltools.cd("build")
+ autotools.make("test")
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.doman("doc/man/*/*")
- pisitools.dohtml("doc/*")
+ pisitools.dohtml("doc/html/*")
shelltools.cd("..")
- pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "INSTALL", "README")
+ pisitools.dodoc("COPYING", "README*")
\ No newline at end of file
diff --git a/network/misc/libssh/pspec.xml b/network/misc/libssh/pspec.xml
index 3972b33df8..199eb85a44 100644
--- a/network/misc/libssh/pspec.xml
+++ b/network/misc/libssh/pspec.xml
@@ -1,5 +1,5 @@
-
+
libssh
@@ -8,25 +8,28 @@
PisiLinux Communityadmin@pisilinux.org
+ network.miscLGPLv2.1libraryFull C library functions for manipulating a client-side SSH connectionlibssh 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.8/libssh-0.8.4.tar.xz
+ https://www.libssh.org/files/0.9/libssh-0.9.3.tar.xz
- zlib-developenssl-devel
-
+ cmocka-devel
+ zlib-develdoxygencmake
+
libssh
+ Full C library functions for manipulating a client-side SSH connection
- zlibopenssl
+ zlib/usr/lib
@@ -56,6 +59,13 @@
+
+ 2020-02-24
+ 0.9.3
+ Version bump.
+ Blue Devil
+ bluedevil@sctzine.com
+ 2018-10-170.8.4
diff --git a/network/misc/libssh/translations.xml b/network/misc/libssh/translations.xml
index 55fea85eaf..933bb689d4 100644
--- a/network/misc/libssh/translations.xml
+++ b/network/misc/libssh/translations.xml
@@ -9,5 +9,12 @@
libssh-devellibssh için geliştirme dosyaları
+ libssh-devel, libssh için geliştirme dosyalarını içerir.
-
+
+
+ libssh-docs
+ libssh için belgelendirme dosyaları
+ libssh-docs, libssh için belgelendirme dosyalarını içerir.
+
+
\ No newline at end of file