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

Antonio Rojas arojas at archlinux.org
Sun May 24 16:45:25 UTC 2015


    Date: Sunday, May 24, 2015 @ 18:45:25
  Author: arojas
Revision: 239720

Fix ssh_forward_listen undefined symbol (FS#45055)

Modified:
  libssh/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-24 16:39:40 UTC (rev 239719)
+++ PKGBUILD	2015-05-24 16:45:25 UTC (rev 239720)
@@ -6,7 +6,7 @@
 
 pkgname=libssh
 pkgver=0.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Library for accessing ssh client services through C libraries"
 url="http://www.libssh.org/"
 license=('LGPL')
@@ -15,9 +15,10 @@
 makedepends=('cmake' 'cmocka' 'doxygen')
 checkdepends=('openssh')
 source=(https://red.libssh.org/attachments/download/140/${pkgname}-${pkgver}.tar.xz
-        https://red.libssh.org/attachments/download/139/${pkgname}-${pkgver}.tar.asc)
+        https://red.libssh.org/attachments/download/139/${pkgname}-${pkgver}.tar.asc 'ssh_forward_listen.patch')
 md5sums=('cf20c3bb6edfc853187985c3f649ca80'
-         'SKIP')
+         'SKIP'
+         '53ddfb95b84530d9bf5947e4dc98a875')
 validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn at cryptomilk.org>
 
 prepare() {
@@ -25,6 +26,10 @@
   # 'extra-x86-build' uses user 'nobody' that has a record in /etc/passwd file
   # but $HOME envvar is set to '/build'. The test expects that $HOME corresponds to passwd file.
   sed 's/unit_test(torture_path_expand_tilde_unix),//' -i libssh-${pkgver}/tests/unittests/torture_misc.c
+
+# Fix undefined symbol (FS#45055)
+  cd $pkgname-$pkgver
+  patch -p1 -i "$srcdir"/ssh_forward_listen.patch
 }
 
 build() {



More information about the arch-commits mailing list