]> git.pld-linux.org Git - packages/ntp.git/blame - ntp.spec
- package remaining files, added remaining pl
[packages/ntp.git] / ntp.spec
CommitLineData
90a82b10 1# TODO:
a4cc90b2
ER
2# - enable and package ntpdsim?
3# - net-snmp-ntpd needs initscript
6e00857d 4# - update FC patches
8f6c2b65
JK
5#
6# Conditional build:
7%bcond_without avahi # disable DNS-SD support via Avahi
a4cc90b2 8
df3fadd8 9%include /usr/lib/rpm/macros.perl
71bab42e 10Summary: Network Time Protocol utilities
fcc994b7
ER
11Summary(pl.UTF-8): Narzędzia do synchronizacji czasu (Network Time Protocol)
12Summary(pt_BR.UTF-8): Network Time Protocol versão 4
45771d3d 13Name: ntp
6e00857d
AM
14Version: 4.2.8
15Release: 0.1
a030fe3d 16License: distributable
aa729c5d 17Group: Networking/Daemons
5aa7cc17 18Source0: http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/%{name}-%{version}.tar.gz
6e00857d 19# Source0-md5: 6972a626be6150db8cfbd0b63d8719e7
28dfddc3 20Source1: %{name}.conf
21Source2: %{name}.keys
39873f43
ER
22Source3: %{name}d.init
23Source4: %{name}d.sysconfig
24Source5: %{name}date.init
25Source6: %{name}date.sysconfig
bc6615d5
ER
26Source7: %{name}-manpages.tar.gz
27# Source7-md5: 208fcc9019e19ab26d28e4597290bffb
299584e5
ER
28Source8: %{name}.upstart
29Source9: %{name}date.upstart
30Source10: %{name}date-wrapper
31Source11: %{name}d.service
32Source12: %{name}date.service
87172492 33Source13: http://www.ietf.org/timezones/data/leap-seconds.list
db90c4a2 34# Source13-md5: e99a84cf28b14c77fba76c05565604ac
6e00857d 35Patch0: %{name}-build.patch
dbdd74ae 36Patch1: %{name}-no_libelf.patch
262e8067 37Patch2: %{name}-ipv6.patch
0ffcfbfc
KK
38Patch3: %{name}-nano.patch
39Patch4: %{name}-no_avahi.patch
a8809dbd
ER
40# FC patches + 100
41Patch101: %{name}-4.2.6p1-sleep.patch
42Patch102: %{name}-4.2.6p1-droproot.patch
43Patch103: %{name}-4.2.6p1-bcast.patch
44Patch104: %{name}-4.2.6p1-cmsgalign.patch
45Patch105: %{name}-4.2.6p1-linkfastmath.patch
46Patch106: %{name}-4.2.6p1-tentative.patch
47Patch107: %{name}-4.2.6p1-retcode.patch
48Patch108: %{name}-4.2.6p1-rtnetlink.patch
15931ca5
AG
49Patch109: %{name}-4.2.4p7-getprecision.patch
50Patch110: %{name}-4.2.6p1-logdefault.patch
51Patch111: %{name}-4.2.6p1-mlock.patch
52Patch112: %{name}-4.2.6p3-broadcastdelay.patch
6cd8a392 53URL: http://www.ntp.org/
8338fb6d 54BuildRequires: autoconf
6e00857d 55BuildRequires: autogen-devel
1ef6c8b4 56BuildRequires: automake
8f6c2b65 57%{?with_avahi:BuildRequires: avahi-compat-libdns_sd-devel}
61dbaaf1 58BuildRequires: libcap-devel
6e00857d 59BuildRequires: libevent-devel
8ee97dcb 60BuildRequires: libnl-devel
6e00857d 61BuildRequires: libseccomp-devel
8338fb6d 62BuildRequires: libtool
5ecb988f 63BuildRequires: net-snmp-devel
e35272e3 64BuildRequires: openssl-devel >= 0.9.7d
28341528 65BuildRequires: pciutils-devel
ba10b9ba 66BuildRequires: readline-devel >= 4.2
df3fadd8 67BuildRequires: rpm-perlprov >= 4.1-13
034cfc5e 68BuildRequires: rpmbuild(macros) >= 1.626
71bab42e 69BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71%define _sysconfdir /etc/ntp
72%define _bindir %{_sbindir}
a4cc90b2 73%define mibdir %{_datadir}/mibs
71bab42e 74
e24d986a 75%description
28dfddc3 76The Network Time Protocol (NTP) is used to synchronize a computer's
77time with another reference time source. The ntp package contains
78utilities and daemons which will synchronize your computer's time to
a47685aa 79Coordinated Universal Time (UTC) via the NTP protocol and NTP servers.
71bab42e 80
00337413
JR
81%description -l pl.UTF-8
82Network Time Protocol (NTP) służy do synchronizacji czasu komputera z
83innym, wzorcowym źródłem czasu. Pakiet ntp zawiera narzędzia i demony
84służące do dokładnego synchronizowania czasu komputera według czasu
cb15c3e4 85uniwersalnego (UTC) poprzez protokół NTP z serwerami NTP.
71bab42e 86
00337413
JR
87%description -l pt_BR.UTF-8
88Esta é a versão 4 do Network Time Protocol (NTP). Este protocolo é
89utilizado para sincronizar o relógio do computador com uma outra
90referência de horário. Este pacote contém utilitários e servidores que
91sincronizarão o relógio do seu computador com o horário universal
92(UTC) através do protocolo NTP e utilizando servidores NTP públicos.
608ad171 93
00337413
JR
94Instale o pacote ntp se você necessitar de ferramentas para manter o
95relógio do seu computador constantemente atualizado.
608ad171 96
cb15c3e4
ER
97%package -n ntpd
98Summary: The NTP daemon
99Summary(pl.UTF-8): Narzędzia do synchronizacji czasu (Network Time Protocol)
100Summary(pt_BR.UTF-8): Network Time Protocol versão 4
101Group: Daemons
102Requires(post,preun): /sbin/chkconfig
932bc1ee
ER
103Requires(postun): /usr/sbin/groupdel
104Requires(postun): /usr/sbin/userdel
105Requires(pre): /bin/id
106Requires(pre): /usr/bin/getgid
107Requires(pre): /usr/sbin/groupadd
108Requires(pre): /usr/sbin/useradd
6ff9635b 109Requires(post,preun,postun): systemd-units >= 38
0d2671b6 110Requires: rc-scripts >= 0.4.3.0
6ff9635b 111Requires: systemd-units >= 38
932bc1ee 112Provides: group(ntp)
cb15c3e4
ER
113Provides: ntp = %{version}-%{release}
114Provides: ntpdaemon
932bc1ee 115Provides: user(ntp)
f6fec3df 116Obsoletes: ntp < 4.2.4p8-6
cb15c3e4
ER
117Obsoletes: ntpdaemon
118Obsoletes: openntpd
119Obsoletes: xntp3
120
121%description -n ntpd
122The Network Time Protocol (NTP) is used to synchronize a computer's
123time with another reference time source. The ntp package contains
124utilities and daemons which will synchronize your computer's time to
125Coordinated Universal Time (UTC) via the NTP protocol and NTP servers.
126
127This package includes ntpd (a daemon which continuously adjusts system
128time)
129
130%description -n ntpd -l pl.UTF-8
131Network Time Protocol (NTP) służy do synchronizacji czasu komputera z
132innym, wzorcowym źródłem czasu. Pakiet ntp zawiera narzędzia i demony
133służące do dokładnego synchronizowania czasu komputera według czasu
134uniwersalnego (UTC) poprzez protokół NTP z serwerami NTP.
135
136Pakiet ntp zawiera ntpd (demona, który w sposób ciągły aktualizuje
137czas systemowy)
138
139%description -n ntpd -l pt_BR.UTF-8
140Esta é a versão 4 do Network Time Protocol (NTP). Este protocolo é
141utilizado para sincronizar o relógio do computador com uma outra
142referência de horário. Este pacote contém utilitários e servidores que
143sincronizarão o relógio do seu computador com o horário universal
144(UTC) através do protocolo NTP e utilizando servidores NTP públicos.
145
4aef70db
JR
146%package -n ntpd-upstart
147Summary: Upstart job description for the NTP daemon
148Summary(pl.UTF-8): Opis zadania Upstart dla demona NTP
149Group: Daemons
150Requires: ntpd = %{version}-%{release}
151Requires: upstart >= 0.6
152
153%description -n ntpd-upstart
154Upstart job description for the NTP daemon.
155
156%description -n ntpd-upstart -l pl.UTF-8
157Opis zadania Upstart dla demona NTP.
158
cb15c3e4
ER
159%package -n ntpdate
160Summary: Utility to set the date and time via NTP
fcc994b7 161Summary(pl.UTF-8): Klient do synchronizacji czasu po NTP (Network Time Protocol)
df3fadd8 162Group: Applications/Networking
5acc7945 163Requires(post,preun): /sbin/chkconfig
932bc1ee
ER
164Requires(postun): /usr/sbin/groupdel
165Requires(postun): /usr/sbin/userdel
166Requires(pre): /bin/id
167Requires(pre): /usr/bin/getgid
168Requires(pre): /usr/sbin/groupadd
169Requires(pre): /usr/sbin/useradd
6ff9635b 170Requires(post,preun,postun): systemd-units >= 38
b2073411 171Requires: rc-scripts >= 0.4.3.0
6ff9635b 172Requires: systemd-units >= 38
92517d76
ER
173Provides: group(ntp)
174Provides: user(ntp)
691bd31f 175Conflicts: ntp < 4.2.0-3
cb15c3e4
ER
176# for upgrades
177Provides: ntp-client = %{version}-%{release}
f6fec3df 178Obsoletes: ntp-client < 4.2.4p8-6
92517d76
ER
179# virtual
180Provides: ntpclient
181Obsoletes: ntpclient
e1e25342 182
cb15c3e4
ER
183%description -n ntpdate
184ntpdate is a program for retrieving the date and time from NTP
185servers.
e1e25342 186
cb15c3e4 187%description -n ntpdate -l pl.UTF-8
c771054a 188Klient do synchronizacji czasu po NTP (Network Time Protocol).
e1e25342 189
4aef70db
JR
190%package -n ntpdate-upstart
191Summary: Upstart job description for NTP client
192Summary(pl.UTF-8): Opis zadania Upstart dla klienta NTP
193Group: Daemons
194Requires: ntpdate = %{version}-%{release}
195Requires: upstart >= 0.6
196
197%description -n ntpdate-upstart
198Upstart job description for the NTP client.
199
200%description -n ntpdate-upstart -l pl.UTF-8
201Opis zadania Upstart dla klienta NTP.
202
a4cc90b2
ER
203%package -n mibs-ntp
204Summary: MIBs for NTP time entities
7599a442 205Summary(pl.UTF-8): Pliki MIB dla elementów czasu NTP
a4cc90b2
ER
206Group: Applications/System
207Requires: mibs-dirs
208
209%description -n mibs-ntp
210The Management Information Base for NTP time entities.
211
7599a442
JB
212%description -n mibs-ntp -l pl.UTF-8
213Pliki MIB (Management Information Base) dla elementów czasu NTP
214
a4cc90b2
ER
215%package -n net-snmp-ntpd
216Summary: NTP SNMP subagent for Net-SNMP
7599a442 217Summary(pl.UTF-8): Podagent SNMP NTP dla usługi Net-SNMP
a4cc90b2
ER
218Group: Daemons
219Requires(post,preun): /sbin/chkconfig
220Requires: net-snmp
221Requires: rc-scripts
222Suggests: mibs-ntp
223
224%description -n net-snmp-ntpd
225NTP SNMP AgentX subagent for Net-SNMP.
226
7599a442
JB
227%description -n net-snmp-ntpd -l pl.UTF-8
228Podagent SNMP AgentX NTP dla usługi Net-SNMP.
229
2cf5b026
ER
230%package tools
231Summary: NTP tools
7599a442 232Summary(pl.UTF-8): Narzędzia NTP
2cf5b026 233Group: Applications/Networking
a9d9ccd1 234Obsoletes: ntp-ntptrace
2cf5b026
ER
235
236%description tools
7599a442 237This package contains NTP tools:
2cf5b026
ER
238- ntptrace: Trace a chain of NTP servers back to the primary source
239- ntp-wait: Wait for NTP server to synchronize
7599a442
JB
240- calc_tickadj: Calculate optimal value for tick given ntp drift file
241
242%description tools -l pl.UTF-8
243Ten pakiet zawiera narzędzia NTP:
244- ntptrace: śledzenie łańcucha serwerów NTP aż do oryginalnego źródła
245- ntp-wait: oczekiwanie na synchronizację serwera NTP
246- calc_tickadj: obliczenie optymalnej wartości dla pliku dryfu ntp
2cf5b026 247
82f74dd4
ER
248%package doc-html
249Summary: HTML documentation for ntp
250Summary(pl.UTF-8): Dokumentacja HTML dla ntp
251Summary(pt_BR.UTF-8): Documentação adicional para o pacote ntp
252Group: Documentation
253
254%description doc-html
255HTML documentation for ntp.
256
257%description doc-html -l pl.UTF-8
258Dokumentacja do ntp w HTML.
259
260%description doc-html -l pt_BR.UTF-8
261Este pacote contém documentação adicional sobre o NTP versão 4.
262
e24d986a 263%prep
bc6615d5 264%setup -q -a7
29f00086 265%patch0 -p1
be68fcb1 266%patch1 -p1
262e8067 267%patch2 -p1
e35272e3 268%patch3 -p1
0ffcfbfc 269%{!?with_avahi:%patch4 -p1}
71bab42e 270
23bc47dc 271## FC patches
6e00857d 272#%patch101 -p1
eb371d2a 273%patch102 -p1
6e00857d 274#%patch103 -p1
eb371d2a
ER
275%patch104 -p1
276%patch105 -p1
277#%patch106 -p1 looks like obsolete
278%patch107 -p1
279%patch108 -p1
280#%patch109 -p1 upstream already decreased to 20e-9, not needed then?
6e00857d
AM
281#%patch110 -p1
282#%patch111 -p1
283#%patch112 -p1
6fca7355 284
2c17d85d 285echo 'AM_CONDITIONAL([NEED_LIBOPTS], false)' >> configure.ac
740223e3 286echo 'AM_CONDITIONAL([NEED_LIBOPTS], false)' >> sntp/configure.ac
2c17d85d 287
6e00857d
AM
288rm sntp/m4/{lt*,libtool}.m4 sntp/libevent/m4/{lt*,libtool}.m4
289
71bab42e 290%build
e35272e3 291%{__libtoolize}
6e00857d 292%{__aclocal} -I sntp/m4 -I sntp/libopts/m4 -I sntp/libevent/m4
e35272e3
JK
293%{__autoconf}
294%{__automake}
506da0ac 295cd sntp
296%{__libtoolize}
6e00857d 297%{__aclocal} -I libopts/m4 -I libevent/m4
506da0ac 298%{__autoconf}
299%{__automake}
506da0ac 300cd ..
740223e3 301
90a82b10 302CPPFLAGS="%{rpmcppflags} -I/usr/include/readline"
636118eb 303%configure \
2c17d85d
AM
304 --with-binsubdir=sbin \
305 --enable-linuxcaps \
306 --enable-getifaddrs \
6e00857d 307 --enable-libseccomp \
2c17d85d 308 --enable-ipv6 \
784e30ae 309 --enable-ntp-signd \
90a82b10 310 --with-lineeditlibs=readline \
6e00857d
AM
311 --with-crypto=openssl \
312 --disable-local-libopts \
313 --disable-local-libevent
deb05b4c 314
e24d986a 315%{__make}
71bab42e 316
317%install
318rm -rf $RPM_BUILD_ROOT
4aef70db 319install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/man1,%{systemdunitdir}} \
ba8c171f 320 $RPM_BUILD_ROOT%{_libexecdir}/systemd/ntp-units.d \
4aef70db 321 $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,cron.hourly,init}
71bab42e 322
1bf23378 323%{__make} install \
324 DESTDIR=$RPM_BUILD_ROOT
71bab42e 325
299584e5
ER
326cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/ntp.conf
327cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/keys
87172492 328cp -p %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/ntp.leapseconds
299584e5 329
740223e3 330install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/ntpd
cb15c3e4 331install -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/ntpdate
299584e5
ER
332cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/ntpd
333cp -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/ntpdate
ef83998a
ER
334cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/init/ntpd.conf
335cp -p %{SOURCE9} $RPM_BUILD_ROOT/etc/init/ntpdate.conf
4aef70db 336
a114c2aa
ER
337install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sbindir}/ntpdate-wrapper
338cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}/ntpd.service
339cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/ntpdate.service
ba8c171f
AM
340echo 'ntpd.service' > \
341 $RPM_BUILD_ROOT%{_libexecdir}/systemd/ntp-units.d/50-ntpd.list
4aef70db 342
299584e5 343cp -p man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
71bab42e 344
c52fbdbb
ER
345install -d $RPM_BUILD_ROOT/var/lib/ntp
346touch $RPM_BUILD_ROOT/var/lib/ntp/drift
347
cb15c3e4 348cat > $RPM_BUILD_ROOT/etc/cron.hourly/ntpdate <<'EOF'
394789ea 349#!/bin/sh
7d2f2be2
ER
350# Source function library.
351. /etc/rc.d/init.d/functions
352
a114c2aa
ER
353# Source ntpdate configuration
354. /etc/sysconfig/ntpdate
355
356is_yes "$NTPDATE_CRON" || exit 0
299584e5 357exec %{_sbindir}/ntpdate-wrapper
394789ea
AM
358EOF
359
a4cc90b2 360install -d $RPM_BUILD_ROOT%{mibdir}
299584e5 361cp -p ntpsnmpd/ntpv4-mib.mib $RPM_BUILD_ROOT%{mibdir}
a4cc90b2 362
7599a442 363%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/{ntp4,sntp}
6e00857d 364
71bab42e 365%clean
be68fcb1 366rm -rf $RPM_BUILD_ROOT
71bab42e 367
932bc1ee
ER
368%pre -n ntpd
369%groupadd -g 246 ntp
370%useradd -u 246 -d %{_sysconfdir} -g ntp -c "NTP Daemon" ntp
371
cb15c3e4 372%post -n ntpd
e1e25342 373/sbin/chkconfig --add ntpd
740223e3 374%service ntpd restart "NTP Daemon"
4aef70db 375%systemd_post ntpd.service
e1e25342 376
cb15c3e4 377%preun -n ntpd
e1e25342 378if [ "$1" = "0" ]; then
b9625068 379 %service ntpd stop
e1e25342 380 /sbin/chkconfig --del ntpd
c52fbdbb 381 rm -f /var/lib/ntp/drift
e1e25342 382fi
4aef70db 383%systemd_preun ntpd.service
e1e25342 384
932bc1ee
ER
385%postun -n ntp
386if [ "$1" = "0" ]; then
387 %userremove ntp
388 %groupremove ntp
389fi
4aef70db
JR
390%systemd_reload
391
392%post -n ntpd-upstart
393%upstart_post ntpd
932bc1ee 394
4aef70db
JR
395%postun -n ntpd-upstart
396%upstart_postun ntpd
0d2671b6 397
92517d76
ER
398%pre -n ntpdate
399%groupadd -g 246 ntp
400%useradd -u 246 -d %{_sysconfdir} -g ntp -c "NTP Daemon" ntp
401
cb15c3e4
ER
402%post -n ntpdate
403/sbin/chkconfig --add ntpdate
404%service ntpdate restart "NTP Date"
4aef70db 405%systemd_post ntpdate.service
e24d986a 406
cb15c3e4 407%preun -n ntpdate
d470477a 408if [ "$1" = "0" ]; then
cb15c3e4
ER
409 %service ntpdate stop
410 /sbin/chkconfig --del ntpdate
d470477a 411fi
4aef70db 412%systemd_preun ntpdate.service
71bab42e 413
92517d76
ER
414%postun -n ntpdate
415if [ "$1" = "0" ]; then
416 %userremove ntp
417 %groupremove ntp
418fi
4aef70db
JR
419%systemd_reload
420
421%post -n ntpdate-upstart
422%upstart_post ntpdate
423
424%postun -n ntpdate-upstart
425%upstart_postun ntpdate
92517d76 426
7e284bc0
ER
427%triggerun -n ntpd -- ntp < 4.2.4p8-3.14
428# Prevent preun from ntp from working
429chmod a-x /etc/rc.d/init.d/ntpd
c52fbdbb 430
7e284bc0
ER
431%triggerpostun -n ntpd -- ntp < 4.2.4p8-3.14
432# Restore what triggerun removed
433chmod 754 /etc/rc.d/init.d/ntpd
c52fbdbb 434sed -i -e 's,/etc/ntp/drift,/var/lib/ntp/drift,' %{_sysconfdir}/ntp.conf
7e284bc0
ER
435mv -f /etc/ntp/ntp.drift /var/lib/ntp/drift 2>/dev/null
436mv -f /etc/ntp/drift /var/lib/ntp/drift 2>/dev/null
c52fbdbb 437%service -q ntpd restart
4aef70db
JR
438%systemd_trigger ntpd.service
439%systemd_post ntpdate
440
441%triggerpostun -n ntpd -- ntpd < 4.2.6p5-2
442%systemd_trigger ntpd.service
c52fbdbb 443
45735b52
ER
444%triggerpostun -n ntpdate -- ntp-client < 4.2.4p8-3.2
445if [ -f /etc/sysconfig/ntp.rpmsave ]; then
446 cp -f /etc/sysconfig/ntpdate{,.rpmnew}
447 mv -f /etc/sysconfig/ntp.rpmsave /etc/sysconfig/ntpdate
448fi
4aef70db
JR
449%systemd_trigger ntpdate.service
450
451%triggerpostun -n ntpdate -- ntpdate < 4.2.6p5-2
452%systemd_trigger ntpdate.service
45735b52 453
cb15c3e4 454%files -n ntpd
71bab42e 455%defattr(644,root,root,755)
38034725 456%doc NEWS TODO WHERE-TO-START conf/*.conf COPYRIGHT
c771054a 457%attr(750,root,root) %dir %{_sysconfdir}
299584e5
ER
458%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/keys
459%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ntp.conf
87172492 460%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ntp.leapseconds
8fb3cd7e 461%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ntpd
2cf5b026 462%attr(754,root,root) /etc/rc.d/init.d/ntpd
4aef70db 463%{systemdunitdir}/ntpd.service
ba8c171f 464%{_libexecdir}/systemd/ntp-units.d/50-ntpd.list
2cf5b026
ER
465%attr(755,root,root) %{_sbindir}/ntpd
466%attr(755,root,root) %{_sbindir}/ntpdc
467%attr(755,root,root) %{_sbindir}/ntp-keygen
468%attr(755,root,root) %{_sbindir}/ntpq
469%attr(755,root,root) %{_sbindir}/ntptime
470%attr(755,root,root) %{_sbindir}/sntp
471%attr(755,root,root) %{_sbindir}/tickadj
472%{_mandir}/man1/ntpd.1*
473%{_mandir}/man1/ntpdc.1*
2cf5b026
ER
474%{_mandir}/man1/ntp-keygen.1*
475%{_mandir}/man1/ntpq.1*
476%{_mandir}/man1/ntptime.1*
477%{_mandir}/man1/sntp.1*
7599a442
JB
478%{_mandir}/man5/ntp.conf.5*
479%{_mandir}/man5/ntp.keys.5*
2cf5b026 480
c52fbdbb
ER
481%dir %attr(770,root,ntp) /var/lib/ntp
482%attr(640,ntp,ntp) %ghost /var/lib/ntp/drift
483
4aef70db
JR
484%files -n ntpd-upstart
485%defattr(644,root,root,755)
486%config(noreplace) %verify(not md5 mtime size) /etc/init/ntpd.conf
487
cb15c3e4
ER
488%files -n ntpdate
489%defattr(644,root,root,755)
490%doc COPYRIGHT
491%attr(755,root,root) %{_sbindir}/ntpdate
4aef70db 492%attr(755,root,root) %{_sbindir}/ntpdate-wrapper
cb15c3e4
ER
493%attr(754,root,root) /etc/rc.d/init.d/ntpdate
494%attr(754,root,root) /etc/cron.hourly/ntpdate
495%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ntpdate
4aef70db 496%{systemdunitdir}/ntpdate.service
7599a442 497%{_mandir}/man1/ntpdate.1*
cb15c3e4 498
4aef70db
JR
499%files -n ntpdate-upstart
500%defattr(644,root,root,755)
501%config(noreplace) %verify(not md5 mtime size) /etc/init/ntpdate.conf
502
a4cc90b2
ER
503%files -n mibs-ntp
504%defattr(644,root,root,755)
505%{mibdir}/ntpv4-mib.mib
506
507%files -n net-snmp-ntpd
508%defattr(644,root,root,755)
936bfaef 509%doc ntpsnmpd/README
a4cc90b2
ER
510%attr(755,root,root) %{_sbindir}/ntpsnmpd
511%{_mandir}/man1/ntpsnmpd.1*
512
2cf5b026 513%files tools
df3fadd8 514%defattr(644,root,root,755)
7599a442 515%attr(755,root,root) %{_sbindir}/calc_tickadj
2cf5b026 516%attr(755,root,root) %{_sbindir}/ntp-wait
7599a442
JB
517%attr(755,root,root) %{_sbindir}/ntptrace
518%dir %{_datadir}/ntp
519%{_datadir}/ntp/lib
520%{_mandir}/man1/calc_tickadj.1*
521%{_mandir}/man1/ntp-wait.1*
522%{_mandir}/man1/ntptrace.1*
2d74fa1d 523
524%files doc-html
a47685aa 525%defattr(644,root,root,755)
2d74fa1d 526%doc html/*
This page took 0.151894 seconds and 4 git commands to generate.