pkgsrc-WIP-changes archive

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

rm dogecoin



Module Name:	pkgsrc-wip
Committed By:	Roland Illig <roland.illig%gmx.de@localhost>
Pushed By:	rillig
Date:		Thu Aug 18 20:53:17 2022 +0200
Changeset:	8a2f10bad0c354b532852e033a75fb44f6ed69ee

Modified Files:
	Makefile
Removed Files:
	dogecoin/DESCR
	dogecoin/MESSAGE
	dogecoin/Makefile
	dogecoin/PLIST
	dogecoin/distinfo
	dogecoin/files/dogecoin.conf
	dogecoin/files/dogecoind.sh
	dogecoin/options.mk
	dogecoin/patches/patch-src_crypto_scrypt-sse2.cpp
	dogecoin/patches/patch-src_crypto_scrypt.cpp
	dogecoin/patches/patch-src_crypto_scrypt.h
	dogecoin/patches/patch-src_leveldb_port_port__posix.h

Log Message:
rm dogecoin

Its distinfo didn't survive the change of hashing algorithms.
Its PKGREVISION was syntactically wrong, lintpkgsrc complained.

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

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

diffstat:
 Makefile                                           |   1 -
 dogecoin/DESCR                                     |   2 -
 dogecoin/MESSAGE                                   |   7 --
 dogecoin/Makefile                                  |  78 ---------------
 dogecoin/PLIST                                     |   5 -
 dogecoin/distinfo                                  |   8 --
 dogecoin/files/dogecoin.conf                       | 111 ---------------------
 dogecoin/files/dogecoind.sh                        |  27 -----
 dogecoin/options.mk                                |  44 --------
 dogecoin/patches/patch-src_crypto_scrypt-sse2.cpp  |  22 ----
 dogecoin/patches/patch-src_crypto_scrypt.cpp       |  48 ---------
 dogecoin/patches/patch-src_crypto_scrypt.h         |  21 ----
 .../patches/patch-src_leveldb_port_port__posix.h   |  18 ----
 13 files changed, 392 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 2c9668147d..e1ad69d3dd 100644
--- a/Makefile
+++ b/Makefile
@@ -690,7 +690,6 @@ SUBDIR+=	docker-compose
 SUBDIR+=	docker-compose-cli
 SUBDIR+=	docker-machine
 SUBDIR+=	docviewer
-SUBDIR+=	dogecoin
 SUBDIR+=	dokuwiki
 SUBDIR+=	dolfin
 SUBDIR+=	doomlegacy-devel
