pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip clean-up: remove darkcoin



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Fri Jul 8 08:33:20 2022 +0200
Changeset:	8c16767d892441e139b1ea65fedc512051da0244

Modified Files:
	Makefile
Removed Files:
	darkcoin/DESCR
	darkcoin/Makefile
	darkcoin/PLIST
	darkcoin/distinfo
	darkcoin/files/dash.conf
	darkcoin/files/dashd.sh
	darkcoin/options.mk
	darkcoin/patches/patch-src_chainparams.cpp
	darkcoin/patches/patch-src_db.h
	darkcoin/patches/patch-src_init.cpp
	darkcoin/patches/patch-src_netbase.cpp
	darkcoin/patches/patch-src_walletdb.cpp

Log Message:
wip clean-up: remove darkcoin

Abandoned, EOL Qt4.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8c16767d892441e139b1ea65fedc512051da0244

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                   |   1 -
 darkcoin/DESCR                             |  10 ---
 darkcoin/Makefile                          |  89 -----------------------
 darkcoin/PLIST                             |   9 ---
 darkcoin/distinfo                          |   9 ---
 darkcoin/files/dash.conf                   | 111 -----------------------------
 darkcoin/files/dashd.sh                    |  27 -------
 darkcoin/options.mk                        |  28 --------
 darkcoin/patches/patch-src_chainparams.cpp |  42 -----------
 darkcoin/patches/patch-src_db.h            |  15 ----
 darkcoin/patches/patch-src_init.cpp        |  23 ------
 darkcoin/patches/patch-src_netbase.cpp     |  13 ----
 darkcoin/patches/patch-src_walletdb.cpp    |  17 -----
 13 files changed, 394 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 680c41b980..05392b3e54 100644
--- a/Makefile
+++ b/Makefile
@@ -580,7 +580,6 @@ SUBDIR+=	dangerzone
 SUBDIR+=	daphne
 SUBDIR+=	darcs
 SUBDIR+=	darcs-to-git
-SUBDIR+=	darkcoin
 SUBDIR+=	dart-git
 SUBDIR+=	dash-el
 SUBDIR+=	dasht
