Date: Tue, 17 Dec 2013 13:10:02 +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: r336721 - in head/net-p2p/litecoin: . files Message-ID: <201312171310.rBHDA290070407@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> +.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 <string.h> + #include <openssl/sha.h> + +-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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312171310.rBHDA290070407>