Blame SPECS/ntp.spec

473877
Summary: The NTP daemon and utilities
473877
Name: ntp
473877
Version: 4.2.6p5
063937
Release: 25%{?dist}
473877
# primary license (COPYRIGHT) : MIT
473877
# ElectricFence/ (not used) : GPLv2
473877
# kernel/sys/ppsclock.h (not used) : BSD with advertising
473877
# include/ntif.h (not used) : BSD
473877
# include/rsa_md5.h : BSD with advertising
473877
# include/ntp_rfc2553.h : BSD with advertising
473877
# lib/isc/commandline.c (not used) : BSD with advertising
473877
# lib/isc/inet_aton.c (not used) : BSD with advertising
473877
# lib/isc/strtoul.c (not used) : BSD with advertising
473877
# lib/isc/unix/file.c : BSD with advertising
473877
# lib/isc/inet_aton.c (not used) : BSD with advertising
473877
# libntp/mktime.c : BSD with advertising
473877
# libntp/ntp_random.c : BSD with advertising
473877
# libntp/memmove.c : BSD with advertising
473877
# libntp/ntp_rfc2553.c : BSD with advertising
473877
# libntp/adjtimex.c (not used) : BSD
473877
# libparse/ : BSD
473877
# ntpd/refclock_jjy.c: MIT
473877
# ntpd/refclock_oncore.c : BEERWARE License (aka, Public Domain)
473877
# ntpd/refclock_palisade.c : BSD with advertising
473877
# ntpd/refclock_jupiter.c : BSD with advertising
473877
# ntpd/refclock_mx4200.c : BSD with advertising
473877
# ntpd/refclock_palisade.h : BSD with advertising
473877
# ntpstat-0.2/ : GPLv2
473877
# sntp/libopts/ (not used) : BSD or GPLv3+
473877
# util/ansi2knr.c (not used) : GPL+
473877
License: (MIT and BSD and BSD with advertising) and GPLv2
473877
Group: System Environment/Daemons
473877
Source0: http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-%{version}.tar.gz
473877
Source1: ntp.conf
473877
Source2: ntp.keys
473877
Source4: ntpd.sysconfig
473877
# http://people.redhat.com/rkeech/#ntpstat
473877
Source5: ntpstat-0.2.tgz
473877
Source6: ntp.step-tickers
473877
Source7: ntpdate.wrapper
473877
Source8: ntp.cryptopw
473877
Source9: ntpdate.sysconfig
473877
Source10: ntp.dhclient
473877
Source12: ntpd.service
473877
Source13: ntpdate.service
473877
Source14: ntp-wait.service
473877
Source15: sntp.service
473877
Source16: sntp.sysconfig
473877
473877
# ntpbz #802
473877
Patch1: ntp-4.2.6p1-sleep.patch
473877
# add support for dropping root to ntpdate
473877
Patch2: ntp-4.2.6p4-droproot.patch
473877
# ntpbz #779
473877
Patch3: ntp-4.2.6p3-bcast.patch
473877
# align buffer for control messages
473877
Patch4: ntp-4.2.6p1-cmsgalign.patch
473877
# link ntpd with -ffast-math on ia64
473877
Patch5: ntp-4.2.6p1-linkfastmath.patch
473877
# ntpbz #2294
473877
Patch6: ntp-4.2.6p5-fipsmd5.patch
473877
# ntpbz #759
473877
Patch7: ntp-4.2.6p1-retcode.patch
cdde2b
# ntpbz #2085
cdde2b
Patch8: ntp-4.2.6p5-rootdisp.patch
473877
# ntpbz #2309
473877
Patch9: ntp-4.2.6p5-hexpw.patch
473877
# ntpbz #898
473877
Patch10: ntp-4.2.6p4-htmldoc.patch
473877
# ntpbz #1402
473877
Patch11: ntp-4.2.6p5-updatebclient.patch
473877
# fix precision calculation on fast CPUs
473877
Patch12: ntp-4.2.4p7-getprecision.patch
473877
# ntpbz #1408
cdde2b
Patch13: ntp-4.2.6p5-logdefault.patch
473877
# add option -m to lock memory
473877
Patch14: ntp-4.2.6p5-mlock.patch
473877
# allow -u and -p options to be used twice (#639101)
473877
Patch15: ntp-4.2.6p5-multiopts.patch
473877
# ntpbz #2040
473877
Patch16: ntp-4.2.6p5-identlen.patch
473877
# ntpbz #1670
473877
Patch17: ntp-4.2.6p3-broadcastdelay.patch
473877
# ntpbz #1671
473877
Patch18: ntp-4.2.6p5-delaycalib.patch
473877
# ntpbz #2019
473877
Patch19: ntp-4.2.6p5-pwcipher.patch
473877
# ntpbz #2320
473877
Patch20: ntp-4.2.6p5-noservres.patch
cdde2b
# ntpbz #2506
cdde2b
Patch21: ntp-4.2.6p5-refreshroute.patch
6d61af
# ntpbz #2666
6d61af
Patch22: ntp-4.2.6p5-cve-2014-9294.patch
6d61af
# ntpbz #2665
6d61af
Patch23: ntp-4.2.6p5-cve-2014-9293.patch
6d61af
# ntpbz #2667
6d61af
Patch24: ntp-4.2.6p5-cve-2014-9295.patch
6d61af
# ntpbz #2670
6d61af
Patch25: ntp-4.2.6p5-cve-2014-9296.patch
6d3098
# ntpbz #2671
6d3098
Patch26: ntp-4.2.6p5-cve-2014-9297.patch
6d3098
# ntpbz #2672
6d3098
Patch27: ntp-4.2.6p5-cve-2014-9298.patch
6d3098
# ntpbz #2174
6d3098
Patch28: ntp-4.2.6p5-sourceport.patch
6d3098
# ntpbz #2612
6d3098
Patch29: ntp-4.2.6p5-monwarn.patch
6d3098
# ntpbz #1232
6d3098
Patch30: ntp-4.2.6p5-nanoshm.patch
6d3098
# ntpbz #2661
6d3098
Patch32: ntp-4.2.6p5-mreadvar.patch
6d3098
# ntpbz #730
6d3098
Patch33: ntp-4.2.6p5-rsaexp.patch
6d3098
# ntpbz #2537
6d3098
Patch34: ntp-4.2.6p5-keylen.patch
6d3098
# ntpbz #2627
6d3098
Patch35: ntp-4.2.6p5-shmperm.patch
fcbf71
# ntpbz #2745
fcbf71
Patch36: ntp-4.2.6p5-xleap.patch
6d3098
# ntpbz #2805
6d3098
Patch37: ntp-4.2.6p5-mcastjoin.patch
6d3098
# ntpbz #2763, ntpbz #2811
6d3098
Patch38: ntp-4.2.6p5-backfwdstep.patch
6d3098
# ntpbz #2779
6d3098
Patch39: ntp-4.2.6p5-cve-2015-1798.patch
6d3098
# ntpbz #2781
6d3098
Patch40: ntp-4.2.6p5-cve-2015-1799.patch
6d3098
# ntpbz #2797
6d3098
Patch41: ntp-4.2.6p5-cve-2015-3405.patch
6d3098
# ntpbz #2837
6d3098
Patch42: ntp-4.2.6p5-dscp.patch
6d3098
# ntpbz #2901
6d3098
Patch43: ntp-4.2.6p5-cve-2015-7704.patch
6d3098
# allow only one step larger than panic threshold with -g
6d3098
Patch44: ntp-4.2.6p5-cve-2015-5300.patch
063937
# ntpbz #2246
063937
Patch45: ntp-4.2.6p5-leapreset.patch
063937
# ntpbz #2081
063937
Patch46: ntp-4.2.6p5-rawstats.patch
063937
# ntpbz #2639, #2880
063937
Patch47: ntp-4.2.6p5-clockstate.patch
063937
# ntpbz #2851
063937
Patch48: ntp-4.2.6p5-restrict46.patch
063937
# ntpbz #1593
063937
Patch49: ntp-4.2.6p5-cve-2015-5194.patch
063937
# fix crash when referencing disabled statistic type
063937
Patch50: ntp-4.2.6p5-cve-2015-5195.patch
063937
# don't hang in sntp with crafted reply
063937
Patch51: ntp-4.2.6p5-cve-2015-5219.patch
063937
# ntpbz #2909
063937
Patch52: ntp-4.2.6p5-cve-2015-7701.patch
063937
# ntpbz #2899
063937
Patch53: ntp-4.2.6p5-cve-2015-7691_7692_7702.patch
063937
# ntpbz #2919
063937
Patch54: ntp-4.2.6p5-cve-2015-7852.patch
063937
# ntpbz #2902
063937
Patch55: ntp-4.2.6p5-cve-2015-7703.patch
272d0d
# ntpbz #2945
063937
Patch56: ntp-4.2.6p5-cve-2015-8138.patch
063937
# ntpbz #2939, #2940
063937
Patch57: ntp-4.2.6p5-cve-2015-7977_7978.patch
063937
# ntpbz #2948
063937
Patch58: ntp-4.2.6p5-cve-2015-8158.patch
063937
# ntpbz #2936
063937
Patch59: ntp-4.2.6p5-cve-2015-7974.patch
72fc97
# ntpbz #2942, ntpbz #3007
063937
Patch60: ntp-4.2.6p5-cve-2015-7979.patch
72fc97
# ntpbz #2978
063937
Patch61: ntp-4.2.6p5-cve-2016-1548.patch
72fc97
# ntpbz #3009
063937
Patch62: ntp-4.2.6p5-cve-2016-2518.patch
72fc97
# ntpbz #2879
063937
Patch63: ntp-4.2.6p5-cve-2016-1550.patch
473877
473877
# handle unknown clock types
063937
Patch100: ntpstat-0.2-clksrc.patch
473877
# process first packet in multipacket response
063937
Patch101: ntpstat-0.2-multipacket.patch
473877
# use current system variable names
063937
Patch102: ntpstat-0.2-sysvars.patch
473877
# print synchronization distance instead of dispersion
063937
Patch103: ntpstat-0.2-maxerror.patch
473877
# fix error bit checking
063937
Patch104: ntpstat-0.2-errorbit.patch
063937
# improve man page
063937
Patch105: ntpstat-0.2-manual.patch
473877
473877
URL: http://www.ntp.org
473877
Requires(post): systemd-units
473877
Requires(preun): systemd-units
473877
Requires(postun): systemd-units
473877
Requires: ntpdate = %{version}-%{release}
473877
BuildRequires: libcap-devel openssl-devel libedit-devel perl-HTML-Parser
473877
BuildRequires: pps-tools-devel autogen autogen-libopts-devel systemd-units
6d3098
BuildRequires: bison
473877
473877
%description
473877
The Network Time Protocol (NTP) is used to synchronize a computer's
473877
time with another reference time source. This package includes ntpd
473877
(a daemon which continuously adjusts system time) and utilities used
473877
to query and configure the ntpd daemon.
473877
473877
Perl scripts ntp-wait and ntptrace are in the ntp-perl package,
473877
ntpdate is in the ntpdate package and sntp is in the sntp package.
473877
The documentation is in the ntp-doc package.
473877
473877
%package perl
473877
Summary: NTP utilities written in Perl
473877
Group: Applications/System
473877
Requires: %{name} = %{version}-%{release}
473877
Requires(post): systemd-units
473877
Requires(preun): systemd-units
473877
Requires(postun): systemd-units
473877
# perl introduced in 4.2.4p4-7
473877
Obsoletes: %{name} < 4.2.4p4-7
473877
BuildArch: noarch
473877
%description perl
473877
This package contains Perl scripts ntp-wait and ntptrace.
473877
 
