Blame SPECS/chrony.spec

d45484
%global _hardened_build 1
f77576
%global clknetsim_ver 824c48
d45484
%bcond_without debug
d45484
%bcond_without nts
d45484
d45484
%ifarch %{ix86} x86_64 %{arm} aarch64 mipsel mips64el ppc64 ppc64le s390 s390x
d45484
%bcond_without seccomp
d45484
%endif
d45484
d45484
Name:           chrony
f77576
Version:        4.2
f77576
Release:        1%{?dist}
d45484
Summary:        An NTP client/server
d45484
d45484
License:        GPLv2
d45484
URL:            https://chrony.tuxfamily.org
d45484
Source0:        https://download.tuxfamily.org/chrony/chrony-%{version}%{?prerelease}.tar.gz
d45484
Source1:        https://download.tuxfamily.org/chrony/chrony-%{version}%{?prerelease}-tar-gz-asc.txt
d45484
Source2:        https://chrony.tuxfamily.org/gpgkey-8F375C7E8D0EE125A3D3BD51537E2B76F7680DAC.asc
d45484
Source3:        chrony.dhclient
d45484
# simulator for test suite
d45484
Source10:       https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/clknetsim-%{clknetsim_ver}.tar.gz
d45484
%{?gitpatch:Patch0: chrony-%{version}%{?prerelease}-%{gitpatch}.patch.gz}
d45484
f77576
# add IPv6 support and distribution-specific bits to DHCP dispatcher
d45484
Patch1:         chrony-nm-dispatcher-dhcp.patch
d45484
# update seccomp filter for new glibc
d45484
Patch2:         chrony-seccomp.patch
f77576
# revert some hardening options in service files
f77576
Patch3:         chrony-services.patch
d45484
f77576
BuildRequires:  gnutls-devel libcap-devel libedit-devel pps-tools-devel
d45484
BuildRequires:  gcc gcc-c++ make bison systemd gnupg2
f77576
%{?with_nts:BuildRequires: gnutls-utils}
d45484
%{?with_seccomp:BuildRequires: libseccomp-devel}
d45484
d45484
Requires(pre):  shadow-utils
d45484
%{?systemd_requires}
d45484
d45484
# Old NetworkManager expects the dispatcher scripts in a different place
d45484
Conflicts:      NetworkManager < 1.20
d45484
d45484
# suggest drivers for hardware reference clocks
d45484
Suggests:       ntp-refclock
d45484
d45484
%description
d45484
chrony is a versatile implementation of the Network Time Protocol (NTP).
d45484
It can synchronise the system clock with NTP servers, reference clocks
d45484
(e.g. GPS receiver), and manual input using wristwatch and keyboard. It
d45484
can also operate as an NTPv4 (RFC 5905) server and peer to provide a time
d45484
service to other computers in the network.
d45484
d45484
%if 0%{!?vendorzone:1}
d45484
%global vendorzone %(source /etc/os-release && echo ${ID}.)
d45484
%endif
d45484
d45484
%prep
d45484
%{gpgverify} --keyring=%{SOURCE2} --signature=%{SOURCE1} --data=%{SOURCE0}
d45484
%setup -q -n %{name}-%{version}%{?prerelease} -a 10
d45484
%{?gitpatch:%patch0 -p1}
d45484
%patch1 -p1 -b .nm-dispatcher-dhcp
d45484
%patch2 -p1 -b .seccomp
f77576
%patch3 -p1 -b .services
d45484
d45484
%{?gitpatch: echo %{version}-%{gitpatch} > version.txt}
d45484
d45484
# review changes in packaged configuration files and scripts
d45484
md5sum -c <<-EOF | (! grep -v 'OK$')
f77576
        222e652b95027289877fa77146d3b9b1  examples/chrony-wait.service
d45484
        2d01b94bc1a7b7fb70cbee831488d121  examples/chrony.conf.example2
