15 Commits

Author SHA1 Message Date
f566aaf8c1 automatic version update by autodist [release 3.4-1mamba;Sun Sep 23 2018] 2024-01-05 21:20:33 +01:00
ad69708af9 automatic version update by autodist [release 3.3-1mamba;Thu May 10 2018] 2024-01-05 21:20:33 +01:00
707f033ed6 automatic version update by autodist [release 3.2-1mamba;Wed Sep 27 2017] 2024-01-05 21:20:33 +01:00
d5d06f4fd7 automatic version update by autodist [release 3.1-1mamba;Wed Feb 01 2017] 2024-01-05 21:20:33 +01:00
b59f0ebcd7 automatic version update by autodist [release 3.0-1mamba;Sat Jan 21 2017] 2024-01-05 21:20:33 +01:00
4aa813a3ea automatic version update by autodist [release 2.4.1-1mamba;Tue Nov 22 2016] 2024-01-05 21:20:33 +01:00
5711122029 automatic version update by autodist [release 2.4-1mamba;Tue Jun 07 2016] 2024-01-05 21:20:33 +01:00
c55b8bff92 automatic version update by autodist [release 2.3-1mamba;Tue Feb 16 2016] 2024-01-05 21:20:33 +01:00
7e724e8f9d automatic version update by autodist [release 2.2.1-1mamba;Wed Jan 20 2016] 2024-01-05 21:20:33 +01:00
0cd3d22524 automatic version update by autodist [release 2.2-1mamba;Sat Nov 21 2015] 2024-01-05 21:20:33 +01:00
197bf91532 automatic version update by autodist [release 2.1.1-1mamba;Wed Jul 01 2015] 2024-01-05 21:20:33 +01:00
6e614a6649 automatic version update by autodist [release 2.0-1mamba;Thu Apr 30 2015] 2024-01-05 21:20:33 +01:00
f87c7362c4 automatic version update by autodist [release 1.31.1-1mamba;Wed Apr 08 2015] 2024-01-05 21:20:33 +01:00
ff780fb55b automatic update by autodist [release 1.31-1mamba;Thu Sep 18 2014] 2024-01-05 21:20:33 +01:00
d03b16557b automatic version update by autodist [release 1.30-1mamba;Thu Jul 03 2014] 2024-01-05 21:20:33 +01:00
3 changed files with 64 additions and 17 deletions

View File

@ -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
View 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);

View File

@ -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