473877
%package -n ntpdate
473877
Summary: Utility to set the date and time via NTP
473877
Group: Applications/System
473877
Requires(pre): shadow-utils
473877
Requires(post): systemd-units
473877
Requires(preun): systemd-units
473877
Requires(postun): systemd-units
473877
473877
%description -n ntpdate
473877
ntpdate is a program for retrieving the date and time from
473877
NTP servers.
473877
473877
%package -n sntp
473877
Summary: Standard Simple Network Time Protocol program
473877
Group: Applications/System
473877
Requires(post): systemd-units
473877
Requires(preun): systemd-units
473877
Requires(postun): systemd-units
473877
473877
%description -n sntp
473877
sntp can be used as a SNTP client to query a NTP or SNTP server and either
473877
display the time or set the local system's time (given suitable privilege).
473877
It can be run as an interactive command or in a cron job.
473877
473877
%package doc
473877
Summary: NTP documentation
473877
Group: Documentation
473877
Requires: %{name} = %{version}-%{release}
473877
BuildArch: noarch
473877
%description doc
473877
This package contains NTP documentation in HTML format.
473877
 
473877
%global ntpdocdir %{_datadir}/doc/%{name}-%{version}
473877
473877
# pool.ntp.org vendor zone which will be used in ntp.conf
473877
%if 0%{!?vendorzone:1}
473877
%{?fedora: %global vendorzone fedora.}
258067
%{?rhel: %global vendorzone centos.}
473877
%endif
473877
473877
%prep
473877
%setup -q -a 5
473877
473877
%patch1 -p1 -b .sleep
473877
%patch2 -p1 -b .droproot
473877
%patch3 -p1 -b .bcast
473877
%patch4 -p1 -b .cmsgalign
473877
%ifarch ia64
473877
%patch5 -p1 -b .linkfastmath
473877
%endif
473877
%patch6 -p1 -b .fipsmd5
473877
%patch7 -p1 -b .retcode
cdde2b
%patch8 -p1 -b .rootdisp
473877
%patch9 -p1 -b .hexpw
473877
%patch10 -p1 -b .htmldoc
473877
%patch11 -p1 -b .updatebclient
473877
%patch12 -p1 -b .getprecision
473877
%patch13 -p1 -b .logdefault
473877
%patch14 -p1 -b .mlock
473877
%patch15 -p1 -b .multiopts
473877
%patch16 -p1 -b .identlen
473877
%patch17 -p1 -b .broadcastdelay
473877
%patch18 -p1 -b .delaycalib
473877
%patch19 -p1 -b .pwcipher
473877
%patch20 -p1 -b .noservres
cdde2b
%patch21 -p1 -b .refreshroute
6d61af
%patch22 -p1 -b .cve-2014-9294
6d61af
%patch23 -p1 -b .cve-2014-9293
6d61af
%patch24 -p1 -b .cve-2014-9295
6d61af
%patch25 -p1 -b .cve-2014-9296
6d3098
%patch26 -p1 -b .cve-2014-9297
6d3098
%patch27 -p1 -b .cve-2014-9298
6d3098
%patch28 -p1 -b .sourceport
6d3098
%patch29 -p1 -b .monwarn
6d3098
%patch30 -p1 -b .nanoshm
6d3098
%patch32 -p1 -b .mreadvar
6d3098
%patch33 -p1 -b .rsaexp
6d3098
%patch34 -p1 -b .keylen
6d3098
%patch35 -p1 -b .shmperm
fcbf71
%patch36 -p1 -b .xleap
6d3098
%patch37 -p1 -b .mcastjoin
6d3098
%patch38 -p1 -b .backfwdstep
6d3098
%patch39 -p1 -b .cve-2015-1798
6d3098
%patch40 -p1 -b .cve-2015-1799
6d3098
%patch41 -p1 -b .cve-2015-3405
6d3098
%patch42 -p1 -b .dscp
6d3098
%patch43 -p1 -b .cve-2015-7704
6d3098
%patch44 -p1 -b .cve-2015-5300
063937
%patch45 -p1 -b .leapreset
063937
%patch46 -p1 -b .rawstats
063937
%patch47 -p1 -b .clockstate
063937
%patch48 -p1 -b .restrict46
063937
%patch49 -p1 -b .cve-2015-5194
063937
%patch50 -p1 -b .cve-2015-5195
063937
%patch51 -p1 -b .cve-2015-5219
063937
%patch52 -p1 -b .cve-2015-7701
063937
%patch53 -p1 -b .cve-2015-7691_7692_7702
063937
%patch54 -p1 -b .cve-2015-7852
063937
%patch55 -p1 -b .cve-2015-7703
063937
%patch56 -p1 -b .cve-2015-8138
063937
%patch57 -p1 -b .cve-2015-7977_7978
063937
%patch58 -p1 -b .cve-2015-8158
063937
%patch59 -p1 -b .cve-2015-7974
063937
%patch60 -p1 -b .cve-2015-7979
063937
%patch61 -p1 -b .cve-2016-1548
063937
%patch62 -p1 -b .cve-2016-2518
063937
%patch63 -p1 -b .cve-2016-1550
473877
473877
# ntpstat patches
063937
%patch100 -p1 -b .clksrc
063937
%patch101 -p1 -b .multipacket
063937
%patch102 -p1 -b .sysvars
063937
%patch103 -p1 -b .maxerror
063937
%patch104 -p1 -b .errorbit
063937
%patch105 -p1 -b .manual
473877
473877
# set default path to sntp KoD database
6d3098
sed -i 's|/var/db/ntp-kod|%{_localstatedir}/lib/sntp/kod|' sntp/{sntp.1,main.c}
473877
473877
# fix line terminators
473877
sed -i 's|\r||g' html/scripts/{footer.txt,style.css}
473877
473877
for f in COPYRIGHT ChangeLog; do
473877
	iconv -f iso8859-1 -t utf8 -o ${f}{_,} && touch -r ${f}{,_} && mv -f ${f}{_,}
