Compare commits
15 Commits
1.29.1-1ma
...
3.4-1mamba
Author | SHA1 | Date | |
---|---|---|---|
f566aaf8c1 | |||
ad69708af9 | |||
707f033ed6 | |||
d5d06f4fd7 | |||
b59f0ebcd7 | |||
4aa813a3ea | |||
5711122029 | |||
c55b8bff92 | |||
7e724e8f9d | |||
0cd3d22524 | |||
197bf91532 | |||
6e614a6649 | |||
f87c7362c4 | |||
ff780fb55b | |||
d03b16557b |
@ -1,12 +0,0 @@
|
||||
diff -Nru chrony-1.27.orig/conf.c chrony-1.27/conf.c
|
||||
--- chrony-1.27.orig/conf.c 2013-02-01 15:47:43.000000000 +0100
|
||||
+++ chrony-1.27/conf.c 2013-04-13 19:42:37.175845513 +0200
|
||||
@@ -205,7 +205,7 @@
|
||||
|
||||
/* Filename to use for storing pid of running chronyd, to prevent multiple
|
||||
* chronyds being started. */
|
||||
-static char *pidfile = "/var/run/chronyd.pid";
|
||||
+static char *pidfile = "/run/chronyd.pid";
|
||||
|
||||
/* Temperature sensor, update interval and compensation coefficients */
|
||||
static char *tempcomp_file = NULL;
|
11
chrony-2.2-run-dir.patch
Normal file
11
chrony-2.2-run-dir.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- chrony-2.2/conf.c.orig 2015-11-21 14:23:47.219442178 +0100
|
||||
+++ chrony-2.2/conf.c 2015-11-21 14:23:54.745391572 +0100
|
||||
@@ -322,7 +322,7 @@
|
||||
dumpdir = Strdup(".");
|
||||
logdir = Strdup(".");
|
||||
bind_cmd_path = Strdup(DEFAULT_COMMAND_SOCKET);
|
||||
- pidfile = Strdup("/var/run/chronyd.pid");
|
||||
+ pidfile = Strdup("/run/chronyd.pid");
|
||||
rtc_device = Strdup("/dev/rtc");
|
||||
hwclock_file = Strdup(DEFAULT_HWCLOCK_FILE);
|
||||
user = Strdup(DEFAULT_USER);
|
58
chrony.spec
58
chrony.spec
@ -2,7 +2,7 @@
|
||||
%define chrony_userid 55
|
||||
|
||||
Name: chrony
|
||||
Version: 1.29.1
|
||||
Version: 3.4
|
||||
Release: 1mamba
|
||||
Summary: A pair of programs which are used to maintain the accuracy of the system clock on a computer
|
||||
Group: System/Servers
|
||||
@ -17,7 +17,7 @@ Source3: chronyd-nm-dispatcher
|
||||
Source4: chrony-wait.service
|
||||
Source5: chronyd.service
|
||||
Source6: chrony.helper
|
||||
Patch0: %{name}-1.28-run-dir.patch
|
||||
Patch0: %{name}-2.2-run-dir.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -45,10 +45,13 @@ It can do so while running on the same computer as the Chronyd instance it is co
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
./configure --prefix=%{_prefix}
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--with-pidile=/run/chronyd.pid
|
||||
|
||||
%make CC=%{_host}-gcc
|
||||
|
||||
%install
|
||||
@ -122,7 +125,7 @@ fi
|
||||
%{_prefix}/lib/systemd/ntp-units.d/50-chronyd.list
|
||||
%{_prefix}/libexec/chrony-helper
|
||||
%dir %{_var}/log/chrony
|
||||
%{_mandir}/man1/chrony.*
|
||||
#%{_mandir}/man1/chrony.*
|
||||
%{_mandir}/man1/chronyc.*
|
||||
%{_mandir}/man5/chrony.conf.*
|
||||
%{_mandir}/man8/chronyd.*
|
||||
@ -130,6 +133,51 @@ fi
|
||||
#NEWS README chrony.txt examples/chrony.conf.example examples/chrony.keys.example
|
||||
|
||||
%changelog
|
||||
* Sun Sep 23 2018 Automatic Build System <autodist@mambasoft.it> 3.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu May 10 2018 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Sep 27 2017 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Feb 01 2017 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jan 21 2017 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Nov 22 2016 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jun 07 2016 Automatic Build System <autodist@mambasoft.it> 2.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Feb 16 2016 Automatic Build System <autodist@mambasoft.it> 2.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jan 20 2016 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Nov 21 2015 Automatic Build System <autodist@mambasoft.it> 2.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jul 01 2015 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Apr 08 2015 Automatic Build System <autodist@mambasoft.it> 1.31.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 1.31-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Thu Jul 03 2014 Automatic Build System <autodist@mambasoft.it> 1.30-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Feb 01 2014 Automatic Build System <autodist@mambasoft.it> 1.29.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Reference in New Issue
Block a user