Opened 9 years ago

Closed 8 years ago

#47734 closed update (fixed)

openntp update

Reported by: RJVB (René Bertin) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: openntpd

Description

Somebody asked for this: an update to port:openntpd. Enjoy.

Attachments (2)

Portfile (2.2 KB) - added by RJVB (René Bertin) 9 years ago.
openntpd.diff (4.0 KB) - added by RJVB (René Bertin) 9 years ago.

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by RJVB (René Bertin)

Attachment: Portfile added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Per the guidelines, please instead attach a unified diff of the Portfile so we can easily see what changes you are proposing.

Changed 9 years ago by RJVB (René Bertin)

Attachment: openntpd.diff added

comment:2 Changed 9 years ago by RJVB (René Bertin)

Sorry, my bad.

comment:3 Changed 9 years ago by danielluke (Daniel J. Luke)

Does it actually work on mac OS X? The README says it works on 10.9, but the adjfreq implementation just returns ENOSYS (https://github.com/openntpd-portable/openntpd-portable/blob/master/compat/adjfreq_osx.c)

comment:4 Changed 9 years ago by RJVB (René Bertin)

From what I've seen it indeed does work. adjfreq may be a stub, but it can't be the function that does the actual time adjustment. Nor does it control the frequency with which timeservers are polled, because that too seems to be working.

comment:5 Changed 9 years ago by danielluke (Daniel J. Luke)

Good to hear that it works (although presumably not as well as elsewhere):

(http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man2/adjfreq.2?query=adjfreq&sec=2)

Lack of adjfreq is at least part of why ntimed doesn't work on Mac OS X (yet?) too.

comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

The diff you've attached makes both whitespace and functional changes. Whitespace changes should be made separately so that functional changes can be easily seen.

comment:7 Changed 8 years ago by l2dy (Zero King)

Resolution: fixed
Status: newclosed

In a6de38f3/macports-ports:

openntpd: adopt and update to 6.0p1

Fixes: #47734

Note: See TracTickets for help on using tickets.