Blame SPECS/chrony.spec

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