[MacPorts] #50121: submission: chrony NTP server
#50121: submission: chrony NTP server ---------------------------------+-------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: chrony ---------------------------------+-------------------------------- Most distributions today use chrony as NTP server because it performs better on systems that do not run continuously or on systems which are only temporarily connected to the internet (e.g. notebooks or dial-up connections) whereas ntpd needs regular polling of the reference to work well. See http://chrony.tuxfamily.org/faq.html and http://chrony.tuxfamily.org/comparison.html for more. This submission includes a helper application which I designed to monitor the network reachability and which tells chronyd when the internet link is available or not using the mechanism described at http://chrony.tuxfamily.org/manual.html#Infrequent-connection. A graphical front end which can show the overall server performance (tracking) and the state of individual remote time servers is available at http://whatroute.net/chronycontrol.html This submission contains the following files: {{{ sysutils/chrony/Portfile sysutils/chrony/files/chrony-netchange.in sysutils/chrony/files/chrony-netchanged.c sysutils/chrony/files/chrony.conf.in }}} -- Ticket URL: <https://trac.macports.org/ticket/50121> MacPorts <https://www.macports.org/> Ports system for OS X
#50121: submission: chrony NTP server -------------------------+-------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: chrony | -------------------------+-------------------------------- Changes (by mf2k@…): * keywords: haspatch maintainer => -- Ticket URL: <https://trac.macports.org/ticket/50121#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50121: submission: chrony NTP server -------------------------+-------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: chrony | -------------------------+-------------------------------- Comment (by ryandesign@…): Thanks. Some comments: * The `$Id$` line should be `$Id$`, not `$Id:$`. * There should be a blank line after the `PortSystem 1.0` line. * The `system` invocation in your post-build block should use the `-W` argument to specify the working directory rather than calling `cd` manually. * The `system` invocation in your post-build block is not building for the requested architecture. You should add `[get_canonical_archflags]` to the flags sent to the compiler. * `destroot.keepdirs` statements should usually be made outside of a phase. * Must you use `startupitem.start` and `startupitem.stop`? Using `startupitem.executable` is preferable. * Your `livecheck.url` has a doubled slash. -- Ticket URL: <https://trac.macports.org/ticket/50121#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50121: submission: chrony NTP server -------------------------+-------------------------------- Reporter: florian@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: chrony | -------------------------+-------------------------------- Comment (by florian@…): Thanks for your comments. I addressed your points and replaced the attached Portfile. Regarding the usage of `startupitem.start` and `startupitem.stop`: I know that `startupitem.executable` is preferred. It is however unclear to me how two independent applications (chronyd and chrony-netchanged) can be started at once with `startupitem.executable`. Can you give me a hint? -- Ticket URL: <https://trac.macports.org/ticket/50121#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts