diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 12:48:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 12:48:03 +0000 |
commit | 6d46de912288f0875f0e3cca27b8d7455fa07b42 (patch) | |
tree | b2ee235051d590490c0fdccbf0241b3706e292e7 /debian/patches | |
parent | Adding upstream version 4.5. (diff) | |
download | chrony-6d46de912288f0875f0e3cca27b8d7455fa07b42.tar.xz chrony-6d46de912288f0875f0e3cca27b8d7455fa07b42.zip |
Adding debian version 4.5-1.debian/4.5-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/debianize-chronyd-restricted-unit-file.patch | 24 | ||||
-rw-r--r-- | debian/patches/nm-dispatcher-dhcp_Move-server_dir-to-run.patch | 19 | ||||
-rw-r--r-- | debian/patches/series | 2 |
3 files changed, 45 insertions, 0 deletions
diff --git a/debian/patches/debianize-chronyd-restricted-unit-file.patch b/debian/patches/debianize-chronyd-restricted-unit-file.patch new file mode 100644 index 0000000..0560748 --- /dev/null +++ b/debian/patches/debianize-chronyd-restricted-unit-file.patch @@ -0,0 +1,24 @@ +Description: Debianize chronyd-restricted.service +Author: Vincent Blut <vincent.debian@free.fr> +Forwarded: not-needed +Last-Update: 2023-08-09 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: chrony/examples/chronyd-restricted.service +=================================================================== +--- chrony.orig/examples/chronyd-restricted.service ++++ chrony/examples/chronyd-restricted.service +@@ -14,10 +14,10 @@ ConditionCapability=CAP_SYS_TIME + [Service] + Type=forking + PIDFile=/run/chrony/chronyd.pid +-EnvironmentFile=-/etc/sysconfig/chronyd +-ExecStart=/usr/sbin/chronyd -U $OPTIONS ++EnvironmentFile=-/etc/default/chrony ++ExecStart=/usr/sbin/chronyd -U $DAEMON_OPTS + +-User=chrony ++User=_chrony + LogsDirectory=chrony + LogsDirectoryMode=0750 + RuntimeDirectory=chrony diff --git a/debian/patches/nm-dispatcher-dhcp_Move-server_dir-to-run.patch b/debian/patches/nm-dispatcher-dhcp_Move-server_dir-to-run.patch new file mode 100644 index 0000000..2df6629 --- /dev/null +++ b/debian/patches/nm-dispatcher-dhcp_Move-server_dir-to-run.patch @@ -0,0 +1,19 @@ +Description: Move server_dir path to /run +Author: Vincent Blut <vincent.debian@free.fr> +Forwarded: no +Last-Update: 2020-09-16 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: chrony/examples/chrony.nm-dispatcher.dhcp +=================================================================== +--- chrony.orig/examples/chrony.nm-dispatcher.dhcp ++++ chrony/examples/chrony.nm-dispatcher.dhcp +@@ -10,7 +10,7 @@ action=$2 + + chronyc=/usr/bin/chronyc + server_options=iburst +-server_dir=/var/run/chrony-dhcp ++server_dir=/run/chrony-dhcp + + dhcp_server_file=$server_dir/$interface.sources + dhcp_ntp_servers="$DHCP4_NTP_SERVERS $DHCP6_DHCP6_NTP_SERVERS" diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..23421e3 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +debianize-chronyd-restricted-unit-file.patch +nm-dispatcher-dhcp_Move-server_dir-to-run.patch |