automatic version update by autodist [release 2.0-1mamba;Thu Apr 30 2015]

This commit is contained in:
Automatic Build System 2024-01-05 21:20:33 +01:00
parent f87c7362c4
commit 6e614a6649
3 changed files with 16 additions and 14 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.0-run-dir.patch Normal file
View File

@ -0,0 +1,11 @@
--- chrony-2.0/conf.c.orig 2015-04-29 23:52:58.417633941 +0200
+++ chrony-2.0/conf.c 2015-04-29 23:57:03.586335205 +0200
@@ -319,7 +319,7 @@
dumpdir = Strdup(".");
logdir = Strdup(".");
- pidfile = Strdup("/var/run/chronyd.pid");
+ pidfile = Strdup("/run/chronyd.pid");
rtc_device = Strdup("/dev/rtc");
user = Strdup(DEFAULT_USER);
}

View File

@ -2,7 +2,7 @@
%define chrony_userid 55
Name: chrony
Version: 1.31.1
Version: 2.0
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.0-run-dir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -130,6 +130,9 @@ fi
#NEWS README chrony.txt examples/chrony.conf.example examples/chrony.keys.example
%changelog
* 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