From 4318283c2cf564f90648311581a8942035409b04 Mon Sep 17 00:00:00 2001 From: chengyechun Date: Mon, 19 Jun 2023 15:25:56 +0800 Subject: [PATCH] fix build failure --- ntp.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ntp.spec b/ntp.spec index 6a9ddc8..311a487 100644 --- a/ntp.spec +++ b/ntp.spec @@ -2,7 +2,7 @@ Name: ntp Version: 4.2.8p15 -Release: 7 +Release: 10 Summary: A protocol designed to synchronize the clocks of computers over a network License: MIT and BSD and BSD with advertising URL: https://www.ntp.org/ @@ -30,7 +30,7 @@ Patch7: backport-CVE-2023-26551-CVE-2023-26552-CVE-2023-26553-CVE Patch8: backport-CVE-2023-26555-fix-out-write-bounds-in-praecis_parse.patch BuildRequires: libcap-devel openssl-devel libedit-devel libevent-devel pps-tools-devel -BuildRequires: autogen autogen-libopts-devel systemd gcc perl-generators perl-HTML-Parser +BuildRequires: autogen autogen-libopts-devel systemd gcc perl-generators perl-HTML-Parser libtool Requires(pre): shadow-utils autogen >= 5.18.16 %{?systemd_requires} Recommends: ntpstat timedatex @@ -68,6 +68,8 @@ for f in COPYRIGHT; do iconv -f iso8859-1 -t utf8 -o ${f}{_,} && touch -r ${f}{,_} && mv -f ${f}{_,} done +./bootstrap + %build sed -i 's|$CFLAGS -Wstrict-overflow|$CFLAGS|' configure sntp/configure export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow" @@ -211,6 +213,12 @@ make check %{_mandir}/man8/*.8* %changelog +* Mon Jun 19 2023 chengyechun - 4.2.8p15-10 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:run the bootstrap script to prevent build failures + * Wed May 24 2023 chengyechun - 4.2.8p15-7 - Type:CVE - ID:CVE-2023-26551,CVE-2023-26552,CVE-2023-26553,CVE-2023-26554,CVE-2023-26555 -- Gitee