1 |
# $Id: e-smith-ntp.spec,v 1.13 2020/12/13 22:32:47 jpp Exp $ |
# $Id: e-smith-ntp.spec,v 1.19 2023/02/06 06:58:12 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith specific NTP configuration files and templates |
Summary: e-smith specific NTP configuration files and templates |
4 |
%define name e-smith-ntp |
%define name e-smith-ntp |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 13 |
%define release 18 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
14 |
Patch1: %{name}-%{version}-bz11008_systemd.patch |
Patch1: %{name}-%{version}-bz11008_systemd.patch |
15 |
Patch2: e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch |
Patch2: e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch |
16 |
Patch3: e-smith-ntp-2.6.0-bz11298-ntpdpanic_stop.patch |
Patch3: e-smith-ntp-2.6.0-bz11298-ntpdpanic_stop.patch |
17 |
|
Patch4: e-smith-ntp-2.6.0-bz12107-untainting.patch |
18 |
|
Patch5: e-smith-ntp-2.6.0-bz12115-loging.patch |
19 |
|
Patch6: e-smith-ntp-2.6.0-bz12177.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
28 |
AutoReqProv: no |
AutoReqProv: no |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Mon Feb 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-18.sme |
32 |
|
- fix noise about chown on driftfile [SME: 12177] |
33 |
|
|
34 |
|
* Wed Jul 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-17.sme |
35 |
|
- dedicated log and logrotate [SME: 12115] |
36 |
|
thanks to bunkobugsy for this patch |
37 |
|
|
38 |
|
* Sun Jul 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
39 |
|
- untainting fields [SME: 12107] |
40 |
|
|
41 |
* Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
* Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
42 |
- fix ntpd crashing with panic_stop [SME: 11298] |
- fix ntpd crashing with panic_stop [SME: 11298] |
43 |
|
|
781 |
/usr/bin/rm -rf root/var/service/ntpd/ |
/usr/bin/rm -rf root/var/service/ntpd/ |
782 |
mkdir -p root/usr/lib/systemd/system/ntpd.service.d |
mkdir -p root/usr/lib/systemd/system/ntpd.service.d |
783 |
%patch3 -p1 |
%patch3 -p1 |
784 |
|
%patch4 -p1 |
785 |
|
%patch5 -p1 |
786 |
|
%patch6 -p1 |
787 |
|
|
788 |
%build |
%build |
789 |
for i in ip-change post-install post-upgrade timeserver-update \ |
for i in ip-change post-install post-upgrade timeserver-update \ |