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
|
folkertdev
left a comment
There was a problem hiding this comment.
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
ringhas 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. |
davidv1992
left a comment
There was a problem hiding this comment.
Looks good, one question on a weird second call.
Do not repeat the fragment that's the same across platforms
folkertdev
left a comment
There was a problem hiding this comment.
ok, great. thanks so much for your help here @valpackett !
It works, including the initial jump :)
Yeah
SCM_REALTIMEI'll need to submit to libc…Fixes #274