Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2014 22:26:43 +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: r342215 - in head/net-p2p/dogecoin: . files
Message-ID:  <201402012226.s11MQhai099596@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat Feb  1 22:26:42 2014
New Revision: 342215
URL: http://svnweb.freebsd.org/changeset/ports/342215
QAT: https://qat.redports.org/buildarchive/r342215/

Log:
  - Update to 1.5.0

Added:
  head/net-p2p/dogecoin/files/extra-patch-endian
     - copied unchanged from r341907, head/net-p2p/litecoin/files/extra-patch-endian
  head/net-p2p/dogecoin/files/extra-patch-src__leveldb__Makefile   (contents, props changed)
Deleted:
  head/net-p2p/dogecoin/files/patch-src__qt__qtipcserver.cpp
  head/net-p2p/dogecoin/files/patch-src__serialize.h
Modified:
  head/net-p2p/dogecoin/Makefile
  head/net-p2p/dogecoin/distinfo

Modified: head/net-p2p/dogecoin/Makefile
==============================================================================
--- head/net-p2p/dogecoin/Makefile	Sat Feb  1 22:12:52 2014	(r342214)
+++ head/net-p2p/dogecoin/Makefile	Sat Feb  1 22:26:42 2014	(r342215)
@@ -2,12 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	dogecoin
-PORTVERSION=	1.4
-PORTREVISION=	2
+PORTVERSION=	1.5.0
 CATEGORIES=	net-p2p finance
-MASTER_SITES=	${MASTER_SITE_LOCAL} \
-		http://people.freebsd.org/~swills/ \
-		GH
 
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Virtual Peer-to-Peer Currency Client
@@ -24,10 +20,9 @@ UPNP_DESC=	Build with UPNP support
 QRCODES_DESC=	Build with QR code display
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	dogecoin
-GH_PROJECT=	dogecoin
-GH_COMMIT=	d484474
-GH_TAGNAME=	${GH_COMMIT}
+GH_ACCOUNT=	${PORTNAME}
+GH_COMMIT=	be94b62
+GH_TAGNAME=	v${PORTVERSION}
 
 USES=		gmake compiler:c++11-lib
 USE_OPENSSL=	yes
@@ -40,6 +35,12 @@ CXXFLAGS+=	-Wno-invalid-offsetof
 
 .include <bsd.port.options.mk>
 
+.if ${OSVERSION} >= 1000000
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-endian
+.else
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src__leveldb__Makefile
+.endif
+
 .if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11)
 USE_QT4=	corelib gui qmake_build linguist uic moc rcc
 BINARY=		dogecoin-qt

Modified: head/net-p2p/dogecoin/distinfo
==============================================================================
--- head/net-p2p/dogecoin/distinfo	Sat Feb  1 22:12:52 2014	(r342214)
+++ head/net-p2p/dogecoin/distinfo	Sat Feb  1 22:26:42 2014	(r342215)
@@ -1,2 +1,2 @@
-SHA256 (dogecoin-1.4.tar.gz) = ddc026ecb6a8f00b7f8693d93302bc59074802160f8f7818d972529bca9c30fa
-SIZE (dogecoin-1.4.tar.gz) = 13191784
+SHA256 (dogecoin-1.5.0.tar.gz) = 43832d6a147471b759599b4dd080b88ed4d39c119231129d1febd2f1e991cf06
+SIZE (dogecoin-1.5.0.tar.gz) = 3509184

Copied: head/net-p2p/dogecoin/files/extra-patch-endian (from r341907, head/net-p2p/litecoin/files/extra-patch-endian)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/dogecoin/files/extra-patch-endian	Sat Feb  1 22:26:42 2014	(r342215, copy of r341907, head/net-p2p/litecoin/files/extra-patch-endian)
@@ -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

Added: head/net-p2p/dogecoin/files/extra-patch-src__leveldb__Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/dogecoin/files/extra-patch-src__leveldb__Makefile	Sat Feb  1 22:26:42 2014	(r342215)
@@ -0,0 +1,20 @@
+--- src/leveldb/Makefile.orig	2014-02-01 18:59:21.000000000 +0000
++++ src/leveldb/Makefile	2014-02-01 18:59:30.000000000 +0000
+@@ -98,7 +98,7 @@
+ 
+ $(LIBRARY): $(LIBOBJECTS)
+ 	rm -f $@
+-	$(AR) -rs $@ $(LIBOBJECTS)
++	$(AR) -s $@ $(LIBOBJECTS)
+ 
+ db_bench: db/db_bench.o $(LIBOBJECTS) $(TESTUTIL)
+ 	$(CXX) $(LDFLAGS) db/db_bench.o $(LIBOBJECTS) $(TESTUTIL) -o $@ $(LIBS)
+@@ -174,7 +174,7 @@
+ 
+ $(MEMENVLIBRARY) : $(MEMENVOBJECTS)
+ 	rm -f $@
+-	$(AR) -rs $@ $(MEMENVOBJECTS)
++	$(AR) -s $@ $(MEMENVOBJECTS)
+ 
+ memenv_test : helpers/memenv/memenv_test.o $(MEMENVLIBRARY) $(LIBRARY) $(TESTHARNESS)
+ 	$(CXX) $(LDFLAGS) helpers/memenv/memenv_test.o $(MEMENVLIBRARY) $(LIBRARY) $(TESTHARNESS) -o $@ $(LIBS)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402012226.s11MQhai099596>