I maintain the latest built package at:
https://github.com/frealgagu/archlinux.libssh-gnutls/releases
Git Clone URL: | https://aur.archlinux.org/libssh-gnutls.git (read-only, click to copy) |
---|---|
Package Base: | libssh-gnutls |
Description: | Documentation for libssh-gnutls |
Upstream URL: | http://www.libssh.org/ |
Licenses: | LGPL |
Conflicts: | libssh-docs |
Provides: | libssh-docs |
Submitter: | frealgagu |
Maintainer: | frealgagu |
Last Packager: | frealgagu |
Votes: | 9 |
Popularity: | 0.000000 |
First Submitted: | 2018-11-09 17:08 (UTC) |
Last Updated: | 2022-09-22 00:45 (UTC) |
I maintain the latest built package at:
https://github.com/frealgagu/archlinux.libssh-gnutls/releases
My build is failing the torture_misc test. Any advice on what might cause that?
I'm still running the last stable version of amarok (2.9.0), so I'm using this package. Thanks for maintaining it! If you want to disown it though, I'm happy to take it over.
libssh-gnutls is no longer required for compile amarok. Is somebody using this package for other purposes?
Could you give some more details of how to apply the patch to the PKGBUILD? I do not get it from the Arch WIki...
Somewhere I reach the point where I get asked "Which file to patch?" and honestly I do not know...
Also, shouldn't the patch be added to the official PKGBUILD?
Thx, p.
For those having issues with current doxygen in [extra] I have opened this bug: https://bugs.archlinux.org/task/61619
You can download the official PKGBUILD and that the following patch from upstream: https://github.com/doxygen/doxygen/commit/8c2739019adc0c230d976ed935f6ab413af3817f.patch
After this, you will be able to compile this package.
if you do not need documentation you can try this:
diff --git a/PKGBUILD b/PKGBUILD
index e4a6407..30f5e21 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,16 @@
# Maintainer: Fredy García <frealgagu at gmail dot com>
pkgbase=libssh-gnutls
-pkgname=(${pkgbase} ${pkgbase}-docs)
+# temporarily disable until an upstream bug is fixed
+# pkgname=(${pkgbase} ${pkgbase}-docs)
+pkgname=(${pkgbase})
pkgver=0.8.6
-pkgrel=2
+pkgrel=4
pkgdesc="Library for accessing ssh client services through C libraries - compiled with gnutls (libgcrypt), documentation for libssh"
arch=("x86_64")
url="http://www.libssh.org/"
license=("LGPL")
-makedepends=("cmake" "cmocka" "doxygen<=1.8.14" "python")
+makedepends=("cmake" "cmocka" "python")
source=("https://www.libssh.org/files/${pkgver%.*}/${pkgname%-gnutls}-${pkgver}.tar.xz"{,.asc})
sha256sums=("1046b95632a07fc00b1ea70ee683072d0c8a23f544f4535440b727812002fd01" "SKIP")
validpgpkeys=("8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D") # Andreas Schneider <asn@cryptomilk.org>
@@ -16,6 +18,8 @@ validpgpkeys=("8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D") # Andreas Schneider <a
prepare() {
cd "${srcdir}"
mkdir -p "${srcdir}/build"
+ # temporarily disable until an upstream bug is fixed
+ sed -i '/find_package(Doxygen)/s/^/#/' libssh-"${pkgver}"/doc/CMakeLists.txt
}
build() {
@@ -27,7 +31,8 @@ build() {
-DUNIT_TESTING=ON \
"${srcdir}/${pkgname%-gnutls}-${pkgver}"
make
- make docs
+ # temporarily disable until an upstream bug is fixed
+ # make docs
}
check() {
@@ -46,12 +51,13 @@ package_libssh-gnutls() {
make DESTDIR="${pkgdir}" install
}
-package_libssh-gnutls-docs() {
- pkgdesc="Documentation for libssh"
- arch=("any")
- provides=("${pkgname/-gnutls/}")
- conflicts=("${pkgname/-gnutls/}")
-
- mkdir -p "${pkgdir}/usr/share/doc/libssh"
- cp -r "${srcdir}/build/doc/html" "${pkgdir}/usr/share/doc/libssh"
-}
+# temporarily disable until an upstream bug is fixed
+#package_libssh-gnutls-docs() {
+ #pkgdesc="Documentation for libssh"
+ #arch=("any")
+ #provides=("${pkgname/-gnutls/}")
+ #conflicts=("${pkgname/-gnutls/}")
+#
+ #mkdir -p "${pkgdir}/usr/share/doc/libssh"
+ #cp -r "${srcdir}/build/doc/html" "${pkgdir}/usr/share/doc/libssh"
+#}
@xantares and @maderios read this comment thread. libssh-gnutls won't compile with the latest doxygen 1.8.15. The bug is upstream. I'm not sure if a bug is filed, but please do so.
This PKGBUILD correctly depends on an earlier version of doxygen. If you do not want to downgrade, then you will not be able to install libssh-gnutls. Again, you need to take up it up with upstream.
could you disable the doxygen generation ?
hello,
doxygen is at 1.8.15 in extra whereas this requires doxygen<=1.8.14
so it wont build
Pinned Comments
frealgagu commented on 2020-12-05 21:03 (UTC)
I maintain the latest built package at:
https://github.com/frealgagu/archlinux.libssh-gnutls/releases
frealgagu commented on 2018-11-10 13:38 (UTC) (edited on 2018-11-10 13:38 (UTC) by frealgagu)
If you are having problems installing this package due to signature verification, please run the below before running makepkg:
If makepkg still complains after this:
1) Ensure you're using makepkg, and not some wrapper.
2) Ensure you don't have GNUPGHOME set in /etc/makepkg.conf or ~/.makepkg.conf, or that the value of GNUGPHOME in makepkg.conf matches that which you've run the above gpg command with.
3) Ensure that the tarball you downloaded matches the md5sums in the PKGBUILD.