Blame SPECS/ntp.spec

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