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