From eef9ddb78fee7e56614b2cb21ca923ed8391736e Mon Sep 17 00:00:00 2001 From: Sir_Boops Date: Wed, 2 Aug 2017 12:24:35 -0600 Subject: [PATCH] litecoin: update to 0.14.2 --- srcpkgs/litecoin/patches/fix-libressl.patch | 20 -------------------- srcpkgs/litecoin/template | 9 ++++----- 2 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 srcpkgs/litecoin/patches/fix-libressl.patch diff --git a/srcpkgs/litecoin/patches/fix-libressl.patch b/srcpkgs/litecoin/patches/fix-libressl.patch deleted file mode 100644 index 4687ef9622a..00000000000 --- a/srcpkgs/litecoin/patches/fix-libressl.patch +++ /dev/null @@ -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 - diff --git a/srcpkgs/litecoin/template b/srcpkgs/litecoin/template index 05f3a718f2a..7c13171a0ee 100644 --- a/srcpkgs/litecoin/template +++ b/srcpkgs/litecoin/template @@ -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 " 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 }