mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
cleanup: Remove expired zetacoin ports:
2023-06-01 net-p2p/zetacoin: Broken for nearly a year 2023-06-01 net-p2p/zetacoin-daemon: Broken for nearly a year 2023-06-01 net-p2p/zetacoin-utils: Broken for nearly a year
This commit is contained in:
parent
af0144572b
commit
da865ce73d
3
MOVED
3
MOVED
@ -7597,3 +7597,6 @@ net-mgmt/zabbix62-proxy|net-mgmt/zabbix64-proxy|2023-05-31|Has expired: Will rea
|
||||
net-mgmt/zabbix62-server|net-mgmt/zabbix64-server|2023-05-31|Has expired: Will reach end of life on 2023-05-31
|
||||
mail/esmtp||2023-05-31|Has expired: Upstream announced that this project is no longer being maintained. See https://esmtp.sourceforge.net/links.html for alternatives
|
||||
ftp/ftpmirror||2023-05-31|Has expired: Abandonware
|
||||
net-p2p/zetacoin||2023-06-01|Has expired: Broken for nearly a year
|
||||
net-p2p/zetacoin-daemon||2023-06-01|Has expired: Broken for nearly a year
|
||||
net-p2p/zetacoin-utils||2023-06-01|Has expired: Broken for nearly a year
|
||||
|
@ -109,8 +109,5 @@
|
||||
SUBDIR += vuze
|
||||
SUBDIR += xbt
|
||||
SUBDIR += xmrig
|
||||
SUBDIR += zetacoin
|
||||
SUBDIR += zetacoin-daemon
|
||||
SUBDIR += zetacoin-utils
|
||||
|
||||
.include <bsd.port.subdir.mk>
|
||||
|
@ -1,35 +0,0 @@
|
||||
MASTERDIR= ${.CURDIR}/../zetacoin
|
||||
PORTREVISION= 2
|
||||
PKGNAMESUFFIX= -daemon
|
||||
|
||||
COMMENT= Peer-to-Peer crypto currency with quick transactions (Daemon)
|
||||
|
||||
SLAVE_PORT= yes
|
||||
|
||||
RUN_DEPENDS+= zetacoin-cli:net-p2p/zetacoin-utils
|
||||
|
||||
OPTIONS_DEFINE= DEBUG HARDENING TESTS UPNP ZMQ
|
||||
# WALLET_BDBMODERN is a choice for WALLET, introduced via OPTIONS_RADIO=WALLET
|
||||
# from ${MASTERDIR}/Makefile
|
||||
OPTIONS_DEFAULT= HARDENING UPNP WALLET_BDBMODERN ZMQ
|
||||
|
||||
USERS= ${PORTNAME}
|
||||
GROUPS= ${PORTNAME}
|
||||
|
||||
CONFIGURE_ARGS= --with-daemon \
|
||||
--without-gui \
|
||||
--without-libs \
|
||||
--without-qrencode \
|
||||
--without-utils
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}d \
|
||||
"@sample %%ETCDIR%%.conf.sample"
|
||||
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
SUB_LIST+= PORTNAME=${PORTNAME}
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,24 +0,0 @@
|
||||
MASTERDIR= ${.CURDIR}/../zetacoin
|
||||
PORTREVISION= 2
|
||||
PKGNAMESUFFIX= -utils
|
||||
|
||||
COMMENT= Peer-to-Peer crypto currency with quick transactions (CLI and Utilities)
|
||||
SLAVE_PORT= yes
|
||||
|
||||
OPTIONS_DEFINE= DEBUG HARDENING TESTS
|
||||
OPTIONS_RADIO=
|
||||
OPTIONS_DEFAULT= HARDENING
|
||||
|
||||
PKGHELP= ${NONEXISTENT}
|
||||
|
||||
CONFIGURE_ARGS= --without-daemon \
|
||||
--without-gui \
|
||||
--without-libs \
|
||||
--without-qrencode \
|
||||
--without-miniupnpc \
|
||||
--with-utils \
|
||||
--disable-wallet
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}-cli bin/${PORTNAME}-tx
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,124 +0,0 @@
|
||||
PORTNAME= zetacoin
|
||||
PORTVERSION= 0.13.2.1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= net-p2p finance
|
||||
|
||||
MAINTAINER= daniel@morante.net
|
||||
COMMENT= Peer-to-Peer crypto currency with quick transactions
|
||||
WWW= https://github.com/zetacoin/zetacoin
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
BROKEN= error: use of undeclared identifier '_1'
|
||||
DEPRECATED= Broken for nearly a year
|
||||
EXPIRATION_DATE= 2023-06-01
|
||||
|
||||
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
|
||||
libevent.so:devel/libevent
|
||||
|
||||
USES= autoreconf compiler:c++11-lib gmake libtool pkgconfig shebangfix ssl
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
SLAVE_PORT?= no
|
||||
|
||||
.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
|
||||
USES+= desktop-file-utils qt:5
|
||||
USE_QT= core gui network widgets \
|
||||
buildtools:build linguisttools:build qmake:build
|
||||
|
||||
BUILD_DEPENDS+= protoc:devel/protobuf
|
||||
LIB_DEPENDS+= libprotobuf.so:devel/protobuf
|
||||
|
||||
TESTS_USES= qt:5
|
||||
TESTS_USE= QT=testlib
|
||||
TESTS_PLIST_FILES= bin/test_${PORTNAME}-qt \
|
||||
bin/test_${PORTNAME}
|
||||
.endif
|
||||
|
||||
OPTIONS_DEFINE?= DBUS DEBUG HARDENING QRCODES TESTS UPNP WALLET_BDBMODERN ZMQ
|
||||
OPTIONS_DEFAULT?= DBUS HARDENING QRCODES UPNP WALLET_BDBMODERN ZMQ
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
HARDENING_DESC= Attempt to harden binaries (PIE for ASLR, NX Stack)
|
||||
QRCODES_DESC= Display QR Codes
|
||||
TESTS_DESC= Build test binary and unit tests
|
||||
WALLET_BDBMODERN_DESC= Wallet using modern BDB 5.x or 6.x
|
||||
ZMQ_DESC= Block and transaction broadcasting with ZeroMQ
|
||||
|
||||
DBUS_CONFIGURE_WITH= dbus
|
||||
DBUS_USES= qt:5
|
||||
DBUS_USE= QT=dbus
|
||||
|
||||
DEBUG_CONFIGURE_ENABLE= debug
|
||||
DEBUG_INSTALL_TARGET_OFF= install-strip
|
||||
|
||||
HARDENING_CONFIGURE_ENABLE= hardening
|
||||
|
||||
TESTS_CONFIGURE_ENABLE= tests bench
|
||||
.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "yes"
|
||||
TESTS_PLIST_FILES= bin/test_${PORTNAME}
|
||||
.endif
|
||||
TESTS_PLIST_FILES+= bin/bench_${PORTNAME}
|
||||
|
||||
UPNP_CONFIGURE_WITH= miniupnpc
|
||||
UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc
|
||||
UPNP_CPPFLAGS= -I${LOCALBASE}/include
|
||||
UPNP_LIBS= -L${LOCALBASE}/lib
|
||||
|
||||
QRCODES_CONFIGURE_WITH= qrencode
|
||||
QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode
|
||||
|
||||
ZMQ_CONFIGURE_ENABLE= zmq
|
||||
ZMQ_BUILD_DEPENDS= libzmq4>0:net/libzmq4
|
||||
ZMQ_RUN_DEPENDS= libzmq4>0:net/libzmq4
|
||||
|
||||
CONFIGURE_ARGS?= --without-libs \
|
||||
--with-gui=qt5 \
|
||||
--without-daemon \
|
||||
--without-utils
|
||||
|
||||
CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \
|
||||
SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl" \
|
||||
OBJCXX="${CXX}" OBJCXXFLAGS="${CXXFLAGS}"
|
||||
MAKE_ENV+= V=1
|
||||
|
||||
PLIST_FILES?= bin/${PORTNAME}-qt share/applications/${PORTNAME}-qt.desktop \
|
||||
share/pixmaps/${PORTNAME}256.png
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MWALLET_BDBMODERN}
|
||||
CONFIGURE_ARGS+= --enable-wallet --with-incompatible-bdb
|
||||
USES+= bdb:5+
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-wallet
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MWALLET_BDBMODERN}
|
||||
CPPFLAGS+= -I${BDB_INCLUDE_DIR}
|
||||
LIBS+= -L${BDB_LIB_DIR}
|
||||
.endif
|
||||
|
||||
.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
|
||||
|
||||
post-install:
|
||||
${INSTALL} ${FILESDIR}/${PORTNAME}-qt.desktop \
|
||||
${STAGEDIR}${PREFIX}/share/applications
|
||||
${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}256.png
|
||||
|
||||
.endif
|
||||
|
||||
regression-test: build
|
||||
# To use this sucessfully, remove --without-daemon and --without-utils
|
||||
# from CONFIGURE_ARGS above.
|
||||
|
||||
@cd ${WRKSRC} && ${GMAKE} check
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1563356382
|
||||
SHA256 (zetacoin-zetacoin-v0.13.2.1_GH0.tar.gz) = 4169a81abb3ded551bf8f8d10e2a7d51ee2b5b2b87e7b4005cce19d584e6378d
|
||||
SIZE (zetacoin-zetacoin-v0.13.2.1_GH0.tar.gz) = 5156393
|
@ -1,57 +0,0 @@
|
||||
--- src/Makefile.bench.include.orig 2018-07-31 20:08:28 UTC
|
||||
+++ src/Makefile.bench.include
|
||||
@@ -2,12 +2,12 @@
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
-bin_PROGRAMS += bench/bench_bitcoin
|
||||
+bin_PROGRAMS += bench/bench_zetacoin
|
||||
BENCH_SRCDIR = bench
|
||||
-BENCH_BINARY = bench/bench_bitcoin$(EXEEXT)
|
||||
+BENCH_BINARY = bench/bench_zetacoin$(EXEEXT)
|
||||
|
||||
|
||||
-bench_bench_bitcoin_SOURCES = \
|
||||
+bench_bench_zetacoin_SOURCES = \
|
||||
bench/bench_bitcoin.cpp \
|
||||
bench/bench.cpp \
|
||||
bench/bench.h \
|
||||
@@ -16,9 +16,9 @@ bench_bench_bitcoin_SOURCES = \
|
||||
bench/crypto_hash.cpp \
|
||||
bench/base58.cpp
|
||||
|
||||
-bench_bench_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(EVENT_CLFAGS) $(EVENT_PTHREADS_CFLAGS) -I$(builddir)/bench/
|
||||
-bench_bench_bitcoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
||||
-bench_bench_bitcoin_LDADD = \
|
||||
+bench_bench_zetacoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(EVENT_CLFAGS) $(EVENT_PTHREADS_CFLAGS) -I$(builddir)/bench/
|
||||
+bench_bench_zetacoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
||||
+bench_bench_zetacoin_LDADD = \
|
||||
$(LIBBITCOIN_SERVER) \
|
||||
$(LIBBITCOIN_COMMON) \
|
||||
$(LIBBITCOIN_UTIL) \
|
||||
@@ -30,15 +30,15 @@ bench_bench_bitcoin_LDADD = \
|
||||
$(LIBUNIVALUE)
|
||||
|
||||
if ENABLE_ZMQ
|
||||
-bench_bench_bitcoin_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
|
||||
+bench_bench_zetacoin_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
|
||||
endif
|
||||
|
||||
if ENABLE_WALLET
|
||||
-bench_bench_bitcoin_LDADD += $(LIBBITCOIN_WALLET)
|
||||
+bench_bench_zetacoin_LDADD += $(LIBBITCOIN_WALLET)
|
||||
endif
|
||||
|
||||
-bench_bench_bitcoin_LDADD += $(BOOST_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
|
||||
-bench_bench_bitcoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
||||
+bench_bench_zetacoin_LDADD += $(BOOST_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
|
||||
+bench_bench_zetacoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
||||
|
||||
CLEAN_BITCOIN_BENCH = bench/*.gcda bench/*.gcno
|
||||
|
||||
@@ -50,4 +50,4 @@ bench: $(BENCH_BINARY) FORCE
|
||||
$(BENCH_BINARY)
|
||||
|
||||
bitcoin_bench_clean : FORCE
|
||||
- rm -f $(CLEAN_BITCOIN_BENCH) $(bench_bench_bitcoin_OBJECTS) $(BENCH_BINARY)
|
||||
+ rm -f $(CLEAN_BITCOIN_BENCH) $(bench_bench_zetacoin_OBJECTS) $(BENCH_BINARY)
|
@ -1,20 +0,0 @@
|
||||
--- src/miner.h.orig 2018-07-31 20:08:28 UTC
|
||||
+++ src/miner.h
|
||||
@@ -73,7 +73,7 @@ struct modifiedentry_iter {
|
||||
// except operating on CTxMemPoolModifiedEntry.
|
||||
// TODO: refactor to avoid duplication of this logic.
|
||||
struct CompareModifiedEntry {
|
||||
- bool operator()(const CTxMemPoolModifiedEntry &a, const CTxMemPoolModifiedEntry &b)
|
||||
+ bool operator()(const CTxMemPoolModifiedEntry &a, const CTxMemPoolModifiedEntry &b) const
|
||||
{
|
||||
double f1 = (double)a.nModFeesWithAncestors * b.nSizeWithAncestors;
|
||||
double f2 = (double)b.nModFeesWithAncestors * a.nSizeWithAncestors;
|
||||
@@ -88,7 +88,7 @@ struct CompareModifiedEntry {
|
||||
// This is sufficient to sort an ancestor package in an order that is valid
|
||||
// to appear in a block.
|
||||
struct CompareTxIterByAncestorCount {
|
||||
- bool operator()(const CTxMemPool::txiter &a, const CTxMemPool::txiter &b)
|
||||
+ bool operator()(const CTxMemPool::txiter &a, const CTxMemPool::txiter &b) const
|
||||
{
|
||||
if (a->GetCountWithAncestors() != b->GetCountWithAncestors())
|
||||
return a->GetCountWithAncestors() < b->GetCountWithAncestors();
|
@ -1,10 +0,0 @@
|
||||
--- src/qt/trafficgraphwidget.cpp.orig 2020-05-21 11:02:42 UTC
|
||||
+++ src/qt/trafficgraphwidget.cpp
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "clientmodel.h"
|
||||
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QColor>
|
||||
#include <QTimer>
|
||||
|
@ -1,47 +0,0 @@
|
||||
--- src/txmempool.h.orig 2018-07-31 20:08:28 UTC
|
||||
+++ src/txmempool.h
|
||||
@@ -224,7 +224,7 @@ struct mempoolentry_txid
|
||||
class CompareTxMemPoolEntryByDescendantScore
|
||||
{
|
||||
public:
|
||||
- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
|
||||
+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
|
||||
{
|
||||
bool fUseADescendants = UseDescendantScore(a);
|
||||
bool fUseBDescendants = UseDescendantScore(b);
|
||||
@@ -246,7 +246,7 @@ class CompareTxMemPoolEntryByDescendantScore (public)
|
||||
}
|
||||
|
||||
// Calculate which score to use for an entry (avoiding division).
|
||||
- bool UseDescendantScore(const CTxMemPoolEntry &a)
|
||||
+ bool UseDescendantScore(const CTxMemPoolEntry &a) const
|
||||
{
|
||||
double f1 = (double)a.GetModifiedFee() * a.GetSizeWithDescendants();
|
||||
double f2 = (double)a.GetModFeesWithDescendants() * a.GetTxSize();
|
||||
@@ -261,7 +261,7 @@ class CompareTxMemPoolEntryByDescendantScore (public)
|
||||
class CompareTxMemPoolEntryByScore
|
||||
{
|
||||
public:
|
||||
- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
|
||||
+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
|
||||
{
|
||||
double f1 = (double)a.GetModifiedFee() * b.GetTxSize();
|
||||
double f2 = (double)b.GetModifiedFee() * a.GetTxSize();
|
||||
@@ -275,7 +275,7 @@ class CompareTxMemPoolEntryByScore (public)
|
||||
class CompareTxMemPoolEntryByEntryTime
|
||||
{
|
||||
public:
|
||||
- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
|
||||
+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
|
||||
{
|
||||
return a.GetTime() < b.GetTime();
|
||||
}
|
||||
@@ -284,7 +284,7 @@ class CompareTxMemPoolEntryByEntryTime (public)
|
||||
class CompareTxMemPoolEntryByAncestorFee
|
||||
{
|
||||
public:
|
||||
- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
|
||||
+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
|
||||
{
|
||||
double aFees = a.GetModFeesWithAncestors();
|
||||
double aSize = a.GetSizeWithAncestors();
|
@ -1,15 +0,0 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
To configure the Zetacoin server please edit:
|
||||
%%PREFIX%%/etc/%%PORTNAME%%.conf
|
||||
|
||||
You must at least set a "rpcpassword" in the configuration file above.
|
||||
|
||||
To run the %%PORTNAME%%d server at startup, add the following
|
||||
settings to your /etc/rc.conf
|
||||
|
||||
%%PORTNAME%%_enable="YES"
|
||||
EOM
|
||||
}
|
||||
]
|
@ -1,14 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Zetacoin Core
|
||||
Comment=Connect to the Zetacoin P2P Network
|
||||
Comment[de]=Verbinde mit dem Zetacoin peer-to-peer Netzwerk
|
||||
Comment[fr]=Zetacoin, monnaie virtuelle cryptographique pair à pair
|
||||
Comment[tr]=Zetacoin, eşten eşe kriptografik sanal para birimi
|
||||
Exec=zetacoin-qt %u
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=zetacoin256
|
||||
MimeType=x-scheme-handler/zetacoin;
|
||||
Categories=Office;Finance;
|
||||
StartupWMClass=Zetacoin-qt
|
@ -1,10 +0,0 @@
|
||||
rpcuser=myname
|
||||
#rpcpassword=YOU MUST SET A PASSWORD
|
||||
maxconnections=80
|
||||
rpcallowip=127.0.0.1
|
||||
rpcport=17335
|
||||
port=17333
|
||||
server=1
|
||||
daemon=1
|
||||
listen=1
|
||||
logtimestamps=1
|
@ -1,100 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: %%PORTNAME%%
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
||||
# to enable this service:
|
||||
#
|
||||
# %%PORTNAME%%_enable (bool): Set to NO by default.
|
||||
# Set it to YES to enable %%PORTNAME%%.
|
||||
# %%PORTNAME%%_config (path): Set to %%PREFIX%%/etc/%%PORTNAME%%.conf
|
||||
# by default.
|
||||
# %%PORTNAME%%_user: The user account %%PORTNAME%% daemon runs as
|
||||
# It uses '%%PORTNAME%%' user by default.
|
||||
# %%PORTNAME%%_group: The group account %%PORTNAME%% daemon runs as
|
||||
# It uses '%%PORTNAME%%' group by default.
|
||||
# %%PORTNAME%%_datadir (str): Default to "/var/db/%%PORTNAME%%"
|
||||
# Base data directory.
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=%%PORTNAME%%
|
||||
rcvar=%%PORTNAME%%_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${%%PORTNAME%%_enable:=NO}
|
||||
: ${%%PORTNAME%%_config=%%PREFIX%%/etc/%%PORTNAME%%.conf}
|
||||
: ${%%PORTNAME%%_datadir=/var/db/%%PORTNAME%%}
|
||||
: ${%%PORTNAME%%_user="%%PORTNAME%%"}
|
||||
: ${%%PORTNAME%%_group="%%PORTNAME%%"}
|
||||
|
||||
required_files=${%%PORTNAME%%_config}
|
||||
command=%%PREFIX%%/bin/%%PORTNAME%%d
|
||||
cli_command=%%PREFIX%%/bin/%%PORTNAME%%-cli
|
||||
%%PORTNAME%%_chdir=${%%PORTNAME%%_datadir}
|
||||
pidfile="${%%PORTNAME%%_datadir}/%%PORTNAME%%d.pid"
|
||||
stop_cmd=%%PORTNAME%%_stop
|
||||
command_args="-conf=${%%PORTNAME%%_config} -datadir=${%%PORTNAME%%_datadir} -noupnp -daemon -pid=${pidfile}"
|
||||
start_precmd="${name}_prestart"
|
||||
reindex_cmd="${name}_reindex"
|
||||
salvage_cmd="${name}_salvage"
|
||||
extra_commands="reindex salvage"
|
||||
|
||||
%%PORTNAME%%_create_datadir()
|
||||
{
|
||||
echo "Creating data directory"
|
||||
eval mkdir -p ${%%PORTNAME%%_datadir}
|
||||
[ $? -eq 0 ] && chown -R ${%%PORTNAME%%_user}:${%%PORTNAME%%_group} ${%%PORTNAME%%_datadir}
|
||||
}
|
||||
|
||||
%%PORTNAME%%_prestart()
|
||||
{
|
||||
if [ ! -d "${%%PORTNAME%%_datadir}/." ]; then
|
||||
%%PORTNAME%%_create_datadir || return 1
|
||||
fi
|
||||
}
|
||||
|
||||
%%PORTNAME%%_requirepidfile()
|
||||
{
|
||||
if [ ! "0`check_pidfile ${pidfile} ${command}`" -gt 1 ]; then
|
||||
echo "${name} not running? (check $pidfile)."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
%%PORTNAME%%_stop()
|
||||
{
|
||||
%%PORTNAME%%_requirepidfile
|
||||
|
||||
echo "Stopping ${name}."
|
||||
eval ${cli_command} -conf=${%%PORTNAME%%_config} -datadir=${%%PORTNAME%%_datadir} stop
|
||||
wait_for_pids ${rc_pid}
|
||||
}
|
||||
|
||||
%%PORTNAME%%_reindex()
|
||||
{
|
||||
if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
|
||||
%%PORTNAME%%_stop
|
||||
fi
|
||||
|
||||
echo "Reindexing ${name} blockchain."
|
||||
command_args="${command_args} -reindex"
|
||||
eval ${command} ${command_args}
|
||||
}
|
||||
|
||||
%%PORTNAME%%_salvage()
|
||||
{
|
||||
if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
|
||||
%%PORTNAME%%_stop
|
||||
fi
|
||||
|
||||
echo "Attempting to salvage ${name} walllet."
|
||||
command_args="${command_args} -salvagewallet"
|
||||
eval ${command} ${command_args}
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
@ -1,5 +0,0 @@
|
||||
Zetacoin is a free open source peer-to-peer electronic cash system that
|
||||
is completely decentralized, without the need for a central server or
|
||||
trusted parties. Users hold the crypto keys to their own money and
|
||||
transact directly with each other, with the help of a P2P network to
|
||||
check for double-spending.
|
@ -1,18 +0,0 @@
|
||||
The wallet is stored in a Berkeley database file (BDB) (usually
|
||||
~/.zetacoin/wallets/wallet.dat).
|
||||
|
||||
Zetacoin Core can use either BDB 4.8, 5.x or 6.x to create and access the
|
||||
wallet file.
|
||||
|
||||
Wallets created using BDB 4.8 are also accessible by BDB 5.x and 6.x.
|
||||
|
||||
Wallets created using BDB 5.x or 6.x are not accessible by BDB 4.8.
|
||||
|
||||
Opening and using a wallet created by 4.8 with a higher major version (5.x
|
||||
or 6.x) does not change its format, so it will still be accessible to 4.8
|
||||
afterwards. But encrypting an unencrypted wallet recreates it, so encrypting
|
||||
a 4.8 wallet with Zetacoin Core linked against BDB 5.x or 6.x will render it
|
||||
unreadable for Zetacoin Core linked against BDB 4.8.
|
||||
|
||||
If you do not plan on copying the wallet file to another machine that uses
|
||||
BDB 4.8 then it is recommended to use the modern versions of BDB 5.x or 6.x.
|
Loading…
Reference in New Issue
Block a user