From owner-svn-ports-head@FreeBSD.ORG Tue Dec 17 13:10:03 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B7FDD6E; Tue, 17 Dec 2013 13:10:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2781D107D; Tue, 17 Dec 2013 13:10:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBHDA2gr070412; Tue, 17 Dec 2013 13:10:02 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBHDA290070407; Tue, 17 Dec 2013 13:10:02 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201312171310.rBHDA290070407@svn.freebsd.org> From: Steve Wills Date: Tue, 17 Dec 2013 13:10:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336721 - in head/net-p2p/litecoin: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 13:10:03 -0000 Author: swills Date: Tue Dec 17 13:10:02 2013 New Revision: 336721 URL: http://svnweb.freebsd.org/changeset/ports/336721 Log: - Update to 0.8.6.1 Added: head/net-p2p/litecoin/files/extra-patch-endian (contents, props changed) Deleted: head/net-p2p/litecoin/files/patch-src__serialize.h Modified: head/net-p2p/litecoin/Makefile head/net-p2p/litecoin/distinfo Modified: head/net-p2p/litecoin/Makefile ============================================================================== --- head/net-p2p/litecoin/Makefile Tue Dec 17 13:01:12 2013 (r336720) +++ head/net-p2p/litecoin/Makefile Tue Dec 17 13:10:02 2013 (r336721) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= litecoin -PORTVERSION= 0.8.5.1 +PORTVERSION= 0.8.6.1 CATEGORIES= net-p2p finance MASTER_SITES= LOCAL/swills \ GH @@ -14,14 +14,14 @@ LIB_DEPENDS= libboost_date_time.so:${POR USE_GITHUB= yes GH_ACCOUNT= litecoin-project -GH_COMMIT= 6cef39c +GH_COMMIT= dab8fe6 GH_TAGNAME= v${PORTVERSION} USE_OPENSSL= yes USE_BDB= yes WANT_BDB_VER= 48 -USE_GMAKE= yes +USES= gmake OPTIONS_DEFINE= GUI UPNP QRCODES DBUS OPTIONS_DEFAULT= GUI QRCODES @@ -72,6 +72,10 @@ QMAKE_USE_DBUS= 0 .include +.if ${OSVERSION} >= 1000000 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-endian +.endif + do-configure: .if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) cd ${BUILD_WRKSRC} && \ Modified: head/net-p2p/litecoin/distinfo ============================================================================== --- head/net-p2p/litecoin/distinfo Tue Dec 17 13:01:12 2013 (r336720) +++ head/net-p2p/litecoin/distinfo Tue Dec 17 13:10:02 2013 (r336721) @@ -1,2 +1,2 @@ -SHA256 (litecoin-0.8.5.1.tar.gz) = 7588349de2b006153bde642468dbddd215986ca18ca7d5ef896092cab5488c49 -SIZE (litecoin-0.8.5.1.tar.gz) = 4783538 +SHA256 (litecoin-0.8.6.1.tar.gz) = ff11a4d5bd0cf9ddac0b1644d0819ec3d6827e5052addcbc871d288286188019 +SIZE (litecoin-0.8.6.1.tar.gz) = 4807148 Added: head/net-p2p/litecoin/files/extra-patch-endian ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/litecoin/files/extra-patch-endian Tue Dec 17 13:10:02 2013 (r336721) @@ -0,0 +1,47 @@ +--- src/scrypt.cpp.orig 2013-12-09 18:10:12.046606050 +0000 ++++ src/scrypt.cpp 2013-12-09 18:10:25.898605023 +0000 +@@ -34,22 +34,6 @@ + #include + #include + +-static inline uint32_t be32dec(const void *pp) +-{ +- const uint8_t *p = (uint8_t const *)pp; +- return ((uint32_t)(p[3]) + ((uint32_t)(p[2]) << 8) + +- ((uint32_t)(p[1]) << 16) + ((uint32_t)(p[0]) << 24)); +-} +- +-static inline void be32enc(void *pp, uint32_t x) +-{ +- uint8_t *p = (uint8_t *)pp; +- p[3] = x & 0xff; +- p[2] = (x >> 8) & 0xff; +- p[1] = (x >> 16) & 0xff; +- p[0] = (x >> 24) & 0xff; +-} +- + typedef struct HMAC_SHA256Context { + SHA256_CTX ictx; + SHA256_CTX octx; +--- src/scrypt.h.orig 2013-12-09 15:26:17.343282984 +0000 ++++ src/scrypt.h 2013-12-09 15:45:11.032205545 +0000 +@@ -17,19 +17,4 @@ + 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); + +-static inline uint32_t le32dec(const void *pp) +-{ +- const uint8_t *p = (uint8_t const *)pp; +- return ((uint32_t)(p[0]) + ((uint32_t)(p[1]) << 8) + +- ((uint32_t)(p[2]) << 16) + ((uint32_t)(p[3]) << 24)); +-} +- +-static inline void le32enc(void *pp, uint32_t x) +-{ +- uint8_t *p = (uint8_t *)pp; +- p[0] = x & 0xff; +- p[1] = (x >> 8) & 0xff; +- p[2] = (x >> 16) & 0xff; +- p[3] = (x >> 24) & 0xff; +-} + #endif