Page MenuHomeFreeBSD

New port: finance/dash: Virtual peer-to-peer currency client {PENDING dialog4ports approval}
Changes PlannedPublic

Authored by yuri on Dec 21 2017, 8:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 12 2024, 6:15 PM
Unknown Object (File)
Dec 20 2023, 2:03 AM
Unknown Object (File)
Dec 17 2023, 9:21 PM
Unknown Object (File)
Dec 11 2023, 2:51 AM
Unknown Object (File)
Nov 8 2023, 7:09 PM
Unknown Object (File)
Nov 4 2023, 9:14 PM
Unknown Object (File)
Oct 7 2023, 6:07 PM
Unknown Object (File)
Oct 3 2023, 9:11 PM
Subscribers

Details

Reviewers
tcberner
adamw
mat
Summary

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224467

I formatted this port into using flavors. There are 3 flavors:

  • daemon: Dash daemon and rc script
  • cli: client and utils
  • qt: Qt UI

Flavor in this context represents the role of the package in the Dash system.
Users who need to run daemon should install: pkg install dash-daemon
Users who want to access the daemon should install: pkg install dash-cli
Users who want to use GUI should install: pkg install dash-qt

Each flavor installs different file sets.

This port is a candidate for not-yet-implemented sub-packages.
Until then, it looks like flavors can be utilized to achieve a very similar effect.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 13705
Build 13925: arc lint + arc unit

Event Timeline

mat requested changes to this revision.Dec 21 2017, 8:29 AM

I do not think flavors is the right fit here. Use options, and when they become available, subpackages.

This revision now requires changes to proceed.Dec 21 2017, 8:29 AM
In D13566#283787, @mat wrote:

I do not think flavors is the right fit here. Use options, and when they become available, subpackages.

But why don't you think they are a fit? What is a problem? I've built, installed, ran all 3 of them, it all looked fine.

Flavors are for the cases when a port MUST be built multiple times to generate the different variations. For example, you cannot build both py27-foo and py34-foo in one go, you have to build the Python 2.7 version, then build everything again with Python 3.4.

Here, you can build everything at once, so it is not a good fit for flavors.

In D13566#283791, @mat wrote:

Flavors are for the cases when a port MUST be built multiple times to generate the different variations. For example, you cannot build both py27-foo and py34-foo in one go, you have to build the Python 2.7 version, then build everything again with Python 3.4.

Here, you can build everything at once, so it is not a good fit for flavors.

No, port options wouldn't work in this case.

Some options are only for some flavors/parts. If to make a superset of options, then irrelevant options will be available for pieces that don't need them.
This will be a mess.

Currently it is handcrafted, and it is all correct. With options some parts will be incorrect.

This is the nicest way to create ports for Dash I see now. Let's commit it this way, and when sub-packages will be available, convert to sub-packages. Otherwise, what would be the damage if this is committed?

In D13566#283967, @yuri wrote:

This is the nicest way to create ports for Dash I see now. Let's commit it this way, and when sub-packages will be available, convert to sub-packages. Otherwise, what would be the damage if this is committed?

No. Do it with options, it will actually be shorter to write than with flavors.

yuri retitled this revision from New port: finance/dash: Virtual peer-to-peer currency client to New port: finance/dash: Virtual peer-to-peer currency client {PENDING dialog4ports approval}.