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

Antonio Rojas arojas at archlinux.org
Fri Aug 28 11:04:20 UTC 2015


    Date: Friday, August 28, 2015 @ 13:04:20
  Author: arojas
Revision: 244960

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

Added:
  libssh/repos/extra-i686/PKGBUILD
    (from rev 244959, libssh/trunk/PKGBUILD)
  libssh/repos/extra-x86_64/PKGBUILD
    (from rev 244959, libssh/trunk/PKGBUILD)
Deleted:
  libssh/repos/extra-i686/PKGBUILD
  libssh/repos/extra-x86_64/PKGBUILD

-----------------------+
 /PKGBUILD             |  120 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD   |   49 -------------------
 extra-x86_64/PKGBUILD |   49 -------------------
 3 files changed, 120 insertions(+), 98 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-08-28 11:03:18 UTC (rev 244959)
+++ extra-i686/PKGBUILD	2015-08-28 11:04:20 UTC (rev 244960)
@@ -1,49 +0,0 @@
-# $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.1
-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/154/${pkgname}-${pkgver}.tar.xz
-        https://red.libssh.org/attachments/download/153/${pkgname}-${pkgver}.tar.asc)
-md5sums=('bffc9dc548c3bae3a3afc5ac1654b272'
-         '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 -p build
-  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/extra-i686/PKGBUILD (from rev 244959, libssh/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-08-28 11:04:20 UTC (rev 244960)
@@ -0,0 +1,60 @@
+# $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>
+
+pkgbase=libssh
+pkgname=(libssh libssh-docs)
+pkgver=0.7.1
+pkgrel=2
+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/154/$pkgname-$pkgver.tar.xz
+        https://red.libssh.org/attachments/download/153/$pkgname-$pkgver.tar.asc)
+md5sums=('bffc9dc548c3bae3a3afc5ac1654b272'
+         '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 -p build
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DWITH_GSSAPI=OFF \
+    -DWITH_TESTING=ON
+  make
+  make doc
+}
+
+check() {
+  cd build
+  make test
+}
+
+package_libssh() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+
+package_libssh-docs() {
+  pkgdesc="Documentation for libssh"
+  depends=()
+
+  mkdir -p "$pkgdir"/usr/share/doc/libssh
+  cp -r build/doc/html "$pkgdir"/usr/share/doc/libssh
+  cp -r build/doc/man "$pkgdir"/usr/share
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2015-08-28 11:03:18 UTC (rev 244959)
+++ extra-x86_64/PKGBUILD	2015-08-28 11:04:20 UTC (rev 244960)
@@ -1,49 +0,0 @@
-# $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.1
-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/154/${pkgname}-${pkgver}.tar.xz
-        https://red.libssh.org/attachments/download/153/${pkgname}-${pkgver}.tar.asc)
-md5sums=('bffc9dc548c3bae3a3afc5ac1654b272'
-         '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 -p build
-  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/extra-x86_64/PKGBUILD (from rev 244959, libssh/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-08-28 11:04:20 UTC (rev 244960)
@@ -0,0 +1,60 @@
+# $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>
+
+pkgbase=libssh
+pkgname=(libssh libssh-docs)
+pkgver=0.7.1
+pkgrel=2
+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/154/$pkgname-$pkgver.tar.xz
+        https://red.libssh.org/attachments/download/153/$pkgname-$pkgver.tar.asc)
+md5sums=('bffc9dc548c3bae3a3afc5ac1654b272'
+         '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 -p build
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DWITH_GSSAPI=OFF \
+    -DWITH_TESTING=ON
+  make
+  make doc
+}
+
+check() {
+  cd build
+  make test
+}
+
+package_libssh() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+
+package_libssh-docs() {
+  pkgdesc="Documentation for libssh"
+  depends=()
+
+  mkdir -p "$pkgdir"/usr/share/doc/libssh
+  cp -r build/doc/html "$pkgdir"/usr/share/doc/libssh
+  cp -r build/doc/man "$pkgdir"/usr/share
+}



More information about the arch-commits mailing list