Skip to content

Commit

Permalink
Merge pull request #220 from julek-wolfssl/ntp-4.2.8p17
Browse files Browse the repository at this point in the history
Add ntp 4.2.8p17 patch
  • Loading branch information
JacobBarthelmeh authored Jan 10, 2025
2 parents d27312c + 34ddbc1 commit e7bdf41
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 e7bdf41

Please sign in to comment.