diff --git a/dogecoin/DESCR b/dogecoin/DESCR
deleted file mode 100644
index aa7d91f98e..0000000000
--- a/dogecoin/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-Dogecoin is a decentralized, peer-to-peer digital currency that enables you to
-easily send money online. Think of it as "the internet currency."
diff --git a/dogecoin/MESSAGE b/dogecoin/MESSAGE
deleted file mode 100644
index 4a71b60d34..0000000000
--- a/dogecoin/MESSAGE
+++ /dev/null
@@ -1,7 +0,0 @@
-===========================================================================
-$NetBSD$
-
-To use dogecoind, you must set a rpcpassword in the configuration file:
-${PKG_SYSCONFDIR}/dogecoin.conf
-
-===========================================================================
diff --git a/dogecoin/Makefile b/dogecoin/Makefile
deleted file mode 100644
index 39bf5ded29..0000000000
--- a/dogecoin/Makefile
+++ /dev/null
@@ -1,78 +0,0 @@
-# $NetBSD$
-
-#DISTNAME=	v1.8.3
-DISTNAME=       v1.10.0
-PKGREVISION=    RC-1
-PKGNAME=	dogecoin-${DISTNAME:S/v//1}
-CATEGORIES=	finance
-MASTER_SITES=	https://github.com/dogecoin/dogecoin/archive/
-DIST_SUBDIR=	${PKGBASE}
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://dogecoin.com/
-COMMENT=	Open source peer-to-peer digital currency, favored by Shiba Inus
-LICENSE=	mit
-
-GNU_CONFIGURE=	yes
-USE_LIBTOOL=	yes
-USE_TOOLS+=	aclocal autoconf autoheader automake gmake libtoolize pkg-config
-USE_LANGUAGES=	c c++
-AUTO_MKDIRS=    yes
-HAS_CONFIGURE=  yes
-
-WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
-#CXXFLAGS+=	-std=c++0x
-CXXFLAGS+=      -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1
-CXXFLAGS+=      -std=c++0x -I${BUILDLINK_PREFIX.boost-libs}/include/boost
-CXXFLAGS+=      -Wl,-R${BUILDLINK_PREFIX.boost-libs}/lib/dogecoin -L${BUILDLINK_PREFIX.boost-libs}/lib/dogecoin
-CFLAGS+=        -fPIC -Wl,-R${BUILDLINK_PREFIX.boost-libs}/lib/dogecoin -L${BUILDLINK_PREFIX.boost-libs}/lib/dogecoin
-BOOST_LDFLAGS=  -L${BUILDLINK_PREFIX.boost-libs}/lib
-BOOST_CPPFLAGS= -I${BUILDLINK_PREFIX.boost-libs}/include
-CPPFLAGS+=-I${BUILDLINK_PREFIX.boost-headers}/include/boost, -Wl,-R${BUILDLINK_PREFIX.boost-libs}/lib/dogecoin
-CPPFLAGS+=-L${BUILDLINK_PREFIX.boost-libs}/lib/dogecoin
-
-LIBTOOLIZE=	${PREFIX}/bin/libtoolize
-
-SUBST_CLASSES+=			autotools
-SUBST_FILES.autotools=		autogen.sh
-SUBST_MESSAGE.autotools=	Fixing path to autoreconf.
-SUBST_SED.autotools=		-e "s|autoreconf|${PREFIX}/bin/autoreconf|1"
-SUBST_STAGE.autotools=		post-patch
-
-CONFIGURE_ARGS+=		--enable-hardening --enable-debug
-CONFIGURE_ARGS+=		--with-boost=${BUILDLINK_PREFIX.boost-libs}
-CONFIGURE_ARGS+=		--with-incompatible-bdb
-BUILDLINK_TRANSFORM+=		l:db_cxx:db5_cxx
-CONFIGURE_ARGS+=  		${PREFIX}/include/db5
-INSTALLATION_DIRS+=		bin sbin share/examples/dogecoin
-
-#CHECK_PORTABILITY_SKIP=configure
-
-RCD_SCRIPTS=	dogecoind
-OWN_DIRS=	${VARBASE}/dogecoin
-EGDIR=		${PREFIX}/share/examples/dogecoin
-CONF_FILES=	${EGDIR}/dogecoin.conf ${PKG_SYSCONFDIR}/dogecoin.conf
-CONF_FILES_PERMS=	${EGDIR}/dogecoin.conf ${PKG_SYSCONFDIR}/dogecoin.conf ${ROOT_USER} ${ROOT_GROUP} 0600
-
-.include "options.mk"
-
-pre-configure:
-	cd ${WRKSRC};             \
-        ${LIBTOOLIZE} --force;    \
-        ${PREFIX}/bin/aclocal;    \
-        ${PREFIX}/bin/autoheader; \
-        ${PREFIX}/bin/automake --add-missing; \
-        ${PREFIX}/bin/autoconf
-
-post-install:
-	${MV} ${DESTDIR}${PREFIX}/bin/dogecoind \
-		${DESTDIR}${PREFIX}/sbin/dogecoind
-	${INSTALL_DATA} -m 600 ${FILESDIR}/dogecoin.conf ${DESTDIR}${EGDIR}
-
-.include "../../databases/db5/buildlink3.mk"
-.include "../../devel/boost-libs/buildlink3.mk"
-.include "../../devel/boost-headers/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
-
diff --git a/dogecoin/PLIST b/dogecoin/PLIST
deleted file mode 100644
index ef252edb3b..0000000000
--- a/dogecoin/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD$
-bin/dogecoin-cli
-${PLIST.qt}bin/dogecoin-qt
-sbin/dogecoind
-share/examples/dogecoin/dogecoin.conf
diff --git a/dogecoin/distinfo b/dogecoin/distinfo
deleted file mode 100644
index 028e0791d9..0000000000
--- a/dogecoin/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD$
-
-RMD160 (dogecoin-1.10.0nbRC/v1.10.0.tar.gz) = bbd969f7d8fc5995200408230eeb4bd283cd4811
-Size (dogecoin-1.10.0nbRC/v1.10.0.tar.gz) = 6537704 bytes
-SHA1 (patch-src_crypto_scrypt-sse2.cpp) = 2106a27ec7a9b3fcda9e50dacd049ebdc065034e
-SHA1 (patch-src_crypto_scrypt.cpp) = 66b2531c2a6500ea02cf32ea910605ceb02cfead
-SHA1 (patch-src_crypto_scrypt.h) = 1bea0f186c9465bd467c09756ef6bb815daf6007
-SHA1 (patch-src_leveldb_port_port__posix.h) = 783fecbb583731f96dc261030e48eb499451ab1b
diff --git a/dogecoin/files/dogecoin.conf b/dogecoin/files/dogecoin.conf
deleted file mode 100644
index 86498d4a12..0000000000
--- a/dogecoin/files/dogecoin.conf
+++ /dev/null
@@ -1,111 +0,0 @@
-# dogecoin.conf configuration file. Lines beginning with # are comments.
-
-
-# Network-related settings:
-
-# Run on the test network instead of the real dogecoin 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 peers
-#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 peers:
-#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 Dogecoin/dogecoind process)
-
-# server=1 tells Dogecoin-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 dogecoin 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 Dogecoin or dogecoind to send commands to Dogecoin/dogecoind
-# 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 Dogecoin -server or dogecoind
-#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 dogecoins
-#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 dogecoins.  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 Dogecoin minimized
-#min=1
-
-# Minimize to the system tray
-#minimizetotray=1
diff --git a/dogecoin/files/dogecoind.sh b/dogecoin/files/dogecoind.sh
deleted file mode 100644
index 000ec5724f..0000000000
--- a/dogecoin/files/dogecoind.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD$
-#
-
-# PROVIDE: dogecoind
-# REQUIRE: DAEMON LOGIN wscons
-# KEYWORD: shutdown
-
-if [ -f /etc/rc.subr ]; then
-	. /etc/rc.subr
-fi
-
-name="dogecoind"
-rcvar=$name
-command="@PREFIX@/sbin/dogecoind"
-pidfile="@VARBASE@/run/dogecoind.pid"
-required_directory="@VARBASE@/dogecoin"
-command_args="-daemon -conf=@PREFIX@/etc/dogecoin.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} ${dogecoin_flags} ${command_args}
-fi
diff --git a/dogecoin/options.mk b/dogecoin/options.mk
deleted file mode 100644
index d5146622de..0000000000
--- a/dogecoin/options.mk
+++ /dev/null
@@ -1,44 +0,0 @@
-# $NetBSD$
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.dogecoin
-PKG_SUPPORTED_OPTIONS+=	miniupnpc qrcode qt qtdbus tests
-PKG_SUGGESTED_OPTIONS=	qt # blank
-PLIST_VARS+=		qt tests
-
-.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=-
-CONFIGURE_ARGS+=	--without-miniupnpc
-.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
-
-.if !empty(PKG_OPTIONS:Mqt) || !empty(PKG_OPTIONS:Mqtdbus)
-PLIST.qt=	yes
-.include "../../x11/qt5-qtbase/buildlink3.mk"
-.if !empty(PKG_OPTIONS:Mqtdbus)
-QMAKE_OPTIONS+=	USE_DBUS=1
-.include "../../x11/qt5-dbus/buildlink3.mk"
-.endif
-.endif
-
-.if empty(PKG_OPTIONS:Mqt)
-CONFIGURE_ARGS+=	--without-gui
-.endif
-
-.if empty(PKG_OPTIONS:Mtests)
-CONFIGURE_ARGS+=	--disable-tests
-.else
-PLIST.tests=	yes
-.endif
diff --git a/dogecoin/patches/patch-src_crypto_scrypt-sse2.cpp b/dogecoin/patches/patch-src_crypto_scrypt-sse2.cpp
deleted file mode 100644
index a84713fefc..0000000000
--- a/dogecoin/patches/patch-src_crypto_scrypt-sse2.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD$
-
---- src/crypto/scrypt-sse2.cpp.orig	2015-10-31 14:49:41.000000000 +0000
-+++ src/crypto/scrypt-sse2.cpp
-@@ -108,7 +108,7 @@ void scrypt_1024_1_1_256_sp_sse2(const c
- 
- 	for (k = 0; k < 2; k++) {
- 		for (i = 0; i < 16; i++) {
--			X.u32[k * 16 + i] = le32dec(&B[(k * 16 + (i * 5 % 16)) * 4]);
-+			X.u32[k * 16 + i] = scrypt_le32dec(&B[(k * 16 + (i * 5 % 16)) * 4]);
- 		}
- 	}
- 
-@@ -128,7 +128,7 @@ void scrypt_1024_1_1_256_sp_sse2(const c
- 
- 	for (k = 0; k < 2; k++) {
- 		for (i = 0; i < 16; i++) {
--			le32enc(&B[(k * 16 + (i * 5 % 16)) * 4], X.u32[k * 16 + i]);
-+			scrypt_le32enc(&B[(k * 16 + (i * 5 % 16)) * 4], X.u32[k * 16 + i]);
- 		}
- 	}
- 
diff --git a/dogecoin/patches/patch-src_crypto_scrypt.cpp b/dogecoin/patches/patch-src_crypto_scrypt.cpp
deleted file mode 100644
index af16c324dc..0000000000
--- a/dogecoin/patches/patch-src_crypto_scrypt.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-$NetBSD$
-
---- src/crypto/scrypt.cpp.orig	2015-10-31 14:49:41.000000000 +0000
-+++ src/crypto/scrypt.cpp
-@@ -44,14 +44,14 @@
- #endif
- #endif
- 
--static inline uint32_t be32dec(const void *pp)
-+static inline uint32_t scrypt_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)
-+static inline void scrypt_be32enc(void *pp, uint32_t x)
- {
- 	uint8_t *p = (uint8_t *)pp;
- 	p[3] = x & 0xff;
-@@ -153,7 +153,7 @@ PBKDF2_SHA256(const uint8_t *passwd, siz
- 	/* Iterate through the blocks. */
- 	for (i = 0; i * 32 < dkLen; i++) {
- 		/* Generate INT(i + 1). */
--		be32enc(ivec, (uint32_t)(i + 1));
-+		scrypt_be32enc(ivec, (uint32_t)(i + 1));
- 
- 		/* Compute U_1 = PRF(P, S || INT(i)). */
- 		memcpy(&hctx, &PShctx, sizeof(HMAC_SHA256_CTX));
-@@ -265,7 +265,7 @@ void scrypt_1024_1_1_256_sp_generic(cons
- 	PBKDF2_SHA256((const uint8_t *)input, 80, (const uint8_t *)input, 80, 1, B, 128);
- 
- 	for (k = 0; k < 32; k++)
--		X[k] = le32dec(&B[4 * k]);
-+		X[k] = scrypt_le32dec(&B[4 * k]);
- 
- 	for (i = 0; i < 1024; i++) {
- 		memcpy(&V[i * 32], X, 128);
-@@ -281,7 +281,7 @@ void scrypt_1024_1_1_256_sp_generic(cons
- 	}
- 
- 	for (k = 0; k < 32; k++)
--		le32enc(&B[4 * k], X[k]);
-+		scrypt_le32enc(&B[4 * k], X[k]);
- 
- 	PBKDF2_SHA256((const uint8_t *)input, 80, B, 128, 1, (uint8_t *)output, 32);
- }
diff --git a/dogecoin/patches/patch-src_crypto_scrypt.h b/dogecoin/patches/patch-src_crypto_scrypt.h
deleted file mode 100644
index 89fd7389ff..0000000000
--- a/dogecoin/patches/patch-src_crypto_scrypt.h
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD$
-
---- src/crypto/scrypt.h.orig	2015-10-31 14:49:41.000000000 +0000
-+++ src/crypto/scrypt.h
-@@ -27,14 +27,14 @@ void
- 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)
-+static inline uint32_t scrypt_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)
-+static inline void scrypt_le32enc(void *pp, uint32_t x)
- {
-         uint8_t *p = (uint8_t *)pp;
-         p[0] = x & 0xff;
diff --git a/dogecoin/patches/patch-src_leveldb_port_port__posix.h b/dogecoin/patches/patch-src_leveldb_port_port__posix.h
deleted file mode 100644
index 4c54bd291d..0000000000
--- a/dogecoin/patches/patch-src_leveldb_port_port__posix.h
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Be nbsd specific.
-
---- src/leveldb/port/port_posix.h.orig	2015-10-31 14:49:41.000000000 +0000
-+++ src/leveldb/port/port_posix.h
-@@ -47,7 +47,11 @@
- #include "port/atomic_pointer.h"
- 
- #ifndef PLATFORM_IS_LITTLE_ENDIAN
-+#if defined(OS_NETBSD)
- #define PLATFORM_IS_LITTLE_ENDIAN (__BYTE_ORDER == __LITTLE_ENDIAN)
-+#else
-+#define PLATFORM_IS_LITTLE_ENDIAN (__BYTE_ORDER == __LITTLE_ENDIAN)
-+#endif
- #endif
- 
- #if defined(OS_MACOSX) || defined(OS_SOLARIS) || defined(OS_FREEBSD) ||\


Home | Main Index | Thread Index | Old Index