Timedate Daemon

Timedate daemon to control org.freedesktop.timedate1 D-Bus interface

18 Commits   0 Branches   3 Tags
57dc33aa (kx 2023-12-22 00:54:25 +0300  1) 
57dc33aa (kx 2023-12-22 00:54:25 +0300  2) # [Timedate Daemon](https://cgit.radix.pro/radix/timedated.git/)
57dc33aa (kx 2023-12-22 00:54:25 +0300  3) 
57dc33aa (kx 2023-12-22 00:54:25 +0300  4) **TimeDate** Daemon is a system service that can be used to control the system time
57dc33aa (kx 2023-12-22 00:54:25 +0300  5) and related settings.
57dc33aa (kx 2023-12-22 00:54:25 +0300  6) 
c2fc5a14 (kx 2023-12-22 01:04:48 +0300  7) This is the replacement of *systemd* service that control the **org.freedesktop.timedate1**
97fc2643 (kx 2023-12-22 01:08:44 +0300  8) *D-Bus interface* for GNU Linux distributions which does not have a *systemd*.
57dc33aa (kx 2023-12-22 00:54:25 +0300  9) 
f4fd5e29 (kx 2023-12-22 01:10:35 +0300 10) You can find specification at: [**Freedesktop.org**](https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.timedate1.html)
57dc33aa (kx 2023-12-22 00:54:25 +0300 11) 
c5f7eedd (kx 2023-12-23 14:15:03 +0300 12) **TimeDate** Daemon supports interactive parameter which can be used to control
c5f7eedd (kx 2023-12-23 14:15:03 +0300 13) whether *PolKit* should interactively ask the user for authentication credentials
c5f7eedd (kx 2023-12-23 14:15:03 +0300 14) if required. But also, if interactive way is not applicable, users permissions can
c5f7eedd (kx 2023-12-23 14:15:03 +0300 15) be set by *PolKit* rules in the */usr/share/polkit-1/rules.d/org.freedesktop.timedate1.rules*
c5f7eedd (kx 2023-12-23 14:15:03 +0300 16) file. For example, a system administrator can add Desktop-users into **wheel** group
c5f7eedd (kx 2023-12-23 14:15:03 +0300 17) to give them rights to access the **org.freedesktop.timedate1** *D-Bus interface*.
57dc33aa (kx 2023-12-22 00:54:25 +0300 18) 
c2fc5a14 (kx 2023-12-22 01:04:48 +0300 19) ## Requirements:
c2fc5a14 (kx 2023-12-22 01:04:48 +0300 20) 
97fc2643 (kx 2023-12-22 01:08:44 +0300 21)  | Package           |      | min Version  |
97fc2643 (kx 2023-12-22 01:08:44 +0300 22)  | :---              | :--: | :---         |
93ad83d9 (kx 2023-12-22 01:20:27 +0300 23)  | glib-2.0          |  >=  |  2.76        |
93ad83d9 (kx 2023-12-22 01:20:27 +0300 24)  | gobject-2.0       |  >=  |  2.76        |
93ad83d9 (kx 2023-12-22 01:20:27 +0300 25)  | gio-2.0           |  >=  |  2.76        |
97fc2643 (kx 2023-12-22 01:08:44 +0300 26)  | polkit-gobject-1  |  >=  |  123         |
97fc2643 (kx 2023-12-22 01:08:44 +0300 27)  | libpcre2-8        |  >=  |  10.36       |
97fc2643 (kx 2023-12-22 01:08:44 +0300 28)  | dbus              |  >=  |  1.13.18     |
57dc33aa (kx 2023-12-22 00:54:25 +0300 29) 
57dc33aa (kx 2023-12-22 00:54:25 +0300 30) ## How to Build:
57dc33aa (kx 2023-12-22 00:54:25 +0300 31) 
57dc33aa (kx 2023-12-22 00:54:25 +0300 32) ```Bash
97fc2643 (kx 2023-12-22 01:08:44 +0300 33)  meson setup --prefix=/usr . ..
97fc2643 (kx 2023-12-22 01:08:44 +0300 34)  ninja
97fc2643 (kx 2023-12-22 01:08:44 +0300 35)  ninja install
57dc33aa (kx 2023-12-22 00:54:25 +0300 36) ```
57dc33aa (kx 2023-12-22 00:54:25 +0300 37) 
57dc33aa (kx 2023-12-22 00:54:25 +0300 38) ## Supported Distributions:
57dc33aa (kx 2023-12-22 00:54:25 +0300 39) 
57dc33aa (kx 2023-12-22 00:54:25 +0300 40)  - [Radix cross Linux](https://radix.pro)
57dc33aa (kx 2023-12-22 00:54:25 +0300 41)  - [Slackware](http://www.slackware.com)
57dc33aa (kx 2023-12-22 00:54:25 +0300 42)    (needed litle changes in timeconfig script)
57dc33aa (kx 2023-12-22 00:54:25 +0300 43) 
57dc33aa (kx 2023-12-22 00:54:25 +0300 44) For other systems the special implementation of NTP daemon control should be developed.
57dc33aa (kx 2023-12-22 00:54:25 +0300 45) 
57dc33aa (kx 2023-12-22 00:54:25 +0300 46) 
57dc33aa (kx 2023-12-22 00:54:25 +0300 47) ## TODO:
57dc33aa (kx 2023-12-22 00:54:25 +0300 48) 
bac97c75 (kx 2023-12-22 01:14:36 +0300 49)   - *timedatectl* (simply it can be writen in Bash).
57dc33aa (kx 2023-12-22 00:54:25 +0300 50) 
57dc33aa (kx 2023-12-22 00:54:25 +0300 51) 
3304393e (kx 2023-12-22 01:12:39 +0300 52) ## LICENSE:
57dc33aa (kx 2023-12-22 00:54:25 +0300 53) 
bac97c75 (kx 2023-12-22 01:14:36 +0300 54) [GNU General Public License Version 2, June 1991](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
3304393e (kx 2023-12-22 01:12:39 +0300 55)