[arch-commits] Commit in libssh/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Jun 14 09:09:18 UTC 2017


    Date: Wednesday, June 14, 2017 @ 09:09:17
  Author: arojas
Revision: 298808

Fix reading SSH configuration files (FS#54437)

Modified:
  libssh/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-14 09:00:26 UTC (rev 298807)
+++ PKGBUILD	2017-06-14 09:09:17 UTC (rev 298808)
@@ -8,7 +8,7 @@
 pkgbase=libssh
 pkgname=(libssh libssh-docs)
 pkgver=0.7.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Library for accessing ssh client services through C libraries"
 url="http://www.libssh.org/"
 license=(LGPL)
@@ -16,9 +16,11 @@
 depends=(libgcrypt zlib) # use openssl again for 0.8
 makedepends=(cmake cmocka doxygen)
 source=(https://red.libssh.org/attachments/download/218/$pkgname-$pkgver.tar.xz
-        https://red.libssh.org/attachments/download/217/$pkgname-$pkgver.tar.asc)
+        https://red.libssh.org/attachments/download/217/$pkgname-$pkgver.tar.asc
+        libssh-fix-read-config.patch::https://git.libssh.org/projects/libssh.git/patch/?id=5333be59)
 sha256sums=('54e86dd5dc20e5367e58f3caab337ce37675f863f80df85b6b1614966a337095'
-            'SKIP')
+            'SKIP'
+            'c39bed86f34a377015fb6d6552700a3838c5cae1a4a83b3e859539785aeabdba')
 validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn at cryptomilk.org>
 
 prepare() {
@@ -28,6 +30,10 @@
   sed 's/unit_test(torture_path_expand_tilde_unix),//' -i libssh-${pkgver}/tests/unittests/torture_misc.c
 
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  # Fix reading SSH configuration files
+  patch -p1 -i ../libssh-fix-read-config.patch
 }
 
 build() {



More information about the arch-commits mailing list