summaryrefslogtreecommitdiff
path: root/README.md
blob: 2c5abae9da685f656f79dc0732685191c4af72e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# [Timedate Daemon](https://cgit.radix.pro/radix/timedated.git/)

**TimeDate** Daemon is a system service that can be used to control the system time
and related settings.

This is the replacement of *systemd* service that control the **org.freedesktop.timedate1**
*D-Bus interface* for GNU Linux distributions which does not have a *systemd*.

You can find specification at: [**Freedesktop.org**](https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.timedate1.html)

**TimeDate** Daemon supports interactive parameter which can be used to control
whether *PolKit* should interactively ask the user for authentication credentials
if required. But also, if interactive way is not applicable, users permissions can
be set by *PolKit* rules in the */usr/share/polkit-1/rules.d/org.freedesktop.timedate1.rules*
file. For example, a system administrator can add Desktop-users into **wheel** group
to give them rights to access the **org.freedesktop.timedate1** *D-Bus interface*.

## Requirements:

 | Package           |      | min Version  |
 | :---              | :--: | :---         |
 | glib-2.0          |  >=  |  2.76        |
 | gobject-2.0       |  >=  |  2.76        |
 | gio-2.0           |  >=  |  2.76        |
 | polkit-gobject-1  |  >=  |  123         |
 | libpcre2-8        |  >=  |  10.36       |
 | dbus              |  >=  |  1.13.18     |

## How to Build:

```Bash
 meson setup --prefix=/usr . ..
 ninja
 ninja install
```

## Supported Distributions:

 - [Radix cross Linux](https://radix.pro)
 - [Slackware](http://www.slackware.com)
   (needed litle changes in timeconfig script)

For other systems the special implementation of NTP daemon control should be developed.


## TODO:

  - *timedatectl* (simply it can be writen in Bash).


## LICENSE:

[GNU General Public License Version 2, June 1991](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)