Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | # Copyright (C) 2018 Khem Raj <raj.khem@gmail.com> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
| 4 | SUMMARY = "HTTP based time synchronization tool" |
| 5 | |
| 6 | DESCRIPTION = "The HTTP Time Protocol (HTP) is used to synchronize a computer's time with\ |
| 7 | web servers as reference time source. This program can be used instead\ |
| 8 | ntpdate or similar, in networks that has a firewall blocking the NTP port.\ |
| 9 | Htpdate will synchronize the computer time to Greenwich Mean Time (GMT),\ |
| 10 | using the timestamps from HTTP headers found in web servers response (the\ |
| 11 | HEAD method will be used to get the information).\ |
| 12 | Htpdate works through proxy servers. Accuracy of htpdate will be usually\ |
| 13 | within 0.5 seconds (better with multiple servers).\ |
| 14 | " |
| 15 | |
| 16 | HOMEPAGE = "http://www.vervest.org/htp/" |
| 17 | |
| 18 | LICENSE = "GPL-2.0+" |
| 19 | LIC_FILES_CHKSUM = "file://htpdate.c;beginline=26;endline=30;md5=d7018a4d2c5a6eab392709a05e5e168a" |
| 20 | |
| 21 | SRC_URI = "http://www.vervest.org/htp/archive/c/htpdate-${PV}.tar.xz \ |
| 22 | file://0001-Make-environment-variables-assignments-to-be-weak.patch \ |
| 23 | file://0001-Replace-ntp_adjtime-with-adjtimex.patch \ |
| 24 | " |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 25 | SRC_URI[md5sum] = "aad8c33933648532ac8716c809b15be1" |
| 26 | SRC_URI[sha256sum] = "5f1f959877852abb3153fa407e8532161a7abe916aa635796ef93f8e4119f955" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 27 | |
| 28 | do_configure () { |
| 29 | : |
| 30 | } |
| 31 | |
| 32 | do_compile () { |
| 33 | oe_runmake |
| 34 | } |
| 35 | |
| 36 | do_install () { |
| 37 | oe_runmake install 'INSTALL=install' 'STRIP=echo' 'DESTDIR=${D}' |
| 38 | } |
| 39 | |