Search Criteria
Package Details: libssh-git 0.11.2.r238.g7a2a743a-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/libssh-git.git (read-only, click to copy) |
|---|---|
| Package Base: | libssh-git |
| Description: | Multiplatform C library implementing the SSHv2 and SSHv1 protocol on client and server side |
| Upstream URL: | https://www.libssh.org/ |
| Licenses: | LGPL-2.1-or-later |
| Conflicts: | libssh |
| Provides: | libssh, libssh.so |
| Submitter: | Chocobo1 |
| Maintainer: | Chocobo1 |
| Last Packager: | Chocobo1 |
| Votes: | 0 |
| Popularity: | 0.000000 |
| First Submitted: | 2017-08-18 17:14 (UTC) |
| Last Updated: | 2025-07-09 14:29 (UTC) |
Dependencies (6)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- openssl (openssl-gitAUR, openssl-aegisAUR, openssl-staticAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- cmocka (cmocka-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
Required by (152)
- bestclient (requires libssh)
- bird-babel-rtt (requires libssh)
- bird-babel-rtt-git (requires libssh)
- bird-git (requires libssh)
- bird2 (requires libssh)
- celestia-bin (requires libssh)
- certamen (requires libssh)
- codelite (requires libssh)
- codelite-bin (requires libssh)
- codelite-git (requires libssh)
- codelite-unstable (requires libssh)
- cryptsetup-git (requires libssh)
- cryptsetup-git (requires libssh.so)
- cutehmi-external-meta (requires libssh)
- dcpomatic (requires libssh)
- dcpomatic-git (requires libssh)
- far2l (requires libssh) (optional)
- far2l-git (requires libssh) (optional)
- ffmpeg-amd-full (requires libssh)
- ffmpeg-amd-full-git (requires libssh)
- ffmpeg-cuda (requires libssh)
- ffmpeg-cuda-full (requires libssh)
- ffmpeg-decklink (requires libssh)
- ffmpeg-ffplayout (requires libssh)
- ffmpeg-full (requires libssh)
- ffmpeg-full-git (requires libssh)
- ffmpeg-full-llvm (requires libssh)
- ffmpeg-git (requires libssh)
- ffmpeg-headless (requires libssh)
- ffmpeg-libfdk_aac (requires libssh)
- ffmpeg-ndi (requires libssh)
- ffmpeg-nvcodec-11-1-git (requires libssh)
- ffmpeg-obs (requires libssh)
- ffmpeg-whisper (requires libssh)
- ffmpeg-whisper-git (requires libssh)
- ffmpeg2.8 (requires libssh)
- ffmpeg5.1 (requires libssh)
- ffmpeg6.1 (requires libssh)
- ffmpeg7.1 (requires libssh)
- gsshvnc (requires libssh)
- gst-devtools-git (requires libssh) (make)
- gst-editing-services-git (requires libssh) (make)
- gst-libav-git (requires libssh) (make)
- gst-plugin-codec2-git (requires libssh) (make)
- gst-plugin-gtk-git (requires libssh) (make)
- gst-plugin-msdk-git (requires libssh) (make)
- gst-plugin-opencv-git (requires libssh) (make)
- gst-plugin-qmlgl-git (requires libssh) (make)
- gst-plugin-va-git (requires libssh) (make)
- gst-plugin-wpe-git (requires libssh) (make)
- gst-plugins-bad-git (requires libssh) (make)
- gst-plugins-bad-libs-git (requires libssh) (make)
- gst-plugins-base-git (requires libssh) (make)
- gst-plugins-base-libs-git (requires libssh) (make)
- gst-plugins-good-git (requires libssh) (make)
- gst-plugins-ugly-git (requires libssh) (make)
- gst-python-git (requires libssh) (make)
- gst-rtsp-server-git (requires libssh) (make)
- gstreamer-docs-git (requires libssh) (make)
- gstreamer-git (requires libssh) (make)
- gstreamer-vaapi-git (requires libssh) (make)
- guacamole-server (requires libssh) (make)
- guacamole-server (requires libssh) (optional)
- guacamole-server-git (requires libssh) (make)
- guacamole-server-git (requires libssh) (optional)
- guile-ssh (requires libssh)
- gvm-libs (requires libssh.so)
- heimdallr (requires libssh)
- heimdallr-git (requires libssh)
- hydra-git (requires libssh)
- idescriptor (requires libssh)
- idescriptor-git (requires libssh)
- itk-snap (requires libssh)
- itk-snap-git (requires libssh)
- kadimus-git (requires libssh)
- kde2-kio-sftp-kde4-git (requires libssh)
- kio-extras-git (requires libssh)
- kio5-extras (requires libssh)
- kodi-addon-vfs-sftp (requires libssh)
- krdc-git (requires libssh) (optional)
- krdc-xfreerdp (requires libssh) (optional)
- libnetconf-git (requires libssh)
- libnetconf2 (requires libssh)
- libpam-x2go (requires libssh)
- libpam-x2go (requires libssh) (make)
- librempeg-git (requires libssh)
- libvirt-git (requires libssh)
- libvirt-venus (requires libssh)
- libvirt-xen (requires libssh)
- lunas (requires libssh)
- magiterm-git (requires libssh)
- magiterm-git (requires libssh) (make)
- mpv-build-git (requires libssh.so)
- mpv-build-git (requires libssh)
- mpv-full-build-git (requires libssh)
- mtscan-git (requires libssh)
- mtscan-git (requires libssh) (make)
- nbdkit (requires libssh) (optional)
- nbdkit-git (requires libssh) (optional)
- noter (requires libssh)
- nui-sftp (requires libssh)
- openms-bin (requires libssh)
- polaric-connect (requires libssh)
- potd (requires libssh)
- python-pylibssh (requires libssh)
- qemu-3dfx (requires libssh) (make)
- qemu-arch-extra-git (requires libssh) (make)
- qemu-block-iscsi-git (requires libssh) (make)
- qemu-git (requires libssh)
- qemu-git (requires libssh.so)
- qemu-git (requires libssh) (make)
- qemu-guest-agent-git (requires libssh) (make)
- qemu-headless-arch-extra-git (requires libssh) (make)
- qemu-headless-git (requires libssh.so)
- qemu-headless-git (requires libssh)
- qemu-headless-git (requires libssh) (make)
- qemu-scratchbox2-tests (requires libssh) (make)
- qemu-scratchbox2-user (requires libssh) (make)
- qjournalctl (requires libssh)
- rabbitremotecontrol-bin (requires libssh) (optional)
- remmina-git (requires libssh)
- rrcc (requires libssh)
- rtrlib (requires libssh)
- rtrlib-git (requires libssh)
- sonic-frameworks-io-extras (requires libssh)
- sshping (requires libssh)
- sshping-git (requires libssh)
- sysrepo (requires libssh)
- tmate-git (requires libssh)
- tmate-ssh-server-git (requires libssh)
- tmtv (requires libssh)
- tmtv-server (requires libssh)
- tradermaster (requires libssh)
- vanissh-git (requires libssh)
- virtualbox-ext-vnc-svn (requires libssh) (make)
- virtualbox-guest-utils-nox-svn (requires libssh) (make)
- virtualbox-guest-utils-svn (requires libssh) (make)
- virtualbox-host-dkms-svn (requires libssh) (make)
- virtualbox-sdk-svn (requires libssh) (make)
- virtualbox-svn (requires libssh)
- virtualbox-svn (requires libssh) (make)
- webots-bin (requires libssh)
- webots-nightly (requires libssh)
- wireshark-git (requires libssh)
- wireshark-libsmi-cli (requires libssh)
- wireshark-libsmi-cli (requires libssh) (make)
- wireshark-libsmi-qt (requires libssh) (make)
- wireshark-oqs-cli (requires libssh)
- wireshark-oqs-cli (requires libssh) (make)
- wireshark-oqs-qt (requires libssh) (make)
- woterm-bin (requires libssh)
- x2goclient (requires libssh)
Latest Comments
GNUtoo commented on 2022-03-07 00:18 (UTC)
Hi, here's a patch for libssh-git:
$ cat 0001-sync-with-archlinux-libssh-PKGBUILD.patch From bd5eb22d59074bc6ba5110a34d9800a2ed6661fc Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Date: Thu, 3 Mar 2022 17:12:23 +0100 Subject: [PATCH] sync with archlinux libssh PKGBUILD Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> --- PKGBUILD | 69 ++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 50 insertions(+), 19 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 45b1945..b11893c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,21 +1,27 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> +# Contributor: Antonio Rojas <arojas@archlinux.org> +# Contributor: Tom Gundersen <teg@jklm.no> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: ice-man <icemanf@gmail.com> +# Contributor: sergeantspoon <sergeantspoon@archlinux.us> -pkgname=libssh-git -pkgver=0.9.5.r473.g693383d1 +pkgbase=libssh-git +pkgname=(libssh-git libssh-git-docs) +pkgver=0.9.6.r627.g70d3760d pkgrel=1 -pkgdesc="Multiplatform C library implementing the SSHv2 and SSHv1 protocol on client and server side" -arch=('i686' 'x86_64') -url="https://www.libssh.org/" +pkgdesc='Library for accessing ssh client services through C libraries' +url='https://www.libssh.org/' license=('LGPL') -depends=('glibc' 'openssl' 'zlib') -makedepends=('git' 'cmake' 'cmocka') -provides=('libssh') +arch=('i686' 'x86_64') +depends=('zlib' 'openssl') +makedepends=('git' 'cmake' 'cmocka' 'doxygen' 'python' 'openssh') +provides=('libssh.so' 'libssh') conflicts=('libssh') +replaces=('libssh') options=('staticlibs') source=("git+https://git.libssh.org/projects/libssh.git") sha256sums=('SKIP') - pkgver() { cd "libssh" @@ -25,19 +31,44 @@ pkgver() { printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" } +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/cmocka_unit_test(torture_path_expand_tilde_unix),//' -i libssh/tests/unittests/torture_misc.c + + mkdir -p build +} + build() { - cd "libssh" + cd build + cmake ../libssh \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_GSSAPI=OFF \ + -DUNIT_TESTING=ON + make + make docs +} - cmake \ - -B "_build" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX="/usr" \ - ./ - make -C "_build" +check() { + cd build + make test } -package() { - cd "libssh" +package_libssh-git() { + cd build + make DESTDIR="$pkgdir" install +} + +package_libssh-git-docs() { + pkgdesc="Documentation for libssh" + depends=() + provides=('libssh-docs') + conflicts=('libssh-docs') + replaces=('libssh-docs') - make -C "_build" DESTDIR="$pkgdir" install + 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 +# rm "$pkgdir"/usr/share/man/man3/{bug,deprecated}.* } -- 2.35.1Chocobo1 commented on 2018-04-19 03:32 (UTC)
Answer y here.
tmow commented on 2018-04-18 22:20 (UTC)
I've libssh installed and trying to install the AUR package doesn't work, I get this error:
:: libssh-git and libssh are in conflict. Remove libssh? [y/N] error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: libssh-git and libssh are in conflict
I cannot remove libssh because it's a dependency of several other packages, any advice? Is it something that can be "fixed" in the PKGBUILD?