summaryrefslogtreecommitdiff
path: root/extra/libssh/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libssh/PKGBUILD')
-rw-r--r--extra/libssh/PKGBUILD25
1 files changed, 18 insertions, 7 deletions
diff --git a/extra/libssh/PKGBUILD b/extra/libssh/PKGBUILD
index b2c484a0c..dd27a8349 100644
--- a/extra/libssh/PKGBUILD
+++ b/extra/libssh/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 195938 2013-10-05 20:32:06Z tomegun $
+# $Id: PKGBUILD 204549 2014-01-22 12:35:17Z andyrtr $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: ice-man <icemanf@gmail.com>
@@ -6,17 +6,29 @@
pkgname=libssh
pkgver=0.5.5
-pkgrel=1
+pkgrel=2
pkgdesc="Library for accessing ssh client services through C libraries"
url="http://www.libssh.org/"
license=('LGPL')
arch=('i686' 'x86_64' 'mips64el')
-depends=('openssl')
+depends=('zlib' 'openssl')
makedepends=('cmake' 'doxygen')
-source=("https://red.libssh.org/attachments/download/51/${pkgname}-${pkgver}.tar.gz")
+source=(https://red.libssh.org/attachments/download/51/${pkgname}-${pkgver}.tar.gz
+ 0004-reset-global-request-status.patch
+ 0005-multi-reverse-fwd.patch)
+md5sums=('bb308196756c7255c0969583d917136b'
+ '0d8c28906b07e31466157b1fda441f4a'
+ '6fa3a1a4f448e85a7eb39360f4a72ce9')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ # add multiple channels on a single SSH connection required by X2goclient
+ # see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736231
+ patch -Np1 -i ${srcdir}/0004-reset-global-request-status.patch
+ patch -Np1 -i ${srcdir}/0005-multi-reverse-fwd.patch
+}
build() {
- cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -26,7 +38,6 @@ build() {
}
package(){
- cd "${srcdir}"/build
+ cd build
make DESTDIR="${pkgdir}" install
}
-md5sums=('bb308196756c7255c0969583d917136b')