Bug 226501 - [NEW PORT]: net-p2p/blackcoind — a proof of stake cryptocurrency
Summary: [NEW PORT]: net-p2p/blackcoind — a proof of stake cryptocurrency
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-10 19:24 UTC by Krzysztof Jurewicz
Modified: 2018-11-29 09:59 UTC (History)
2 users (show)

See Also:


Attachments
diff v1 (12.04 KB, patch)
2018-03-10 19:24 UTC, Krzysztof Jurewicz
no flags Details | Diff
diff_v2 (17.10 KB, patch)
2018-06-13 18:38 UTC, Krzysztof Jurewicz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Jurewicz 2018-03-10 19:24:08 UTC
Created attachment 191373 [details]
diff v1

BlackCoin is the first cryptocurrency based 100% on the proof of stake security algorithm with fair distribution (no entity privileged).

This port includes blackcoind - the daemon and CLI binary (no GUI) compiled from the original codebase (BlackCoin Core).

Tested with portlint -A and port test.
Comment 1 Krzysztof Jurewicz 2018-03-22 20:06:10 UTC
While the current version builds on Boost 1.65 (installed from packages), it fails to build on Boost 1.66. Similar problem has been described in bug #224187, though I haven’t compared error messages.
Comment 2 Tobias Kortkamp freebsd_committer 2018-05-08 17:57:53 UTC
(In reply to Krzysztof Jurewicz from comment #1)
Will you update the port to work with Boost 1.66 or should we close?
Comment 3 Krzysztof Jurewicz 2018-06-13 12:05:16 UTC
(In reply to Tobias Kortkamp from comment #2)
I intend to update it.
Comment 4 Krzysztof Jurewicz 2018-06-13 18:38:36 UTC
Created attachment 194233 [details]
diff_v2

I attach a version which compiles against boost 1.67, with changes based mostly on the patch for Zetacoin.
Comment 5 Tobias Kortkamp freebsd_committer 2018-11-15 06:55:03 UTC
Comment on attachment 194233 [details]
diff_v2

Does not build on 12.0-BETA3 (with OpenSSL 1.1.1):

In file included from alert.cpp:7:
In file included from /wrkdirs/usr/ports/net-p2p/blackcoind/work/blackcoin-1.2.5/src/chainparams.h:9:
/wrkdirs/usr/ports/net-p2p/blackcoind/work/blackcoin-1.2.5/src/bignum.h:57:24: error: base class has incomplete type
class CBigNum : public BIGNUM
                ~~~~~~~^~~~~~
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'bignum_st'
typedef struct bignum_st BIGNUM;
               ^
In file included from alert.cpp:7:
In file included from /wrkdirs/usr/ports/net-p2p/blackcoind/work/blackcoin-1.2.5/src/chainparams.h:9:
/wrkdirs/usr/ports/net-p2p/blackcoind/work/blackcoin-1.2.5/src/bignum.h:62:9: error: use of undeclared identifier 'BN_init'
        BN_init(this);
        ^
/wrkdirs/usr/ports/net-p2p/blackcoind/work/blackcoin-1.2.5/src/bignum.h:67:9: error: use of undeclared identifier 'BN_init'
        BN_init(this);
        ^
/wrkdirs/usr/ports/net-p2p/blackcoind/work/blackcoin-1.2.5/src/bignum.h:68:14: error: no matching function for call to 'BN_copy'
        if (!BN_copy(this, &b))
             ^~~~~~~