ntp: upgrade 4.2.8p13 -> 4.2.8p14

License has been changed due to date time, no new stuff added.

delete source patch reproducibility-respect-source-date-epoch.patch
for new version source tree contains it.

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
zhangxiao
2020-04-08 23:27:29 -07:00
committed by Khem Raj
parent 9656d77b39
commit 9de42cffc8
2 changed files with 3 additions and 20 deletions
@@ -1,16 +0,0 @@
--- ntp-4.2.8p12.original/scripts/build/mkver.in 2018-11-12 14:06:49.333020430 +1300
+++ ntp-4.2.8p12/scripts/build/mkver.in 2018-11-12 14:15:04.947480167 +1300
@@ -15,7 +15,12 @@
*) ConfStr="${ConfStr}-@VER_SUFFIX@" ;;
esac
-ConfStr="$ConfStr `LC_TIME=C TZ=UTC date`"
+if [ -n "$SOURCE_DATE_EPOCH" ]; then
+ ConfStr="$ConfStr `LC_TIME=C TZ=UTC date -d@$SOURCE_DATE_EPOCH 2>/dev/null`" ||
+ ConfStr="$ConfStr `LC_TIME=C TZ=UTC date -r $SOURCE_DATE_EPOCH`"
+else
+ ConfStr="$ConfStr `LC_TIME=C TZ=UTC date`"
+fi
if [ ! -f .version ]; then
echo 0 > .version
@@ -6,14 +6,13 @@ or satellite receiver or modem."
HOMEPAGE = "http://support.ntp.org" HOMEPAGE = "http://support.ntp.org"
SECTION = "net" SECTION = "net"
LICENSE = "NTP" LICENSE = "NTP"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4cee33257467509e498f4cd9a6a4bd53" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4190b39435611e92a4da74e682623f19"
DEPENDS = "libevent" DEPENDS = "libevent"
SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \
file://ntp-4.2.4_p6-nano.patch \ file://ntp-4.2.4_p6-nano.patch \
file://reproducibility-fixed-path-to-posix-shell.patch \ file://reproducibility-fixed-path-to-posix-shell.patch \
file://reproducibility-respect-source-date-epoch.patch \
file://ntpd \ file://ntpd \
file://ntp.conf \ file://ntp.conf \
file://ntpdate \ file://ntpdate \
@@ -25,8 +24,8 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
file://ntpd.list \ file://ntpd.list \
" "
SRC_URI[md5sum] = "ea040ab9b4ca656b5229b89d6b822f13" SRC_URI[md5sum] = "783edaf1d68ddf651bde64eda54a579d"
SRC_URI[sha256sum] = "288772cecfcd9a53694ffab108d1825a31ba77f3a8466b0401baeca3bc232a38" SRC_URI[sha256sum] = "1960e4f081f6aafd108d721bc3ab15f9e8dfd08dc08339aa95bca9d2545e4eb7"
inherit autotools update-rc.d useradd systemd pkgconfig inherit autotools update-rc.d useradd systemd pkgconfig