[arch-commits] Commit in libssh/repos (4 files)

Antonio Rojas arojas at archlinux.org
Fri May 15 18:36:05 UTC 2015


    Date: Friday, May 15, 2015 @ 20:36:05
  Author: arojas
Revision: 239416

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libssh/repos/testing-i686/
  libssh/repos/testing-i686/PKGBUILD
    (from rev 239415, libssh/trunk/PKGBUILD)
  libssh/repos/testing-x86_64/
  libssh/repos/testing-x86_64/PKGBUILD
    (from rev 239415, libssh/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   49 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   49 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

Copied: libssh/repos/testing-i686/PKGBUILD (from rev 239415, libssh/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-05-15 18:36:05 UTC (rev 239416)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: ice-man <icemanf at gmail.com>
+# Contributor: sergeantspoon <sergeantspoon at archlinux.us>
+
+pkgname=libssh
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Library for accessing ssh client services through C libraries"
+url="http://www.libssh.org/"
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('openssl')
+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)
+md5sums=('cf20c3bb6edfc853187985c3f649ca80'
+         'SKIP')
+validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn at cryptomilk.org>
+
+prepare() {
+  # disable the test. It is confused by our clean container setup.
+  # '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
+}
+
+build() {
+  mkdir build || true
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DWITH_GSSAPI=OFF \
+    -DWITH_TESTING=ON
+  make
+}
+
+check() {
+  cd build
+  make test
+}
+
+package(){
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: libssh/repos/testing-x86_64/PKGBUILD (from rev 239415, libssh/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-05-15 18:36:05 UTC (rev 239416)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: ice-man <icemanf at gmail.com>
+# Contributor: sergeantspoon <sergeantspoon at archlinux.us>
+
+pkgname=libssh
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Library for accessing ssh client services through C libraries"
+url="http://www.libssh.org/"
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('openssl')
+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)
+md5sums=('cf20c3bb6edfc853187985c3f649ca80'
+         'SKIP')
+validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn at cryptomilk.org>
+
+prepare() {
+  # disable the test. It is confused by our clean container setup.
+  # '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
+}
+
+build() {
+  mkdir build || true
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DWITH_GSSAPI=OFF \
+    -DWITH_TESTING=ON
+  make
+}
+
+check() {
+  cd build
+  make test
+}
+
+package(){
+  cd build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list