473877
done
473877
473877
# don't regenerate texinfo files as it breaks build with _smp_mflags
473877
touch ntpd/ntpd-opts.texi util/ntp-keygen-opts.texi
473877
473877
# autogen fails to regenerate man pages (#958908), but they won't be used anyway
473877
touch ntpd/ntpd.1 util/ntp-keygen.1
473877
6d3098
# make the build fail if the parsers are not regenerated
6d3098
rm ntpd/ntp_parser.{c,h}
6d3098
echo > ntpd/ntp_keyword.h
6d3098
473877
%build
473877
sed -i 's|$CFLAGS -Wstrict-overflow|$CFLAGS|' configure sntp/configure
473877
export CFLAGS="$RPM_OPT_FLAGS -fPIE -fno-strict-aliasing -fno-strict-overflow"
473877
export LDFLAGS="-pie -Wl,-z,relro,-z,now"
473877
%configure \
473877
	--sysconfdir=%{_sysconfdir}/ntp/crypto \
473877
	--with-openssl-libdir=%{_libdir} \
473877
	--without-ntpsnmpd \
473877
	--enable-all-clocks --enable-parse-clocks \
473877
	--enable-ntp-signd=%{_localstatedir}/run/ntp_signd \
473877
	--disable-local-libopts
473877
echo '#define KEYFILE "%{_sysconfdir}/ntp/keys"' >> ntpdate/ntpdate.h
473877
echo '#define NTP_VAR "%{_localstatedir}/log/ntpstats/"' >> config.h
473877
6d3098
make -C ntpd ntp_keyword.h
473877
make %{?_smp_mflags}
473877
473877
sed -i 's|$ntpq = "ntpq"|$ntpq = "%{_sbindir}/ntpq"|' scripts/ntptrace
473877
sed -i 's|ntpq -c |%{_sbindir}/ntpq -c |' scripts/ntp-wait
473877
473877
pushd html
473877
../scripts/html2man
473877
# remove adjacent blank lines
473877
sed -i 's/^[\t\ ]*$//;/./,/^$/!d' man/man*/*.[58]
473877
popd 
473877
473877
make -C ntpstat-0.2 CFLAGS="$CFLAGS"
473877
473877
%install
473877
make DESTDIR=$RPM_BUILD_ROOT bindir=%{_sbindir} install
473877
473877
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man{5,8}
473877
sed -i 's/sntp\.1/sntp\.8/' $RPM_BUILD_ROOT%{_mandir}/man1/sntp.1
473877
mv $RPM_BUILD_ROOT%{_mandir}/man{1/sntp.1,8/sntp.8}
473877
rm -rf $RPM_BUILD_ROOT%{_mandir}/man1
473877
473877
pushd ntpstat-0.2
473877
mkdir -p $RPM_BUILD_ROOT%{_bindir}
473877
install -m 755 ntpstat $RPM_BUILD_ROOT%{_bindir}
473877
install -m 644 ntpstat.1 $RPM_BUILD_ROOT%{_mandir}/man8/ntpstat.8
473877
popd
473877
473877
# fix section numbers
473877
sed -i 's/\(\.TH[a-zA-Z ]*\)[1-9]\(.*\)/\18\2/' $RPM_BUILD_ROOT%{_mandir}/man8/*.8
473877
cp -r html/man/man[58] $RPM_BUILD_ROOT%{_mandir}
473877
473877
mkdir -p $RPM_BUILD_ROOT%{ntpdocdir}
473877
cp -p COPYRIGHT ChangeLog NEWS $RPM_BUILD_ROOT%{ntpdocdir}
473877
473877
# prepare html documentation
473877
find html | grep -E '\.(html|css|txt|jpg|gif)$' | grep -v '/build/\|sntp' | \
473877
	cpio -pmd $RPM_BUILD_ROOT%{ntpdocdir}
473877
find $RPM_BUILD_ROOT%{ntpdocdir} -type f | xargs chmod 644
473877
find $RPM_BUILD_ROOT%{ntpdocdir} -type d | xargs chmod 755
473877
473877
pushd $RPM_BUILD_ROOT
473877
mkdir -p .%{_sysconfdir}/{ntp/crypto,sysconfig,dhcp/dhclient.d} .%{_libexecdir}
6d3098
mkdir -p .%{_localstatedir}/{lib/{s,}ntp,log/ntpstats} .%{_unitdir}
6d3098
touch .%{_localstatedir}/lib/{ntp/drift,sntp/kod}
473877
sed -e 's|VENDORZONE\.|%{vendorzone}|' \
473877
	-e 's|ETCNTP|%{_sysconfdir}/ntp|' \
473877
	-e 's|VARNTP|%{_localstatedir}/lib/ntp|' \
473877
	< %{SOURCE1} > .%{_sysconfdir}/ntp.conf
473877
touch -r %{SOURCE1} .%{_sysconfdir}/ntp.conf
473877
install -p -m600 %{SOURCE2} .%{_sysconfdir}/ntp/keys
473877
install -p -m755 %{SOURCE7} .%{_libexecdir}/ntpdate-wrapper
473877
install -p -m644 %{SOURCE4} .%{_sysconfdir}/sysconfig/ntpd
473877
install -p -m644 %{SOURCE9} .%{_sysconfdir}/sysconfig/ntpdate
473877
sed -e 's|VENDORZONE\.|%{vendorzone}|' \
473877
	< %{SOURCE6} > .%{_sysconfdir}/ntp/step-tickers
473877
touch -r %{SOURCE6} .%{_sysconfdir}/ntp/step-tickers
473877
sed -e 's|VENDORZONE\.|%{vendorzone}|' \
473877
	< %{SOURCE16} > .%{_sysconfdir}/sysconfig/sntp
473877
touch -r %{SOURCE16} .%{_sysconfdir}/sysconfig/sntp
473877
install -p -m600 %{SOURCE8} .%{_sysconfdir}/ntp/crypto/pw
473877
install -p -m755 %{SOURCE10} .%{_sysconfdir}/dhcp/dhclient.d/ntp.sh
473877
install -p -m644 %{SOURCE12} .%{_unitdir}/ntpd.service
473877
install -p -m644 %{SOURCE13} .%{_unitdir}/ntpdate.service
473877
install -p -m644 %{SOURCE14} .%{_unitdir}/ntp-wait.service
473877
install -p -m644 %{SOURCE15} .%{_unitdir}/sntp.service
473877
473877
mkdir .%{_prefix}/lib/systemd/ntp-units.d
473877
echo 'ntpd.service' > .%{_prefix}/lib/systemd/ntp-units.d/60-ntpd.list
473877
473877
popd
473877
473877
%pre -n ntpdate
473877
/usr/sbin/groupadd -g 38 ntp  2> /dev/null || :
473877
/usr/sbin/useradd -u 38 -g 38 -s /sbin/nologin -M -r -d %{_sysconfdir}/ntp ntp 2>/dev/null || :
473877
473877
%post
473877
%systemd_post ntpd.service
473877
473877
%post -n ntpdate
473877
%systemd_post ntpdate.service
473877
473877
%post -n sntp
473877
%systemd_post sntp.service
473877
473877
%post perl
473877
%systemd_post ntp-wait.service
473877
473877
%preun
473877
%systemd_preun ntpd.service
473877
473877
%preun -n ntpdate
473877
%systemd_preun ntpdate.service
473877
473877
%preun -n sntp
473877
%systemd_preun sntp.service
473877
473877
%preun perl
473877
%systemd_preun ntp-wait.service
473877
473877
%postun
473877
%systemd_postun_with_restart ntpd.service
473877
473877
%postun -n ntpdate
473877
%systemd_postun
473877
473877
%postun -n sntp
473877
%systemd_postun
473877
473877
%postun perl
473877
%systemd_postun
473877
473877
%files
473877
%dir %{ntpdocdir}
473877
%{ntpdocdir}/COPYRIGHT
473877
%{ntpdocdir}/ChangeLog
473877
%{ntpdocdir}/NEWS
473877
%{_sbindir}/ntp-keygen
473877
%{_sbindir}/ntpd
473877
%{_sbindir}/ntpdc
473877
%{_sbindir}/ntpq
473877
%{_sbindir}/ntptime
473877
%{_sbindir}/tickadj
473877
%config(noreplace) %{_sysconfdir}/sysconfig/ntpd
473877
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ntp.conf
473877
%dir %attr(750,root,ntp) %{_sysconfdir}/ntp/crypto
473877
%config(noreplace) %{_sysconfdir}/ntp/crypto/pw
473877
%dir %{_sysconfdir}/dhcp/dhclient.d
473877
%{_sysconfdir}/dhcp/dhclient.d/ntp.sh
473877
%dir %attr(-,ntp,ntp) %{_localstatedir}/lib/ntp
473877
%ghost %attr(644,ntp,ntp) %{_localstatedir}/lib/ntp/drift
473877
%dir %attr(-,ntp,ntp) %{_localstatedir}/log/ntpstats
473877
%{_bindir}/ntpstat
473877
%{_mandir}/man5/*.5*
473877
%{_mandir}/man8/ntp-keygen.8*
473877
%{_mandir}/man8/ntpd.8*
473877
%{_mandir}/man8/ntpdc.8*
473877
%{_mandir}/man8/ntpq.8*
473877
%{_mandir}/man8/ntpstat.8*
473877
%{_mandir}/man8/ntptime.8*
473877
%{_mandir}/man8/tickadj.8*
473877
%{_prefix}/lib/systemd/ntp-units.d/*.list
473877
%{_unitdir}/ntpd.service
473877
473877
%files perl
473877
%{_sbindir}/ntp-wait
473877
%{_sbindir}/ntptrace
473877
%{_mandir}/man8/ntp-wait.8*
473877
%{_mandir}/man8/ntptrace.8*
473877
%{_unitdir}/ntp-wait.service
473877
473877
%files -n ntpdate
473877
%doc COPYRIGHT
473877
%config(noreplace) %{_sysconfdir}/sysconfig/ntpdate
473877
%dir %{_sysconfdir}/ntp
473877
%config(noreplace) %{_sysconfdir}/ntp/keys
473877
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ntp/step-tickers
473877
%{_libexecdir}/ntpdate-wrapper
473877
%{_sbindir}/ntpdate
473877
%{_mandir}/man8/ntpdate.8*
473877
%{_unitdir}/ntpdate.service
473877
473877
%files -n sntp
473877
%doc sntp/COPYRIGHT
473877
%config(noreplace) %{_sysconfdir}/sysconfig/sntp
473877
%{_sbindir}/sntp
473877
%{_mandir}/man8/sntp.8*
6d3098
%dir %{_localstatedir}/lib/sntp
6d3098
%ghost %{_localstatedir}/lib/sntp/kod
473877
%{_unitdir}/sntp.service
473877
473877
%files doc
473877
%{ntpdocdir}/html
473877
473877
%changelog
258067
* Thu Nov 03 2016 CentOS Sources <bugs@centos.org> - 4.2.6p5-25.el7.centos
258067
- rebrand vendorzone
258067
063937
* Tue May 03 2016 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-25
72fc97
- don't allow spoofed packet to enable symmetric interleaved mode
72fc97
  (CVE-2016-1548)
72fc97
- check mode of new source in config command (CVE-2016-2518)
72fc97
- make MAC check resilient against timing attack (CVE-2016-1550)
9bc31e
063937
* Tue Mar 15 2016 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-24
063937
- fix crash with invalid logconfig command (CVE-2015-5194)
063937
- fix crash when referencing disabled statistic type (CVE-2015-5195)
063937
- don't hang in sntp with crafted reply (CVE-2015-5219)
063937
- don't crash with crafted autokey packet (CVE-2015-7691, CVE-2015-7692,
063937
  CVE-2015-7702)
063937
- fix memory leak with autokey (CVE-2015-7701)
063937
- don't allow setting driftfile and pidfile remotely (CVE-2015-7703)
063937
- don't crash in ntpq with crafted packet (CVE-2015-7852)
063937
- check key ID in packets authenticated with symmetric key (CVE-2015-7974)
063937
- fix crash with reslist command (CVE-2015-7977, CVE-2015-7978)
063937
- don't allow spoofed packets to demobilize associations (CVE-2015-7979,
063937
  CVE-2016-1547)
272d0d
- don't accept server/peer packets with zero origin timestamp (CVE-2015-8138)
063937
- fix infinite loop in ntpq/ntpdc (CVE-2015-8158)
063937
- fix resetting of leap status (#1242553)
063937
- extend rawstats log (#1242877)
063937
- report clock state changes related to leap seconds (#1242935)
063937
- allow -4/-6 on restrict lines with mask (#1304492)
063937
- explain synchronised state in ntpstat man page (#1309594)
334e5d
6d3098
* Fri Oct 16 2015 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-22
57c381
- check origin timestamp before accepting KoD RATE packet (CVE-2015-7704)
57c381
- allow only one step larger than panic threshold with -g (CVE-2015-5300)
ac22a1
6d3098
* Thu Jun 04 2015 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-20
6d3098
- validate lengths of values in extension fields (CVE-2014-9297)
6d3098
- drop packets with spoofed source address ::1 (CVE-2014-9298)
6d3098
- reject packets without MAC when authentication is enabled (CVE-2015-1798)
6d3098
- protect symmetric associations with symmetric key against DoS attack (CVE-2015-1799)
6d3098
- fix generation of MD5 keys with ntp-keygen on big-endian systems (CVE-2015-3405)
6d3098
- add option to set Differentiated Services Code Point (DSCP) (#1202828)
6d3098
- add nanosecond support to SHM refclock (#1117702)
6d3098
- allow creating all SHM segments with owner-only access (#1122012)
6d3098
- allow different thresholds for forward and backward step (#1193154)
6d3098
- allow symmetric keys up to 32 bytes again (#1191111)
fcbf71
- don't step clock for leap second with -x option (#1191122)
6d3098
- don't drop packets with source port below 123 (#1171640)
6d3098
- retry joining multicast groups (#1207014)
6d3098
- increase memlock limit again (#1053569)
6d3098
- warn when monitor can't be disabled due to limited restrict (#1191108)
6d3098
- use larger RSA exponent in ntp-keygen (#1191116)
6d3098
- fix crash in ntpq mreadvar command (#1180721)
6d3098
- move sntp kod database to allow SELinux labeling (#1082934)
6d3098
- fix typos in ntpd man page (#1195211)
6d3098
- improve documentation of restrict command (#1213953)
c054b8
6d61af
* Fri Dec 19 2014 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-19
6d61af
- don't generate weak control key for resolver (CVE-2014-9293)
6d61af
- don't generate weak MD5 keys in ntp-keygen (CVE-2014-9294)
6d61af
- fix buffer overflows via specially-crafted packets (CVE-2014-9295)
6d61af
- don't mobilize passive association when authentication fails (CVE-2014-9296)
dbacec
cdde2b
* Tue Feb 11 2014 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-18
cdde2b
- disable monitor in default ntp.conf (#1047856)
cdde2b
cdde2b
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.2.6p5-17
cdde2b
- Mass rebuild 2014-01-24
cdde2b
cdde2b
* Fri Jan 03 2014 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-16
cdde2b
- refresh peers on routing updates (#1048132)
cdde2b
- fix calculation of root dispersion (#1045377)
cdde2b
- remove unnecessary IPv6 restrict line from default ntp.conf (#1048255)
cdde2b
- remove kod from default restrict in ntp.conf (#1048255)
cdde2b
- update logconfig documentation for patched default (#1048252)
cdde2b
cdde2b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.2.6p5-15
cdde2b
- Mass rebuild 2013-12-27
cdde2b
473877
* Fri Oct 04 2013 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-14
473877
- remove ControlGroup in ntpd service (#999980)
473877
- don't build ntpsnmpd (#1015435)
473877
473877
* Mon Jul 15 2013 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-13
473877
- ignore duplicate servers from dhclient
473877
- don't use -Wstrict-overflow with -fno-strict-overflow
473877
- buildrequire systemd-units
473877
- remove pie test
473877
473877
* Thu May 02 2013 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-12
473877
- workaround failing autogen
473877
- move files from /lib
473877
- don't own ntp-units.d directory
473877
- drop old systemd scriptlets
473877
- fix dates in changelog
473877
473877
* Tue Apr 02 2013 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-11
473877
- avoid rereading /etc/services (#768804)
473877
- remove ntp-wait dependency from ntpd service (#906753)
473877
- add missing and remove unrecognized options in documentation
473877
- update comments in some config files
473877
473877
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.6p5-10
473877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
473877
473877
* Fri Jan 04 2013 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-9
473877
- compile with -fno-strict-overflow
473877
473877
* Wed Dec 05 2012 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-8
473877
- add option to set identity modulus size in ntp-keygen
473877
473877
* Fri Nov 23 2012 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-7
473877
- allow selection of cipher for private key files
473877
- set identity modulus size in ntp-keygen
473877
- create sntp subpackage
473877
- add sntp service
473877
- use system libopts
473877
- add Wants=ntp-wait.service to ntpd service
473877
- don't fail when /etc/sysconfig/ntpd is missing
473877
- modify mlock and multiopts patches to use autogen
473877
- make perl subpackage noarch
473877
473877
* Tue Nov 20 2012 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-6
473877
- bind broadcast client to new interfaces (#722690)
473877
- decode hex encoded passwords in ntpq/ntpdc
473877
- remove sample MD5 keys from default keys config
473877
473877
* Wed Oct 24 2012 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-5
473877
- fix crash in FIPS mode (#839280)
473877
- use systemd macros if available (#850235)
473877
- remove obsolete macros
473877
473877
* Tue Aug 07 2012 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-4
473877
- start ntpdate service after nss-lookup.target (#837486)
473877
- update systemd-timedated integration (#846077)
473877
473877
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.6p5-3
473877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
473877
473877
* Fri Apr 27 2012 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-2
473877
- update service file for systemd-timedated-ntp target (#816495)
473877
- allow service to set realtime scheduler (#810801)
473877
- drop comment enabling local driver in default config
473877
473877
* Tue Feb 28 2012 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p5-1
473877
- update to 4.2.6p5
473877
- switch service type to forking
473877
473877
* Tue Feb 07 2012 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p4-3
473877
- add default servers to step-tickers (#772389)
473877
- enable PrivateTmp in ntpd service (#782520)
473877
473877
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.6p4-2
473877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
473877
473877
* Thu Oct 06 2011 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p4-1
473877
- update to 4.2.6p4
473877
- buildrequire pps-tools-devel
473877
- fix errors in ntpstat found by coverity
473877
473877
* Sun Aug 14 2011 Rex Dieter <rdieter@fedoraproject.org> - 4.2.6p3-5.1
473877
- Rebuilt for rpm (#728707)
473877
473877
* Wed Jul 20 2011 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p3-5
473877
- drop SysV init scripts (#697526, #714705)
473877
- add ntp-wait service
473877
473877
* Fri May 06 2011 Bill Nottingham <notting@redhat.com> 4.2.6p3-4
473877
- fix systemd scriplets to properly handle upgrades
473877
473877
* Wed Apr 06 2011 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p3-3
473877
- pull in time-sync.target from ntpdate.service (Lennart Poettering)
473877
- link with -Wl,-z,relro,-z,now options
473877
- fix typo in ntpq man page (#664525)
473877
473877
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.6p3-2
473877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
473877
473877
* Fri Jan 07 2011 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p3-1
473877
- update to 4.2.6p3
473877
473877
* Thu Nov 25 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p3-0.1.rc10
473877
- update to 4.2.6p3-RC10
473877
- fix system peer unmarking when unreachable
473877
- fix broadcastdelay option
473877
- fix automatic broadcast delay calibration
473877
- fix ntp-keygen -V crash
473877
- avoid unnecessary timeout in ntpdate
473877
- drop nano patch
473877
- convert ChangeLog to UTF-8
473877
473877
* Fri Oct 01 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p2-7
473877
- allow -u and -p options to be used twice (#639101)
473877
473877
* Wed Sep 29 2010 jkeating - 4.2.6p2-6
473877
- Rebuilt for gcc bug 634757
473877
473877
* Wed Sep 15 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p2-5
473877
- remove systemctl dependency for now
473877
- suppress chkconfig output in %%post (#629285)
473877
- generate ntp_decode(5) man page (#632300)
473877
473877
* Fri Aug 27 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p2-4
473877
- fix default ntpdate sysconfig options (#445229)
473877
473877
* Thu Aug 26 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p2-3
473877
- update ntpdate service (#627395)
473877
473877
* Mon Aug 23 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p2-2
473877
- add support for systemd (#617328)
473877
- retry few times in ntpdate init script before giving up (#445229)
473877
- add fourth pool server to default ntp.conf and use iburst
473877
473877
* Tue Jul 13 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p2-1
473877
- update to 4.2.6p2
473877
- add COPYRIGHT to ntpdate subpackage
473877
473877
* Thu May 13 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p1-2
473877
- update ntpstat to use current system variable names (#588067)
473877
- print synchronization distance instead of dispersion in ntpstat
473877
- clarify ntpd -q description
473877
473877
* Mon Apr 12 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p1-1
473877
- update to 4.2.6p1
473877
473877
* Fri Mar 19 2010 Miroslav Lichvar <mlichvar@redhat.com> 4.2.6p1-0.1.rc5
473877
- update to 4.2.6p1-RC5
473877
- support NTPSERVERARGS variable in dhclient script (#558110)
473877
- don't use deprecated egrep (#548182)
473877
- don't verify ntp.conf (#481151)
473877
- compile with PPS API support
473877
- include new sntp
473877
473877
* Wed Dec 09 2009 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p8-1
473877
- update to 4.2.4p8 (#545557, CVE-2009-3563)
473877
473877
* Wed Oct 21 2009 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p7-7
473877
- add ntp-wait man page (#526161)
473877
- fix init scripts (#527987)
473877
473877
* Tue Sep 29 2009 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p7-6
473877
- generate tickadj man page (#526161)
473877
- fix precision calculation on fast CPUs
473877
473877
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 4.2.4p7-5
473877
- rebuilt with new openssl
473877
473877
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4p7-4
473877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
473877
473877
* Tue Jul 21 2009 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p7-3
473877
- handle system time jumps better
473877
- don't wake up every second for refclocks without timer
473877
- don't crash in ntpstat when unknown clock type is received (#505564)
473877
- make ntpstat process first packet in multipacket response
473877
- switch to editline
473877
- set pool.ntp.org vendor zone in spec (#512711)
473877
- compile with -fno-strict-aliasing
473877
 
473877
* Thu May 28 2009 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p7-2
473877
- fix frequency calculation when starting with no drift file
473877
- reduce phase adjustments beyond Allan intercept in daemon PLL
473877
473877
* Tue May 19 2009 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p7-1
473877
- update to 4.2.4p7 (CVE-2009-1252)
473877
- improve PLL response when kernel discipline is disabled
473877
- don't log STA_MODE changes
473877
- enable nanokernel support
473877
- allow minpoll 3
473877
- increase memlock limit
473877
- move html documentation to -doc subpackage (#492444)
473877
473877
* Mon Apr 20 2009 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p6-4
473877
- don't restart ntpd in dhclient script with every renewal
473877
- fix buffer overflow in ntpq (#490617)
473877
- check status in condrestart (#481261)
473877
- don't crash when compiled with HAVE_TIMER_CREATE (#486217)
473877
473877
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4p6-3
473877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
473877
473877
* Fri Jan 16 2009 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p6-2
473877
- rebuild for new openssl
473877
473877
* Wed Jan 14 2009 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p6-1
473877
- update to 4.2.4p6 (CVE-2009-0021)
473877
- include dhclient script (David Cantrell)
473877
- convert COPYRIGHT to UTF-8
473877
473877
* Wed Oct 08 2008 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p5-2
473877
- retry failed name resolution few times before giving up (#460561)
473877
- don't write drift file upon exit
473877
- run ntpq with full path in ntp-wait script
473877
473877
* Fri Aug 29 2008 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p5-1
473877
- update to 4.2.4p5
473877
- add support for fast interface updates
473877
473877
* Mon Jul 28 2008 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p4-7
473877
- reload resolv.conf after temporary failure in name resolution (#456743)
473877
- use clock_gettime
473877
- make subpackages for perl scripts and ntpdate (#452097, #456116)
473877
473877
* Mon Apr 07 2008 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p4-6
473877
- don't use /etc/sysconfig/clock in ntpdate init script
473877
473877
* Mon Mar 10 2008 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p4-5
473877
- fix building IPv6 support with new glibc-headers (#436713)
473877
- avoid unaligned memory access (#435301)
473877
- fix receiving broadcasts on 255.255.255.255
473877
473877
* Fri Feb 29 2008 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p4-4
473877
- reset kernel frequency when -x option is used
473877
- create separate init script for ntpdate
473877
- add note about paths and exit codes to ntpd man page
473877
473877
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.2.4p4-3
473877
- Autorebuild for GCC 4.3
473877
473877
* Wed Dec 05 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p4-2
473877
- rebuild for openssl bump
473877
473877
* Fri Oct 26 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p4-1
473877
- update to 4.2.4p4
473877
- fix default NTP version for outgoing packets in ntpdate man page
473877
  (#245408)
473877
- replace BSD with advertising code in ntpdc and ntpq
473877
473877
* Mon Sep 24 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p2-6
473877
- require perl (#274771)
473877
- don't fail when starting with no interfaces (#300371)
473877
473877
* Tue Aug 21 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p2-5
473877
- avoid use of uninitialized floating-point values in clock_select
473877
- update license tag (Tom "spot" Callaway)
473877
- drop sntp, MSNTP license is non-free
473877
473877
* Mon Aug 13 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p2-4
473877
- allow loopback to share non-loopback address (#249226)
473877
- require readline >= 5.2-3 (#250917)
473877
473877
* Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 4.2.4p2-3
473877
- Rebuild for RH #249435
473877
473877
* Tue Jul 24 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p2-2
473877
- ignore tentative addresses (#246297)
473877
- improve init script (#247003)
473877
- fix sleep patch
473877
- ease Autokey setup (#139673)
473877
  - change default keysdir to /etc/ntp/crypto
473877
  - set crypto password in /etc/ntp/crypto/pw
473877
  - don't use randfile if /dev/urandom is used by OpenSSL
473877
- change default statsdir to /var/log/ntpstats/, use statistics type
473877
  as default filename
473877
- package more doc files
473877
473877
* Thu Jun 21 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p2-1
473877
- update to 4.2.4p2
473877
473877
* Tue May 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p0-3
473877
- fix interface updates with -I or -L option (#240254)
473877
- accept multiple -I options
473877
- fix broadcast client/server to accept/allow sending
473877
  broadcasts on 255.255.255.255 (#226958)
473877
- fix return codes in init script (#240120)
473877
- exit with nonzero code if ntpd -q did not set clock (#240134)
473877
- drop revert452 patch, fixed in kernel 2.6.19
473877
- make with _smp_mflags
473877
473877
* Wed May 09 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p0-2
473877
- compile with crypto support on 64bit architectures (#239576)
473877
- update sleep patch
473877
473877
* Wed Mar 07 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4p0-1
473877
- update to 4.2.4p0
473877
- fix init script
473877
  - don't add second -g to ntpd options (#228424)
473877
  - update getopts
473877
  - skip all refclocks when parsing ntp.conf
473877
- spec cleanup
473877
473877
* Mon Jan 29 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4-4
473877
- don't wake up every second (#204748)
473877
- add option to enable memory locking (#195617)
473877
- fix broadcast client
473877
- use option values in ntp-keygen
473877
- improve man pages
473877
473877
* Tue Jan 23 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4-3
473877
- disable autoopts option preset mechanisms for ntpd
473877
- document -I option of ntpd
473877
- generate makewhatis friendly man pages
473877
473877
* Mon Jan 08 2007 Miroslav Lichvar <mlichvar@redhat.com> 4.2.4-1
473877
- update to 4.2.4 (#146884)
473877
- don't use local clock in default config
473877
- autogenerate man pages from HTML
473877
- clean up spec a bit
473877
473877
* Wed Nov 22 2006 Miroslav Lichvar <mlichvar@redhat.com> 4.2.2p4-2
473877
- pass additional options to ntpdate (#202204)
473877
473877
* Tue Nov 21 2006 Miroslav Lichvar <mlichvar@redhat.com> 4.2.2p4-1
473877
- update to 4.2.2p4
473877
- fix buffer overflow in WWV Audio driver (#216309)
473877
- don't mark init script as config
473877
473877
* Fri Aug 18 2006 Miroslav Lichvar <mlichvar@redhat.com> 4.2.2p1-3
473877
- use adjtime when offset is more than 0.5s (#154625)
473877
473877
* Mon Jul 24 2006 Miroslav Lichvar <mlichvar@redhat.com> 4.2.2p1-2
473877
- link ntpd with -ffast-math on ia64 (#147980)
473877
473877
* Tue Jul 18 2006 Miroslav Lichvar <mlichvar@redhat.com> 4.2.2p1-1
473877
- update to 4.2.2p1
473877
- add more examples to ntp.conf
473877
473877
* Thu Jul 06 2006 Miroslav Lichvar <mlichvar@redhat.com> 4.2.2-3
473877
- fix manycast support in ntpdate (#194329)
473877
- reply to manycast requests with null refid
473877
- enable mlockall (#195617)
473877
- correct threshold value in ntpdate manpage
473877
473877
* Wed Jun 14 2006 Miroslav Lichvar <mlichvar@redhat.com> 4.2.2-2
473877
- update initscript, ntp.conf, man pages
473877
- package sntp
473877
473877
* Mon Jun 12 2006 Miroslav Lichvar <mlichvar@redhat.com> 4.2.2-1
473877
- update to ntp-4.2.2
473877
- drop drift file upgrade script
473877
- use proper CFLAGS for ntpstat
473877
473877
* Thu May 11 2006 Miroslav Lichvar <mlichvar@redhat.com> - 4.2.0.a.20050816-14
473877
- modify ntp.conf, change default restrict, remove broadcastdelay,
473877
  use fedora.pool.ntp.org (#189667)
473877
- don't install drift file
473877
- remove unsupported options from ntptrace manpage (#137717)
473877
- fix default paths in manpages for ntp-keygen and ntpdate
473877
473877
* Fri Apr 07 2006 Miroslav Lichvar <mlichvar@redhat.com> - 4.2.0.a.20050816-13
473877
- add option to sync hwclock after ntpdate (#179571)
473877
473877
* Fri Mar 31 2006 Miroslav Lichvar <mlichvar@redhat.com> - 4.2.0.a.20050816-12
473877
- fix initscript:
473877
  - replace -U with -u in getopts (#187003)
473877
  - don't pass group to ntpdate -U argument and ignore -i in options (#142926)
473877
  - set ntpconf for -c
473877
  - remove -p 8 from ntpdate arguments
473877
  - don't call ntpdate when step-tickers doesn't contain anything useful
473877
    and -x isn't in options
473877
- fix default keyfile for ntpdate (#183196)
473877
473877
* Thu Feb 23 2006 Miroslav Lichvar <mlichvar@redhat.com> - 4.2.0.a.20050816-11
473877
- update man pages (#153195, #162856)
473877
- drop C-Frame-121, vsnprintf, minusTi and loconly patch
473877
- prevent segfault when loopback interface is not configured (#159056)
473877
- spec cleanup
473877
473877
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.2.0.a.20050816-10.2.1
473877
- bump again for double-long bug on ppc(64)
473877
473877
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.2.0.a.20050816-10.2
473877
- rebuilt for new gcc4.1 snapshot and glibc changes
473877
473877
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
473877
- rebuilt
473877
473877
* Wed Nov 9 2005 Petr Raszyk <praszyk@redhat.com> 4.2.0.a.20050816-10
473877
- ntpd does not submit his local clock (if there is no peer).
473877
  ntpdate->ntpd #163862 , Patch13: ntp-stable-4.2.0a-20050816-loconly.patch
473877
473877
* Wed Nov 2 2005 Petr Raszyk <praszyk@redhat.com> 4.2.0.a.20050816-9
473877
- Wrong parameter -T   -i
473877
- Patch ntp-stable-4.2.0a-20050816-minusTi.patch
473877
473877
* Mon Oct 31 2005 Petr Raszyk <praszyk@redhat.com> 4.2.0.a.20050816-3
473877
- A similar patch as ntp-4.0.99j-vsnprintf.patch in FEDORA CORE 4
473877
- (current patch is ntp-stable-4.2.0a-20050816-vsnprintf.patch)
473877
473877
* Tue Sep 27 2005 Petr Raszyk <praszyk@redhat.com> 4.2.0.a.20050816-2
473877
- Fix fails on upgrade, if ntpd is disabled (#166773)
473877
- A cosmetic patch. There are some comments and braces '{' '}' added.
473877
- One unprintable character was converted to octal-form .
473877
- It can be removed anytime (conversion of the cvs-projets for C-Frame 121,
473877
- (auto-debug, auto-trace for cfr-printnet server).
473877
473877
* Thu Aug 25 2005 Jindrich Novy <jnovy@redhat.com> 4.2.0.a.20050816-1
473877
- update to the latest stable 4.2.0.a.20050816
473877
- drop upstreamed .gcc4, .vsnprintf patches
473877
- remove obsolete .autofoo patch
473877
- make patch numbering less chaotic
473877
- don't package backup for .droproot patch
473877
473877
* Thu Apr 14 2005 Jiri Ryska <jryska@redhat.com> 4.2.0.a.20040617-8
473877
- fixed gid setting when ntpd started with -u flag (#147743)
473877
473877
* Tue Mar 08 2005 Jiri Ryska <jryska@redhat.com> 4.2.0.a.20040617-7
473877
- removed -Werror
473877
- patched for gcc4 and rebuilt
473877
473877
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> - 4.2.0.a.20040617-6
473877
- Rebuilt for new readline.
473877
473877
* Mon Dec 13 2004 Harald Hoyer <harald@redhat.com> - 4.2.0.a.20040617-5
473877
- patched ntp to build with -D_FORTIFYSOURCE=2 -Wall -Wextra -Werror
473877
473877
* Mon Oct 11 2004 Harald Hoyer <harald@redhat.com> - 4.2.0.a.20040617-4
473877
- removed firewall hole punching from the initscript; rely on iptables
473877
  ESTABLISHED,RELATED or manual firewall configuration
473877
473877
* Fri Oct  8 2004 Harald Hoyer <harald@redhat.com> - 4.2.0.a.20040617-3
473877
- improved postsection
473877
- BuildRequires readline-devel
473877
- PreReq grep
473877
473877
* Thu Sep 30 2004 Harald Hoyer <harald@redhat.com> - 4.2.0.a.20040617-2
473877
- set pool.ntp.org as the default timeserver pool
473877
473877
* Mon Sep 13 2004 Harald Hoyer <harald@redhat.com> - 4.2.0.a.20040617-1
473877
- version ntp-stable-4.2.0a-20040617
473877
473877
* Tue Aug 17 2004 Harald Hoyer <harald@redhat.com> - 4.2.0.a.20040616-4
473877
- added ntp-4.2.0-sbinpath.patch (bug 130536)
473877
473877
* Tue Aug 17 2004 Harald Hoyer <harald@redhat.com> - 4.2.0.a.20040616-3
473877
- added ntp-stable-4.2.0a-20040616-groups.patch (bug 130112)
473877
473877
* Thu Jul 29 2004 Harald Hoyer <harald@redhat.com> - 4.2.0.a.20040616-2
473877
- take chroot in account (bug 127252)
473877
473877
* Fri Jul 23 2004 Harald Hoyer <harald@redhat.com> - 4.2.0.a.20040616-1
473877
- new version ntp-stable-4.2.0a-20040616
473877
- removed most patches
473877
473877
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
473877
- rebuilt
473877
473877
* Thu Mar 11 2004 Harald Hoyer <harald@redhat.com> - 4.2.0-7
473877
- ntpgenkey fixed (117378)
473877
- fixed initscript to call ntpdate with -U (117894)
473877
473877
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
473877
- rebuilt
473877
473877
* Wed Jan 28 2004 Harald Hoyer <harald@faro.stuttgart.redhat.com> - 4.2.0-5
473877
- readded ntp-wait and ntptrace
473877
- new filter-requires to prevent perl dependency
473877
473877
* Mon Jan 26 2004 Harald Hoyer <harald@redhat.de> 4.2.0-4
473877
- added autofoo patch
473877
473877
* Tue Oct 28 2003 Harald Hoyer <harald@redhat.de> 4.2.0-3
473877
- removed libmd5 dependency
473877
- removed perl dependency
473877
473877
* Tue Oct 28 2003 Harald Hoyer <harald@redhat.de> 4.2.0-2
473877
- fixed initscript to use new FW chain name
473877
473877
* Mon Oct 27 2003 Harald Hoyer <harald@redhat.de> 4.2.0-1
473877
- 4.2.0
473877
- added PIE
473877
473877
* Thu Sep 11 2003 Harald Hoyer <harald@redhat.de> 4.1.2-4
473877
- changed ntp.conf driftfile path #104207
473877
473877
* Fri Aug 29 2003 Florian La Roche <Florian.LaRoche@redhat.de>
473877
- also build as non-root
473877
473877
* Thu Aug 28 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-2
473877
- added ntpstat
473877
- added manpages
473877
473877
* Tue Jul 01 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-1.rc3.5
473877
- move driftfile to /var
473877
473877
* Tue Jul 01 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-1.rc3.4
473877
- make a seperate directory for drift
473877
- security fix, patch ntp-4.1.1c-rc3-authkey.patch #96927
473877
 
473877
* Wed Jun 18 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-1.rc3.3
473877
- %%{_sysconfdir}/ntp/drift.TEMP needs to be writable by ntp #97754
473877
- no duplicate fw entries #97624
473877
473877
* Wed Jun 18 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-1.rc3.2
473877
- changed permissions of config files  
473877
473877
* Tue Jun 17 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-1.rc3.1
473877
- updated to rc3 
473877
473877
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
473877
- rebuilt
473877
473877
* Thu May 22 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-0.rc2.2
473877
- corrected pid file name in %%{_sysconfdir}/sysconfig/ntpd
473877
473877
* Mon Apr 28 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-0.rc2.1
473877
- update to 4.1.1rc2
473877
473877
* Tue Feb 25 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-0.rc1.3
473877
- better awk for timeservers #85090, #82713, #82714
473877
473877
* Thu Feb 13 2003 Harald Hoyer <harald@redhat.de> 0:4.1.2-0.rc1.2
473877
- added loopfilter patch, -x should work now!
473877
- removed slew warning
473877
473877
* Mon Feb 10 2003 Harald Hoyer <harald@redhat.de> 1:4.1.1-2
473877
- ok, messed up with the versions... added epoch :(
473877
473877
* Fri Feb 07 2003 Harald Hoyer <harald@redhat.de> 4.1.1-1
473877
- going back to stable 4.1.1 with the limit patch
473877
- added limit patch
473877
- added slew warning
473877
473877
* Thu Jan 30 2003 Harald Hoyer <harald@redhat.de> 4.1.73-2
473877
- removed exit on ntpdate fail, better add '-g' option
473877
473877
* Wed Jan 29 2003 Harald Hoyer <harald@redhat.de> 4.1.73-1
473877
- update to version 4.1.73
473877
- removed most of the patches
473877
- limit ntp_adjtime parameters
473877
473877
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
473877
- rebuilt
473877
473877
* Wed Nov 20 2002 Harald Hoyer <harald@redhat.de> 4.1.1b-1
473877
- updated to version 4.1.1b
473877
- improved initscript - use ntpdate on -x
473877
- improved initscript - open firewall only for timeservers
473877
- ntp-4.1.1a-adjtime.patch removed (already in source)
473877
- ntp-4.1.1a-mfp.patch removed (already in source)
473877
- ntp-4.0.99j-vsnprintf.patch removed (already in source)
473877
473877
* Tue Nov 19 2002 Harald Hoyer <harald@redhat.de> 4.1.1a-12
473877
- added adjtime patch #75558
473877
473877
* Wed Nov 13 2002 Harald Hoyer <harald@redhat.de>
473877
- more ntpd.init service description #77715
473877
473877
* Mon Nov 11 2002 Harald Hoyer <harald@redhat.de>
473877
- ntp-4.1.1a-mfp.patch fixes #77086
473877
473877
* Sat Aug 31 2002 Florian La Roche <Florian.LaRoche@redhat.de>
473877
- add option -n to initscript to avoid DNS lookups #72756
473877
473877
* Fri Aug 23 2002 Jeremy Katz <katzj@redhat.com>
473877
- service should fail to start ntpd if running ntpdate fails
473877
473877
* Tue Aug 20 2002 Harald Hoyer <harald@redhat.de>
473877
- added two more 'echo's in the initscript
473877
473877
* Thu Aug 15 2002 Harald Hoyer <harald@redhat.de>
473877
- added firewall opener in initscript
473877
473877
* Tue Jul 23 2002 Harald Hoyer <harald@redhat.de>
473877
- removed libelf dependency
473877
- removed stripping
473877
473877
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
473877
- automated rebuild
473877
473877
* Tue Jun 11 2002 Harald Hoyer <harald@redhat.de> 4.1.1a-3
473877
- refixed #46464
473877
- another genkeys/snprintf bugfix
473877
473877
* Wed May 22 2002 Harald Hoyer <harald@redhat.de> 4.1.1a-1
473877
- update to version 4.1.1a
473877
473877
* Mon Apr 08 2002 Harald Hoyer <harald@redhat.de> 4.1.1-1
473877
- update to 4.1.1 (changes are minimal)
473877
- more examples in default configuration
473877
473877
* Tue Apr 02 2002 Harald Hoyer <harald@redhat.de> 4.1.0b-6
473877
- more secure default configuration (#62238)
473877
473877
* Mon Jan 28 2002 Harald Hoyer <harald@redhat.de> 4.1.0b-5
473877
- more regex magic for the grep (#57837)
473877
473877
* Mon Jan 28 2002 Harald Hoyer <harald@redhat.de> 4.1.0b-4
473877
- created drift with dummy value #58294
473877
- grep for timeservers in ntp.conf also for ntpdate #57837
473877
- check return value of ntpdate #58836
473877
473877
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 4.1.0b-3
473877
- automated rebuild
473877
473877
* Tue Jan 08 2002 Harald Hoyer <harald@redhat.de> 4.1.0b-2
473877
- added --enable-all-clocks --enable-parse-clocks (#57761)
473877
473877
* Thu Dec 13 2001 Harald Hoyer <harald@redhat.de> 4.1.0b-1
473877
- bumped version
473877
- fixed #57391, #44580
473877
- set startup position to 58 after named
473877
473877
* Wed Sep 05 2001 Harald Hoyer <harald@redhat.de> 4.1.0-4
473877
- fixed #53184
473877
473877
* Tue Sep 04 2001 Harald Hoyer <harald@redhat.de> 4.1.0-3
473877
- fixed #53089 /bin/nologin -> /sbin/nologin
473877
473877
* Fri Aug 31 2001 Harald Hoyer <harald@redhat.de> 4.1.0-2
473877
- fixed #50247 thx to <enrico.scholz@informatik.tu-chemnitz.de>
473877
473877
* Thu Aug 30 2001 Harald Hoyer <harald@redhat.de> 4.1.0-1
473877
- wow, how stupid can a man be ;).. fixed #50698 
473877
- updated to 4.1.0 (changes are small and in non-critical regions)
473877
473877
* Wed Aug 29 2001 Harald Hoyer <harald@redhat.de> 4.0.99mrc2-5
473877
- really, really :) fixed #52763, #50698 and #50526
473877
473877
* Mon Aug 27 2001 Tim Powers <timp@redhat.com> 4.0.99mrc2-4
473877
- rebuilt against newer libcap
473877
- Copyright -> license
473877
473877
* Wed Jul 25 2001 Harald Hoyer <harald@redhat.com> 4.0.99mrc2-3
473877
- integrated droproot patch (#35653)
473877
- removed librt and libreadline dependency 
473877
473877
* Sat Jul  7 2001 Tim Powers <timp@redhat.com>
473877
- don't build build sgid root dirs
473877
473877
* Mon Jun 18 2001 Harald Hoyer <harald@redhat.de>
473877
- new snapshot
473877
- removed typos and security patch (already there)
473877
- commented multicastclient in config file
473877
473877
* Thu Jun 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
473877
- call libtoolize to compile on newer archs
473877
473877
* Mon Apr  9 2001 Preston Brown <pbrown@redhat.com>
473877
- remove ghost files make RHN happy
473877
- modify initscript to match accordingly
473877
473877
* Fri Apr  6 2001 Pekka Savola <pekkas@netcore.fi>
473877
- Add the remote root exploit patch (based on ntp-hackers).
473877
- Enhance droproot patch (more documentation, etc.) <Jarno.Huuskonen@uku.fi>
473877
- Tweak the droproot patch to include sys/prctl.h, not linux/prctl.h
473877
(implicit declarations)
473877
- Remote groupdel commands, shouldn't be needed.
473877
- Removed -Wcast-qual and -Wconversion due to excessive warnings (hackish).
473877
- Make ntp compilable with both glibc 2.1 and 2.2.x (very dirty hack)
473877
- Add %%{_sysconfdir}/sysconfig/ntpd which drops root privs by default
473877
473877
* Thu Apr  5 2001 Preston Brown <pbrown@redhat.com>
473877
- security patch for ntpd
473877
473877
* Mon Mar 26 2001 Preston Brown <pbrown@redhat.com>
473877
- don't run configure macro twice (#32804)
473877
473877
* Sun Mar 25 2001 Pekka Savola <pekkas@netcore.fi>
473877
- require/buildprereq libcap/libcap-devel
473877
- use 'ntp' user, tune the pre/post scripts, %%files
473877
- add $OPTIONS to the init script
473877
473877
* Tue Mar 20 2001 Jarno Huuskonen <Jarno.Huuskonen@uku.fi>
473877
- droproot/caps patch
473877
- add ntpd user in pre
473877
- make %%{_sysconfdir}/ntp ntpd writable
473877
473877
* Mon Mar  5 2001 Preston Brown <pbrown@redhat.com>
473877
- allow comments in %%{_sysconfdir}/ntp/step-tickers file (#28786).
473877
- need patch0 (glibc patch) on ia64 too
473877
473877
* Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
473877
- also set prog=ntpd in initscript
473877
473877
* Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
473877
- use "$prog" instead of "$0" for the init script
473877
473877
* Thu Feb  8 2001 Preston Brown <pbrown@redhat.com>
473877
- i18n-neutral .init script (#26525)
473877
473877
* Tue Feb  6 2001 Preston Brown <pbrown@redhat.com>
473877
- use gethostbyname on addresses in %%{_sysconfdir}/ntp.conf for ntptime command (#26250)
473877
473877
* Mon Feb  5 2001 Preston Brown <pbrown@redhat.com>
473877
- start earlier and stop later (#23530)
473877
473877
* Mon Feb  5 2001 Bernhard Rosenkraenzer <bero@redhat.com>
473877
- i18nize init script (#26078)
473877
473877
* Sat Jan  6 2001 Jeff Johnson <jbj@redhat.com>
473877
- typo in ntp.conf (#23173).
473877
473877
* Mon Dec 11 2000 Karsten Hopp <karsten@redhat.de>
473877
- rebuilt to fix permissions of /usr/share/doc/ntp-xxx
473877
473877
* Thu Nov  2 2000 Jeff Johnson <jbj@redhat.com>
473877
- correct mis-spellings in ntpq.htm (#20007).
473877
473877
* Thu Oct 19 2000 Jeff Johnson <jbj@redhat.com>
473877
- add %%ghost %%{_sysconfdir}/ntp/drift (#15222).
473877
473877
* Wed Oct 18 2000 Jeff Johnson <jbj@redhat.com>
473877
- comment out default values for keys, warn about starting with -A (#19316).
473877
- take out -A from ntpd startup as well.
473877
- update to 4.0.99k.
473877
473877
* Wed Aug 23 2000 Jeff Johnson <jbj@redhat.com>
473877
- use vsnprintf rather than vsprintf (#16676).
473877
473877
* Mon Aug 14 2000 Jeff Johnson <jbj@redhat.com>
473877
- remove Conflicts: so that the installer is happy.
473877
473877
* Tue Jul 25 2000 Jeff Johnson <jbj@redhat.com>
473877
- workaround glibc-2.1.90 lossage for now.
473877
473877
* Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
473877
- move initscript back
473877
473877
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
473877
- automatic rebuild
473877
473877
* Mon Jun 26 2000 Preston Brown <pbrown@redhat.com>
473877
- move and update init script, update post/preun/postun scripts
473877
473877
* Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
473877
- noreplace ntp.conf,keys files
473877
473877
* Mon Jun 12 2000 Jeff Johnson <jbj@redhat.com>
473877
- Create 4.0.99j package.
473877
- FHS packaging.