Skip to content

Commit

Permalink
Add ntp 4.2.8p17 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
julek-wolfssl committed Dec 31, 2024
1 parent 8f50501 commit 34ddbc1
Show file tree
Hide file tree
Showing 2 changed files with 613 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ntp/4.2.8p17/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Build Instructions

### Build wolfSSL
+ Configure wolfSSL with `./configure --enable-ntp`. Add `--enable-debug` if you want to enable the debug version of wolfSSL.
+ Compile with `make`.
+ Install wolfSSL into /usr/local with `sudo make install`.

### Build NTP
+ Download ntp 4.2.8p15 with `curl -O http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p15.tar.gz`.
+ Unarchive ntp-4.2.8p15.tar.gz with `tar xvf ntp-4.2.8p15.tar.gz`. cd into ntp-4.2.8p15.
+ Patch the source code with `patch -p1 < ntp-4.2.8p15.patch`, adjusting the path to the patch file accordingly.
+ Regenerate the configure script with `./bootstrap`.
+ Configure ntp with `./configure --with-wolfssl=/usr/local`.
+ Compile with `make`.
+ To pass all tests with `make check` compile wolfSSL additionally with `--enable-md4`.
Loading

0 comments on commit 34ddbc1

Please sign in to comment.