Blame SPECS/ntp.spec

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