ntpleapfetch broken on FreeBSD 11.2 or NetBSD 8.0

James Browning jamesb.fe80 at gmail.com
Sun Nov 4 23:46:11 UTC 2018


On Sun, Nov 4, 2018, 2:47 PM Hal Murray via devel <devel at ntpsec.org wrote:

>
> "function" seems not to work in sh scripts.
>
> I doubt if ntpleapfetch ever worked.  I don't use it.  This showed up with
> the
> bin_check addition.  (Thanks!)
>
> Anybody recognize this?
>
> FreeBSD:
>
> [murray at ted3 ~/ntpsec/play]$ ./ted3/main/ntpclients/ntpleapfetch
> --version >
> foo
> ./ted3/main/ntpclients/ntpleapfetch: function: not found
> [murray at ted3 ~/ntpsec/play]$
>
> [murray at ted3 ~/ntpsec/play]$ head foo
> Usage: ntpleapfetch [options] [leapfile]
>
> Verifies and if necessary, updates leap-second definition file
>
> All arguments are optional:  Default (or current value) shown:
>     -s    Specify the URL of the master copy to download
>           https://www.ietf.org/timezones/data/leap-seconds.list
>     -4    Use only IPv4
>     -6    Use only IPv6
>     -p 4|6
>
> --------
>
> NetBSD:
>
> Waf: Leaving directory `/home/murray/ntpsec/play/bob3/main'
> running:  main/ntpclients/ntpleapfetch --version  FAILED
> function: not found
> main/ntpclients/ntpleapfetch: 117: Syntax error: "}" unexpected
>

I was working on that a little try checking out merge request !831

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20181104/50c85235/attachment.html>


More information about the devel mailing list