[arch-commits] Commit in libssh2/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Mar 19 14:34:22 UTC 2021


    Date: Friday, March 19, 2021 @ 14:34:22
  Author: felixonmars
Revision: 410307

archrelease: copy trunk to testing-x86_64

Added:
  libssh2/repos/testing-x86_64/
  libssh2/repos/testing-x86_64/PKGBUILD
    (from rev 410306, libssh2/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: libssh2/repos/testing-x86_64/PKGBUILD (from rev 410306, libssh2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-03-19 14:34:22 UTC (rev 410307)
@@ -0,0 +1,45 @@
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: ice-man <icemanf at gmail.com>
+
+pkgname=libssh2
+pkgver=1.9.0
+pkgrel=3
+pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts"
+url="https://www.libssh2.org/"
+arch=('x86_64')
+license=('BSD')
+depends=('openssl' 'zlib')
+provides=('libssh2.so')
+validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2'   # Daniel Stenberg
+              '914C533DF9B2ADA2204F586D78E11C6B279D5C91')  # Daniel Stenberg (old key)
+source=("https://www.libssh2.org/download/$pkgname-$pkgver.tar.gz"{,.asc}
+        'CVE-2019-17498.patch::https://github.com/libssh2/libssh2/commit/1c6fa92b77e34d089493fe6d3e2c6c8775858b94.patch')
+sha256sums=('d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd'
+            'SKIP'
+            'c5de5f8ae901675c66deb5a7c9a1b30ca0bcd66e9de7aedff04fb29263d635c9')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch --forward --strip=1 --input="${srcdir}/CVE-2019-17498.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list