Blame SPECS/chrony.spec

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