Date: Wed, 23 May 2018 17:17:00 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470710 - in head/net-p2p/litecoin: . files Message-ID: <201805231717.w4NHH0VY057683@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Wed May 23 17:17:00 2018 New Revision: 470710 URL: https://svnweb.freebsd.org/changeset/ports/470710 Log: net-p2p/litecoin: update to 0.15.1 Added: head/net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.cpp (contents, props changed) - copied, changed from r470708, head/net-p2p/litecoin/files/patch-src_crypto_scrypt.cpp head/net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.h (contents, props changed) - copied, changed from r470708, head/net-p2p/litecoin/files/patch-src_crypto_scrypt.h Deleted: head/net-p2p/litecoin/files/patch-src_crypto_scrypt.cpp head/net-p2p/litecoin/files/patch-src_crypto_scrypt.h Modified: head/net-p2p/litecoin/Makefile (contents, props changed) head/net-p2p/litecoin/distinfo (contents, props changed) Modified: head/net-p2p/litecoin/Makefile ============================================================================== --- head/net-p2p/litecoin/Makefile Wed May 23 16:45:36 2018 (r470709) +++ head/net-p2p/litecoin/Makefile Wed May 23 17:17:00 2018 (r470710) @@ -2,14 +2,10 @@ # $FreeBSD$ PORTNAME= litecoin -PORTVERSION= 0.14.2 +PORTVERSION= 0.15.1 DISTVERSIONPREFIX= v -PORTREVISION= 6 CATEGORIES= net-p2p finance -PATCH_SITES= https://github.com/bitcoin/bitcoin/commit/ -PATCHFILES= 1ec0c0a01c31.patch:-p1 - MAINTAINER= swills@FreeBSD.org COMMENT?= Virtual Peer-to-Peer Currency Client (QT) @@ -22,8 +18,7 @@ NOT_FOR_ARCHS_REASON= fails to configure: "Big Endian LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libevent.so:devel/libevent -USES+= autoreconf compiler:c++11-lib gmake libtool pkgconfig shebangfix ssl -SHEBANG_FILES= src/test/*.py +USES+= autoreconf compiler:c++11-lib gmake libtool pkgconfig ssl USE_GITHUB= yes GNU_CONFIGURE= yes @@ -99,6 +94,11 @@ PLIST_FILES?= bin/litecoin-qt man/man1/litecoin-qt.1.g share/applications/litecoin-qt.desktop share/pixmaps/litecoin128.png .include <bsd.port.pre.mk> + +.if ${OSVERSION} < 1100000 +EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_crypto_scrypt.cpp \ + ${FILESDIR}/extra-patch-src_crypto_scrypt.h +.endif .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no" Modified: head/net-p2p/litecoin/distinfo ============================================================================== --- head/net-p2p/litecoin/distinfo Wed May 23 16:45:36 2018 (r470709) +++ head/net-p2p/litecoin/distinfo Wed May 23 17:17:00 2018 (r470710) @@ -1,5 +1,3 @@ -TIMESTAMP = 1503300985 -SHA256 (litecoin-project-litecoin-v0.14.2_GH0.tar.gz) = 953fd6cee2da3ed63779b2dbce8a775e76d7a926be3de5b906d40f6641a2b4d5 -SIZE (litecoin-project-litecoin-v0.14.2_GH0.tar.gz) = 6205762 -SHA256 (1ec0c0a01c31.patch) = 01a2fe784d7c3d21d2cfd9dc460c059c7ae358e0f5e9e5e7782f10d259db3cd9 -SIZE (1ec0c0a01c31.patch) = 3535 +TIMESTAMP = 1527084876 +SHA256 (litecoin-project-litecoin-v0.15.1_GH0.tar.gz) = 570adae0d4a9567110967aba2ea5d90ce8c421313f453523c4fd23b9339c7d2b +SIZE (litecoin-project-litecoin-v0.15.1_GH0.tar.gz) = 6672694 Copied and modified: head/net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.cpp (from r470708, head/net-p2p/litecoin/files/patch-src_crypto_scrypt.cpp) ============================================================================== --- head/net-p2p/litecoin/files/patch-src_crypto_scrypt.cpp Wed May 23 16:31:17 2018 (r470708, copy source) +++ head/net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.cpp Wed May 23 17:17:00 2018 (r470710) @@ -1,5 +1,5 @@ ---- src/crypto/scrypt.cpp.orig 2015-08-04 13:27:49 UTC -+++ src/crypto/scrypt.cpp +--- src/crypto/scrypt.cpp.orig 2018-02-26 19:37:55.000000000 -0500 ++++ src/crypto/scrypt.cpp 2018-05-23 11:25:45.718849000 -0400 @@ -32,6 +32,7 @@ #include <stdlib.h> #include <stdint.h> @@ -8,10 +8,12 @@ #include <openssl/sha.h> #if defined(USE_SSE2) && !defined(USE_SSE2_ALWAYS) -@@ -44,22 +45,6 @@ +@@ -42,24 +43,6 @@ + // GCC Linux or i686-w64-mingw32 + #include <cpuid.h> #endif - #endif - +-#endif +-#ifndef __FreeBSD__ -static inline uint32_t be32dec(const void *pp) -{ - const uint8_t *p = (uint8_t const *)pp; @@ -28,6 +30,6 @@ - p[0] = (x >> 24) & 0xff; -} - + #endif typedef struct HMAC_SHA256Context { SHA256_CTX ictx; - SHA256_CTX octx; Copied and modified: head/net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.h (from r470708, head/net-p2p/litecoin/files/patch-src_crypto_scrypt.h) ============================================================================== --- head/net-p2p/litecoin/files/patch-src_crypto_scrypt.h Wed May 23 16:31:17 2018 (r470708, copy source) +++ head/net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.h Wed May 23 17:17:00 2018 (r470710) @@ -1,9 +1,10 @@ ---- src/crypto/scrypt.h.orig 2015-06-15 08:51:30 UTC -+++ src/crypto/scrypt.h -@@ -27,19 +27,4 @@ void +--- src/crypto/scrypt.h.orig 2018-05-23 11:31:01.662350000 -0400 ++++ src/crypto/scrypt.h 2018-05-23 11:31:25.771775000 -0400 +@@ -28,21 +28,4 @@ void PBKDF2_SHA256(const uint8_t *passwd, size_t passwdlen, const uint8_t *salt, size_t saltlen, uint64_t c, uint8_t *buf, size_t dkLen); +-#ifndef __FreeBSD__ -static inline uint32_t le32dec(const void *pp) -{ - const uint8_t *p = (uint8_t const *)pp; @@ -19,4 +20,5 @@ - p[2] = (x >> 16) & 0xff; - p[3] = (x >> 24) & 0xff; -} +-#endif #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805231717.w4NHH0VY057683>