-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD fixes #724
FreeBSD fixes #724
Conversation
Codecov Report
@@ Coverage Diff @@
## main #724 +/- ##
==========================================
+ Coverage 82.83% 82.88% +0.04%
==========================================
Files 62 62
Lines 15946 15941 -5
==========================================
+ Hits 13209 13212 +3
+ Misses 2737 2729 -8
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great!
- I left 1 inline comment/question
- yes it would be nice to have that constant in libc. I've found that process to be straightforward.
- I'll try to setup CI here. this is a bit tricky because we need the appropriate linker (because
ring
has abuild.rs
), and this failed earlier for freebsd. but maybe it works now that the code works. - we'll likely want to merge the macos stuff first, and then merge this into main. this may take a little while
eh, I'm not sure what happened here? this should have rebased onto |
@valpackett do you have thoughts on how to have users install ntpd-rs on freebsd? We provide deb and rpm installers which put the binary and config in the right place, and configure some permissions and user groups. The installers are built with ploutos, which does not support freebsd currently. I'm really not sure how easy that would be to add (though we know the NLNet labs folks well, so we can check with them) In the meantime we could maybe have some instructions that a user would have to perform manually? |
66df438
to
7fb2b55
Compare
It's uncommon for projects to build their own .pkg independently and for anyone to want to install such packages :) Generally someone would submit a port and the official package will exist. It's no big deal, there is no barrier to entry, and for such a high profile project you can be sure someone will show up to do it soon. (I'll drop a link to here in some places in fact.. :D) ploutos is really just using cargo-deb and cargo-generate-rpm, I'm pretty sure nothing like that exists for FreeBSD pkg for the above reason. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one question on a weird second call.
Do not repeat the fragment that's the same across platforms
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, great. thanks so much for your help here @valpackett !
It works, including the initial jump :)
Yeah
SCM_REALTIME
I'll need to submit to libc…Fixes #274