Monday, June 05, 2017

Re: [NEW] net/google-compute-engine

On 2017/06/05 13:33, Helen Koike wrote:
> > >
> > > ok, I'll check openntpd
> >
> > /etc/rc.d/ntpd is for openntpd, which is in the base OS.
> > net/ntpd in ports is the ntp.org software and only used for special
> > cases on OpenBSD, it's not a good choice for general-purpose ntp here.
> >
>
> The problem is that openntpd doesn't provide ntpdate, is there another way
> to force openntp to update the time? Just restarting the service doesn't
> work

openntp in normal operation avoids "jumping" the time. It makes gradual
adjustments with adjtime(2) until the clock is in sync, then skews the
clock frequency. If the -s flag is used, it jumps the time at startup.

Alternatively "rdate -n $host" is similar to ntpdate.

> The available tests are just mock tests that verifies if the software calls
> the right functions in the right order, it doesn't really check if it works
> or not and it can be biased as it was derivated directly from the code.
> To enable the tests I'll also need to port each test, increasing the number
> of patches and the maintenance complexity.
> As I believe the mock tests are more important to the developer then to
> OpenBSD (as it is implemented in the project), I don't think we need to
> bother to port them.

Agreed.

> Could you re-check if it is ok now? Thanks
>
> Here is a list of changes the attached version:
> - upstream version update to 2.3.7 (and update distinfo)
> - remove HOMEPAGE from Makefile (already set in GH)
> - remove bash as dependency (use ksh instead)
> - remove sudo (use doas instead)
> - use SUBST_CMD in pre-configure
> - normalize patches
> - fix bug in network_setup.py in sed command (wrong syntax)
> - add readme in PLIST
> - add meta rc script called google_compute_engine
> - update README

Thanks, that sounds good, I'll try to find time to look it over
tomorrow.

No comments:

Post a Comment