|
1 | 1 | # NTP
|
2 | 2 |
|
3 |
| -This is the "dev" branch of the reference NTP implementation from |
| 3 | +This is the stable release branch of the reference NTP implementation from |
4 | 4 | http://ntp.org.
|
5 | 5 |
|
6 | 6 | ## Manual Pages
|
@@ -50,24 +50,14 @@ We patch the M4 source file for OpenSSL detection to accept a special flag:
|
50 | 50 |
|
51 | 51 | ./configure --with-crypto=sunw
|
52 | 52 |
|
53 |
| -Which forces our sane build flags to be used without any further detection or |
54 |
| -mangling. We also patch in a `--with-perllibdir` flag, and a `--with-perl` |
55 |
| -flag, such that we can ship the platform-private `NTP` perl module in |
| 53 | +This forces our sane build flags to be used without any further detection or |
| 54 | +mangling. It also forces the use of the OpenSSL CSPRNG functions, as we do not |
| 55 | +(yet) have the `arc4random` suite of functions on SmartOS. |
| 56 | + |
| 57 | +We also patch in a `--with-perllibdir` flag, and a `--with-perl` flag, such |
| 58 | +that we can ship the platform-private `NTP` perl module in |
56 | 59 | `/usr/perl5/5.12/lib` instead of `/usr/share`, and ensure it uses the correct
|
57 | 60 | `perl` interpreter.
|
58 | 61 |
|
59 | 62 | The primary patch, `configure.patch`, includes a regenerated `configure`
|
60 | 63 | script. The M4 source file changes are in `perl.patch` and `openssl.patch`.
|
61 |
| - |
62 |
| -### `ntp_util.patch` |
63 |
| - |
64 |
| -The include Perl module, `NTP::Util`, does not work completely correctly with |
65 |
| -the version of the `Socket` module that ships in the platform Perl |
66 |
| -distribution. Specifically, the version string is `"1.87_01"`, which emits a warning: |
67 |
| - |
68 |
| - Argument "1.87_01" isn't numeric in numeric ge (>=) at |
69 |
| - /usr/perl5/5.12/lib/NTP/Util.pm line 16. |
70 |
| - |
71 |
| -This patch makes us assume an old version of `Socket`, which is what we ship, |
72 |
| -and prevents the warning from being emitted. This is tracked upstream as [ntp |
73 |
| -bug 2620](http://bugs.ntp.org/show_bug.cgi?id=2620) |
0 commit comments