d45484
        96999221eeef476bd49fe97b97503126  examples/chrony.keys.example
d45484
        6a3178c4670de7de393d9365e2793740  examples/chrony.logrotate
f77576
        c3992e2f985550739cd1cd95f98c9548  examples/chrony.nm-dispatcher.dhcp
f77576
        2b81c60c020626165ac655b2633608eb  examples/chrony.nm-dispatcher.onoffline
f77576
        619dd00009ea312c7201beefde10341a  examples/chronyd.service
d45484
EOF
d45484
d45484
# don't allow packaging without vendor zone
d45484
test -n "%{vendorzone}"
d45484
d45484
# use example chrony.conf as the default config with some modifications:
d45484
# - use our vendor zone (2.*pool.ntp.org names include IPv6 addresses)
d45484
# - enable leapsectz to get TAI-UTC offset and leap seconds from tzdata
d45484
# - enable keyfile
d45484
# - use NTP servers from DHCP
d45484
sed -e 's|^\(pool \)\(pool.ntp.org\)|\12.%{vendorzone}\2|' \
d45484
    -e 's|#\(leapsectz\)|\1|' \
d45484
    -e 's|#\(keyfile\)|\1|' \
d45484
    -e 's|^pool.*pool.ntp.org.*|&\n\n# Use NTP servers from DHCP.\nsourcedir /run/chrony-dhcp|' \
d45484
        < examples/chrony.conf.example2 > chrony.conf
d45484
d45484
touch -r examples/chrony.conf.example2 chrony.conf
d45484
d45484
# regenerate the file from getdate.y
d45484
rm -f getdate.c
d45484
d45484
mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim
d45484
d45484
%build
d45484
%configure \
d45484
%{?with_debug: --enable-debug} \
d45484
        --enable-ntp-signd \
d45484
%{?with_seccomp: --enable-scfilter} \
d45484
%{!?with_nts: --disable-nts} \
d45484
        --chronyrundir=/run/chrony \
d45484
        --docdir=%{_docdir} \
d45484
        --with-ntp-era=$(date -d '1970-01-01 00:00:00+00:00' +'%s') \
d45484
        --with-user=chrony \
d45484
        --with-hwclockfile=%{_sysconfdir}/adjtime \
d45484
        --with-pidfile=/run/chrony/chronyd.pid \
f77576
        --with-sendmail=%{_sbindir}/sendmail \
f77576
        --without-nettle \
f77576
        --without-nss \
f77576
        --without-tomcrypt
d45484
%make_build
d45484
d45484
%install
d45484
%make_install
d45484
d45484
rm -rf $RPM_BUILD_ROOT%{_docdir}
d45484
d45484
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{sysconfig,logrotate.d}
d45484
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/{lib,log}/chrony
d45484
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d
d45484
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
d45484
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/NetworkManager/dispatcher.d
d45484
mkdir -p $RPM_BUILD_ROOT{%{_unitdir},%{_prefix}/lib/systemd/ntp-units.d}
d45484
d45484
install -m 644 -p chrony.conf $RPM_BUILD_ROOT%{_sysconfdir}/chrony.conf
d45484
d45484
install -m 640 -p examples/chrony.keys.example \
d45484
        $RPM_BUILD_ROOT%{_sysconfdir}/chrony.keys
d45484
install -m 755 -p %{SOURCE3} \
d45484
        $RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d/chrony.sh
d45484
install -m 644 -p examples/chrony.logrotate \
d45484
        $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/chrony
d45484
d45484
install -m 644 -p examples/chronyd.service \
d45484
        $RPM_BUILD_ROOT%{_unitdir}/chronyd.service
d45484
install -m 755 -p examples/chrony.nm-dispatcher.onoffline \
d45484
        $RPM_BUILD_ROOT%{_prefix}/lib/NetworkManager/dispatcher.d/20-chrony-onoffline
