Merge pull request #7246 from Sir-Boops/litecoin
litecoin: update to 0.14.2
This commit is contained in:
commit
2b2653507f
2 changed files with 4 additions and 25 deletions
|
@ -1,20 +0,0 @@
|
|||
--- 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,7 +1,7 @@
|
|||
# Template file for 'litecoin'
|
||||
pkgname=litecoin
|
||||
version=0.13.2.1
|
||||
revision=3
|
||||
version=0.14.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-incompatible-bdb --with-gui=qt5 --disable-static --disable-tests
|
||||
--with-libressl"
|
||||
|
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
license="MIT"
|
||||
homepage="http://www.litecoin.org/"
|
||||
distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
|
||||
checksum=cb07472b32f713bb37ea37cfcc336816a38c8684844c259c89203ed9fe54f85b
|
||||
checksum=953fd6cee2da3ed63779b2dbce8a775e76d7a926be3de5b906d40f6641a2b4d5
|
||||
nocross=yes
|
||||
|
||||
pre_configure() {
|
||||
|
@ -22,7 +22,6 @@ pre_configure() {
|
|||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/include
|
||||
vsconf contrib/debian/examples/bitcoin.conf
|
||||
vman contrib/debian/manpages/bitcoind.1 litecoin-bitcoind.1
|
||||
vman contrib/debian/manpages/bitcoin.conf.5 litecoin-bitcoin.conf.5
|
||||
vman doc/man/litecoind.1 litecoind.1
|
||||
vlicense COPYING
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue