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