diff --git a/darkcoin/DESCR b/darkcoin/DESCR
deleted file mode 100644
index fc841a8dce..0000000000
--- a/darkcoin/DESCR
+++ /dev/null
@@ -1,10 +0,0 @@
-Secure, decentralized, and anonymous digital currency. Darkcoin details:
-
-* 0.00000% Pre-mined
-* Super secure hashing algorithm: 11 rounds of scientific hashing functions
-  (blake, bmw, groestl, jh, keccak, skein, luffa, cubehash, shavite, simd, echo)
-* Block reward: controlled by 2222222/(((Difficulty+2600)/9)^2)
-* Block generation: 2.5 minutes
-* Difficulty: retargets every minute using Dark Gravity Wave
-* Supply: estimated 22 million maximum coins
-* Superior transaction anonymity using Darksend: RC3 testing on MainNet
diff --git a/darkcoin/Makefile b/darkcoin/Makefile
deleted file mode 100644
index 22c289ced3..0000000000
--- a/darkcoin/Makefile
+++ /dev/null
@@ -1,89 +0,0 @@
-# $NetBSD$
-
-#DISTNAME=	v0.9.12.32
-DISTNAME=	v0.12.0.55
-#PKGNAME=	darkcoin-${DISTNAME:S/v//1}
-PKGNAME=	dash-${DISTNAME:S/v//1}
-CATEGORIES=	finance
-MASTER_SITES=	https://github.com/darkcoinproject/darkcoin/archive/
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://www.darkcoin.io/
-COMMENT=	Secure, decentralized, and anonymous digital currency
-LICENSE=	mit
-
-USE_LIBTOOL=	yes
-USE_TOOLS+=	gmake pkg-config autoconf aclocal autoheader automake libtoolize
-USE_LANGUAGES=	c c++
-WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
-AUTO_MKDIRS=	yes
-HAS_CONFIGURE=	yes
-GNU_CONFIGURE=	yes
-
-#CXXFLAGS+=		-std=c++0x
-CXXFLAGS+=		-Wl,-R${BUILDLINK_PREFIX.boost-libs}/lib/dash -L${BUILDLINK_PREFIX.boost-libs}/lib/dash
-CXXFLAGS+=		-I${BUILDLINK_PREFIX.boost-libs}/include/boost
-CFLAGS+=		-fPIC
-BUILDLINK_TRANSFORM+=	l:db_cxx:db4_cxx
-
-CONFIGURE_ARGS+=	--with-boost=${BUILDLINK_PREFIX.boost-libs}
-CONFIGURE_ARGS+=	--enable-hardening
-CONFIGURE_ARGS+=	${PREFIX}/include/db4
-
-QMAKE_OPTIONS+=	BOOST_INCLUDE_PATH=${PREFIX}/include/boost
-QMAKE_OPTIONS+=	BDB_INCLUDE_PATH=${PREFIX}/include/db4
-QMAKE_OPTIONS+=	OPENSSL_INCLUDE_PATH=${PREFIX}/include/openssl
-
-QMAKE_OPTIONS+=	BOOST_LIB_PATH=${PREFIX}/lib
-QMAKE_OPTIONS+=	BDB_LIB_PATH=${PREFIX}/lib
-QMAKE_OPTIONS+=	OPENSSL_LIB_PATH=${PREFIX}/lib
-QMAKE_OPTIONS+=	LIB_RPATH=${PREFIX}/lib
-
-RCD_SCRIPTS=		dashd
-OWN_DIRS=		${VARBASE}/dash
-EGDIR=			${PREFIX}/share/examples/dash
-CONF_FILES=		${EGDIR}/dash.conf ${PKG_SYSCONFDIR}/dash.conf
-CONF_FILES_PERMS=	${EGDIR}/dash.conf ${PKG_SYSCONFDIR}/dash.conf ${ROOT_USER} ${ROOT_GROUP} 0600
-INSTALLATION_DIRS+=	share/examples/dash
-
-pre-configure:
-	cd ${WRKSRC};             \
-        ${LIBTOOLIZE} --force;    \
-        ${PREFIX}/bin/aclocal;    \
-        ${PREFIX}/bin/autoheader; \
-        ${PREFIX}/bin/automake -a --foreign -i  --add-missing; \
-        ${PREFIX}/bin/autoconf; \
-        ${PREFIX}/bin/autoreconf -i
-
-#do-configure:
-#	(cd ${WRKSRC} && env ${CONFIGURE_ENV} ${QTDIR}/bin/qmake "PREFIX=${PREFIX}" "QMAKE_CXXFLAGS=${CXXFLAGS}" ${QMAKE_OPTIONS} bitcoin-qt.pro)
-#
-#do-build:
-#	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE_OPTIONS} ${GMAKE};	\
-#	cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} CFLAGS+=-Iobj ${QMAKE_OPTIONS} ${GMAKE} -f makefile.unix
-#
-#do-install:
-#	${INSTALL_PROGRAM} ${WRKSRC}/darkcoin-qt ${DESTDIR}${PREFIX}/bin
-#	${INSTALL_PROGRAM} ${WRKSRC}/src/darkcoind ${DESTDIR}${PREFIX}/sbin
-#	${INSTALL_DATA} -m 600 ${FILESDIR}/darkcoin.conf ${DESTDIR}${EGDIR}
-#
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/dashd ${DESTDIR}${PREFIX}/sbin/dashd
-	${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/dash-tx ${DESTDIR}${PREFIX}/bin/dash-tx
-	${INSTALL_PROGRAM} ${WRKSRC}/src/dash-cli ${DESTDIR}${PREFIX}/bin/dash-cli
-	${INSTALL_LIB} -m 644 ${WRKSRC}/src/secp256k1/libsecp256k1.la ${DESTDIR}${PREFIX}/lib/dash
-	${INSTALL_LIB} ${WRKSRC}/src/secp256k1/.libs/libsecp256k1.so.0 ${DESTDIR}${PREFIX}/lib/dash
-	${LN} -fs ${DESTDIR}${PREFIX}/lib/dash/libsecp256k1.so.0 ${DESTDIR}${PREFIX}/lib/dash/libsecp256k1.so
-	${INSTALL_DATA} -m 600 ${FILESDIR}/dash.conf ${DESTDIR}${EGDIR}
-
-
-.include "options.mk"
-
-.include "../../databases/db4/buildlink3.mk"
-.include "../../devel/boost-libs/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-BUILDLINK_DEPMETHOD.qt4-tools=	full
-.include "../../x11/qt4-tools/buildlink3.mk"
-.include "../../x11/qt4-libs/buildlink3.mk"
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/darkcoin/PLIST b/darkcoin/PLIST
deleted file mode 100644
index 3f047312b3..0000000000
--- a/darkcoin/PLIST
+++ /dev/null
@@ -1,9 +0,0 @@
-@comment $NetBSD$
-bin/dash-cli
-bin/dash-tx
-lib/dash/libsecp256k1.la
-lib/dash/libsecp256k1.so
-lib/dash/libsecp256k1.so.0
-sbin/dashd
-share/examples/dash/dash.conf
-share/examples/rc.d/dashd
diff --git a/darkcoin/distinfo b/darkcoin/distinfo
deleted file mode 100644
index 59afad6169..0000000000
--- a/darkcoin/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD$
-
-RMD160 (v0.12.0.55.tar.gz) = e59d82d7456976b2f339c68d854e1c318153973b
-Size (v0.12.0.55.tar.gz) = 4175442 bytes
-SHA1 (patch-src_chainparams.cpp) = ca4e007f56359b45e63c29d5c27ccdfe5e3af237
-SHA1 (patch-src_db.h) = a106889a9d395f9bb2eba05ba7580fa3080ad868
-SHA1 (patch-src_init.cpp) = b7d13c7e884cb9f68728889bb4753fec7f83b543
-SHA1 (patch-src_netbase.cpp) = 5d06b13108039f6b93b30721b9d76ed5fee88166
-SHA1 (patch-src_walletdb.cpp) = 02ea08796aea80e550602c616b9fe4ffea86f325
diff --git a/darkcoin/files/dash.conf b/darkcoin/files/dash.conf
deleted file mode 100644
index 8c271c834b..0000000000
--- a/darkcoin/files/dash.conf
+++ /dev/null
@@ -1,111 +0,0 @@
-# darkcoin.conf configuration file. Lines beginning with # are comments.
-
-
-# Network-related settings:
-
-# Run on the test network instead of the real darkcoin network.
-#testnet=0
-
-# Connect via a socks4 proxy
-#proxy=127.0.0.1:9050
-
-##############################################################
-##            Quick Primer on addnode vs connect            ##
-##  Let's say for instance you use addnode=4.2.2.4          ##
-##  addnode will connect you to and tell you about the      ##
-##    nodes connected to 4.2.2.4.  In addition it will tell ##
-##    the other nodes connected to it that you exist so     ##
-##    they can connect to you.                              ##
-##  connect will not do the above when you 'connect' to it. ##
-##    It will *only* connect you to 4.2.2.4 and no one else.##
-##                                                          ##
-##  So if you're behind a firewall, or have other problems  ##
-##  finding nodes, add some using 'addnode'.                ##
-##                                                          ##
-##  If you want to stay private, use 'connect' to only      ##
-##  connect to "trusted" nodes.                             ##
-##                                                          ##
-##  If you run multiple nodes on a LAN, there's no need for ##
-##  all of them to open lots of connections.  Instead       ##
-##  'connect' them all to one node that is port forwarded   ##
-##  and has lots of connections.                            ##
-##       Thanks goes to [Noodle] on Freenode.               ##
-##############################################################
-
-# Use as many addnode= settings as you like to connect to specific primes
-#addnode=69.164.218.197
-#addnode=10.0.0.2:8333
-
-# ... or use as many connect= settings as you like to connect ONLY
-# to specific primes:
-#connect=69.164.218.197
-#connect=10.0.0.1:8333
-
-
-# Maximum number of inbound+outbound connections.
-#maxconnections=
-
-
-# JSON-RPC options (for controlling a running Darkcoin/darkcoind process)
-
-# server=1 tells Darkcoin-QT to accept JSON-RPC commands.
-#server=0
-
-# You must set rpcuser and rpcpassword to secure the JSON-RPC api
-#rpcuser=Ulysseys
-#rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593
-
-# How many seconds darkcoin will wait for a complete RPC HTTP request.
-# after the HTTP connection is established. 
-#rpctimeout=30
-
-# By default, only RPC connections from localhost are allowed.  Specify
-# as many rpcallowip= settings as you like to allow connections from
-# other hosts (and you may use * as a wildcard character).
-# NOTE: opening up the RPC port to hosts outside your local
-# trusted network is NOT RECOMMENDED, because the rpcpassword
-# is transmitted over the network unencrypted.
-#rpcallowip=10.1.1.34
-#rpcallowip=192.168.1.*
-
-# Listen for RPC connections on this TCP port:
-#rpcport=8332
-
-# You can use Darkcoin or darkcoind to send commands to Darkcoin/darkcoind
-# running on another host using this option:
-#rpcconnect=127.0.0.1
-
-# Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate
-# with Darkcoin -server or darkcoind
-#rpcssl=1
-
-# OpenSSL settings used when rpcssl=1
-#rpcsslciphers=TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH
-#rpcsslcertificatechainfile=server.cert
-#rpcsslprivatekeyfile=server.pem
-
-
-# Miscellaneous options
-
-# Set gen=1 to attempt to generate darkcoins
-#gen=0
- 
-# Pre-generate this many public/private key pairs, so wallet backups will be valid for
-# both prior transactions and several dozen future transactions.
-#keypool=100
-
-# Pay an optional transaction fee every time you send darkcoins.  Transactions with fees
-# are more likely than free transactions to be included in generated blocks, so may
-# be validated sooner.
-#paytxfee=0.00
-
-# Allow direct connections for the 'pay via IP address' feature.
-#allowreceivebyip=1
-  
-# User interface options
-
-# Start Darkcoin minimized
-#min=1
-
-# Minimize to the system tray
-#minimizetotray=1
diff --git a/darkcoin/files/dashd.sh b/darkcoin/files/dashd.sh
deleted file mode 100644
index e2c5c8da18..0000000000
--- a/darkcoin/files/dashd.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD$
-#
-
-# PROVIDE: dashd
-# REQUIRE: DAEMON LOGIN wscons
-# KEYWORD: shutdown
-
-if [ -f /etc/rc.subr ]; then
-	. /etc/rc.subr
-fi
-
-name="dashd"
-rcvar=$name
-command="@PREFIX@/sbin/dashd"
-pidfile="@VARBASE@/run/dashd.pid"
-required_directory="@VARBASE@/dash"
-command_args="-daemon -conf=@PREFIX@/etc/dash.conf -pid=${pidfile} -datadir=${required_directory}"
-
-if [ -f /etc/rc.subr ]; then
-	load_rc_config $name
-	run_rc_command "$1"
-else
-	echo -n " ${name}"
-	${command} ${dash_flags} ${command_args}
-fi
diff --git a/darkcoin/options.mk b/darkcoin/options.mk
deleted file mode 100644
index 2a7950d38f..0000000000
--- a/darkcoin/options.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD$
-
-PKG_OPTIONS_VAR=		PKG_OPTIONS.darkcoin
-PKG_SUPPORTED_OPTIONS+=		miniupnpc dbus qrcode
-PKG_SUGGESTED_OPTIONS+=		qrcode
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mminiupnpc)
-QMAKE_OPTIONS+=	USE_UPNP=1
-.include "../../net/miniupnpc/buildlink3.mk"
-.else
-QMAKE_OPTIONS+=	USE_UPNP=-
-.endif
-
-.if !empty(PKG_OPTIONS:Mdbus)
-QMAKE_OPTIONS+=	USE_DBUS=1
-.include "../../x11/qt4-qdbus/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mqrcode)
-QMAKE_OPTIONS+=	USE_QRCODE=1
-.include "../../converters/qrencode/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Minet6)
-QMAKE_OPTIONS+=	USE_IPV6=0
-.endif
diff --git a/darkcoin/patches/patch-src_chainparams.cpp b/darkcoin/patches/patch-src_chainparams.cpp
deleted file mode 100644
index 326c581b09..0000000000
--- a/darkcoin/patches/patch-src_chainparams.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD$
-
---- src/chainparams.cpp.orig	2015-09-28 15:49:30.000000000 +0000
-+++ src/chainparams.cpp
-@@ -165,12 +165,12 @@ public:
-         vSeeds.push_back(CDNSSeedData("masternode.io", "dnsseed.masternode.io"));
-         vSeeds.push_back(CDNSSeedData("dashpay.io", "dnsseed.dashpay.io"));
- 
--        base58Prefixes[PUBKEY_ADDRESS] = list_of( 76);                    // Dash addresses start with 'X'
--        base58Prefixes[SCRIPT_ADDRESS] = list_of( 16);                    // Dash script addresses start with '7'
--        base58Prefixes[SECRET_KEY] =     list_of(204);                    // Dash private keys start with '7' or 'X'
--        base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x02)(0xFE)(0x52)(0xF8); // Dash BIP32 pubkeys start with 'drkv'
--        base58Prefixes[EXT_SECRET_KEY] = list_of(0x02)(0xFE)(0x52)(0xCC); // Dash BIP32 prvkeys start with 'drkp'
--        base58Prefixes[EXT_COIN_TYPE]  = list_of(0x80000005);             // Dash BIP44 coin type is '5'
-+        base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1, 76);                    // Dash addresses start with 'X'
-+        base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1, 16);                    // Dash script addresses start with '7'
-+        base58Prefixes[SECRET_KEY] =     std::vector<unsigned char>(1, 204);                    // Dash private keys start with '7' or 'X'
-+        base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x02)(0xFE)(0x52)(0xF8).convert_to_container<std::vector<unsigned char> >();
-+        base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x02)(0xFE)(0x52)(0xCC).convert_to_container<std::vector<unsigned char> >();
-+        base58Prefixes[EXT_COIN_TYPE]  = boost::assign::list_of(0x80000005).convert_to_container<std::vector<unsigned char> >();
- 
-         convertSeed6(vFixedSeeds, pnSeed6_main, ARRAYLEN(pnSeed6_main));
- 
-@@ -234,12 +234,12 @@ public:
-         vSeeds.push_back(CDNSSeedData("darkcoin.qa", "testnet-seed.darkcoin.qa"));
-         vSeeds.push_back(CDNSSeedData("masternode.io", "test.dnsseed.masternode.io"));
- 
--        base58Prefixes[PUBKEY_ADDRESS] = list_of(139);                    // Testnet dash addresses start with 'x' or 'y'
--        base58Prefixes[SCRIPT_ADDRESS] = list_of( 19);                    // Testnet dash script addresses start with '8' or '9'
--        base58Prefixes[SECRET_KEY]     = list_of(239);                    // Testnet private keys start with '9' or 'c' (Bitcoin defaults)
--        base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x3a)(0x80)(0x61)(0xa0); // Testnet dash BIP32 pubkeys start with 'DRKV'
--        base58Prefixes[EXT_SECRET_KEY] = list_of(0x3a)(0x80)(0x58)(0x37); // Testnet dash BIP32 prvkeys start with 'DRKP'
--        base58Prefixes[EXT_COIN_TYPE]  = list_of(0x80000001);             // Testnet dash BIP44 coin type is '5' (All coin's testnet default)
-+        base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1, 139);                    // Testnet dash addresses start with 'x' or 'y'
-+        base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1, 19);                    // Testnet dash script addresses start with '8' or '9'
-+        base58Prefixes[SECRET_KEY]     = std::vector<unsigned char>(1, 239);                  // Testnet private keys start with '9' or 'c' (Bitcoin defaults)
-+        base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x3a)(0x80)(0x61)(0xa0).convert_to_container<std::vector<unsigned char> >();
-+        base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x3a)(0x80)(0x58)(0x37).convert_to_container<std::vector<unsigned char> >();
-+        base58Prefixes[EXT_COIN_TYPE]  = boost::assign::list_of(0x80000001).convert_to_container<std::vector<unsigned char> >();
- 
-         convertSeed6(vFixedSeeds, pnSeed6_test, ARRAYLEN(pnSeed6_test));
- 
diff --git a/darkcoin/patches/patch-src_db.h b/darkcoin/patches/patch-src_db.h
deleted file mode 100644
index b83fdc3c2c..0000000000
--- a/darkcoin/patches/patch-src_db.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Use pkgsrc databases/db4.
-
---- src/db.h.orig	2015-09-28 15:49:30.000000000 +0000
-+++ src/db.h
-@@ -18,7 +18,7 @@
- 
- #include <boost/filesystem/path.hpp>
- 
--#include <db_cxx.h>
-+#include <db4/db_cxx.h>
- 
- class CDiskBlockIndex;
- class COutPoint;
diff --git a/darkcoin/patches/patch-src_init.cpp b/darkcoin/patches/patch-src_init.cpp
deleted file mode 100644
index 49bd12ecd3..0000000000
--- a/darkcoin/patches/patch-src_init.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD$
-
---- src/init.cpp.orig	2015-09-28 15:49:30.000000000 +0000
-+++ src/init.cpp
-@@ -914,11 +914,13 @@ bool AppInit2(boost::thread_group& threa
-                 boost::filesystem::path backupFile = backupPathStr + dateTimeStr;
-                 sourceFile.make_preferred();
-                 backupFile.make_preferred();
--                try {
--                    boost::filesystem::copy_file(sourceFile, backupFile);
--                    LogPrintf("Creating backup of %s -> %s\n", sourceFile, backupFile);
--                } catch(boost::filesystem::filesystem_error &error) {
--                    LogPrintf("Failed to create backup %s\n", error.what());
-+		if(boost::filesystem::exists(sourceFile)) {
-+                    try {
-+                        boost::filesystem::copy_file(sourceFile, backupFile);
-+                        LogPrintf("Creating backup of %s -> %s\n", sourceFile, backupFile);
-+                    } catch(boost::filesystem::filesystem_error &error) {
-+                        LogPrintf("Failed to create backup %s\n", error.what());
-+                    }
-                 }
-                 // Keep only the last 10 backups, including the new one of course
-                 typedef std::multimap<std::time_t, boost::filesystem::path> folder_set_t;
diff --git a/darkcoin/patches/patch-src_netbase.cpp b/darkcoin/patches/patch-src_netbase.cpp
deleted file mode 100644
index b77c6b30bf..0000000000
--- a/darkcoin/patches/patch-src_netbase.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- src/netbase.cpp.orig	2015-09-28 15:49:30.000000000 +0000
-+++ src/netbase.cpp
-@@ -124,7 +124,7 @@ bool static LookupIntern(const char *psz
-     aiHint.ai_socktype = SOCK_STREAM;
-     aiHint.ai_protocol = IPPROTO_TCP;
-     aiHint.ai_family = AF_UNSPEC;
--#ifdef WIN32
-+#ifdef WIN32 || defined(__NetBSD__)
-     aiHint.ai_flags = fAllowLookup ? 0 : AI_NUMERICHOST;
- #else
-     aiHint.ai_flags = fAllowLookup ? AI_ADDRCONFIG : AI_NUMERICHOST;
diff --git a/darkcoin/patches/patch-src_walletdb.cpp b/darkcoin/patches/patch-src_walletdb.cpp
deleted file mode 100644
index 9ef763feb5..0000000000
--- a/darkcoin/patches/patch-src_walletdb.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
---- src/walletdb.cpp.orig	2015-09-28 15:49:30.000000000 +0000
-+++ src/walletdb.cpp
-@@ -872,11 +872,7 @@ bool BackupWallet(const CWallet& wallet,
-                     pathDest /= wallet.strWalletFile;
- 
-                 try {
--#if BOOST_VERSION >= 104000
--                    filesystem::copy_file(pathSrc, pathDest, filesystem::copy_option::overwrite_if_exists);
--#else
--                    filesystem::copy_file(pathSrc, pathDest);
--#endif
-+                    filesystem::copy(pathSrc, pathDest);
-                     LogPrintf("copied wallet.dat to %s\n", pathDest.string());
-                     return true;
-                 } catch(const filesystem::filesystem_error &e) {


Home | Main Index | Thread Index | Old Index