litecoin: update to 0.13.2.1.
This commit is contained in:
parent
f076919ba3
commit
5f860d264d
20
srcpkgs/litecoin/patches/fix-libressl.patch
Normal file
20
srcpkgs/litecoin/patches/fix-libressl.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- src/qt/paymentrequestplus.cpp.orig 2017-04-18 12:28:33.789257513 +0200
|
||||||
|
+++ src/qt/paymentrequestplus.cpp 2017-04-18 12:29:01.597171846 +0200
|
||||||
|
@@ -159,7 +159,7 @@ bool PaymentRequestPlus::getMerchant(X50
|
||||||
|
std::string data_to_verify; // Everything but the signature
|
||||||
|
rcopy.SerializeToString(&data_to_verify);
|
||||||
|
|
||||||
|
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||||
|
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
EVP_MD_CTX *ctx = EVP_MD_CTX_new();
|
||||||
|
if (!ctx) throw SSLVerifyError("Error allocating OpenSSL context.");
|
||||||
|
#else
|
||||||
|
@@ -174,7 +174,7 @@ bool PaymentRequestPlus::getMerchant(X50
|
||||||
|
!EVP_VerifyFinal(ctx, (const unsigned char*)paymentRequest.signature().data(), (unsigned int)paymentRequest.signature().size(), pubkey)) {
|
||||||
|
throw SSLVerifyError("Bad signature, invalid payment request.");
|
||||||
|
}
|
||||||
|
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||||
|
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
EVP_MD_CTX_free(ctx);
|
||||||
|
#endif
|
||||||
|
|
@ -1,22 +1,20 @@
|
|||||||
# Template file for 'litecoin'
|
# Template file for 'litecoin'
|
||||||
pkgname=litecoin
|
pkgname=litecoin
|
||||||
version=0.10.4.0
|
version=0.13.2.1
|
||||||
revision=6
|
revision=1
|
||||||
wrksrc="${pkgname}-${version}"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-incompatible-bdb --with-gui=qt5 --disable-static --disable-tests
|
configure_args="--with-incompatible-bdb --with-gui=qt5 --disable-static --disable-tests
|
||||||
--with-libressl"
|
--with-libressl"
|
||||||
hostmakedepends="automake libtool pkg-config yasm"
|
hostmakedepends="automake libtool pkg-config yasm"
|
||||||
makedepends="zlib-devel db-devel libressl-devel boost-devel
|
makedepends="zlib-devel db-devel libressl-devel boost-devel
|
||||||
qt5-tools-devel miniupnpc-devel protobuf-devel"
|
qt5-tools-devel miniupnpc-devel protobuf-devel libevent-devel"
|
||||||
short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
|
short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://www.litecoin.org/"
|
homepage="http://www.litecoin.org/"
|
||||||
distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
|
distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
|
||||||
checksum=a9adb6d2ae555afdaa2a5febb81341ac506930cf04ab95b9dc3ab99a4de0405e
|
checksum=cb07472b32f713bb37ea37cfcc336816a38c8684844c259c89203ed9fe54f85b
|
||||||
nocross=yes
|
nocross=yes
|
||||||
broken="https://build.voidlinux.eu/builders/x86_64_builder/builds/2022/steps/shell_3/logs/stdio"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user