Commit 3b5bc927 authored by TBK's avatar TBK Committed by Andy Postnikov
Browse files

testing/megatools: upgrade to 1.10.2

parent 3eeed1bd
# Contributor: H <agathos5@gmail.com>
# Maintainer:
pkgname=megatools
pkgver=1.9.98
pkgrel=3
pkgver=1.10.2
pkgrel=0
pkgdesc="Megatools is a collection of programs for accessing Mega.nz service from a command line of your desktop or server."
url="https://megatools.megous.com"
arch="all"
license="GPL-2.0"
makedepends="curl-dev glib-dev openssl-dev gmp-dev asciidoc"
subpackages="$pkgname-doc"
source="https://megatools.megous.com/builds/megatools-1.9.98.tar.gz libressl.patch"
source="https://megatools.megous.com/builds/megatools-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
......@@ -43,5 +43,4 @@ package() {
./install-sh -c -m 644 docs/megatools.7 "${pkgdir}/usr/share/man/man7"
}
sha512sums="4e1c9e3a6aae0009d085b38ae79d9ba9e66415b0517eb1f0c0abec40a3be103bf0f78bfd8fa8d678a578eb0652f3b88292bcb53c1e1efc83082a6239644390d0 megatools-1.9.98.tar.gz
f30370fce5567f52a7dd007704e27e368402287cf5dc416d18f3cfd09d2fd5711b59525a0533546fe0eed98f5d162836a265fbc9d641ff5cca0ad20d3fc4f172 libressl.patch"
sha512sums="6d9a5dcba6be12bce38313c3481565b2f8671e354d2e021614b62c2cf30963b9e4a87574dd80b36613290db7721e3ef4d32072a19efee76ff292b17bc6c2bafe megatools-1.10.2.tar.gz"
--- a/lib/mega.c
+++ b/lib/mega.c
@@ -803,7 +803,7 @@
return FALSE;
}
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
RSA_get0_key(key, &k->m, &k->e, &k->d);
RSA_get0_factors(key, &k->q, &k->p);
RSA_get0_crt_params(key, NULL, NULL, &k->u);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment