[crux-commits] ports/contrib (3.5): [notify] libssh: 0.9.0 -> 0.9.4; fixes CVE-2019-14889

crux at crux.nu crux at crux.nu
Mon Jun 1 20:21:55 UTC 2020


commit ee058021aa326790ac097de800df1a7f1b2b0d59
Author: Tim Biermann <tbier at posteo.de>
Date:   Mon Jun 1 22:21:52 2020 +0200

    [notify] libssh: 0.9.0 -> 0.9.4; fixes CVE-2019-14889

diff --git a/libssh/.footprint b/libssh/.footprint
index 60a06f619..e232f10dc 100644
--- a/libssh/.footprint
+++ b/libssh/.footprint
@@ -11,10 +11,11 @@ drwxr-xr-x	root/root	usr/include/libssh/
 drwxr-xr-x	root/root	usr/lib/
 drwxr-xr-x	root/root	usr/lib/cmake/
 drwxr-xr-x	root/root	usr/lib/cmake/libssh/
+-rw-r--r--	root/root	usr/lib/cmake/libssh/libssh-config-release.cmake
 -rw-r--r--	root/root	usr/lib/cmake/libssh/libssh-config-version.cmake
 -rw-r--r--	root/root	usr/lib/cmake/libssh/libssh-config.cmake
 lrwxrwxrwx	root/root	usr/lib/libssh.so -> libssh.so.4
-lrwxrwxrwx	root/root	usr/lib/libssh.so.4 -> libssh.so.4.8.1
--rwxr-xr-x	root/root	usr/lib/libssh.so.4.8.1
+lrwxrwxrwx	root/root	usr/lib/libssh.so.4 -> libssh.so.4.8.5
+-rwxr-xr-x	root/root	usr/lib/libssh.so.4.8.5
 drwxr-xr-x	root/root	usr/lib/pkgconfig/
 -rw-r--r--	root/root	usr/lib/pkgconfig/libssh.pc
diff --git a/libssh/.signature b/libssh/.signature
index d0a554330..47eee04e7 100644
--- a/libssh/.signature
+++ b/libssh/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF36gXkbPM4esRS7PMc47bs5xBhEztHck9hvzVvYoMsU9s8rYcROKhVBp4c2ySlwmOBu/wKxSndwJ+Ls1OmdpUggk=
-SHA256 (Pkgfile) = 517940360f0997c5e492f66baaa65ee1126d6664d55fcd502f54343ac77abe24
-SHA256 (.footprint) = 65e8138c3427aafcaf928c0fa9909596d87269f9bce9c0473b94a4c02706328d
-SHA256 (libssh-0.9.0.tar.xz) = 25303c2995e663cd169fdd902bae88106f48242d7e96311d74f812023482c7a5
+RWSagIOpLGJF3zTRXBgWsNp6MqDELr1Gdsat7keb8FigegJTps3+otMgWrbC8LztxRawJn4iFaOaTluMbJYV3k7dMm8e4PVUjA8=
+SHA256 (Pkgfile) = 5570a59201dccbaca153dc7099621cbfa41c1db75cdf9a6961c123c449ed6d55
+SHA256 (.footprint) = 89be291bbd99b557510fefd59a50a1e98c6932e43daf0f2f2c6a85204bc405df
+SHA256 (libssh-0.9.4.tar.xz) = 150897a569852ac05aac831dc417a7ba8e610c86ca2e0154a99c6ade2486226b
diff --git a/libssh/Pkgfile b/libssh/Pkgfile
index 161bfe150..59983ada1 100644
--- a/libssh/Pkgfile
+++ b/libssh/Pkgfile
@@ -1,18 +1,18 @@
 # Description: ssh library
-# URL:         http://libssh.org
+# URL:         https://libssh.org
 # Maintainer:  Thomas Penteker, tek at serverop dot de
 # Depends on:  cmake
 
 name=libssh
-version=0.9.0
+version=0.9.4
 release=1
 source=(https://www.libssh.org/files/${version%.*}/libssh-${version}.tar.xz)
 
 build() {
-	cd $name-$version
-
-  mkdir -p build
-  cd build
-  cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
-  make DESTDIR=$PKG install
+  cmake -S$name-$version -Bbuild -GNinja \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_BUILD_TYPE=Release
+  cmake --build build
+  DESTDIR=$PKG cmake --build build --target install
 }


More information about the crux-commits mailing list