/[smeserver]/rpms/e-smith-ntp/sme10/e-smith-ntp.spec
ViewVC logotype

Diff of /rpms/e-smith-ntp/sme10/e-smith-ntp.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by stephdl, Fri Feb 5 22:20:33 2016 UTC Revision 1.15 by jpp, Sun Jul 17 05:17:07 2022 UTC
# Line 1  Line 1 
1  # $Id: e-smith-ntp.spec,v 1.7 2015/01/03 23:29:52 charliebrady Exp $  # $Id: e-smith-ntp.spec,v 1.14 2021/01/03 05:20:05 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 1  %define release 14
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13    Patch0: e-smith-ntp-2.6.0-bz9690.syslog.patch
14    Patch1: %{name}-%{version}-bz11008_systemd.patch
15    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    
19  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20  BuildArchitectures: noarch  BuildArchitectures: noarch
21  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
# Line 20  Requires: e-smith-lib >= 1.15.1-19 Line 26  Requires: e-smith-lib >= 1.15.1-19
26  AutoReqProv: no  AutoReqProv: no
27    
28  %changelog  %changelog
29    * Sun Jul 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme
30    - untainting fields [SME: 12107]
31    
32    * Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
33    - fix ntpd crashing with panic_stop [SME: 11298]
34    
35    * Sun Dec 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
36    - update override.conf to 50koozali.conf [SME: 11008]
37    
38    * Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
39    - adding missing folder /usr/lib/systemd/system/ntpd.service.d [SME: 11008]
40    
41    * Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
42    - fix typo in path for new driftfile [SME: 8881]
43    
44    * Fri Nov 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
45    - fix systemd-preset fragment [SME: 11008]
46      add +x to ExecStartPRe script
47    
48    * Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
49    - improve systemd integration [SME: 11008]
50    - change driftfile path [SME: 8881]
51    
52    * Wed Sep 23 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme
53    - from service to systemd [SME: 11008]
54    - add ntpd-update event [SME: 11009]
55    
56    * Fri Jan 25 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
57    - revert last change [SME: 10190]
58      on sme10 systemd has ntpd disabled by default
59    
60    * Fri Jan 25 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
61    - revert last change [SME: 10190]
62      on sme10 systemd has ntpd disabled by default
63    
64    * Wed Nov 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
65    - added post transaction rule for ntp [SME: 10190]
66    - thank you to Stefano Zamboni for this work
67    
68    * Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
69    - fix wrong link to restart rsyslog [SME: 9690]
70    
71    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
72    - Rebuild for [SME: 9393]
73    
74  * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme  * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
75  - Initial release to sme10  - Initial release to sme10
76    
# Line 715  Configuration files and templates for th Line 766  Configuration files and templates for th
766    
767  %prep  %prep
768  %setup  %setup
769    %patch0 -p1
770    %patch1 -p1
771    %patch2 -p1
772    /usr/bin/rm -rf root/var/service/ntpd/
773    mkdir -p root/usr/lib/systemd/system/ntpd.service.d
774    %patch3 -p1
775    
776  %build  %build
777  for i in ip-change post-install post-upgrade timeserver-update \  for i in ip-change post-install post-upgrade timeserver-update \
# Line 726  perl createlinks Line 783  perl createlinks
783  /sbin/e-smith/buildtests 30e-smith-datetime  /sbin/e-smith/buildtests 30e-smith-datetime
784    
785  # Manage supervise and multilog.  # Manage supervise and multilog.
786  mkdir -p root/service  #mkdir -p root/service
787  ln -s ../var/service/ntpd root/service/ntpd  #ln -s ../var/service/ntpd root/service/ntpd
788  mkdir -p root/var/service/ntpd/supervise  #mkdir -p root/var/service/ntpd/supervise
789  mkdir -p root/var/service/ntpd/env  #mkdir -p root/var/service/ntpd/env
790  touch root/var/service/ntpd/down  #touch root/var/service/ntpd/down
791  mkdir -p root/var/service/ntpd/log/supervise  #mkdir -p root/var/service/ntpd/log/supervise
792  mkdir -p root/var/log/ntpd  #mkdir -p root/var/log/ntpd
793    
794  %install  %install
795  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
796  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
797  /sbin/e-smith/genfilelist \  /sbin/e-smith/genfilelist \
798      --dir '/var/service/ntpd' 'attr(1755,root,root)' \      --file '/sbin/e-smith/systemd/initializedate' 'attr(0554,root,root)' \
     --file '/var/service/ntpd/down' 'attr(0644,root,root)' \  
     --file '/var/service/ntpd/run' 'attr(0755,root,root)' \  
     --dir '/var/service/ntpd/supervise' 'attr(0700,root,root)' \  
     --dir '/var/service/ntpd/env' '%attr(0755,root,root)' \  
     --file '/var/service/ntpd/env/MEMLIMIT' 'attr(0644,root,root)' \  
     --dir '/var/service/ntpd/log' 'attr(1755,root,root)' \  
     --file '/var/service/ntpd/log/run' 'attr(0755,root,root)' \  
     --dir '/var/log/ntpd' 'attr(2750,smelog,nofiles)' \  
799      $RPM_BUILD_ROOT > %{name}-%{version}-filelist      $RPM_BUILD_ROOT > %{name}-%{version}-filelist
800    #    --dir '/var/service/ntpd' 'attr(1755,root,root)' \
801    #    --file '/var/service/ntpd/down' 'attr(0644,root,root)' \
802    #    --file '/var/service/ntpd/run' 'attr(0755,root,root)' \
803    #    --dir '/var/service/ntpd/supervise' 'attr(0700,root,root)' \
804    #    --dir '/var/service/ntpd/env' '%attr(0755,root,root)' \
805    #    --file '/var/service/ntpd/env/MEMLIMIT' 'attr(0644,root,root)' \
806    #    --dir '/var/service/ntpd/log' 'attr(1755,root,root)' \
807    #    --file '/var/service/ntpd/log/run' 'attr(0755,root,root)' \
808    #    --dir '/var/log/ntpd' 'attr(2750,smelog,nofiles)' \
809    #    $RPM_BUILD_ROOT > %{name}-%{version}-filelist
810  echo "%doc COPYING"          >> %{name}-%{version}-filelist  echo "%doc COPYING"          >> %{name}-%{version}-filelist
811    
812  %clean  %clean


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed