-
Notifications
You must be signed in to change notification settings - Fork 1.7k
FreeBSD build #1425
Comments
Looks like updating the One other remaining compile issue is with the version of |
I'm going to volunteer some of my time this week to this challenge. I love a good port plus I'm determined to get the latest version of parity running on BSD from the master branch. I'll document my steps and prepare a pure bash script to automate the system configurations. I'm going to do it from a fresh install and the use the ports tree to compile whatever is needed. Implementation should be simple enough. But before I do that I need to spend about 3 or 4 days studying dependencies and possibly creating a custom rust github as I don’t think that's available on BSD yet. I'll let you gentleman know my progress. I will begin research today. First I get to do may favourite thing... Find random computer parts and throw them together on a desk scattered about in a nicely unorganized fashion to serve as the development system. I'll post pictures of it :) |
Hi, I'm following the process with a patch, master and v1.4 branches in this repo |
I'm going to do a fork of this, make some minor changes and do a lot of testing. Also I need to check to see what the different is between the repo of nanomsg that the patch uses as opposed to using the version from ethcore to ensure their are no security concerns within the code as i'm not sure of the maintainer of that code. If there is only some slight (Of no security concern) differences then I may write a script to just directly modify the version that ethcore uses). As of right now this repository that the patch file downloads from really needs to be audited so I advise others to only use this for experimentation purposes and not with live account keys. Once everything is audited and I automate the process perhaps we can have this fully published to ethcore/parity with a set of UNIX build instructions via an included UNIX_install.bash script file. Inevitably that decision is not up to me tho but I'm willing to put in the work once I complete a necessary security audit of the repos that the .patch file references. Additional changes I would like to make are to compile directly from the official ports tree as opposed to downloading binaries. This should resolve any issues with installing it on pre exhisting Free BSD installs because it takes a while to properly configure a BSD Machine and once it is configured compiling from the ports tree is the way to go. Most BSD Administrators prefer compiling from source for this very reason. I do like the jailed suggestion a lot tho. The script I will Pull may have the option of setting up the jail as part of the install. Let me know your thoughts on this and anything else I can do to help. I have had my hands tied with another major project lately but if everything checks out in reference to the security of this it will be just what I need to complete this script. Oh and thank you for your work on this. In the bash script i'll make sure that your name is listed as a contributing author because the algorithm to follow to write the code is just as important as the code itself. Once everything is confirmed to work on FreeBSD a port to IOS is easy because apple forked FreeBSD and use it's code base for IOS (Altho they have a lot of proprietary code, most ports to FreeBSD are easily moved over to Apple devices). That would be kind of neat to have parity working across Windows, Linux, FreeBSD, and IOS. In fact it may be the first node within Cryptonomics to have ever achieved it (I'm not sure on that tho Bitcoin may have one that spans across all of the above). |
@tymat I don't have access to a FreeBSD machine, what's missing so far? |
Parity 1.6.10 builds on FreeBSD with libusb (and hardware wallets) disabled, I'm following it here, unfortunately FreeBSD is not in libusb's supported OS list, would it make sense to have a build time option to disable usblib ? |
Just looked at the toml files. Libusb is pulled in by So there is currently no way to disable it at build-time without some refactoring. Maybe @folsen has some creative idea? |
@5chdn any updates on this issue? |
@niklasad1 what's your opinion on that? |
Hrm, I think it would be possible by using #[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android"))]
extern crate hardware_wallet; |
No description provided.
The text was updated successfully, but these errors were encountered: