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