d45484
install -m 755 -p examples/chrony.nm-dispatcher.dhcp \
d45484
        $RPM_BUILD_ROOT%{_prefix}/lib/NetworkManager/dispatcher.d/20-chrony-dhcp
d45484
install -m 644 -p examples/chrony-wait.service \
d45484
        $RPM_BUILD_ROOT%{_unitdir}/chrony-wait.service
d45484
d45484
cat > $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/chronyd <
d45484
# Command-line options for chronyd
d45484
OPTIONS="%{?with_seccomp:-F 2}"
d45484
EOF
d45484
d45484
touch $RPM_BUILD_ROOT%{_localstatedir}/lib/chrony/{drift,rtc}
d45484
d45484
echo 'chronyd.service' > \
d45484
        $RPM_BUILD_ROOT%{_prefix}/lib/systemd/ntp-units.d/50-chronyd.list
d45484
d45484
%check
d45484
# set random seed to get deterministic results
d45484
export CLKNETSIM_RANDOM_SEED=24505
d45484
%make_build -C test/simulation/clknetsim
d45484
make quickcheck
d45484
d45484
%pre
d45484
getent group chrony > /dev/null || /usr/sbin/groupadd -r chrony
d45484
getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \
d45484
       -d %{_localstatedir}/lib/chrony -s /sbin/nologin chrony
d45484
:
d45484
d45484
%post
d45484
# migrate from chrony-helper to sourcedir directive
d45484
if test -a %{_libexecdir}/chrony-helper; then
d45484
        grep -qi 'sourcedir /run/chrony-dhcp$' %{_sysconfdir}/chrony.conf 2> /dev/null || \
d45484
                echo -e '\n# Use NTP servers from DHCP.\nsourcedir /run/chrony-dhcp' >> \
d45484
                        %{_sysconfdir}/chrony.conf
d45484
        mkdir -p /run/chrony-dhcp
d45484
        for f in %{_localstatedir}/lib/dhclient/chrony.servers.*; do
d45484
                sed 's|.*|server &|' < $f > /run/chrony-dhcp/"${f##*servers.}.sources"
d45484
        done 2> /dev/null
