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