Bug 228581 - [NEW PORT] databases/sawtooth: Platform for implementing distributed ledgers
Summary: [NEW PORT] databases/sawtooth: Platform for implementing distributed ledgers
Status: Closed Not Accepted
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 (Nobody)
URL:
Keywords:
Depends on: 228528 228529 228575 228576 228577 228579 228580
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-28 23:19 UTC by Waitman Gobble
Modified: 2022-03-26 17:25 UTC (History)
5 users (show)

See Also:


Attachments
shar file for sawtooth port (43.78 KB, text/plain)
2018-05-28 23:19 UTC, Waitman Gobble
no flags Details
remove node and npm depends, fix issue with examples (48.85 KB, text/plain)
2018-05-29 03:19 UTC, Waitman Gobble
no flags Details
shar file for sawtooth port (49.06 KB, text/plain)
2018-05-29 22:59 UTC, waitman
no flags Details
shar file for sawtooth port (49.47 KB, text/plain)
2018-06-04 01:31 UTC, waitman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Waitman Gobble 2018-05-28 23:19:49 UTC
Created attachment 193802 [details]
shar file for sawtooth port

note:
devel/py-grpcio needs updated, it pulls in gcc, which taints the system. Better not to waste a perfectly good APACHE20 license? A couple of fixes needed to get py-grpcio to build with clang, instead. 

if you are prompted to install secp256k1 (library) and do NOT need Java bindings, UNcheck the box (it's default). This will cut much time from the build.


sawtooth port needs these:

move to textproc:
228528 – [NEW PORT] textpro/py-toml: Python library for parsing and creating TOML
move to math:
228529 – [NEW PORT] math/py-secp256k1: FFI bindings to libsecp256k1
228575 – [UPDATE PORT] www/py-aiohttp: update to 3.2.1
228576 – [UPDATE PORT] devel/py-async_timeout: update to 3.0.0
228577 – [UPDATE PORT] www/py-multidict: update to 4.3.1
228579 – [NEW PORT] dns/py-aiodns: Way for doing asynchronous DNS resolutions
228580 – [NEW PORT] textproc/py-cchardet: High speed universal character encoding detector

[and it's possibly easier to install py36-setuptools as a pkg]
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2018-05-29 01:09:46 UTC
This should probably be in finance, because this is for the "ledger" computation?
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2018-05-29 01:11:49 UTC
Never mind. database/ should be fine.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2018-05-29 01:32:28 UTC
Why did you add these dependencies:
>                node>=10.1.0:www/node \
>                npm>=5.10.0:www/npm

npm downloads things when it runs, so npm can't be used in a port.
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2018-05-29 01:32:47 UTC
Why did you add these dependencies:
>                node>=10.1.0:www/node \
>                npm>=5.10.0:www/npm

npm downloads things when it runs, so npm can't be used in a port.
Comment 5 Waitman Gobble 2018-05-29 02:42:38 UTC
(In reply to Yuri Victorovich from comment #4)

good point. it was based on some notes on a FreeBSD wiki page,
we aren't using the javascript code bits in sawtooth ATM so i'll pull those out.
Comment 6 Waitman Gobble 2018-05-29 03:19:27 UTC
Created attachment 193804 [details]
remove node and npm depends, fix issue with examples

this  removes the node and npm dependencies, also fixes a problem related to "examples" bin/battleship, bin/noop, bin/poet, bin/intkey
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2018-05-29 03:49:46 UTC
O(In reply to Waitman Gobble from comment #6)

Ok, thanks!

Will wait for dependencies to be committed then.

Yuri
Comment 8 waitman 2018-05-29 22:59:25 UTC
Created attachment 193831 [details]
shar file for sawtooth port

fix issues reported by port lint. (warning reported about 'install' does not pertain to the Make). also fix a warning that was reported by sawtooth_validator and add a few missing files to the pkg-plist
Comment 9 waitman 2018-06-04 01:31:00 UTC
Created attachment 193979 [details]
shar file for sawtooth port

fix bash problem in bin/build_python
Comment 10 Yuri Victorovich freebsd_committer freebsd_triage 2018-06-04 01:36:23 UTC
You should also:
* Sort RUN_DEPENDS
* Use USE_GITHUB/GH_ACCOUNT/GH_PROJECT/DISTVERSIONPREFIX like in other ports that use github.
Comment 11 Walter Schwarzenfeld 2019-08-08 08:21:08 UTC
(In reply to waitman from comment #9)
Any news here?
Comment 12 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-04 20:36:08 UTC
What's the status of this ticket?

Are you still willing to maintain this port? I can try to fix the style issues in the patch if there is still an interest in this port.
Comment 13 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-04 20:38:08 UTC
Reset assignee in case someone else would like to take care of this ticket.
Comment 14 Daniel Engberg freebsd_committer freebsd_triage 2022-03-26 17:25:55 UTC
Closing due to submitter timeout