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