Update ntp-4.2.8p13 --> 4.2.8p14. The advisory can be found at: http://support.ntp.org/bin/view/Main/SecurityNotice#\ March_2020_ntp_4_2_8p14_NTP_Rele No CVEs have been documented yet. MFC after: now Security: http://support.ntp.org/bin/view/Main/NtpBug3610 http://support.ntp.org/bin/view/Main/NtpBug3596 http://support.ntp.org/bin/view/Main/NtpBug3592
44 lines
777 B
Plaintext
44 lines
777 B
Plaintext
#!@CONFIG_SHELL@
|
|
PROG=${1-UNKNOWN}
|
|
|
|
ConfStr="$PROG"
|
|
|
|
ConfStr="$ConfStr @VERSION@"
|
|
|
|
case "$CSET" in
|
|
'') ;;
|
|
*) ConfStr="$ConfStr@$CSET" ;;
|
|
esac
|
|
|
|
case "@VER_SUFFIX@" in
|
|
'') ;;
|
|
*) ConfStr="${ConfStr}-@VER_SUFFIX@" ;;
|
|
esac
|
|
|
|
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
|
|
fi
|
|
RUN="`cat .version`"
|
|
RUN="`expr $RUN + 1`"
|
|
echo $RUN > .version
|
|
|
|
ConfStr="$ConfStr (${RUN})"
|
|
|
|
echo "Version <${ConfStr}>";
|
|
|
|
rm -f version.c
|
|
cat > version.c << -EoF-
|
|
/*
|
|
* version file for $PROG
|
|
*/
|
|
#include <config.h>
|
|
const char * Version = "${ConfStr}";
|
|
-EoF-
|