1 |
# $Id: e-smith-ntp.spec,v 1.9 2020/11/27 05:12:40 jpp Exp $ |
# $Id: e-smith-ntp.spec,v 1.18 2022/07/21 04:52:57 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 9 |
%define release 18 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
13 |
Patch0: e-smith-ntp-2.6.0-bz9690.syslog.patch |
Patch0: e-smith-ntp-2.6.0-bz9690.syslog.patch |
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 |
17 |
|
Patch4: e-smith-ntp-2.6.0-bz12107-untainting.patch |
18 |
|
Patch5: e-smith-ntp-2.6.0-bz12115-loging.patch |
19 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Mon Feb 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-18.sme |
31 |
|
- fix noise about chown on driftfile [SME: 12177] |
32 |
|
|
33 |
|
* Wed Jul 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-17.sme |
34 |
|
- dedicated log and logrotate [SME: 12115] |
35 |
|
thanks to bunkobugsy for this patch |
36 |
|
|
37 |
|
* Sun Jul 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
38 |
|
- untainting fields [SME: 12107] |
39 |
|
|
40 |
|
* Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
41 |
|
- fix ntpd crashing with panic_stop [SME: 11298] |
42 |
|
|
43 |
|
* Sun Dec 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
44 |
|
- update override.conf to 50koozali.conf [SME: 11008] |
45 |
|
|
46 |
|
* Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
47 |
|
- adding missing folder /usr/lib/systemd/system/ntpd.service.d [SME: 11008] |
48 |
|
|
49 |
|
* Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
50 |
|
- fix typo in path for new driftfile [SME: 8881] |
51 |
|
|
52 |
* Fri Nov 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
* Fri Nov 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
53 |
- fix systemd-preset fragment [SME: 11008] |
- fix systemd-preset fragment [SME: 11008] |
54 |
add +x to ExecStartPRe script |
add +x to ExecStartPRe script |
778 |
%patch1 -p1 |
%patch1 -p1 |
779 |
%patch2 -p1 |
%patch2 -p1 |
780 |
/usr/bin/rm -rf root/var/service/ntpd/ |
/usr/bin/rm -rf root/var/service/ntpd/ |
781 |
|
mkdir -p root/usr/lib/systemd/system/ntpd.service.d |
782 |
|
%patch3 -p1 |
783 |
|
%patch4 -p1 |
784 |
|
%patch5 -p1 |
785 |
|
|
786 |
%build |
%build |
787 |
for i in ip-change post-install post-upgrade timeserver-update \ |
for i in ip-change post-install post-upgrade timeserver-update \ |