mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
- Update to 1.5.0
This commit is contained in:
parent
7c643def1a
commit
4832448ba2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342215
@ -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
|
||||
|
@ -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
|
||||
|
47
net-p2p/dogecoin/files/extra-patch-endian
Normal file
47
net-p2p/dogecoin/files/extra-patch-endian
Normal file
@ -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
|
20
net-p2p/dogecoin/files/extra-patch-src__leveldb__Makefile
Normal file
20
net-p2p/dogecoin/files/extra-patch-src__leveldb__Makefile
Normal file
@ -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)
|
@ -1,11 +0,0 @@
|
||||
--- src/qt/qtipcserver.cpp.orig 2014-01-18 05:21:31.335425774 +0000
|
||||
+++ src/qt/qtipcserver.cpp 2014-01-18 05:22:33.976421840 +0000
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
static void ipcThread2(void* pArg);
|
||||
|
||||
-#ifdef MAC_OSX
|
||||
+#if defined(MAC_OSX) || defined(__FreeBSD__)
|
||||
// URI handling not implemented on OSX yet
|
||||
|
||||
void ipcInit() { }
|
@ -1,22 +0,0 @@
|
||||
--- ./src/serialize.h.orig 2013-09-24 01:50:35.661706153 +0000
|
||||
+++ ./src/serialize.h 2013-09-24 01:50:52.913703572 +0000
|
||||
@@ -895,19 +895,6 @@
|
||||
iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); }
|
||||
void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); }
|
||||
|
||||
- void insert(iterator it, const_iterator first, const_iterator last)
|
||||
- {
|
||||
- assert(last - first >= 0);
|
||||
- if (it == vch.begin() + nReadPos && (unsigned int)(last - first) <= nReadPos)
|
||||
- {
|
||||
- // special case for inserting at the front when there's room
|
||||
- nReadPos -= (last - first);
|
||||
- memcpy(&vch[nReadPos], &first[0], last - first);
|
||||
- }
|
||||
- else
|
||||
- vch.insert(it, first, last);
|
||||
- }
|
||||
-
|
||||
void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last)
|
||||
{
|
||||
assert(last - first >= 0);
|
Loading…
Reference in New Issue
Block a user