diff options
| author | douglas.royds <douglas.royds@taitradio.com> | 2018-11-13 18:08:34 +1300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-11-13 08:32:18 -0800 |
| commit | 9535ee3321f933b0f6c9bc810a5047c496b56b32 (patch) | |
| tree | 306d001cb8912f14cb7a047d319af82a14857f6d /meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb | |
| parent | d5bcdfc064a5c2f91728c976dc3e7a5dbd5c22c5 (diff) | |
| download | meta-openembedded-9535ee3321f933b0f6c9bc810a5047c496b56b32.tar.gz | |
ntp: Reproducible build: Respect SOURCE_DATE_EPOCH
If a SOURCE_DATE_EPOCH is set in the environment, use that date in the build
version string, otherwise use the current build date.
See https://reproducible-builds.org/docs/source-date-epoch/
Should GNU date options fail, try BSD date options as a fall-back.
This patch can potentially be pushed upstream for use on Mac OSX or OpenBSD,
though it has not been tested on OSX or any BSD platform.
Upstream-Status: Submitted http://bugs.ntp.org/show_bug.cgi?id=3550
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb')
| -rw-r--r-- | meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb index 4254301153..536679f4d5 100644 --- a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb | |||
| @@ -12,6 +12,7 @@ DEPENDS = "libevent" | |||
| 12 | 12 | ||
| 13 | SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \ | 13 | SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \ |
| 14 | file://ntp-4.2.4_p6-nano.patch \ | 14 | file://ntp-4.2.4_p6-nano.patch \ |
| 15 | file://reproducibility-respect-source-date-epoch.patch \ | ||
| 15 | file://ntpd \ | 16 | file://ntpd \ |
| 16 | file://ntp.conf \ | 17 | file://ntp.conf \ |
| 17 | file://ntpdate \ | 18 | file://ntpdate \ |