d45484
fi
d45484
%systemd_post chronyd.service chrony-wait.service
d45484
d45484
%preun
d45484
%systemd_preun chronyd.service chrony-wait.service
d45484
d45484
%postun
d45484
%systemd_postun_with_restart chronyd.service
d45484
d45484
%files
d45484
%{!?_licensedir:%global license %%doc}
d45484
%license COPYING
d45484
%doc FAQ NEWS README
d45484
%config(noreplace) %{_sysconfdir}/chrony.conf
d45484
%config(noreplace) %verify(not md5 size mtime) %attr(640,root,chrony) %{_sysconfdir}/chrony.keys
d45484
%config(noreplace) %{_sysconfdir}/logrotate.d/chrony
d45484
%config(noreplace) %{_sysconfdir}/sysconfig/chronyd
d45484
%{_sysconfdir}/dhcp/dhclient.d/chrony.sh
d45484
%{_bindir}/chronyc
d45484
%{_sbindir}/chronyd
d45484
%{_prefix}/lib/NetworkManager
d45484
%{_prefix}/lib/systemd/ntp-units.d/*.list
d45484
%{_unitdir}/chrony*.service
d45484
%{_mandir}/man[158]/%{name}*.[158]*
d45484
%dir %attr(750,chrony,chrony) %{_localstatedir}/lib/chrony
d45484
%ghost %attr(-,chrony,chrony) %{_localstatedir}/lib/chrony/drift
d45484
%ghost %attr(-,chrony,chrony) %{_localstatedir}/lib/chrony/rtc
d45484
%dir %attr(750,chrony,chrony) %{_localstatedir}/log/chrony
d45484
d45484
%changelog
f77576
* Wed Mar 23 2022 Miroslav Lichvar <mlichvar@redhat.com> 4.2-1
f77576
- update to 4.2 (#2051441)
f77576
- fully switch from nettle to gnutls (#1953463 #1954483)
f77576
- use NTP servers from DHCPv6 NTP server option (#2047415)
f77576
- drop obsolete workaround in scriptlet
f77576
d45484
* Tue Aug 10 2021 Miroslav Lichvar <mlichvar@redhat.com> 4.1-3
d45484
- update seccomp filter for new glibc (#1990589)
d45484
- remove unnecessary build requirement
d45484
d45484
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.1-2
d45484
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
d45484
  Related: rhbz#1991688
d45484
d45484
* Thu May 13 2021 Miroslav Lichvar <mlichvar@redhat.com> 4.1-1
d45484
- update to 4.1
d45484
- enable seccomp filter by default (incompatible with mailonchange directive)
d45484
d45484
* Thu Apr 22 2021 Miroslav Lichvar <mlichvar@redhat.com> 4.1-0.1.pre1
d45484
- update to 4.1-pre1
d45484
- rework NM-dispatcher/dhclient detection
d45484
- enable LTO on s390x
d45484
d45484
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.0-4
d45484
- Rebuilt for updated systemd-rpm-macros
d45484
  See https://pagure.io/fesco/issue/2583.
d45484
d45484
* Tue Feb 02 2021 Miroslav Lichvar <mlichvar@redhat.com> 4.0-3
d45484
- update NM DHCP dispatcher script
d45484
d45484
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-2
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d45484
- Add BuildRequires: make
d45484
- drop dnssrv service and timer
d45484
d45484
* Wed Oct 07 2020 Miroslav Lichvar <mlichvar@redhat.com> 4.0-1
d45484
- update to 4.0
d45484
- update directory permissions to follow upstream
d45484
d45484
* Wed Sep 16 2020 Miroslav Lichvar <mlichvar@redhat.com> 4.0-0.9.pre4
d45484
- update to 4.0-pre4
d45484
d45484
* Wed Aug 26 2020 Miroslav Lichvar <mlichvar@redhat.com> 4.0-0.8.pre3
d45484
- update to 4.0-pre3
d45484
- switch to sourcedir directive for loading servers from DHCP
d45484
- add NetworkManager dispatcher script to save servers from DHCP when
d45484
  dhclient is not installed (Robert Fairley)
d45484
- drop old migration code from scriptlet
d45484
- move default paths in /var/run to /run
d45484
d45484
* Mon Aug 10 2020 Jeff Law <law@redhat.com> - 4.0-0.7.pre2
d45484
- Disable LTO on s390x
d45484
d45484
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-0.6.pre2
d45484
- Second attempt - Rebuilt for
d45484
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d45484
d45484
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-0.5.pre2
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d45484
d45484
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> 4.0-0.4.pre2
d45484
- use make macros
d45484
d45484
* Mon May 04 2020 Miroslav Lichvar <mlichvar@redhat.com> 4.0-0.3.pre2
d45484
- rebuild for new nettle
d45484
d45484
* Mon Apr 20 2020 Miroslav Lichvar <mlichvar@redhat.com> 4.0-0.2.pre2
d45484
- update to 4.0-pre2
d45484
d45484
* Tue Mar 17 2020 Miroslav Lichvar <mlichvar@redhat.com> 4.0-0.1.pre1
d45484
- update to 4.0-pre1
d45484
- add net-tools to build requirements for testing
d45484
- add missing dependency on coreutils
d45484
d45484
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-8
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d45484
d45484
* Mon Jan 20 2020 Miroslav Lichvar <mlichvar@redhat.com> 3.5-7
d45484
- fix testing with new glibc (#1792854)
d45484
d45484
* Wed Oct 09 2019 Miroslav Lichvar <mlichvar@redhat.com> 3.5-6
d45484
- drop timedatex recommendation
d45484
- verify upstream signatures
d45484
d45484
* Thu Aug 22 2019 Lubomir Rintel <lkundrak@v3.sk> - 3.5-5
d45484
- Move the NetworkManager dispatcher script out of /etc
d45484
d45484
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-4
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d45484
d45484
* Tue Jul 16 2019 Miroslav Lichvar <mlichvar@redhat.com> 3.5-3
d45484
- rebuild for new nettle
d45484
d45484
* Thu May 23 2019 Miroslav Lichvar <mlichvar@redhat.com> 3.5-2
d45484
- fix shellcheck warnings in helper scripts
d45484
d45484
* Tue May 14 2019 Miroslav Lichvar <mlichvar@redhat.com> 3.5-1
d45484
- update to 3.5
d45484
d45484
* Thu May 02 2019 Miroslav Lichvar <mlichvar@redhat.com> 3.5-0.1.pre1
d45484
- update to 3.5-pre1
d45484
d45484
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-2
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d45484
d45484
* Wed Sep 19 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.4-1
d45484
- update to 3.4
d45484
d45484
* Fri Aug 31 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.4-0.1.pre1
d45484
- update to 3.4-pre1
d45484
d45484
* Mon Aug 13 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.3-5
d45484
- fix PIDFile in local chronyd.service on upgrades from chrony < 3.3-2
d45484
- add workaround for late reload of unit file (#1614751)
d45484
d45484
* Mon Jul 16 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.3-4
d45484
- add gcc-c++ to build requirements
d45484
d45484
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-3
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d45484
d45484
* Mon Jun 18 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.3-2
d45484
- move pidfile to /var/run/chrony to allow chronyd to remove it on exit
d45484
- avoid blocking in getrandom system call
d45484
d45484
* Wed Apr 04 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.3-1
d45484
- update to 3.3
d45484
- enable keyfile by default again
d45484
d45484
* Thu Mar 15 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.3-0.1.pre1
d45484
- update to 3.3-pre1
d45484
- switch to nettle for crypto hashing
d45484
- add gcc to build requirements
d45484
d45484
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-4
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d45484
d45484
* Tue Jan 30 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.2-3
d45484
- use systemd macro for scriptlet dependencies
d45484
d45484
* Thu Jan 25 2018 Miroslav Lichvar <mlichvar@redhat.com> 3.2-2
d45484
- fix chronyc getting stuck in infinite loop after clock step
d45484
- don't allow packaging without vendor zone
d45484
- suggest ntp-refclock
d45484
- remove obsolete dependency
d45484
- update description
d45484
d45484
* Fri Sep 15 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.2-1
d45484
- update to 3.2
d45484
- get TAI-UTC offset and leap seconds from tzdata by default
d45484
d45484
* Tue Aug 29 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.2-0.4.pre2
d45484
- update to 3.2-pre2
d45484
d45484
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-0.3.pre1
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d45484
d45484
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-0.2.pre1
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d45484
d45484
* Tue Jul 25 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.2-0.1.pre1
d45484
- update to 3.2-pre1
d45484
d45484
* Thu May 04 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-5
d45484
- check PEERNTP variable before loading existing dhclient files
d45484
d45484
* Thu Apr 20 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-4
d45484
- use ID from /etc/os-release to set pool.ntp.org vendor zone (#1443599)
d45484
- fix seccomp filter for new glibc once again
d45484
- don't drop PHC samples with zero delay
d45484
d45484
* Mon Mar 13 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-3
d45484
- fix seccomp filter for new glibc
d45484
d45484
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d45484
d45484
* Tue Jan 31 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-1
d45484
- update to 3.1
d45484
- enable seccomp support on more archs
d45484
- package chronyd sysconfig file
d45484
d45484
* Tue Jan 24 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.1-0.1.pre1
d45484
- update to 3.1-pre1
d45484
d45484
* Mon Jan 16 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.0-1
d45484
- update to 3.0
d45484
d45484
* Fri Jan 06 2017 Miroslav Lichvar <mlichvar@redhat.com> 3.0-0.3.pre3
d45484
- update to 3.0-pre3
d45484
d45484
* Thu Dec 15 2016 Miroslav Lichvar <mlichvar@redhat.com> 3.0-0.2.pre2
d45484
- update to 3.0-pre2
d45484
- enable support for MS-SNTP authentication in Samba
d45484
d45484
* Fri Dec 09 2016 Miroslav Lichvar <mlichvar@redhat.com> 3.0-0.1.pre1
d45484
- update to 3.0-pre1
d45484
d45484
* Mon Nov 21 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4.1-1
d45484
- update to 2.4.1
d45484
d45484
* Thu Oct 27 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-4
d45484
- avoid AVC denials in chrony-wait service (#1350815)
d45484
d45484
* Tue Sep 13 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-3
d45484
- fix chrony-helper to escape names of systemd units (#1374767)
d45484
d45484
* Tue Jun 28 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-2
d45484
- fix chrony-helper to exit with correct status (#1350531)
d45484
d45484
* Tue Jun 07 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-1
d45484
- update to 2.4
d45484
- don't require info
d45484
d45484
* Mon May 16 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.4-0.1.pre1
d45484
- update to 2.4-pre1
d45484
- extend chrony-helper to allow management of static sources (#1331655)
d45484
d45484
* Tue Feb 16 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.3-1
d45484
- update to 2.3
d45484
d45484
* Tue Feb 02 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.3-0.1.pre1
d45484
- update to 2.3-pre1
d45484
d45484
* Thu Jan 21 2016 Miroslav Lichvar <mlichvar@redhat.com> 2.2.1-1
d45484
- update to 2.2.1 (CVE-2016-1567)
d45484
- set NTP era split explicitly
d45484
d45484
* Mon Oct 19 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.2-1
d45484
- update to 2.2
d45484
d45484
* Fri Oct 09 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.2-0.2.pre2
d45484
- update to 2.2-pre2
d45484
- require libseccomp-devel on supported archs only
d45484
d45484
* Fri Oct 02 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.2-0.1.pre1
d45484
- update to 2.2-pre1
d45484
- enable seccomp support
d45484
- use weak dependency for timedatex on Fedora 24 and later
d45484
d45484
* Tue Jun 23 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.1.1-1
d45484
- update to 2.1.1
d45484
- add -n option to gzip command to not save timestamp
d45484
d45484
* Mon Jun 22 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.1-1
d45484
- update to 2.1
d45484
- extend chrony-helper to allow using servers from DNS SRV records (#1234406)
d45484
- set random seed in testing to get deterministic results
d45484
d45484
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-0.2.pre1
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d45484
d45484
* Wed Jun 10 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.1-0.1.pre1
d45484
- update to 2.1-pre1
d45484
d45484
* Mon Apr 27 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.0-1
d45484
- update to 2.0
d45484
d45484
* Wed Apr 08 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.0-0.3.pre2
d45484
- update to 2.0-pre2 (CVE-2015-1853 CVE-2015-1821 CVE-2015-1822)
d45484
d45484
* Thu Jan 29 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.0-0.2.pre1
d45484
- require timedatex (#1136905)
d45484
d45484
* Tue Jan 27 2015 Miroslav Lichvar <mlichvar@redhat.com> 2.0-0.1.pre1
d45484
- update to 2.0-pre1
d45484
d45484
* Thu Sep 11 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.31-1
d45484
- update to 1.31
d45484
- add servers from DHCP with iburst option by default
d45484
- use upstream configuration files and scripts
d45484
- don't package configuration examples
d45484
- compress chrony.txt
d45484
d45484
* Thu Aug 21 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.31-0.1.pre1
d45484
- update to 1.31-pre1
d45484
- use license macro if available
d45484
d45484
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-3
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d45484
d45484
* Fri Aug 15 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.30-2
d45484
- reconnect client sockets (#1124059)
d45484
d45484
* Tue Jul 01 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.30-1
d45484
- update to 1.30
d45484
- enable debug messages
d45484
d45484
* Mon Jun 09 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.30-0.1.pre1
d45484
- update to 1.30-pre1
d45484
- execute test suite
d45484
- avoid calling systemctl in helper script
d45484
- call chronyc directly from logrotate and NM dispatcher scripts
d45484
- add conflict with systemd-timesyncd service
d45484
d45484
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29.1-2
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d45484
d45484
* Fri Jan 31 2014 Miroslav Lichvar <mlichvar@redhat.com> 1.29.1-1
d45484
- update to 1.29.1 (CVE-2014-0021)
d45484
- replace hardening build flags with _hardened_build
d45484
d45484
* Tue Nov 19 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.29-3
d45484
- let systemd remove pid file (#974305)
d45484
d45484
* Thu Oct 03 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.29-2
d45484
- add ordering dependency to not start chronyd before ntpd stopped
d45484
d45484
* Thu Aug 08 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.29-1
d45484
- update to 1.29 (CVE-2012-4502, CVE-2012-4503)
d45484
d45484
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d45484
d45484
* Wed Jul 17 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.28-1
d45484
- update to 1.28
d45484
- change default makestep limit to 10 seconds
d45484
d45484
* Mon Jun 24 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.28-0.2.pre1
d45484
- buildrequire systemd-units
d45484
d45484
* Fri Jun 21 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.28-0.1.pre1
d45484
- update to 1.28-pre1
d45484
- listen for commands only on localhost by default
d45484
d45484
* Thu May 09 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.27-3
d45484
- disable chrony-wait service by default (#961047)
d45484
- drop old systemd scriptlets
d45484
- don't own ntp-units.d directory
d45484
- move files from /lib
d45484
- remove unncessary dependency on syslog target
d45484
d45484
* Tue Mar 12 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.27-2
d45484
- suppress error messages from tr when generating key (#907914)
d45484
- fix delta calculation with extreme frequency offsets
d45484
d45484
* Fri Feb 01 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.27-1
d45484
- update to 1.27
d45484
- start chrony-wait service with chronyd
d45484
- start chronyd service after sntp
d45484
- remove obsolete macros
d45484
d45484
* Tue Sep 11 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.27-0.5.pre1.git1ca844
d45484
- update to git snapshot 1ca844
d45484
- update systemd integration (#846303)
d45484
- use systemd macros if available (#850151)
d45484
- use correct vendor pool.ntp.org zone on RHEL (#845981)
d45484
- don't log output of chrony-wait service
d45484
d45484
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-0.4.pre1
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d45484
d45484
* Fri Apr 27 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.27-0.3.pre1
d45484
- update service file for systemd-timedated-ntp target (#816493)
d45484
d45484
* Fri Apr 06 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.27-0.2.pre1
d45484
  use systemctl is-active instead of status in chrony-helper (#794771)
d45484
d45484
* Tue Feb 28 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.27-0.1.pre1
d45484
- update to 1.27-pre1
d45484
- generate SHA1 command key instead of MD5
d45484
d45484
* Wed Feb 15 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.26-6.20110831gitb088b7
d45484
- remove old servers on DHCP update (#787042)
d45484
d45484
* Fri Feb 10 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.26-5.20110831gitb088b7
d45484
- improve chrony-helper to keep track of servers added from DHCP (#787042)
d45484
- fix dhclient script to always return with zero exit code (#767859)
d45484
d45484
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-4.20110831gitb088b7
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d45484
d45484
* Tue Sep 06 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.26-3.20110831gitb088b7
d45484
- update to git snapshot 20110831gitb088b7
d45484
- on first start generate password with 16 chars
d45484
- change systemd service type to forking
d45484
- add forced-command to chrony-helper (#735821)
d45484
d45484
* Mon Aug 15 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.26-2
d45484
- fix iburst with very high jitters and long delays
d45484
- use timepps header from pps-tools-devel
d45484
d45484
* Wed Jul 13 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.26-1
d45484
- update to 1.26
d45484
- read options from sysconfig file if it exists
d45484
d45484
* Fri Jun 24 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.26-0.1.pre1
d45484
- update to 1.26-pre1
d45484
- fix service name in %%triggerun
d45484
- drop SysV init script
d45484
- add chrony-wait service
d45484
d45484
* Fri May 06 2011 Bill Nottingham <notting@redhat.com> 1.25-2
d45484
- fix systemd scriptlets for the upgrade case
d45484
d45484
* Wed May 04 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.25-1
d45484
- update to 1.25
d45484
d45484
* Wed Apr 20 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.25-0.3.pre2
d45484
- update to 1.25-pre2
d45484
- link with -Wl,-z,relro,-z,now options
d45484
d45484
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-0.2.pre1
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d45484
d45484
* Tue Feb 01 2011 Miroslav Lichvar <mlichvar@redhat.com> 1.25-0.1.pre1
d45484
- update to 1.25-pre1
d45484
- use iburst, four pool servers, rtcsync, stratumweight in default config
d45484
- add systemd support
d45484
- drop sysconfig file 
d45484
- suppress install-info errors
d45484
d45484
* Thu Apr 29 2010 Miroslav Lichvar <mlichvar@redhat.com> 1.24-4.20100428git73d775
d45484
- update to 20100428git73d775
d45484
- replace initstepslew directive with makestep in default config
d45484
- add NetworkManager dispatcher script
d45484
- add dhclient script
d45484
- retry server/peer name resolution at least once to workaround
d45484
  NetworkManager race condition on boot
d45484
- don't verify chrony.keys
d45484
d45484
* Fri Mar 12 2010 Miroslav Lichvar <mlichvar@redhat.com> 1.24-3.20100302git5fb555
d45484
- update to snapshot 20100302git5fb555
d45484
- compile with PPS API support
d45484
d45484
* Thu Feb 04 2010 Miroslav Lichvar <mlichvar@redhat.com> 1.24-1
d45484
- update to 1.24 (#555367, CVE-2010-0292 CVE-2010-0293 CVE-2010-0294)
d45484
- modify default config
d45484
  - step clock on start if it is off by more than 100 seconds
d45484
  - disable client log
d45484
- build with -fPIE on sparc
d45484
d45484
* Tue Dec 15 2009 Miroslav Lichvar <mlichvar@redhat.com> 1.24-0.1.pre1
d45484
- update to 1.24-pre1
d45484
d45484
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-7.20081106gitbe42b4
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d45484
d45484
* Fri Jul 17 2009 Miroslav Lichvar <mlichvar@redhat.com> 1.23-6.20081106gitbe42b4
d45484
- switch to editline
d45484
- support arbitrary chronyc commands in init script
d45484
d45484
* Mon Jun 08 2009 Dan Horak <dan[at]danny.cz> 1.23-5.20081106gitbe42b4
d45484
- add patch with support for s390/s390x
d45484
d45484
* Mon Mar 09 2009 Miroslav Lichvar <mlichvar@redhat.com> 1.23-4.20081106gitbe42b4
d45484
- fix building with broken libcap header (#483548)
d45484
d45484
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3.20081106gitbe42b4
d45484
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d45484
d45484
* Wed Nov 19 2008 Miroslav Lichvar <mlichvar@redhat.com> 1.23-2.20081106gitbe42b4
d45484
- fix info uninstall
d45484
- generate random command key in init script
d45484
- support cyclelogs, online, offline commands in init script
d45484
- add logrotate script
d45484
d45484
* Tue Nov 11 2008 Miroslav Lichvar <mlichvar@redhat.com> 1.23-1.20081106gitbe42b4
d45484
- initial release