2014-01-10 15:05:04 +00:00
|
|
|
%global _hardened_build 1
|
2017-07-25 17:02:45 +00:00
|
|
|
%global clknetsim_ver 71dbbc
|
2014-07-01 13:25:48 +00:00
|
|
|
%bcond_without debug
|
2014-01-10 15:05:04 +00:00
|
|
|
|
2008-11-24 12:44:12 +00:00
|
|
|
Name: chrony
|
2017-07-25 17:02:45 +00:00
|
|
|
Version: 3.2
|
2018-02-07 04:55:04 +00:00
|
|
|
Release: 4%{?dist}
|
2008-11-24 12:44:12 +00:00
|
|
|
Summary: An NTP client/server
|
|
|
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
License: GPLv2
|
2016-05-16 09:50:16 +00:00
|
|
|
URL: https://chrony.tuxfamily.org
|
|
|
|
Source0: https://download.tuxfamily.org/chrony/chrony-%{version}%{?prerelease}.tar.gz
|
2014-09-11 10:07:05 +00:00
|
|
|
Source1: chrony.dhclient
|
|
|
|
Source2: chrony.helper
|
2015-06-22 13:36:52 +00:00
|
|
|
Source3: chrony-dnssrv@.service
|
|
|
|
Source4: chrony-dnssrv@.timer
|
2015-01-27 14:51:04 +00:00
|
|
|
# simulator for test suite
|
2015-06-22 13:51:09 +00:00
|
|
|
Source10: https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/clknetsim-%{clknetsim_ver}.tar.gz
|
2012-09-11 14:51:04 +00:00
|
|
|
%{?gitpatch:Patch0: chrony-%{version}%{?prerelease}-%{gitpatch}.patch.gz}
|
2008-11-24 12:44:12 +00:00
|
|
|
|
2014-09-11 10:07:05 +00:00
|
|
|
# add NTP servers from DHCP when starting service
|
|
|
|
Patch1: chrony-service-helper.patch
|
2018-01-22 14:34:21 +00:00
|
|
|
# fix chronyc getting stuck in infinite loop after clock step
|
|
|
|
Patch2: chrony-select-timeout.patch
|
2014-09-11 10:07:05 +00:00
|
|
|
|
2013-06-24 12:26:36 +00:00
|
|
|
BuildRequires: libcap-devel libedit-devel nss-devel pps-tools-devel
|
2017-01-31 11:06:49 +00:00
|
|
|
%ifarch %{ix86} x86_64 %{arm} aarch64 mipsel mips64el ppc64 ppc64le s390 s390x
|
2015-10-02 12:18:43 +00:00
|
|
|
BuildRequires: libseccomp-devel
|
2015-10-07 12:07:32 +00:00
|
|
|
%endif
|
2018-01-30 10:33:50 +00:00
|
|
|
BuildRequires: bison systemd
|
2008-11-24 12:44:12 +00:00
|
|
|
|
|
|
|
Requires(pre): shadow-utils
|
2018-01-30 10:33:50 +00:00
|
|
|
%{?systemd_requires}
|
2008-11-24 12:44:12 +00:00
|
|
|
|
2015-01-29 09:27:15 +00:00
|
|
|
# install timedated implementation that can control chronyd service
|
2018-01-22 13:38:58 +00:00
|
|
|
Recommends: timedatex
|
2015-01-29 09:27:15 +00:00
|
|
|
|
2018-01-22 14:29:29 +00:00
|
|
|
# suggest drivers for hardware reference clocks
|
|
|
|
Suggests: ntp-refclock
|
|
|
|
|
2008-11-24 12:44:12 +00:00
|
|
|
%description
|
2018-01-25 13:30:30 +00:00
|
|
|
chrony is a versatile implementation of the Network Time Protocol (NTP).
|
|
|
|
It can synchronise the system clock with NTP servers, reference clocks
|
|
|
|
(e.g. GPS receiver), and manual input using wristwatch and keyboard. It
|
|
|
|
can also operate as an NTPv4 (RFC 5905) server and peer to provide a time
|
|
|
|
service to other computers in the network.
|
2008-11-24 12:44:12 +00:00
|
|
|
|
2012-09-10 16:17:25 +00:00
|
|
|
%if 0%{!?vendorzone:1}
|
2017-04-20 15:54:54 +00:00
|
|
|
%global vendorzone %(source /etc/os-release && echo ${ID}.)
|
2012-09-10 16:17:25 +00:00
|
|
|
%endif
|
|
|
|
|
2008-11-24 12:44:12 +00:00
|
|
|
%prep
|
2014-06-09 10:40:52 +00:00
|
|
|
%setup -q -n %{name}-%{version}%{?prerelease} -a 10
|
2011-01-31 17:01:14 +00:00
|
|
|
%{?gitpatch:%patch0 -p1}
|
2014-09-11 10:07:05 +00:00
|
|
|
%patch1 -p1 -b .service-helper
|
2018-01-22 14:34:21 +00:00
|
|
|
%patch2 -p1 -b .select-timeout
|
2010-04-29 13:50:56 +00:00
|
|
|
|
|
|
|
%{?gitpatch: echo %{version}-%{gitpatch} > version.txt}
|
2008-11-24 12:44:12 +00:00
|
|
|
|
2014-09-11 10:07:05 +00:00
|
|
|
# review changes in packaged configuration files and scripts
|
|
|
|
md5sum -c <<-EOF | (! grep -v 'OK$')
|
2017-01-31 11:09:00 +00:00
|
|
|
47ad7eccc410b981d2f2101cf5682616 examples/chrony-wait.service
|
2017-09-15 09:49:52 +00:00
|
|
|
e473a9fab7fe200cacce3dca8b66290b examples/chrony.conf.example2
|
2016-02-02 17:00:20 +00:00
|
|
|
ba6bb05c50e03f6b5ab54a2b7914800d examples/chrony.keys.example
|
2015-10-02 12:18:21 +00:00
|
|
|
6a3178c4670de7de393d9365e2793740 examples/chrony.logrotate
|
2017-08-29 14:10:28 +00:00
|
|
|
27cbc940c94575de320dbd251cbb4514 examples/chrony.nm-dispatcher
|
2017-01-31 11:09:00 +00:00
|
|
|
a85246982a89910b1e2d3356b7d131d7 examples/chronyd.service
|
2014-09-11 10:07:05 +00:00
|
|
|
EOF
|
|
|
|
|
2017-09-19 11:52:06 +00:00
|
|
|
# don't allow packaging without vendor zone
|
|
|
|
test -n "%{vendorzone}"
|
|
|
|
|
2015-01-27 14:51:04 +00:00
|
|
|
# use our vendor zone (2.*pool.ntp.org names include IPv6 addresses)
|
2017-09-15 09:53:44 +00:00
|
|
|
# and get TAI-UTC offset and leap seconds from tzdata by default
|
2015-01-27 14:51:04 +00:00
|
|
|
sed -e 's|^\(pool \)\(pool.ntp.org\)|\12.%{vendorzone}\2|' \
|
2017-09-15 09:53:44 +00:00
|
|
|
-e 's|#\(leapsectz\)|\1|' \
|
2014-09-11 10:07:05 +00:00
|
|
|
< examples/chrony.conf.example2 > chrony.conf
|
|
|
|
|
2015-10-02 12:18:21 +00:00
|
|
|
touch -r examples/chrony.conf.example2 chrony.conf
|
2012-09-10 16:17:25 +00:00
|
|
|
|
2014-09-11 08:27:06 +00:00
|
|
|
# regenerate the file from getdate.y
|
|
|
|
rm -f getdate.c
|
|
|
|
|
2015-01-27 14:51:04 +00:00
|
|
|
mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim
|
2014-06-09 10:40:52 +00:00
|
|
|
|
2008-11-24 12:44:12 +00:00
|
|
|
%build
|
2011-06-24 12:29:09 +00:00
|
|
|
%configure \
|
2014-06-09 09:40:26 +00:00
|
|
|
%{?with_debug: --enable-debug} \
|
2016-12-12 07:32:38 +00:00
|
|
|
--enable-ntp-signd \
|
2015-10-19 10:30:15 +00:00
|
|
|
--enable-scfilter \
|
2011-06-24 12:29:09 +00:00
|
|
|
--docdir=%{_docdir} \
|
2015-11-12 13:43:45 +00:00
|
|
|
--with-ntp-era=$(date -d '1970-01-01 00:00:00+00:00' +'%s') \
|
2014-06-09 09:40:26 +00:00
|
|
|
--with-user=chrony \
|
2015-10-09 12:00:00 +00:00
|
|
|
--with-hwclockfile=%{_sysconfdir}/adjtime \
|
2011-06-24 12:29:09 +00:00
|
|
|
--with-sendmail=%{_sbindir}/sendmail
|
2016-05-16 09:50:16 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-11-24 12:44:12 +00:00
|
|
|
|
|
|
|
%install
|
2016-05-16 09:50:16 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2009-12-15 16:29:32 +00:00
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}
|
|
|
|
|
2011-06-24 13:36:06 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{sysconfig,logrotate.d}
|
2008-11-24 12:44:12 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/{lib,log}/chrony
|
2010-04-29 13:50:56 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d
|
2011-06-24 13:36:06 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
|
2013-05-09 09:25:01 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT{%{_unitdir},%{_prefix}/lib/systemd/ntp-units.d}
|
2008-11-24 12:44:12 +00:00
|
|
|
|
2012-09-10 16:17:25 +00:00
|
|
|
install -m 644 -p chrony.conf $RPM_BUILD_ROOT%{_sysconfdir}/chrony.conf
|
2014-09-11 10:07:05 +00:00
|
|
|
|
2015-10-02 12:18:21 +00:00
|
|
|
install -m 640 -p examples/chrony.keys.example \
|
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/chrony.keys
|
2014-09-11 10:07:05 +00:00
|
|
|
install -m 755 -p examples/chrony.nm-dispatcher \
|
2010-04-29 13:50:56 +00:00
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d/20-chrony
|
2014-09-11 10:07:05 +00:00
|
|
|
install -m 755 -p %{SOURCE1} \
|
2010-04-29 13:50:56 +00:00
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d/chrony.sh
|
2014-09-11 10:07:05 +00:00
|
|
|
install -m 644 -p examples/chrony.logrotate \
|
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/chrony
|
|
|
|
|
|
|
|
install -m 644 -p examples/chronyd.service \
|
|
|
|
$RPM_BUILD_ROOT%{_unitdir}/chronyd.service
|
|
|
|
install -m 644 -p examples/chrony-wait.service \
|
|
|
|
$RPM_BUILD_ROOT%{_unitdir}/chrony-wait.service
|
2015-06-22 13:36:52 +00:00
|
|
|
install -m 644 -p %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/chrony-dnssrv@.service
|
|
|
|
install -m 644 -p %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/chrony-dnssrv@.timer
|
2014-09-11 10:07:05 +00:00
|
|
|
|
|
|
|
install -m 755 -p %{SOURCE2} $RPM_BUILD_ROOT%{_libexecdir}/chrony-helper
|
2008-11-24 12:44:12 +00:00
|
|
|
|
2017-01-27 15:29:41 +00:00
|
|
|
cat > $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/chronyd <<EOF
|
|
|
|
# Command-line options for chronyd
|
|
|
|
OPTIONS=""
|
|
|
|
EOF
|
|
|
|
|
2008-11-24 12:44:12 +00:00
|
|
|
touch $RPM_BUILD_ROOT%{_localstatedir}/lib/chrony/{drift,rtc}
|
|
|
|
|
2013-05-09 09:25:01 +00:00
|
|
|
echo 'chronyd.service' > \
|
|
|
|
$RPM_BUILD_ROOT%{_prefix}/lib/systemd/ntp-units.d/50-chronyd.list
|
2012-04-27 13:15:02 +00:00
|
|
|
|
2014-06-09 10:40:52 +00:00
|
|
|
%check
|
2015-06-22 13:39:40 +00:00
|
|
|
# set random seed to get deterministic results
|
2016-12-15 13:36:03 +00:00
|
|
|
export CLKNETSIM_RANDOM_SEED=24502
|
2014-06-09 10:40:52 +00:00
|
|
|
make %{?_smp_mflags} -C test/simulation/clknetsim
|
2017-07-25 17:02:45 +00:00
|
|
|
make quickcheck
|
2014-06-09 10:40:52 +00:00
|
|
|
|
2008-11-24 12:44:12 +00:00
|
|
|
%pre
|
|
|
|
getent group chrony > /dev/null || /usr/sbin/groupadd -r chrony
|
|
|
|
getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \
|
|
|
|
-d %{_localstatedir}/lib/chrony -s /sbin/nologin chrony
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
2012-09-11 15:52:12 +00:00
|
|
|
%systemd_post chronyd.service chrony-wait.service
|
2011-05-05 20:44:34 +00:00
|
|
|
|
2008-11-24 12:44:12 +00:00
|
|
|
%preun
|
2012-09-11 15:52:12 +00:00
|
|
|
%systemd_preun chronyd.service chrony-wait.service
|
2008-11-24 12:44:12 +00:00
|
|
|
|
|
|
|
%postun
|
2012-09-11 15:52:12 +00:00
|
|
|
%systemd_postun_with_restart chronyd.service
|
2008-11-24 12:44:12 +00:00
|
|
|
|
|
|
|
%files
|
2014-08-21 09:24:20 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
2016-05-16 09:50:16 +00:00
|
|
|
%doc FAQ NEWS README
|
2008-11-24 12:44:12 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/chrony.conf
|
2010-04-29 13:50:56 +00:00
|
|
|
%config(noreplace) %verify(not md5 size mtime) %attr(640,root,chrony) %{_sysconfdir}/chrony.keys
|
2008-11-24 12:44:12 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/chrony
|
2017-01-27 15:29:41 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/chronyd
|
2010-04-29 13:50:56 +00:00
|
|
|
%{_sysconfdir}/NetworkManager/dispatcher.d/20-chrony
|
|
|
|
%{_sysconfdir}/dhcp/dhclient.d/chrony.sh
|
2008-11-24 12:44:12 +00:00
|
|
|
%{_bindir}/chronyc
|
|
|
|
%{_sbindir}/chronyd
|
2011-06-24 13:36:06 +00:00
|
|
|
%{_libexecdir}/chrony-helper
|
2013-05-09 09:26:03 +00:00
|
|
|
%{_prefix}/lib/systemd/ntp-units.d/*.list
|
2013-05-09 09:25:01 +00:00
|
|
|
%{_unitdir}/chrony*.service
|
2015-06-22 13:36:52 +00:00
|
|
|
%{_unitdir}/chrony*.timer
|
2008-11-24 12:44:12 +00:00
|
|
|
%{_mandir}/man[158]/%{name}*.[158]*
|
|
|
|
%dir %attr(-,chrony,chrony) %{_localstatedir}/lib/chrony
|
|
|
|
%ghost %attr(-,chrony,chrony) %{_localstatedir}/lib/chrony/drift
|
|
|
|
%ghost %attr(-,chrony,chrony) %{_localstatedir}/lib/chrony/rtc
|
|
|
|
%dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
|
|
|
|
|
|
|
|
%changelog
|
2018-02-07 04:55:04 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-30 10:59:45 +00:00
|
|
|
* Tue Jan 30 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.2-3
|
|
|
|
- use systemd macro for scriptlet dependencies
|
|
|
|
|
2018-01-25 13:51:10 +00:00
|
|
|
* Thu Jan 25 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.2-2
|
|
|
|
- fix chronyc getting stuck in infinite loop after clock step
|
|
|
|
- don't allow packaging without vendor zone
|
|
|
|
- suggest ntp-refclock
|
|
|
|
- remove obsolete dependency
|
|
|
|
- update description
|
|
|
|
|
2017-09-15 09:57:18 +00:00
|
|
|
* Fri Sep 15 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.2-1
|
|
|
|
- update to 3.2
|
|
|
|
- get TAI-UTC offset and leap seconds from tzdata by default
|
|
|
|
|
2017-08-29 14:15:34 +00:00
|
|
|
* Tue Aug 29 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.2-0.4.pre2
|
|
|
|
- update to 3.2-pre2
|
|
|
|
|
2017-08-02 18:47:29 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-0.3.pre1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 04:48:54 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-0.2.pre1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-25 17:05:08 +00:00
|
|
|
* Tue Jul 25 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.2-0.1.pre1
|
|
|
|
- update to 3.2-pre1
|
|
|
|
|
2017-05-04 11:28:21 +00:00
|
|
|
* Thu May 04 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-5
|
|
|
|
- check PEERNTP variable before loading existing dhclient files
|
|
|
|
|
2017-04-20 16:31:39 +00:00
|
|
|
* Thu Apr 20 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-4
|
|
|
|
- use ID from /etc/os-release to set pool.ntp.org vendor zone (#1443599)
|
|
|
|
- fix seccomp filter for new glibc once again
|
|
|
|
- don't drop PHC samples with zero delay
|
|
|
|
|
2017-03-13 13:55:07 +00:00
|
|
|
* Mon Mar 13 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-3
|
|
|
|
- fix seccomp filter for new glibc
|
|
|
|
|
2017-02-10 07:29:27 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-31 11:09:52 +00:00
|
|
|
* Tue Jan 31 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-1
|
|
|
|
- update to 3.1
|
|
|
|
- enable seccomp support on more archs
|
|
|
|
- package chronyd sysconfig file
|
|
|
|
|
2017-01-24 15:29:54 +00:00
|
|
|
* Tue Jan 24 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-0.1.pre1
|
|
|
|
- update to 3.1-pre1
|
|
|
|
|
2017-01-16 14:06:12 +00:00
|
|
|
* Mon Jan 16 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.0-1
|
|
|
|
- update to 3.0
|
|
|
|
|
2017-01-06 13:37:15 +00:00
|
|
|
* Fri Jan 06 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.0-0.3.pre3
|
|
|
|
- update to 3.0-pre3
|
|
|
|
|
2016-12-15 13:36:42 +00:00
|
|
|
* Thu Dec 15 2016 Miroslav Lichvar <mlichvar@redhat.com> 3.0-0.2.pre2
|
|
|
|
- update to 3.0-pre2
|
|
|
|
- enable support for MS-SNTP authentication in Samba
|
|
|
|
|
2016-12-09 09:55:04 +00:00
|
|
|
* Fri Dec 09 2016 Miroslav Lichvar <mlichvar@redhat.com> 3.0-0.1.pre1
|
|
|
|
- update to 3.0-pre1
|
|
|
|
|
2016-11-21 12:56:51 +00:00
|
|
|
* Mon Nov 21 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4.1-1
|
|
|
|
- update to 2.4.1
|
|
|
|
|
2016-10-27 12:27:13 +00:00
|
|
|
* Thu Oct 27 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-4
|
|
|
|
- avoid AVC denials in chrony-wait service (#1350815)
|
|
|
|
|
2016-09-13 08:37:27 +00:00
|
|
|
* Tue Sep 13 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-3
|
|
|
|
- fix chrony-helper to escape names of systemd units (#1374767)
|
|
|
|
|
2016-06-28 11:12:45 +00:00
|
|
|
* Tue Jun 28 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-2
|
|
|
|
- fix chrony-helper to exit with correct status (#1350531)
|
|
|
|
|
2016-06-07 10:24:49 +00:00
|
|
|
* Tue Jun 07 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-1
|
|
|
|
- update to 2.4
|
|
|
|
- don't require info
|
|
|
|
|
2016-05-16 10:37:21 +00:00
|
|
|
* Mon May 16 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-0.1.pre1
|
|
|
|
- update to 2.4-pre1
|
|
|
|
- extend chrony-helper to allow management of static sources (#1331655)
|
|
|
|
|
2016-02-16 14:47:18 +00:00
|
|
|
* Tue Feb 16 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.3-1
|
|
|
|
- update to 2.3
|
|
|
|
|
2016-02-02 17:03:46 +00:00
|
|
|
* Tue Feb 02 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.3-0.1.pre1
|
|
|
|
- update to 2.3-pre1
|
|
|
|
|
2016-01-21 15:33:11 +00:00
|
|
|
* Thu Jan 21 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.2.1-1
|
|
|
|
- update to 2.2.1 (CVE-2016-1567)
|
|
|
|
- set NTP era split explicitly
|
|
|
|
|
2015-10-19 10:31:11 +00:00
|
|
|
* Mon Oct 19 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.2-1
|
|
|
|
- update to 2.2
|
|
|
|
|
2015-10-09 12:01:08 +00:00
|
|
|
* Fri Oct 09 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.2-0.2.pre2
|
|
|
|
- update to 2.2-pre2
|
|
|
|
- require libseccomp-devel on supported archs only
|
|
|
|
|
2015-10-02 12:31:26 +00:00
|
|
|
* Fri Oct 02 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.2-0.1.pre1
|
|
|
|
- update to 2.2-pre1
|
|
|
|
- enable seccomp support
|
|
|
|
- use weak dependency for timedatex on Fedora 24 and later
|
|
|
|
|
2015-06-23 14:38:47 +00:00
|
|
|
* Tue Jun 23 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.1.1-1
|
|
|
|
- update to 2.1.1
|
|
|
|
- add -n option to gzip command to not save timestamp
|
|
|
|
|
2015-06-22 14:10:19 +00:00
|
|
|
* Mon Jun 22 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.1-1
|
|
|
|
- update to 2.1
|
|
|
|
- extend chrony-helper to allow using servers from DNS SRV records (#1234406)
|
|
|
|
- set random seed in testing to get deterministic results
|
|
|
|
|
2015-06-17 02:38:39 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-0.2.pre1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-10 13:13:44 +00:00
|
|
|
* Wed Jun 10 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.1-0.1.pre1
|
|
|
|
- update to 2.1-pre1
|
|
|
|
|
2015-04-27 12:27:29 +00:00
|
|
|
* Mon Apr 27 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.0-1
|
|
|
|
- update to 2.0
|
|
|
|
|
2015-04-08 06:55:12 +00:00
|
|
|
* Wed Apr 08 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.0-0.3.pre2
|
|
|
|
- update to 2.0-pre2 (CVE-2015-1853 CVE-2015-1821 CVE-2015-1822)
|
|
|
|
|
2015-01-29 09:28:28 +00:00
|
|
|
* Thu Jan 29 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.0-0.2.pre1
|
|
|
|
- require timedatex (#1136905)
|
|
|
|
|
2015-01-27 14:54:10 +00:00
|
|
|
* Tue Jan 27 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.0-0.1.pre1
|
|
|
|
- update to 2.0-pre1
|
|
|
|
|
2014-09-11 14:02:05 +00:00
|
|
|
* Thu Sep 11 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.31-1
|
|
|
|
- update to 1.31
|
|
|
|
- add servers from DHCP with iburst option by default
|
|
|
|
- use upstream configuration files and scripts
|
|
|
|
- don't package configuration examples
|
|
|
|
- compress chrony.txt
|
|
|
|
|
2014-08-21 09:25:51 +00:00
|
|
|
* Thu Aug 21 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.31-0.1.pre1
|
|
|
|
- update to 1.31-pre1
|
|
|
|
- use license macro if available
|
|
|
|
|
2014-08-16 00:10:42 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-15 09:57:15 +00:00
|
|
|
* Fri Aug 15 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.30-2
|
|
|
|
- reconnect client sockets (#1124059)
|
|
|
|
|
2014-07-01 13:30:33 +00:00
|
|
|
* Tue Jul 01 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.30-1
|
|
|
|
- update to 1.30
|
|
|
|
- enable debug messages
|
|
|
|
|
2014-06-09 09:44:30 +00:00
|
|
|
* Mon Jun 09 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.30-0.1.pre1
|
|
|
|
- update to 1.30-pre1
|
|
|
|
- execute test suite
|
|
|
|
- avoid calling systemctl in helper script
|
|
|
|
- call chronyc directly from logrotate and NM dispatcher scripts
|
|
|
|
- add conflict with systemd-timesyncd service
|
|
|
|
|
2014-06-07 04:42:51 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-01-31 17:17:16 +00:00
|
|
|
* Fri Jan 31 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.29.1-1
|
|
|
|
- update to 1.29.1 (CVE-2014-0021)
|
|
|
|
- replace hardening build flags with _hardened_build
|
|
|
|
|
2013-11-19 14:45:17 +00:00
|
|
|
* Tue Nov 19 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.29-3
|
|
|
|
- let systemd remove pid file (#974305)
|
|
|
|
|
2013-10-03 10:21:28 +00:00
|
|
|
* Thu Oct 03 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.29-2
|
|
|
|
- add ordering dependency to not start chronyd before ntpd stopped
|
|
|
|
|
2013-08-08 17:08:15 +00:00
|
|
|
* Thu Aug 08 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.29-1
|
|
|
|
- update to 1.29 (CVE-2012-4502, CVE-2012-4503)
|
|
|
|
|
2013-08-03 04:54:07 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-17 14:40:48 +00:00
|
|
|
* Wed Jul 17 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.28-1
|
|
|
|
- update to 1.28
|
|
|
|
- change default makestep limit to 10 seconds
|
|
|
|
|
2013-06-24 12:29:02 +00:00
|
|
|
* Mon Jun 24 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.28-0.2.pre1
|
|
|
|
- buildrequire systemd-units
|
|
|
|
|
2013-06-21 16:04:05 +00:00
|
|
|
* Fri Jun 21 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.28-0.1.pre1
|
|
|
|
- update to 1.28-pre1
|
|
|
|
- listen for commands only on localhost by default
|
|
|
|
|
2013-05-09 09:55:41 +00:00
|
|
|
* Thu May 09 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.27-3
|
|
|
|
- disable chrony-wait service by default (#961047)
|
|
|
|
- drop old systemd scriptlets
|
|
|
|
- don't own ntp-units.d directory
|
|
|
|
- move files from /lib
|
|
|
|
- remove unncessary dependency on syslog target
|
|
|
|
|
2013-03-12 17:10:25 +00:00
|
|
|
* Tue Mar 12 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.27-2
|
|
|
|
- suppress error messages from tr when generating key (#907914)
|
|
|
|
- fix delta calculation with extreme frequency offsets
|
|
|
|
|
2013-02-01 18:18:42 +00:00
|
|
|
* Fri Feb 01 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.27-1
|
|
|
|
- update to 1.27
|
|
|
|
- start chrony-wait service with chronyd
|
|
|
|
- start chronyd service after sntp
|
|
|
|
- remove obsolete macros
|
|
|
|
|
2012-09-11 17:39:12 +00:00
|
|
|
* Tue Sep 11 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.27-0.5.pre1.git1ca844
|
|
|
|
- update to git snapshot 1ca844
|
|
|
|
- update systemd integration (#846303)
|
|
|
|
- use systemd macros if available (#850151)
|
|
|
|
- use correct vendor pool.ntp.org zone on RHEL (#845981)
|
|
|
|
- don't log output of chrony-wait service
|
|
|
|
|
2012-07-18 18:59:10 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-0.4.pre1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-27 13:15:20 +00:00
|
|
|
* Fri Apr 27 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.27-0.3.pre1
|
|
|
|
- update service file for systemd-timedated-ntp target (#816493)
|
|
|
|
|
2012-04-06 12:09:20 +00:00
|
|
|
* Fri Apr 06 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.27-0.2.pre1
|
|
|
|
use systemctl is-active instead of status in chrony-helper (#794771)
|
|
|
|
|
2012-02-28 12:48:21 +00:00
|
|
|
* Tue Feb 28 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.27-0.1.pre1
|
|
|
|
- update to 1.27-pre1
|
|
|
|
- generate SHA1 command key instead of MD5
|
|
|
|
|
2012-02-15 13:36:19 +00:00
|
|
|
* Wed Feb 15 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.26-6.20110831gitb088b7
|
|
|
|
- remove old servers on DHCP update (#787042)
|
|
|
|
|
2012-02-10 16:24:42 +00:00
|
|
|
* Fri Feb 10 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.26-5.20110831gitb088b7
|
|
|
|
- improve chrony-helper to keep track of servers added from DHCP (#787042)
|
|
|
|
- fix dhclient script to always return with zero exit code (#767859)
|
|
|
|
|
2012-01-12 23:22:19 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-4.20110831gitb088b7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-06 13:53:33 +00:00
|
|
|
* Tue Sep 06 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.26-3.20110831gitb088b7
|
|
|
|
- update to git snapshot 20110831gitb088b7
|
|
|
|
- on first start generate password with 16 chars
|
|
|
|
- change systemd service type to forking
|
|
|
|
- add forced-command to chrony-helper (#735821)
|
|
|
|
|
2011-08-15 10:57:12 +00:00
|
|
|
* Mon Aug 15 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.26-2
|
|
|
|
- fix iburst with very high jitters and long delays
|
|
|
|
- use timepps header from pps-tools-devel
|
|
|
|
|
2011-07-13 14:53:56 +00:00
|
|
|
* Wed Jul 13 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.26-1
|
|
|
|
- update to 1.26
|
|
|
|
- read options from sysconfig file if it exists
|
|
|
|
|
2011-06-24 14:27:18 +00:00
|
|
|
* Fri Jun 24 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.26-0.1.pre1
|
|
|
|
- update to 1.26-pre1
|
|
|
|
- fix service name in %%triggerun
|
|
|
|
- drop SysV init script
|
|
|
|
- add chrony-wait service
|
|
|
|
|
2011-05-06 15:57:04 +00:00
|
|
|
* Fri May 06 2011 Bill Nottingham <notting@redhat.com> 1.25-2
|
|
|
|
- fix systemd scriptlets for the upgrade case
|
|
|
|
|
2011-05-04 12:39:29 +00:00
|
|
|
* Wed May 04 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.25-1
|
|
|
|
- update to 1.25
|
|
|
|
|
2011-04-20 14:27:26 +00:00
|
|
|
* Wed Apr 20 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.25-0.3.pre2
|
|
|
|
- update to 1.25-pre2
|
|
|
|
- link with -Wl,-z,relro,-z,now options
|
|
|
|
|
2011-02-08 08:35:28 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-0.2.pre1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-01 17:01:08 +00:00
|
|
|
* Tue Feb 01 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.25-0.1.pre1
|
|
|
|
- update to 1.25-pre1
|
|
|
|
- use iburst, four pool servers, rtcsync, stratumweight in default config
|
|
|
|
- add systemd support
|
|
|
|
- drop sysconfig file
|
|
|
|
- suppress install-info errors
|
|
|
|
|
2010-04-29 13:50:56 +00:00
|
|
|
* Thu Apr 29 2010 Miroslav Lichvar <mlichvar@redhat.com> 1.24-4.20100428git73d775
|
|
|
|
- update to 20100428git73d775
|
|
|
|
- replace initstepslew directive with makestep in default config
|
|
|
|
- add NetworkManager dispatcher script
|
|
|
|
- add dhclient script
|
|
|
|
- retry server/peer name resolution at least once to workaround
|
|
|
|
NetworkManager race condition on boot
|
|
|
|
- don't verify chrony.keys
|
|
|
|
|
2010-03-12 13:47:48 +00:00
|
|
|
* Fri Mar 12 2010 Miroslav Lichvar <mlichvar@redhat.com> 1.24-3.20100302git5fb555
|
2010-03-12 13:35:28 +00:00
|
|
|
- update to snapshot 20100302git5fb555
|
|
|
|
- compile with PPS API support
|
|
|
|
|
2010-02-04 14:44:43 +00:00
|
|
|
* Thu Feb 04 2010 Miroslav Lichvar <mlichvar@redhat.com> 1.24-1
|
|
|
|
- update to 1.24 (#555367, CVE-2010-0292 CVE-2010-0293 CVE-2010-0294)
|
|
|
|
- modify default config
|
|
|
|
- step clock on start if it is off by more than 100 seconds
|
|
|
|
- disable client log
|
|
|
|
- build with -fPIE on sparc
|
|
|
|
|
2009-12-15 16:29:32 +00:00
|
|
|
* Tue Dec 15 2009 Miroslav Lichvar <mlichvar@redhat.com> 1.24-0.1.pre1
|
|
|
|
- update to 1.24-pre1
|
|
|
|
|
2009-07-24 18:57:37 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-7.20081106gitbe42b4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-17 12:53:22 +00:00
|
|
|
* Fri Jul 17 2009 Miroslav Lichvar <mlichvar@redhat.com> 1.23-6.20081106gitbe42b4
|
|
|
|
- switch to editline
|
|
|
|
- support arbitrary chronyc commands in init script
|
|
|
|
|
2009-06-08 08:01:49 +00:00
|
|
|
* Mon Jun 08 2009 Dan Horak <dan[at]danny.cz> 1.23-5.20081106gitbe42b4
|
|
|
|
- add patch with support for s390/s390x
|
|
|
|
|
2009-03-09 14:15:41 +00:00
|
|
|
* Mon Mar 09 2009 Miroslav Lichvar <mlichvar@redhat.com> 1.23-4.20081106gitbe42b4
|
|
|
|
- fix building with broken libcap header (#483548)
|
|
|
|
|
2009-02-24 07:31:16 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3.20081106gitbe42b4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-24 12:44:12 +00:00
|
|
|
* Wed Nov 19 2008 Miroslav Lichvar <mlichvar@redhat.com> 1.23-2.20081106gitbe42b4
|
|
|
|
- fix info uninstall
|
|
|
|
- generate random command key in init script
|
|
|
|
- support cyclelogs, online, offline commands in init script
|
|
|
|
- add logrotate script
|
|
|
|
|
|
|
|
* Tue Nov 11 2008 Miroslav Lichvar <mlichvar@redhat.com> 1.23-1.20081106gitbe42b4
|
|
|
|
- initial release
|