[MacPorts] #64142: New Port - ntpstat

MacPorts noreply at macports.org
Mon Dec 6 05:20:10 UTC 2021


#64142: New Port - ntpstat
-------------------------+--------------------
  Reporter:  RobK88      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:
      Port:  ntpstat     |
-------------------------+--------------------

Comment (by RobK88):

 Ryan, thanks for digging up the original site for `ntpstat` on the
 Internet Archive.  The homepage I provided in the poerfile for Macports is
 the same as Debian uses in its packaging file.

 And yes, since I could not find a version anywhere, I used the date at the
 top of the source code file.  Based on the original source code filename,
 I agree that version 0.2 would be more appropriate.

 It looks like there has been one commit for the source and another for a
 Linux binary.  I suspect that the source on githib is identical to the
 source on the Internet Archive.  I will verify tomorrow.

 As you suggest, I will remove the `#include <error.h>`.  It really will
 not affect the compile at all since the source code being compiled will be
 identical after the preprocessor does its magic.

 I will also remove the LICENSE file.  I was not sure what the policy was
 for license files in Macports.  Normally, when one distributes GPL-2
 source, one also provides a copy of the GPL-2 license with the
 distribution or a link to the GPL-2 license on the web to be fully
 compliant with the GPL-2 license.  I may patch COPYING and add a link to
 the GPL-2 license.  That will not add much to the size of the file.

 For many years, I have always installed `ntpstat` on all my Linux PC's.  I
 provides a simple summary of ntp.  You could get the same info by running
 two commands `ntpq -p` and `sntp apple.time.com` and parsing the output.
 But `ntpstat` is simpler.  (There are very few software programs for ntp).
 If you do not think there is any value in adding `ntpstat` to Macports at
 this time, that is fine.  I have a working port for `ntpstat` on my local
 Macports repo that I can use.  I was sharing the port in case other wanted
 to install `ntpstat` via Macports.

-- 
Ticket URL: <https://trac.macports.org/ticket/64142#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list