Change-Id: I60229e9e52f60df490e78eb7c0a15988ef71e0a3
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4853
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
| ... | ... |
@@ -1,14 +1,14 @@ |
| 1 | 1 |
Summary: Network Time Protocol reference implementation |
| 2 | 2 |
Name: ntp |
| 3 |
-Version: 4.2.8p10 |
|
| 4 |
-Release: 4%{?dist}
|
|
| 3 |
+Version: 4.2.8p11 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 | 5 |
License: NTP |
| 6 | 6 |
URL: http://www.ntp.org/ |
| 7 | 7 |
Group: System Environment/NetworkingPrograms |
| 8 | 8 |
Vendor: VMware, Inc. |
| 9 | 9 |
Distribution: Photon |
| 10 | 10 |
Source0: https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/%{name}-%{version}.tar.gz
|
| 11 |
-%define sha1 ntp=503d68cfd3e6a9354e0e28dd38b39d850b1228b2 |
|
| 11 |
+%define sha1 ntp=b20352bb76963a0ef5ec07ba99c2bb97ec6b6aeb |
|
| 12 | 12 |
|
| 13 | 13 |
#https://github.com/darkhelmet/ntpstat |
| 14 | 14 |
Source1: ntpstat-master.zip |
| ... | ... |
@@ -29,6 +29,16 @@ synchronized between various computers over a network. This |
| 29 | 29 |
package is the official reference implementation of the |
| 30 | 30 |
NTP protocol. |
| 31 | 31 |
|
| 32 |
+%package perl |
|
| 33 |
+Summary: Perl scripts for ntp |
|
| 34 |
+Group: Utilities |
|
| 35 |
+Requires: ntp = %{version}-%{release}, perl >= 5
|
|
| 36 |
+Requires: perl-Net-SSLeay |
|
| 37 |
+Requires: perl-IO-Socket-SSL |
|
| 38 |
+%description perl |
|
| 39 |
+Perl scripts for ntp. |
|
| 40 |
+ |
|
| 41 |
+ |
|
| 32 | 42 |
%package -n ntpstat |
| 33 | 43 |
Summary: Utilities |
| 34 | 44 |
Group: Utilities |
| ... | ... |
@@ -127,16 +137,35 @@ rm -rf %{buildroot}/*
|
| 127 | 127 |
%attr(0750, root, root) %config(noreplace) /etc/sysconfig/ntp |
| 128 | 128 |
/lib/systemd/system/ntpd.service |
| 129 | 129 |
%{_libdir}/systemd/system-preset/50-ntpd.preset
|
| 130 |
-%exclude %{_bindir}/ntpstat
|
|
| 131 |
-%exclude %{_mandir}/man8/ntpstat.8*
|
|
| 132 |
-%{_bindir}/*
|
|
| 130 |
+%{_bindir}/ntpd
|
|
| 131 |
+%{_bindir}/ntpdate
|
|
| 132 |
+%{_bindir}/ntpdc
|
|
| 133 |
+%{_bindir}/ntp-keygen
|
|
| 134 |
+%{_bindir}/ntpq
|
|
| 135 |
+%{_bindir}/ntptime
|
|
| 136 |
+%{_bindir}/sntp
|
|
| 137 |
+%{_bindir}/tickadj
|
|
| 133 | 138 |
%{_datadir}/doc/%{name}-%{version}/*
|
| 134 | 139 |
%{_datadir}/doc/ntp/*
|
| 135 | 140 |
%{_datadir}/doc/sntp/*
|
| 136 | 141 |
%{_datadir}/licenses/ntp/LICENSE
|
| 137 |
-%{_mandir}/man1/*
|
|
| 142 |
+%{_mandir}/man1/ntpd.1.gz
|
|
| 143 |
+%{_mandir}/man1/ntpdc.1.gz
|
|
| 144 |
+%{_mandir}/man1/ntp-keygen.1.gz
|
|
| 145 |
+%{_mandir}/man1/ntpq.1.gz
|
|
| 146 |
+%{_mandir}/man1/sntp.1.gz
|
|
| 138 | 147 |
%{_mandir}/man5/*
|
| 148 |
+ |
|
| 149 |
+%files perl |
|
| 150 |
+%{_bindir}/calc_tickadj
|
|
| 151 |
+%{_bindir}/ntptrace
|
|
| 152 |
+%{_bindir}/ntp-wait
|
|
| 153 |
+%{_bindir}/update-leap
|
|
| 139 | 154 |
%{_datadir}/ntp/lib/NTP/Util.pm
|
| 155 |
+%{_mandir}/man1/calc_tickadj.1.gz
|
|
| 156 |
+%{_mandir}/man1/ntptrace.1.gz
|
|
| 157 |
+%{_mandir}/man1/ntp-wait.1.gz
|
|
| 158 |
+%{_mandir}/man1/update-leap.1.gz
|
|
| 140 | 159 |
|
| 141 | 160 |
%files -n ntpstat |
| 142 | 161 |
%defattr(-,root,root) |
| ... | ... |
@@ -144,6 +173,8 @@ rm -rf %{buildroot}/*
|
| 144 | 144 |
%{_mandir}/man8/ntpstat.8*
|
| 145 | 145 |
|
| 146 | 146 |
%changelog |
| 147 |
+* Mon Mar 05 2018 Xiaolin Li <xiaolinl@vmware.com> 4.2.8p11-1 |
|
| 148 |
+- Upgrade version to 4.2.8p11 and move perl scripts to perl subpackage. |
|
| 147 | 149 |
* Mon Sep 18 2017 Alexey Makhalov <amakhalov@vmware.com> 4.2.8p10-4 |
| 148 | 150 |
- Remove shadow from requires and use explicit tools for post actions |
| 149 | 151 |
* Thu Jun 29 2017 Divya Thaluru <dthaluru@vmware.com> 4.2.8p10-3 |